[03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:19]OFD Sender: No OFD packet to send [03:28:24]OFD Sender: No OFD packet to send [03:28:29]OFD Sender: No OFD packet to send [03:28:34]OFD Sender: No OFD packet to send [03:28:39]OFD Sender: No OFD packet to send [03:28:44]OFD Sender: No OFD packet to send [03:28:49]OFD Sender: No OFD packet to send [03:28:54]OFD Sender: No OFD packet to send [03:28:59]OFD Sender: No OFD packet to send [03:29:04]OFD Sender: No OFD packet to send [03:29:09]OFD Sender: No OFD packet to send [03:29:14]OFD Sender: No OFD packet to send [03:29:19]OFD Sender: No OFD packet to send [03:29:24]OFD Sender: No OFD packet to send [03:29:29]OFD Sender: No OFD packet to send [03:29:34]OFD Sender: No OFD packet to send [03:29:39]OFD Sender: No OFD packet to send [03:29:44]OFD Sender: No OFD packet to send [03:29:49]OFD Sender: No OFD packet to send [03:29:54]OFD Sender: No OFD packet to send [03:29:59]OFD Sender: No OFD packet to send [03:30:04]OFD Sender: No OFD packet to send [03:30:09]OFD Sender: No OFD packet to send [03:30:14]OFD Sender: No OFD packet to send [03:30:19]OFD Sender: No OFD packet to send [03:30:24]OFD Sender: No OFD packet to send [03:30:29]OFD Sender: No OFD packet to send [03:30:34]OFD Sender: No OFD packet to send [03:30:39]OFD Sender: No OFD packet to send [03:30:44]OFD Sender: No OFD packet to send [03:30:49]OFD Sender: No OFD packet to send [03:30:54]OFD Sender: No OFD packet to send [03:30:59]OFD Sender: No OFD packet to send [03:31:04]OFD Sender: No OFD packet to send [03:31:09]OFD Sender: No OFD packet to send [03:31:14]OFD Sender: No OFD packet to send [03:31:19]OFD Sender: No OFD packet to send [03:31:24]OFD Sender: No OFD packet to send [03:31:29]OFD Sender: No OFD packet to send [03:31:34]OFD Sender: No OFD packet to send [03:31:39]OFD Sender: No OFD packet to send [03:31:44]OFD Sender: No OFD packet to send [03:31:49]OFD Sender: No OFD packet to send [03:31:54]OFD Sender: No OFD packet to send [03:31:59]OFD Sender: No OFD packet to send [03:32:04]OFD Sender: No OFD packet to send [03:32:09]OFD Sender: No OFD packet to send [03:32:14]OFD Sender: No OFD packet to send [03:32:19]OFD Sender: No OFD packet to send [03:32:24]OFD Sender: No OFD packet to send [03:32:29]OFD Sender: No OFD packet to send [03:32:34]OFD Sender: No OFD packet to send [03:32:39]OFD Sender: No OFD packet to send [03:32:44]OFD Sender: No OFD packet to send [03:32:49]OFD Sender: No OFD packet to send [03:32:54]OFD Sender: No OFD packet to send [03:32:59]OFD Sender: No OFD packet to send [03:33:04]OFD Sender: No OFD packet to send [03:33:09]OFD Sender: No OFD packet to send [03:33:14]OFD Sender: No OFD packet to send [03:33:19]OFD Sender: No OFD packet to send [03:33:24]OFD Sender: No OFD packet to send [03:33:29]OFD Sender: No OFD packet to send [03:33:34]OFD Sender: No OFD packet to send [03:33:39]OFD Sender: No OFD packet to send [03:33:44]OFD Sender: No OFD packet to send [03:33:49]OFD Sender: No OFD packet to send [03:33:54]OFD Sender: No OFD packet to send [03:33:59]OFD Sender: No OFD packet to send [03:34:04]OFD Sender: No OFD packet to send [03:34:09]OFD Sender: No OFD packet to send [03:34:14]OFD Sender: No OFD packet to send [03:34:19]OFD Sender: No OFD packet to send [03:34:24]OFD Sender: No OFD packet to send [03:34:29]OFD Sender: No OFD packet to send [03:34:34]OFD Sender: No OFD packet to send [03:34:39]OFD Sender: No OFD packet to send [03:34:44]OFD Sender: No OFD packet to send [03:34:49]OFD Sender: No OFD packet to send [03:34:54]OFD Sender: No OFD packet to send [03:34:59]OFD Sender: No OFD packet to send [03:35:04]OFD Sender: No OFD packet to send [03:35:09]OFD Sender: No OFD packet to send [03:35:14]OFD Sender: No OFD packet to send [03:35:19]OFD Sender: No OFD packet to send [03:35:24]OFD Sender: No OFD packet to send [03:35:29]OFD Sender: No OFD packet to send [03:35:34]OFD Sender: No OFD packet to send [03:35:39]OFD Sender: No OFD packet to send [03:35:44]OFD Sender: No OFD packet to send [03:35:49]OFD Sender: No OFD packet to send [03:35:54]OFD Sender: No OFD packet to send [03:35:59]OFD Sender: No OFD packet to send [03:36:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]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:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]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]accept exits with 9 [03:57:35]New connection [03:57:35]New thread 3066686820 created [03:57:35]Thread 3066830180 joined [03:57:35]Waiting for new connection... [03:57:35] Sock 9.Parse request [03:57:35]Sock 9.Check first char [03:57:35]Sock 9.First char is OK [03:57:35]request: POST /json_proto HTTP/1.0 [03:57:35]Method: POST [03:57:35]URL: /json_proto [03:57:35]Method is POST - this is cgi request [03:57:35]url: /json_proto [03:57:35]query_string will be loaded in cgi processing [03:57:35]execute_cgi json_proto POST (null) [03:57:35]execute_cgi path=json_proto method=POST [03:57:35]POST find Content-Length [03:57:35]Host: 172.17.55.134:8080 [03:57:35]Content-Length: 630 [03:57:35]Content-Type: application/json [03:57:35] [03:57:35]POST finish read [03:57:35]Found Content-Length = 630 [03:57:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18108", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "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" ] } } [03:57:35]execute_script... [03:57:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18108", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "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" ] } } [03:57:35]POST & json_proto [03:57:35]process_json_proto [03:57:35]json parsed OK: [03:57:35]protocol is kg_v1.0 [03:57:35]action value=close_receipt [03:57:35]process_action close_receipt [03:57:35]cmd_close_receipt [03:57:35]MH_GetDate [03:57:35]Write to MH i2c: F0 00 00 B7 01 A7 [03:57:35]Write i2c OK [03:57:35]MH_I2C_Read... [03:57:35]Read from MH i2c: F0 [03:57:35]MH_I2C_Read... [03:57:35]Read from MH i2c: F0 09 00 [03:57:35]MH_I2C_Read... [03:57:35]Read from MH i2c: F0 09 00 B7 01 00 30 14 C4 66 13 35 D9 65 A4 [03:57:35]GetLastDocTimeStamp 1724114188 [03:57:35]current date 1724126256 [03:57:35]FM_GetShiftState [03:57:35]SAM_PROTO_GetShiftState [03:57:35]wFMCommunicate request_size=4 [03:57:35]MH_SAM_APDU [03:57:35]CAPDU: 80 13 01 00 [03:57:35]Write to MH i2c: E2 08 00 B8 01 80 13 01 00 00 00 00 00 36 [03:57:35]Write i2c OK [03:57:35]MH_I2C_Read... [03:57:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:57:35]Read from MH i2c: E2 [03:57:35]MH_I2C_Read... [03:57:35]Read from MH i2c: E2 0E 00 [03:57:35]MH_I2C_Read... [03:57:35]Read from MH i2c: E2 0E 00 B8 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 13 [03:57:35]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [03:57:35]wFMCommunicate OK [03:57:35]SAM_PROTO_GetShiftState done [03:57:35]FM_GetShiftState done [03:57:35]opened in 1724113861 [03:57:35]opened+sec_in_day 1724200261 [03:57:35]quantity*price = 15000 [03:57:35]sum+1 = 15001 [03:57:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 2 20.08.2024 03:57 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9122 ФПД: 36044466681608 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T035736&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9122&fm=36044466681608&tin=02508201610067®Number=0000000000108878&sum=15000 0 [03:57:36]StoreToDocumentArchive [03:57:36]shift 216 fd 9122 [03:57:36]save to /storage/0216/doc_00009122 [03:57:36]save last doc name /storage/0216/doc_00009122 to /storage/kkm_last_doc_name [03:57:36]save OK [03:57:36]Clear old archive folders... [03:57:36]ProcessDocumentItem done err = 0, tmpTLVsize=283 [03:57:36]tlvbuf is 0043EF70 [03:57:36]SAM_PROTO_ClearQueue [03:57:36]wFMCommunicate request_size=4 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 09 00 00 [03:57:36]Write to MH i2c: E2 08 00 C5 01 80 09 00 00 00 00 00 00 38 [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 C5 01 00 90 00 3A [03:57:36]RAPDU: 90 00 [03:57:36]wFMCommunicate OK [03:57:36]SAM_PROTO_ClearQueue done [03:57:36]KKMCreateOFDPacket [03:57:36]OFDProtocolAddRootSTLVToBuf [03:57:36]FM_MakeSignedData [03:57:36]FM_MakeSignedData [03:57:36]SAM_PROTO_SignData [03:57:36]wFMCommunicate request_size=4 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 0D 01 02 [03:57:36]Write to MH i2c: E2 08 00 C6 01 80 0D 01 02 00 00 00 00 40 [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 C6 01 00 90 00 3B [03:57:36]RAPDU: 90 00 [03:57:36]wFMCommunicate OK [03:57:36]wFMCommunicate request_size=255 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 02 00 00 00 F4 03 04 00 30 14 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 [03:57:36]Write to MH i2c: E2 02 01 C7 01 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 02 00 00 00 F4 03 04 00 30 14 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 00 00 DE [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 C7 01 00 90 00 3C [03:57:36]RAPDU: 90 00 [03:57:36]wFMCommunicate OK [03:57:36]wFMCommunicate request_size=42 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A2 23 00 00 35 04 06 00 20 C8 41 A1 F7 08 [03:57:36]Write to MH i2c: E2 2D 00 C8 01 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A2 23 00 00 35 04 06 00 20 C8 41 A1 F7 08 00 00 AA [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 03 00 C8 01 00 90 00 3D [03:57:36]RAPDU: 90 00 [03:57:36]wFMCommunicate OK [03:57:36]wFMCommunicate request_size=4 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 0D 03 02 [03:57:36]Write to MH i2c: E2 08 00 C9 01 80 0D 03 02 00 00 00 00 45 [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 0B 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 0B 00 C9 01 00 8A D0 2F B6 5F 39 FB FA 90 00 12 [03:57:36]RAPDU: 8A D0 2F B6 5F 39 FB FA 90 00 [03:57:36]wFMCommunicate OK [03:57:36]SAM_PROTO_SignData done [03:57:36]FM_MakeSignedData done [03:57:36]CreateOFDProtocolMessage [03:57:36]wFMCommunicate request_size=4 [03:57:36]MH_SAM_APDU [03:57:36]CAPDU: 80 11 00 00 [03:57:36]Write to MH i2c: E2 08 00 CA 01 80 11 00 00 00 00 00 00 45 [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:57:36]Read from MH i2c: E2 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 17 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: E2 17 00 CA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 9C [03:57:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [03:57:36]wFMCommunicate OK [03:57:36]CreateOFDProtocolMessage done [03:57:36]OFDSenderStorePacket 9122 [03:57:36]StoreOFDPacket docnum=9122 [03:57:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2F 01 00 00 DF 07 27 01 50 40 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 02 00 00 00 F4 03 04 00 30 14 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A2 23 00 00 35 04 06 00 20 C8 41 A1 F7 08 8A D0 2F B6 5F 39 FB FA [03:57:36]CheckFolder [03:57:36]dirname=/storage/ofd_packets [03:57:36]CheckFolder done [03:57:36]ProducePacketName [03:57:36]name=ofd_packets/00009122 [03:57:36]NVStorageSaveData ofd_packets/00009122 [03:57:36]File name is /storage/ofd_packets/00009122 [03:57:36]Write 333 bytes [03:57:36]NVStorageSaveData done [03:57:36]OFDSenderStorePacket done [03:57:36]KKMCreateOFDPacket done [03:57:36]NVStorageSaveData kkm_last_timestamp [03:57:36]File name is /storage/kkm_last_timestamp [03:57:36]Write 4 bytes [03:57:36]NVStorageSaveData done [03:57:36]ExternCall_PrintAddStr [03:57:36]wPrintStart [03:57:36]Write to MH i2c: 01 00 00 CB 01 CC [03:57:36]Write i2c OK [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: 01 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: 01 07 00 [03:57:36]MH_I2C_Read... [03:57:36]Read from MH i2c: 01 07 00 CB 01 00 00 00 00 00 FF 0F E1 [03:57:36]RasterBufferAndPrint [03:57:36]line Счет N : (3)18108 [03:57:36]line ИНН: 02508201610067 [03:57:36]line Контрольно-Кассовый Чек [03:57:36]line ПРОДАЖА [03:57:36]line Товар: 4640030092567 [03:57:36]line Сигареты Esse Exchange Summer Red [03:57:36]line 1.000 * 150.00 [03:57:36]line = 150.00 [03:57:36]line НДС 12% НСП 1% [03:57:36]line > о реализуемом товаре [03:57:36]line ИТОГО: 150.00 [03:57:36]line НСП 1% : 1.33 [03:57:36]line НДС 12% : 15.93 [03:57:36]line Наличными: 150.00 [03:57:36]line Безнал.: 0.00 [03:57:36]line Место: АЗС № 94 [03:57:36]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [03:57:36]line СНО: Общий режим [03:57:36]line Чек 2 20.08.2024 03:57 [03:57:36]line Смена: 216 ФФД: 1.0 [03:57:36]line ЗНМ: 0300000128 [03:57:36]line РНМ: 0000000000108878 [03:57:36]line Версия ККМ: 001 [03:57:37]line ФМ: 0000000000965619 [03:57:37]line ФД: 9122 [03:57:37]line ФПД: 36044466681608 [03:57:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T035736&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9122&fm=36044466681608&tin=02508201610067®Number=0000000000108878&sum=15000 [03:57:37]line 0 [03:57:37]OFD Sender: Processing packet 9122 [packets to send 4, broken 3] [03:57:37]ProducePacketName [03:57:37]name=ofd_packets/00009122 [03:57:37]OFD Sender: To server: pG, [03:57:37]CommunicateWithHost lk.salyk.kg:30040 [03:57:37]ConnectInit lk.salyk.kg [03:57:37]written 0, free lines is 4095 [03:57:37]Connected sock=10 [03:57:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2F 01 00 00 DF 07 27 01 50 40 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 02 00 00 00 F4 03 04 00 30 14 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A2 23 00 00 35 04 06 00 20 C8 41 A1 F7 08 8A D0 2F B6 5F 39 FB FA [03:57:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 18 68 47 00 D4 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 36 31 39 10 04 04 00 A2 23 00 00 F4 03 04 00 FC BB C3 66 B6 04 01 00 00 E6 BE 29 38 37 9D EC F1 [03:57:37]CommunicateWithHost err = 0 [03:57:37]CheckOFDResponse [03:57:37]1017 (14) - 77093643461234 [03:57:37]1041 (16) - 0000000000965619 [03:57:37]1040 (4) - 9122 [03:57:37]1012 (4) - 19.08.2024 21:41 [03:57:37]1206 (1) - 0 [03:57:37]OFD Sender: Remove packet 9122 [03:57:37]ProducePacketName [03:57:37]name=ofd_packets/00009122 [03:57:37]NVStorageDeleteData [03:57:37]Write to MH i2c: 01 00 00 F3 01 F4 [03:57:37]Write i2c OK [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: 01 [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: 01 07 00 [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: 01 07 00 F3 01 00 00 00 00 00 E4 0C EB [03:57:37]RasterBufferAndPrint [03:57:37]line [03:57:37]line [03:57:37]line [03:57:37]line [03:57:37]line [03:57:37]written 0, free lines is 3305 [03:57:37]MH_Cut [03:57:37]Write to MH i2c: D1 01 00 FA 01 01 CD [03:57:37]Write i2c OK [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: D1 [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: D1 01 00 [03:57:37]MH_I2C_Read... [03:57:37]Read from MH i2c: D1 01 00 FA 01 00 CC [03:57:37]Write to MH i2c: 01 00 00 FB 01 FC [03:57:37]Write i2c OK [03:57:37]MH_I2C_Read... [03:57:37]OFD Sender: No OFD packet to send [03:57:38]*** Cut start [03:57:38]*** Partial cut [03:57:38]*** CUTSNS_PIN = 1 [03:57:38]*** CUTSNS_PIN = 0 [03:57:38]*** Brake cut motor [03:57:38]Read from MH i2c: 01 [03:57:38]MH_I2C_Read... [03:57:38]*** Stop cut motor [03:57:38]*** Cut end [03:57:38]Read from MH i2c: 01 07 00 [03:57:38]MH_I2C_Read... [03:57:38]Read from MH i2c: 01 07 00 FB 01 00 00 00 00 00 FF 0F 11 [03:57:38]process_action close_receipt done [03:57:38]requested_data is exist [03:57:38]produce_requested_data [03:57:38]requested_item fm.sn is exist - process it [03:57:38]wFMCommunicate request_size=4 [03:57:38]MH_SAM_APDU [03:57:38]CAPDU: 80 11 00 00 [03:57:38]Write to MH i2c: E2 08 00 FC 01 80 11 00 00 00 00 00 00 77 [03:57:38]Write i2c OK [03:57:38]MH_I2C_Read... [03:57:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:57:38]Read from MH i2c: E2 [03:57:38]MH_I2C_Read... [03:57:38]Read from MH i2c: E2 17 00 [03:57:38]MH_I2C_Read... [03:57:38]Read from MH i2c: E2 17 00 FC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 CE [03:57:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [03:57:38]wFMCommunicate OK [03:57:38]requested_item fd.num is exist - process it [03:57:38]SAM_PROTO_GetFieldsCounters [03:57:38]wFMCommunicate request_size=4 [03:57:38]MH_SAM_APDU [03:57:38]CAPDU: 80 13 00 00 [03:57:38]Write to MH i2c: E2 08 00 FD 01 80 13 00 00 00 00 00 00 7A [03:57:38]Write i2c OK [03:57:38]MH_I2C_Read... [03:57:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:57:39]Read from MH i2c: E2 [03:57:39]MH_I2C_Read... [03:57:39]Read from MH i2c: E2 62 00 [03:57:39]MH_I2C_Read... [03:57:39]Read from MH i2c: E2 62 00 FD 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A2 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [03:57:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A2 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:57:39]wFMCommunicate OK [03:57:39]SAM_PROTO_GetFieldsCounters done [03:57:39]requested_item shift.num is exist - process it [03:57:39]requested_item shift.opened is exist - process it [03:57:39]req_shift_opened [03:57:39]FM_GetShiftState [03:57:39]SAM_PROTO_GetShiftState [03:57:39]wFMCommunicate request_size=4 [03:57:39]MH_SAM_APDU [03:57:39]CAPDU: 80 13 01 00 [03:57:39]Write to MH i2c: E2 08 00 FE 01 80 13 01 00 00 00 00 00 7C [03:57:39]Write i2c OK [03:57:39]MH_I2C_Read... [03:57:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:57:39]Read from MH i2c: E2 [03:57:39]MH_I2C_Read... [03:57:39]Read from MH i2c: E2 0E 00 [03:57:39]MH_I2C_Read... [03:57:39]Read from MH i2c: E2 0E 00 FE 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 59 [03:57:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [03:57:39]wFMCommunicate OK [03:57:39]SAM_PROTO_GetShiftState done [03:57:39]FM_GetShiftState done [03:57:39]req_shift_opened done [03:57:39]requested_item shift.open_date is exist - process it [03:57:39]req_shift_open_date [03:57:39]req_shift_open_date done [03:57:39]produce_requested_data done [03:57:39]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9122,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [03:57:39]process_action_free close_receipt [03:57:39]json_value_free [03:57:39]json_value_free done [03:57:39]process_json_proto returns [03:57:39]Send response to host [03:57:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9122,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [03:57:39]free response buf [03:57:39]execute_script done [03:57:39]execute_script returns [03:57:39]free content buf [03:57:39]Sock 9.Close socket [03:57:39]Sock 9.Thread stoped [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]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:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]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:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [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:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]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:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]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: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:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:11]OFD Sender: No OFD packet to send [07:02:16]OFD Sender: No OFD packet to send [07:02:21]OFD Sender: No OFD packet to send [07:02:26]OFD Sender: No OFD packet to send [07:02:31]OFD Sender: No OFD packet to send [07:02:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:06]OFD Sender: No OFD packet to send [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:56]OFD Sender: No OFD packet to send [07:05:01]OFD Sender: No OFD packet to send [07:05:06]OFD Sender: No OFD packet to send [07:05:11]OFD Sender: No OFD packet to send [07:05:16]OFD Sender: No OFD packet to send [07:05:21]OFD Sender: No OFD packet to send [07:05:26]OFD Sender: No OFD packet to send [07:05:31]OFD Sender: No OFD packet to send [07:05:36]OFD Sender: No OFD packet to send [07:05:41]OFD Sender: No OFD packet to send [07:05:46]OFD Sender: No OFD packet to send [07:05:51]OFD Sender: No OFD packet to send [07:05:56]OFD Sender: No OFD packet to send [07:06:01]OFD Sender: No OFD packet to send [07:06:06]OFD Sender: No OFD packet to send [07:06:11]OFD Sender: No OFD packet to send [07:06:16]OFD Sender: No OFD packet to send [07:06:21]OFD Sender: No OFD packet to send [07:06:26]OFD Sender: No OFD packet to send [07:06:31]OFD Sender: No OFD packet to send [07:06:36]OFD Sender: No OFD packet to send [07:06:41]OFD Sender: No OFD packet to send [07:06:46]OFD Sender: No OFD packet to send [07:06:51]OFD Sender: No OFD packet to send [07:06:56]OFD Sender: No OFD packet to send [07:07:01]OFD Sender: No OFD packet to send [07:07:06]OFD Sender: No OFD packet to send [07:07:11]OFD Sender: No OFD packet to send [07:07:16]OFD Sender: No OFD packet to send [07:07:21]OFD Sender: No OFD packet to send [07:07:26]OFD Sender: No OFD packet to send [07:07:31]OFD Sender: No OFD packet to send [07:07:36]OFD Sender: No OFD packet to send [07:07:41]OFD Sender: No OFD packet to send [07:07:46]OFD Sender: No OFD packet to send [07:07:51]OFD Sender: No OFD packet to send [07:07:56]OFD Sender: No OFD packet to send [07:08:01]OFD Sender: No OFD packet to send [07:08:06]OFD Sender: No OFD packet to send [07:08:11]OFD Sender: No OFD packet to send [07:08:16]OFD Sender: No OFD packet to send [07:08:21]OFD Sender: No OFD packet to send [07:08:26]OFD Sender: No OFD packet to send [07:08:31]OFD Sender: No OFD packet to send [07:08:36]OFD Sender: No OFD packet to send [07:08:41]OFD Sender: No OFD packet to send [07:08:46]OFD Sender: No OFD packet to send [07:08:51]OFD Sender: No OFD packet to send [07:08:56]OFD Sender: No OFD packet to send [07:09:01]OFD Sender: No OFD packet to send [07:09:06]OFD Sender: No OFD packet to send [07:09:11]OFD Sender: No OFD packet to send [07:09:16]OFD Sender: No OFD packet to send [07:09:21]OFD Sender: No OFD packet to send [07:09:26]OFD Sender: No OFD packet to send [07:09:31]OFD Sender: No OFD packet to send [07:09:36]OFD Sender: No OFD packet to send [07:09:41]OFD Sender: No OFD packet to send [07:09:46]OFD Sender: No OFD packet to send [07:09:51]OFD Sender: No OFD packet to send [07:09:56]OFD Sender: No OFD packet to send [07:10:01]OFD Sender: No OFD packet to send [07:10:06]OFD Sender: No OFD packet to send [07:10:11]OFD Sender: No OFD packet to send [07:10:16]OFD Sender: No OFD packet to send [07:10:21]OFD Sender: No OFD packet to send [07:10:26]OFD Sender: No OFD packet to send [07:10:31]OFD Sender: No OFD packet to send [07:10:36]OFD Sender: No OFD packet to send [07:10:41]OFD Sender: No OFD packet to send [07:10:46]OFD Sender: No OFD packet to send [07:10:51]OFD Sender: No OFD packet to send [07:10:56]OFD Sender: No OFD packet to send [07:11:01]OFD Sender: No OFD packet to send [07:11:06]OFD Sender: No OFD packet to send [07:11:11]OFD Sender: No OFD packet to send [07:11:16]OFD Sender: No OFD packet to send [07:11:21]OFD Sender: No OFD packet to send [07:11:26]OFD Sender: No OFD packet to send [07:11:31]OFD Sender: No OFD packet to send [07:11:36]OFD Sender: No OFD packet to send [07:11:41]OFD Sender: No OFD packet to send [07:11:46]OFD Sender: No OFD packet to send [07:11:51]OFD Sender: No OFD packet to send [07:11:56]OFD Sender: No OFD packet to send [07:12:01]OFD Sender: No OFD packet to send [07:12:06]OFD Sender: No OFD packet to send [07:12:11]OFD Sender: No OFD packet to send [07:12:16]OFD Sender: No OFD packet to send [07:12:21]OFD Sender: No OFD packet to send [07:12:26]OFD Sender: No OFD packet to send [07:12:31]OFD Sender: No OFD packet to send [07:12:36]OFD Sender: No OFD packet to send [07:12:41]OFD Sender: No OFD packet to send [07:12:46]OFD Sender: No OFD packet to send [07:12:51]OFD Sender: No OFD packet to send [07:12:56]OFD Sender: No OFD packet to send [07:13:01]OFD Sender: No OFD packet to send [07:13:06]OFD Sender: No OFD packet to send [07:13:11]OFD Sender: No OFD packet to send [07:13:16]OFD Sender: No OFD packet to send [07:13:21]OFD Sender: No OFD packet to send [07:13:26]OFD Sender: No OFD packet to send [07:13:31]OFD Sender: No OFD packet to send [07:13:36]OFD Sender: No OFD packet to send [07:13:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]OFD Sender: No OFD packet to send [07:18:37]OFD Sender: No OFD packet to send [07:18:42]OFD Sender: No OFD packet to send [07:18:47]OFD Sender: No OFD packet to send [07:18:52]OFD Sender: No OFD packet to send [07:18:57]OFD Sender: No OFD packet to send [07:19:02]OFD Sender: No OFD packet to send [07:19:07]OFD Sender: No OFD packet to send [07:19:12]OFD Sender: No OFD packet to send [07:19:17]OFD Sender: No OFD packet to send [07:19:22]OFD Sender: No OFD packet to send [07:19:27]OFD Sender: No OFD packet to send [07:19:32]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]OFD Sender: No OFD packet to send [07:25:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:35]accept exits with 7 [07:28:35]New connection [07:28:35]New thread 3066830180 created [07:28:35]Thread 3066686820 joined [07:28:35]Waiting for new connection... [07:28:35] Sock 7.Parse request [07:28:35]Sock 7.Check first char [07:28:35]Sock 7.First char is OK [07:28:35]request: POST /json_proto HTTP/1.0 [07:28:35]Method: POST [07:28:35]URL: /json_proto [07:28:35]Method is POST - this is cgi request [07:28:35]url: /json_proto [07:28:35]query_string will be loaded in cgi processing [07:28:35]execute_cgi json_proto POST (null) [07:28:35]execute_cgi path=json_proto method=POST [07:28:35]POST find Content-Length [07:28:35]Host: 172.17.55.134:8080 [07:28:35]Content-Length: 617 [07:28:35]Content-Type: application/json [07:28:35] [07:28:35]POST finish read [07:28:35]Found Content-Length = 617 [07:28:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18109", "tax_sys" : 0, "items" : [ { "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:35]execute_script... [07:28:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18109", "tax_sys" : 0, "items" : [ { "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:35]POST & json_proto [07:28:35]process_json_proto [07:28:35]json parsed OK: [07:28:35]protocol is kg_v1.0 [07:28:35]action value=close_receipt [07:28:35]process_action close_receipt [07:28:35]cmd_close_receipt [07:28:35]MH_GetDate [07:28:35]Write to MH i2c: F0 00 00 FF 01 EF [07:28:35]Write i2c OK [07:28:35]MH_I2C_Read... [07:28:35]Read from MH i2c: F0 [07:28:35]MH_I2C_Read... [07:28:35]Read from MH i2c: F0 09 00 [07:28:35]MH_I2C_Read... [07:28:35]Read from MH i2c: F0 09 00 FF 01 00 A6 45 C4 66 13 35 D9 65 93 [07:28:35]GetLastDocTimeStamp 1724126256 [07:28:35]current date 1724138918 [07:28:35]FM_GetShiftState [07:28:35]SAM_PROTO_GetShiftState [07:28:35]wFMCommunicate request_size=4 [07:28:35]MH_SAM_APDU [07:28:35]CAPDU: 80 13 01 00 [07:28:35]Write to MH i2c: E2 08 00 00 02 80 13 01 00 00 00 00 00 7F [07:28:35]Write i2c OK [07:28:35]MH_I2C_Read... [07:28:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:35]Read from MH i2c: E2 [07:28:35]MH_I2C_Read... [07:28:35]Read from MH i2c: E2 0E 00 [07:28:35]MH_I2C_Read... [07:28:35]Read from MH i2c: E2 0E 00 00 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 5C [07:28:35]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:28:35]wFMCommunicate OK [07:28:35]SAM_PROTO_GetShiftState done [07:28:35]FM_GetShiftState done [07:28:35]opened in 1724113861 [07:28:35]opened+sec_in_day 1724200261 [07:28:35]quantity*price = 15500 [07:28:35]sum+1 = 15501 [07:28:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 3 20.08.2024 07:28 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9123 ФПД: 247370500279241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T072838&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9123&fm=247370500279241&tin=02508201610067®Number=0000000000108878&sum=15500 0 [07:28:36]StoreToDocumentArchive [07:28:36]shift 216 fd 9123 [07:28:36]save to /storage/0216/doc_00009123 [07:28:36]save last doc name /storage/0216/doc_00009123 to /storage/kkm_last_doc_name [07:28:36]save OK [07:28:36]Clear old archive folders... [07:28:36]ProcessDocumentItem done err = 0, tmpTLVsize=270 [07:28:36]tlvbuf is 00384520 [07:28:36]SAM_PROTO_ClearQueue [07:28:36]wFMCommunicate request_size=4 [07:28:36]MH_SAM_APDU [07:28:36]CAPDU: 80 09 00 00 [07:28:36]Write to MH i2c: E2 08 00 0D 02 80 09 00 00 00 00 00 00 81 [07:28:36]Write i2c OK [07:28:36]MH_I2C_Read... [07:28:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 0D 02 00 90 00 83 [07:28:37]RAPDU: 90 00 [07:28:37]wFMCommunicate OK [07:28:37]SAM_PROTO_ClearQueue done [07:28:37]KKMCreateOFDPacket [07:28:37]OFDProtocolAddRootSTLVToBuf [07:28:37]FM_MakeSignedData [07:28:37]FM_MakeSignedData [07:28:37]SAM_PROTO_SignData [07:28:37]wFMCommunicate request_size=4 [07:28:37]MH_SAM_APDU [07:28:37]CAPDU: 80 0D 01 02 [07:28:37]Write to MH i2c: E2 08 00 0E 02 80 0D 01 02 00 00 00 00 89 [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 0E 02 00 90 00 84 [07:28:37]RAPDU: 90 00 [07:28:37]wFMCommunicate OK [07:28:37]wFMCommunicate request_size=255 [07:28:37]MH_SAM_APDU [07:28:37]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [07:28:37]Write to MH i2c: E2 02 01 0F 02 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 E5 [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 0F 02 00 90 00 85 [07:28:37]RAPDU: 90 00 [07:28:37]wFMCommunicate OK [07:28:37]wFMCommunicate request_size=29 [07:28:37]MH_SAM_APDU [07:28:37]CAPDU: 80 0D 02 02 18 39 36 35 36 31 39 10 04 04 00 A3 23 00 00 35 04 06 00 E0 FB 6E CC 0B C9 [07:28:37]Write to MH i2c: E2 20 00 10 02 80 0D 02 02 18 00 39 36 35 36 31 39 10 04 04 00 A3 23 00 00 35 04 06 00 E0 FB 6E CC 0B C9 00 00 06 [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 03 00 10 02 00 90 00 86 [07:28:37]RAPDU: 90 00 [07:28:37]wFMCommunicate OK [07:28:37]wFMCommunicate request_size=4 [07:28:37]MH_SAM_APDU [07:28:37]CAPDU: 80 0D 03 02 [07:28:37]Write to MH i2c: E2 08 00 11 02 80 0D 03 02 00 00 00 00 8E [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 0B 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 0B 00 11 02 00 72 77 94 E5 FA 2A 2F E4 90 00 28 [07:28:37]RAPDU: 72 77 94 E5 FA 2A 2F E4 90 00 [07:28:37]wFMCommunicate OK [07:28:37]SAM_PROTO_SignData done [07:28:37]FM_MakeSignedData done [07:28:37]CreateOFDProtocolMessage [07:28:37]wFMCommunicate request_size=4 [07:28:37]MH_SAM_APDU [07:28:37]CAPDU: 80 11 00 00 [07:28:37]Write to MH i2c: E2 08 00 12 02 80 11 00 00 00 00 00 00 8E [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:37]Read from MH i2c: E2 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 17 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: E2 17 00 12 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 E5 [07:28:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:28:37]wFMCommunicate OK [07:28:37]CreateOFDProtocolMessage done [07:28:37]OFDSenderStorePacket 9123 [07:28:37]StoreOFDPacket docnum=9123 [07:28:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 22 01 00 00 03 43 1A 01 59 26 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A3 23 00 00 35 04 06 00 E0 FB 6E CC 0B C9 72 77 94 E5 FA 2A 2F E4 [07:28:37]CheckFolder [07:28:37]dirname=/storage/ofd_packets [07:28:37]CheckFolder done [07:28:37]ProducePacketName [07:28:37]name=ofd_packets/00009123 [07:28:37]NVStorageSaveData ofd_packets/00009123 [07:28:37]File name is /storage/ofd_packets/00009123 [07:28:37]Write 320 bytes [07:28:37]NVStorageSaveData done [07:28:37]OFDSenderStorePacket done [07:28:37]KKMCreateOFDPacket done [07:28:37]NVStorageSaveData kkm_last_timestamp [07:28:37]File name is /storage/kkm_last_timestamp [07:28:37]Write 4 bytes [07:28:37]NVStorageSaveData done [07:28:37]ExternCall_PrintAddStr [07:28:37]wPrintStart [07:28:37]Write to MH i2c: 01 00 00 13 02 15 [07:28:37]Write i2c OK [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: 01 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: 01 07 00 [07:28:37]MH_I2C_Read... [07:28:37]Read from MH i2c: 01 07 00 13 02 00 00 00 00 00 FF 0F 2A [07:28:37]RasterBufferAndPrint [07:28:37]line Счет N : (3)18109 [07:28:37]line ИНН: 02508201610067 [07:28:37]line Контрольно-Кассовый Чек [07:28:37]line ПРОДАЖА [07:28:37]line Товар: 48746526 [07:28:37]line Сигареты Mevius Wind Blue [07:28:37]line 1.000 * 155.00 [07:28:37]line = 155.00 [07:28:37]line НДС 12% НСП 1% [07:28:37]line > о реализуемом товаре [07:28:37]line ИТОГО: 155.00 [07:28:37]line НСП 1% : 1.37 [07:28:37]line НДС 12% : 16.46 [07:28:37]line Наличными: 155.00 [07:28:37]line Безнал.: 0.00 [07:28:37]line Место: АЗС № 94 [07:28:37]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [07:28:37]line СНО: Общий режим [07:28:37]line Чек 3 20.08.2024 07:28 [07:28:37]line Смена: 216 ФФД: 1.0 [07:28:37]line ЗНМ: 0300000128 [07:28:37]line РНМ: 0000000000108878 [07:28:37]line Версия ККМ: 001 [07:28:37]line ФМ: 0000000000965619 [07:28:37]line ФД: 9123 [07:28:37]line ФПД: 247370500279241 [07:28:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T072838&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9123&fm=247370500279241&tin=02508201610067®Number=0000000000108878&sum=15500 [07:28:37]line 0 [07:28:37]OFD Sender: Processing packet 9123 [packets to send 4, broken 3] [07:28:37]ProducePacketName [07:28:37]name=ofd_packets/00009123 [07:28:37]OFD Sender: To server: pG, [07:28:37]CommunicateWithHost lk.salyk.kg:30040 [07:28:37]ConnectInit lk.salyk.kg [07:28:37]written 0, free lines is 4095 [07:28:37]Connected sock=11 [07:28:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 22 01 00 00 03 43 1A 01 59 26 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A3 23 00 00 35 04 06 00 E0 FB 6E CC 0B C9 72 77 94 E5 FA 2A 2F E4 [07:28:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 9F 75 47 00 99 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A3 23 00 00 F4 03 04 00 71 ED C3 66 B6 04 01 00 00 1A BE AB 1C 59 83 07 AC [07:28:38]CommunicateWithHost err = 0 [07:28:38]CheckOFDResponse [07:28:38]1017 (14) - 77093643461234 [07:28:38]1041 (16) - 0000000000965619 [07:28:38]1040 (4) - 9123 [07:28:38]1012 (4) - 20.08.2024 01:12 [07:28:38]1206 (1) - 0 [07:28:38]OFD Sender: Remove packet 9123 [07:28:38]ProducePacketName [07:28:38]name=ofd_packets/00009123 [07:28:38]NVStorageDeleteData [07:28:38]Write to MH i2c: 01 00 00 3A 02 3C [07:28:38]Write i2c OK [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: 01 [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: 01 07 00 [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: 01 07 00 3A 02 00 00 00 00 00 06 0D 56 [07:28:38]RasterBufferAndPrint [07:28:38]line [07:28:38]line [07:28:38]line [07:28:38]line [07:28:38]line [07:28:38]written 0, free lines is 3340 [07:28:38]MH_Cut [07:28:38]Write to MH i2c: D1 01 00 41 02 01 15 [07:28:38]Write i2c OK [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: D1 [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: D1 01 00 [07:28:38]MH_I2C_Read... [07:28:38]Read from MH i2c: D1 01 00 41 02 00 14 [07:28:38]Write to MH i2c: 01 00 00 42 02 44 [07:28:38]Write i2c OK [07:28:38]MH_I2C_Read... [07:28:38]OFD Sender: No OFD packet to send [07:28:38]*** Cut start [07:28:38]*** Partial cut [07:28:38]*** CUTSNS_PIN = 1 [07:28:39]*** CUTSNS_PIN = 0 [07:28:39]*** Brake cut motor [07:28:39]Read from MH i2c: 01 [07:28:39]MH_I2C_Read... [07:28:39]*** Stop cut motor [07:28:39]*** Cut end [07:28:39]Read from MH i2c: 01 07 00 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: 01 07 00 42 02 00 00 00 00 00 FF 0F 59 [07:28:39]process_action close_receipt done [07:28:39]requested_data is exist [07:28:39]produce_requested_data [07:28:39]requested_item fm.sn is exist - process it [07:28:39]wFMCommunicate request_size=4 [07:28:39]MH_SAM_APDU [07:28:39]CAPDU: 80 11 00 00 [07:28:39]Write to MH i2c: E2 08 00 43 02 80 11 00 00 00 00 00 00 BF [07:28:39]Write i2c OK [07:28:39]MH_I2C_Read... [07:28:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:39]Read from MH i2c: E2 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 17 00 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 17 00 43 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 16 [07:28:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:28:39]wFMCommunicate OK [07:28:39]requested_item fd.num is exist - process it [07:28:39]SAM_PROTO_GetFieldsCounters [07:28:39]wFMCommunicate request_size=4 [07:28:39]MH_SAM_APDU [07:28:39]CAPDU: 80 13 00 00 [07:28:39]Write to MH i2c: E2 08 00 44 02 80 13 00 00 00 00 00 00 C2 [07:28:39]Write i2c OK [07:28:39]MH_I2C_Read... [07:28:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:28:39]Read from MH i2c: E2 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 62 00 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 62 00 44 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A3 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [07:28:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A3 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:28:39]wFMCommunicate OK [07:28:39]SAM_PROTO_GetFieldsCounters done [07:28:39]requested_item shift.num is exist - process it [07:28:39]requested_item shift.opened is exist - process it [07:28:39]req_shift_opened [07:28:39]FM_GetShiftState [07:28:39]SAM_PROTO_GetShiftState [07:28:39]wFMCommunicate request_size=4 [07:28:39]MH_SAM_APDU [07:28:39]CAPDU: 80 13 01 00 [07:28:39]Write to MH i2c: E2 08 00 45 02 80 13 01 00 00 00 00 00 C4 [07:28:39]Write i2c OK [07:28:39]MH_I2C_Read... [07:28:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:39]Read from MH i2c: E2 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 0E 00 [07:28:39]MH_I2C_Read... [07:28:39]Read from MH i2c: E2 0E 00 45 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A1 [07:28:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:28:39]wFMCommunicate OK [07:28:39]SAM_PROTO_GetShiftState done [07:28:39]FM_GetShiftState done [07:28:39]req_shift_opened done [07:28:39]requested_item shift.open_date is exist - process it [07:28:39]req_shift_open_date [07:28:39]req_shift_open_date done [07:28:39]produce_requested_data done [07:28:39]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9123,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [07:28:39]process_action_free close_receipt [07:28:39]json_value_free [07:28:39]json_value_free done [07:28:39]process_json_proto returns [07:28:39]Send response to host [07:28:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9123,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [07:28:39]free response buf [07:28:39]execute_script done [07:28:39]execute_script returns [07:28:39]free content buf [07:28:39]Sock 7.Close socket [07:28:39]Sock 7.Thread stoped [07:28:42]recv_with_timeout no data received [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:52]recv_with_timeout no data received [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:23]accept exits with 9 [07:29:23]New connection [07:29:23]New thread 3066686820 created [07:29:23]Thread 3066830180 joined [07:29:23]Waiting for new connection... [07:29:23] Sock 9.Parse request [07:29:23]Sock 9.Check first char [07:29:23]Sock 9.First char is OK [07:29:23]request: POST /json_proto HTTP/1.0 [07:29:23]Method: POST [07:29:23]URL: /json_proto [07:29:23]Method is POST - this is cgi request [07:29:23]url: /json_proto [07:29:23]query_string will be loaded in cgi processing [07:29:23]execute_cgi json_proto POST (null) [07:29:23]execute_cgi path=json_proto method=POST [07:29:23]POST find Content-Length [07:29:23]Host: 172.17.55.134:8080 [07:29:23]Content-Length: 783 [07:29:23]Content-Type: application/json [07:29:23] [07:29:23]POST finish read [07:29:23]Found Content-Length = 783 [07:29:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18110", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:29:23]execute_script... [07:29:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18110", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:29:23]POST & json_proto [07:29:23]process_json_proto [07:29:23]json parsed OK: [07:29:23]protocol is kg_v1.0 [07:29:23]action value=close_receipt [07:29:23]process_action close_receipt [07:29:23]cmd_close_receipt [07:29:23]MH_GetDate [07:29:23]Write to MH i2c: F0 00 00 46 02 37 [07:29:23]Write i2c OK [07:29:23]MH_I2C_Read... [07:29:23]Read from MH i2c: F0 [07:29:23]MH_I2C_Read... [07:29:23]Read from MH i2c: F0 09 00 [07:29:23]MH_I2C_Read... [07:29:23]Read from MH i2c: F0 09 00 46 02 00 D6 45 C4 66 13 35 D9 65 0B [07:29:23]GetLastDocTimeStamp 1724138918 [07:29:23]current date 1724138966 [07:29:23]FM_GetShiftState [07:29:23]SAM_PROTO_GetShiftState [07:29:23]wFMCommunicate request_size=4 [07:29:23]MH_SAM_APDU [07:29:23]CAPDU: 80 13 01 00 [07:29:23]Write to MH i2c: E2 08 00 47 02 80 13 01 00 00 00 00 00 C6 [07:29:23]Write i2c OK [07:29:23]MH_I2C_Read... [07:29:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:29:23]Read from MH i2c: E2 [07:29:23]MH_I2C_Read... [07:29:23]Read from MH i2c: E2 0E 00 [07:29:24]MH_I2C_Read... [07:29:24]Read from MH i2c: E2 0E 00 47 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A3 [07:29:24]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:29:24]wFMCommunicate OK [07:29:24]SAM_PROTO_GetShiftState done [07:29:24]FM_GetShiftState done [07:29:24]opened in 1724113861 [07:29:24]opened+sec_in_day 1724200261 [07:29:24]quantity*price = 14000 [07:29:24]sum+1 = 14001 [07:29:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 4 20.08.2024 07:29 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9124 ФПД: 69566586411565 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T072926&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9124&fm=69566586411565&tin=02508201610067®Number=0000000000108878&sum=14000 0 [07:29:25]StoreToDocumentArchive [07:29:25]shift 216 fd 9124 [07:29:25]save to /storage/0216/doc_00009124 [07:29:25]save last doc name /storage/0216/doc_00009124 to /storage/kkm_last_doc_name [07:29:25]save OK [07:29:25]Clear old archive folders... [07:29:25]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:29:25]tlvbuf is 0043BEF0 [07:29:25]SAM_PROTO_ClearQueue [07:29:25]wFMCommunicate request_size=4 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 09 00 00 [07:29:25]Write to MH i2c: E2 08 00 54 02 80 09 00 00 00 00 00 00 C8 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 54 02 00 90 00 CA [07:29:25]RAPDU: 90 00 [07:29:25]wFMCommunicate OK [07:29:25]SAM_PROTO_ClearQueue done [07:29:25]KKMCreateOFDPacket [07:29:25]OFDProtocolAddRootSTLVToBuf [07:29:25]FM_MakeSignedData [07:29:25]FM_MakeSignedData [07:29:25]SAM_PROTO_SignData [07:29:25]wFMCommunicate request_size=4 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 0D 01 02 [07:29:25]Write to MH i2c: E2 08 00 55 02 80 0D 01 02 00 00 00 00 D0 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 55 02 00 90 00 CB [07:29:25]RAPDU: 90 00 [07:29:25]wFMCommunicate OK [07:29:25]wFMCommunicate request_size=255 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 D6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 [07:29:25]Write to MH i2c: E2 02 01 56 02 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 D6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 00 00 88 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 56 02 00 90 00 CC [07:29:25]RAPDU: 90 00 [07:29:25]wFMCommunicate OK [07:29:25]wFMCommunicate request_size=34 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A4 23 00 00 35 04 06 00 3F 45 3B AB DA 2D [07:29:25]Write to MH i2c: E2 25 00 57 02 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A4 23 00 00 35 04 06 00 3F 45 3B AB DA 2D 00 00 D0 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 03 00 57 02 00 90 00 CD [07:29:25]RAPDU: 90 00 [07:29:25]wFMCommunicate OK [07:29:25]wFMCommunicate request_size=4 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 0D 03 02 [07:29:25]Write to MH i2c: E2 08 00 58 02 80 0D 03 02 00 00 00 00 D5 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 0B 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 0B 00 58 02 00 EB E3 00 62 09 DD ED 95 90 00 6E [07:29:25]RAPDU: EB E3 00 62 09 DD ED 95 90 00 [07:29:25]wFMCommunicate OK [07:29:25]SAM_PROTO_SignData done [07:29:25]FM_MakeSignedData done [07:29:25]CreateOFDProtocolMessage [07:29:25]wFMCommunicate request_size=4 [07:29:25]MH_SAM_APDU [07:29:25]CAPDU: 80 11 00 00 [07:29:25]Write to MH i2c: E2 08 00 59 02 80 11 00 00 00 00 00 00 D5 [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:29:25]Read from MH i2c: E2 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 17 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: E2 17 00 59 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 2C [07:29:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:29:25]wFMCommunicate OK [07:29:25]CreateOFDProtocolMessage done [07:29:25]OFDSenderStorePacket 9124 [07:29:25]StoreOFDPacket docnum=9124 [07:29:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 7E B6 1F 01 95 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 D6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A4 23 00 00 35 04 06 00 3F 45 3B AB DA 2D EB E3 00 62 09 DD ED 95 [07:29:25]CheckFolder [07:29:25]dirname=/storage/ofd_packets [07:29:25]CheckFolder done [07:29:25]ProducePacketName [07:29:25]name=ofd_packets/00009124 [07:29:25]NVStorageSaveData ofd_packets/00009124 [07:29:25]File name is /storage/ofd_packets/00009124 [07:29:25]Write 325 bytes [07:29:25]NVStorageSaveData done [07:29:25]OFDSenderStorePacket done [07:29:25]KKMCreateOFDPacket done [07:29:25]NVStorageSaveData kkm_last_timestamp [07:29:25]File name is /storage/kkm_last_timestamp [07:29:25]Write 4 bytes [07:29:25]NVStorageSaveData done [07:29:25]ExternCall_PrintAddStr [07:29:25]wPrintStart [07:29:25]Write to MH i2c: 01 00 00 5A 02 5C [07:29:25]Write i2c OK [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: 01 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: 01 07 00 [07:29:25]MH_I2C_Read... [07:29:25]Read from MH i2c: 01 07 00 5A 02 00 00 00 00 00 FF 0F 71 [07:29:25]RasterBufferAndPrint [07:29:25]line Счет N : (3)18110 [07:29:25]line ИНН: 02508201610067 [07:29:25]line Контрольно-Кассовый Чек [07:29:25]line ПРОДАЖА [07:29:25]line Товар: 48743587 [07:29:25]line Сигареты Winston XStyle Silver [07:29:25]line 1.000 * 140.00 [07:29:25]line = 140.00 [07:29:25]line НДС 12% НСП 1% [07:29:25]line > о реализуемом товаре [07:29:25]line ИТОГО: 140.00 [07:29:25]line НСП 1% : 1.24 [07:29:25]line НДС 12% : 14.87 [07:29:25]line Наличными: 0.00 [07:29:25]line Безнал.: 140.00 [07:29:25]line Место: АЗС № 94 [07:29:25]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [07:29:25]line СНО: Общий режим [07:29:25]line Чек 4 20.08.2024 07:29 [07:29:25]line Смена: 216 ФФД: 1.0 [07:29:25]line ЗНМ: 0300000128 [07:29:25]line РНМ: 0000000000108878 [07:29:25]line Версия ККМ: 001 [07:29:25]line Платежная система: O! деньги [07:29:25]line ФМ: 0000000000965619 [07:29:25]line ФД: 9124 [07:29:25]line ФПД: 69566586411565 [07:29:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T072926&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9124&fm=69566586411565&tin=02508201610067®Number=0000000000108878&sum=14000 [07:29:26]line 0 [07:29:26]OFD Sender: Processing packet 9124 [packets to send 4, broken 3] [07:29:26]ProducePacketName [07:29:26]name=ofd_packets/00009124 [07:29:26]OFD Sender: To server: pG, [07:29:26]CommunicateWithHost lk.salyk.kg:30040 [07:29:26]ConnectInit lk.salyk.kg [07:29:26]written 0, free lines is 4095 [07:29:26]Connected sock=11 [07:29:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 7E B6 1F 01 95 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 D6 45 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A4 23 00 00 35 04 06 00 3F 45 3B AB DA 2D EB E3 00 62 09 DD ED 95 [07:29:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 6E EB 47 00 44 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A4 23 00 00 F4 03 04 00 A1 ED C3 66 B6 04 01 00 00 5B 47 97 41 14 9C FD 81 [07:29:26]CommunicateWithHost err = 0 [07:29:26]CheckOFDResponse [07:29:26]1017 (14) - 77093643461234 [07:29:26]1041 (16) - 0000000000965619 [07:29:26]1040 (4) - 9124 [07:29:26]1012 (4) - 20.08.2024 01:13 [07:29:26]1206 (1) - 0 [07:29:26]OFD Sender: Remove packet 9124 [07:29:26]ProducePacketName [07:29:26]name=ofd_packets/00009124 [07:29:26]NVStorageDeleteData [07:29:26]Write to MH i2c: 01 00 00 84 02 86 [07:29:26]Write i2c OK [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: 01 [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: 01 07 00 [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: 01 07 00 84 02 00 00 00 00 00 C9 0C 62 [07:29:26]RasterBufferAndPrint [07:29:26]line [07:29:26]line [07:29:26]line [07:29:26]line [07:29:26]line [07:29:26]written 0, free lines is 3280 [07:29:26]MH_Cut [07:29:26]Write to MH i2c: D1 01 00 8B 02 01 5F [07:29:26]Write i2c OK [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: D1 [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: D1 01 00 [07:29:26]MH_I2C_Read... [07:29:26]Read from MH i2c: D1 01 00 8B 02 00 5E [07:29:26]Write to MH i2c: 01 00 00 8C 02 8E [07:29:26]Write i2c OK [07:29:26]MH_I2C_Read... [07:29:26]OFD Sender: No OFD packet to send [07:29:27]*** Cut start [07:29:27]*** Partial cut [07:29:27]*** CUTSNS_PIN = 1 [07:29:27]*** CUTSNS_PIN = 0 [07:29:27]*** Brake cut motor [07:29:27]Read from MH i2c: 01 [07:29:27]MH_I2C_Read... [07:29:27]*** Stop cut motor [07:29:27]*** Cut end [07:29:27]Read from MH i2c: 01 07 00 [07:29:27]MH_I2C_Read... [07:29:27]Read from MH i2c: 01 07 00 8C 02 00 00 00 00 00 FF 0F A3 [07:29:27]process_action close_receipt done [07:29:27]requested_data is exist [07:29:27]produce_requested_data [07:29:27]requested_item fm.sn is exist - process it [07:29:27]wFMCommunicate request_size=4 [07:29:27]MH_SAM_APDU [07:29:27]CAPDU: 80 11 00 00 [07:29:27]Write to MH i2c: E2 08 00 8D 02 80 11 00 00 00 00 00 00 09 [07:29:27]Write i2c OK [07:29:27]MH_I2C_Read... [07:29:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:29:27]Read from MH i2c: E2 [07:29:27]MH_I2C_Read... [07:29:27]Read from MH i2c: E2 17 00 [07:29:27]MH_I2C_Read... [07:29:27]Read from MH i2c: E2 17 00 8D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 60 [07:29:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:29:27]wFMCommunicate OK [07:29:27]requested_item fd.num is exist - process it [07:29:27]SAM_PROTO_GetFieldsCounters [07:29:27]wFMCommunicate request_size=4 [07:29:27]MH_SAM_APDU [07:29:27]CAPDU: 80 13 00 00 [07:29:27]Write to MH i2c: E2 08 00 8E 02 80 13 00 00 00 00 00 00 0C [07:29:27]Write i2c OK [07:29:27]MH_I2C_Read... [07:29:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:29:28]Read from MH i2c: E2 [07:29:28]MH_I2C_Read... [07:29:28]Read from MH i2c: E2 62 00 [07:29:28]MH_I2C_Read... [07:29:28]Read from MH i2c: E2 62 00 8E 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A4 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [07:29:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A4 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:29:28]wFMCommunicate OK [07:29:28]SAM_PROTO_GetFieldsCounters done [07:29:28]requested_item shift.num is exist - process it [07:29:28]requested_item shift.opened is exist - process it [07:29:28]req_shift_opened [07:29:28]FM_GetShiftState [07:29:28]SAM_PROTO_GetShiftState [07:29:28]wFMCommunicate request_size=4 [07:29:28]MH_SAM_APDU [07:29:28]CAPDU: 80 13 01 00 [07:29:28]Write to MH i2c: E2 08 00 8F 02 80 13 01 00 00 00 00 00 0E [07:29:28]Write i2c OK [07:29:28]MH_I2C_Read... [07:29:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:29:28]Read from MH i2c: E2 [07:29:28]MH_I2C_Read... [07:29:28]Read from MH i2c: E2 0E 00 [07:29:28]MH_I2C_Read... [07:29:28]Read from MH i2c: E2 0E 00 8F 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 EB [07:29:28]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:29:28]wFMCommunicate OK [07:29:28]SAM_PROTO_GetShiftState done [07:29:28]FM_GetShiftState done [07:29:28]req_shift_opened done [07:29:28]requested_item shift.open_date is exist - process it [07:29:28]req_shift_open_date [07:29:28]req_shift_open_date done [07:29:28]produce_requested_data done [07:29:28]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9124,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [07:29:28]process_action_free close_receipt [07:29:28]json_value_free [07:29:28]json_value_free done [07:29:28]process_json_proto returns [07:29:28]Send response to host [07:29:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9124,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [07:29:28]free response buf [07:29:28]execute_script done [07:29:28]execute_script returns [07:29:28]free content buf [07:29:28]Sock 9.Close socket [07:29:28]Sock 9.Thread stoped [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:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [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: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]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:37]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:04]accept exits with 10 [07:58:04]New connection [07:58:04]New thread 3066830180 created [07:58:04]Thread 3066686820 joined [07:58:04]Waiting for new connection... [07:58:04] Sock 10.Parse request [07:58:04]Sock 10.Check first char [07:58:04]Sock 10.First char is OK [07:58:04]request: POST /json_proto HTTP/1.0 [07:58:04]Method: POST [07:58:04]URL: /json_proto [07:58:04]Method is POST - this is cgi request [07:58:04]url: /json_proto [07:58:04]query_string will be loaded in cgi processing [07:58:04]execute_cgi json_proto POST (null) [07:58:04]execute_cgi path=json_proto method=POST [07:58:04]POST find Content-Length [07:58:04]Host: 172.17.55.134:8080 [07:58:04]Content-Length: 645 [07:58:04]Content-Type: application/json [07:58:04] [07:58:04]POST finish read [07:58:04]Found Content-Length = 645 [07:58:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18111", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:04]execute_script... [07:58: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)18111", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:58:04]POST & json_proto [07:58:04]process_json_proto [07:58:04]json parsed OK: [07:58:04]protocol is kg_v1.0 [07:58:04]action value=close_receipt [07:58:04]process_action close_receipt [07:58:04]cmd_close_receipt [07:58:04]MH_GetDate [07:58:04]Write to MH i2c: F0 00 00 90 02 81 [07:58:04]Write i2c OK [07:58:04]MH_I2C_Read... [07:58:04]Read from MH i2c: F0 [07:58:04]MH_I2C_Read... [07:58:04]Read from MH i2c: F0 09 00 [07:58:04]MH_I2C_Read... [07:58:04]Read from MH i2c: F0 09 00 90 02 00 8F 4C C4 66 13 35 D9 65 15 [07:58:04]GetLastDocTimeStamp 1724138966 [07:58:04]current date 1724140687 [07:58:04]FM_GetShiftState [07:58:04]SAM_PROTO_GetShiftState [07:58:04]wFMCommunicate request_size=4 [07:58:04]MH_SAM_APDU [07:58:04]CAPDU: 80 13 01 00 [07:58:04]Write to MH i2c: E2 08 00 91 02 80 13 01 00 00 00 00 00 10 [07:58:04]Write i2c OK [07:58:04]MH_I2C_Read... [07:58:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:05]Read from MH i2c: E2 [07:58:05]MH_I2C_Read... [07:58:05]Read from MH i2c: E2 0E 00 [07:58:05]MH_I2C_Read... [07:58:05]Read from MH i2c: E2 0E 00 91 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 ED [07:58:05]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:58:05]wFMCommunicate OK [07:58:05]SAM_PROTO_GetShiftState done [07:58:05]FM_GetShiftState done [07:58:05]opened in 1724113861 [07:58:05]opened+sec_in_day 1724200261 [07:58:05]quantity*price = 13000 [07:58:05]sum+1 = 13001 [07:58:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 5 20.08.2024 07:58 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9125 ФПД: 179207897959798 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T075807&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9125&fm=179207897959798&tin=02508201610067®Number=0000000000108878&sum=13000 0 [07:58:06]StoreToDocumentArchive [07:58:06]shift 216 fd 9125 [07:58:06]save to /storage/0216/doc_00009125 [07:58:06]save last doc name /storage/0216/doc_00009125 to /storage/kkm_last_doc_name [07:58:06]save OK [07:58:06]Clear old archive folders... [07:58:06]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:58:06]tlvbuf is 0038A5D0 [07:58:06]SAM_PROTO_ClearQueue [07:58:06]wFMCommunicate request_size=4 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 09 00 00 [07:58:06]Write to MH i2c: E2 08 00 9E 02 80 09 00 00 00 00 00 00 12 [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 9E 02 00 90 00 14 [07:58:06]RAPDU: 90 00 [07:58:06]wFMCommunicate OK [07:58:06]SAM_PROTO_ClearQueue done [07:58:06]KKMCreateOFDPacket [07:58:06]OFDProtocolAddRootSTLVToBuf [07:58:06]FM_MakeSignedData [07:58:06]FM_MakeSignedData [07:58:06]SAM_PROTO_SignData [07:58:06]wFMCommunicate request_size=4 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 0D 01 02 [07:58:06]Write to MH i2c: E2 08 00 9F 02 80 0D 01 02 00 00 00 00 1A [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 9F 02 00 90 00 15 [07:58:06]RAPDU: 90 00 [07:58:06]wFMCommunicate OK [07:58:06]wFMCommunicate request_size=255 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 8F 4C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 [07:58:06]Write to MH i2c: E2 02 01 A0 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 8F 4C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 00 00 12 [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 A0 02 00 90 00 16 [07:58:06]RAPDU: 90 00 [07:58:06]wFMCommunicate OK [07:58:06]wFMCommunicate request_size=41 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A5 23 00 00 35 04 06 00 A2 FD 17 19 4D 76 [07:58:06]Write to MH i2c: E2 2C 00 A1 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A5 23 00 00 35 04 06 00 A2 FD 17 19 4D 76 00 00 4A [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 03 00 A1 02 00 90 00 17 [07:58:06]RAPDU: 90 00 [07:58:06]wFMCommunicate OK [07:58:06]wFMCommunicate request_size=4 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 0D 03 02 [07:58:06]Write to MH i2c: E2 08 00 A2 02 80 0D 03 02 00 00 00 00 1F [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 0B 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 0B 00 A2 02 00 F1 02 85 3A DB 0B 85 A8 90 00 E5 [07:58:06]RAPDU: F1 02 85 3A DB 0B 85 A8 90 00 [07:58:06]wFMCommunicate OK [07:58:06]SAM_PROTO_SignData done [07:58:06]FM_MakeSignedData done [07:58:06]CreateOFDProtocolMessage [07:58:06]wFMCommunicate request_size=4 [07:58:06]MH_SAM_APDU [07:58:06]CAPDU: 80 11 00 00 [07:58:06]Write to MH i2c: E2 08 00 A3 02 80 11 00 00 00 00 00 00 1F [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:06]Read from MH i2c: E2 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 17 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: E2 17 00 A3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 76 [07:58:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:58:06]wFMCommunicate OK [07:58:06]CreateOFDProtocolMessage done [07:58:06]OFDSenderStorePacket 9125 [07:58:06]StoreOFDPacket docnum=9125 [07:58:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2E 01 00 00 7E E6 26 01 8B 53 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 8F 4C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A5 23 00 00 35 04 06 00 A2 FD 17 19 4D 76 F1 02 85 3A DB 0B 85 A8 [07:58:06]CheckFolder [07:58:06]dirname=/storage/ofd_packets [07:58:06]CheckFolder done [07:58:06]ProducePacketName [07:58:06]name=ofd_packets/00009125 [07:58:06]NVStorageSaveData ofd_packets/00009125 [07:58:06]File name is /storage/ofd_packets/00009125 [07:58:06]Write 332 bytes [07:58:06]NVStorageSaveData done [07:58:06]OFDSenderStorePacket done [07:58:06]KKMCreateOFDPacket done [07:58:06]NVStorageSaveData kkm_last_timestamp [07:58:06]File name is /storage/kkm_last_timestamp [07:58:06]Write 4 bytes [07:58:06]NVStorageSaveData done [07:58:06]ExternCall_PrintAddStr [07:58:06]wPrintStart [07:58:06]Write to MH i2c: 01 00 00 A4 02 A6 [07:58:06]Write i2c OK [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: 01 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: 01 07 00 [07:58:06]MH_I2C_Read... [07:58:06]Read from MH i2c: 01 07 00 A4 02 00 00 00 00 00 FF 0F BB [07:58:06]RasterBufferAndPrint [07:58:06]line Счет N : (3)18111 [07:58:06]line ИНН: 02508201610067 [07:58:06]line Контрольно-Кассовый Чек [07:58:06]line ПРОДАЖА [07:58:06]line Товар: 2000036220012 [07:58:06]line Кофе Капучино XL(GABB TRADE) [07:58:06]line 1.000 * 130.00 [07:58:06]line = 130.00 [07:58:06]line НДС 12% НСП 1% [07:58:06]line > о реализуемом товаре [07:58:06]line ИТОГО: 130.00 [07:58:06]line НСП 1% : 1.15 [07:58:06]line НДС 12% : 13.80 [07:58:06]line Наличными: 130.00 [07:58:06]line Безнал.: 0.00 [07:58:06]line Место: АЗС № 94 [07:58:06]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [07:58:06]line СНО: Общий режим [07:58:06]line Чек 5 20.08.2024 07:58 [07:58:06]line Смена: 216 ФФД: 1.0 [07:58:06]line ЗНМ: 0300000128 [07:58:06]line РНМ: 0000000000108878 [07:58:06]line Версия ККМ: 001 [07:58:06]line ФМ: 0000000000965619 [07:58:06]line ФД: 9125 [07:58:06]line ФПД: 179207897959798 [07:58:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T075807&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9125&fm=179207897959798&tin=02508201610067®Number=0000000000108878&sum=13000 [07:58:07]line 0 [07:58:07]OFD Sender: Processing packet 9125 [packets to send 4, broken 3] [07:58:07]ProducePacketName [07:58:07]name=ofd_packets/00009125 [07:58:07]OFD Sender: To server: pG, [07:58:07]CommunicateWithHost lk.salyk.kg:30040 [07:58:07]ConnectInit lk.salyk.kg [07:58:07]written 0, free lines is 4095 [07:58:07]Connected sock=11 [07:58:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2E 01 00 00 7E E6 26 01 8B 53 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 8F 4C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A5 23 00 00 35 04 06 00 A2 FD 17 19 4D 76 F1 02 85 3A DB 0B 85 A8 [07:58:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 12 91 47 00 F5 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A5 23 00 00 F4 03 04 00 5A F4 C3 66 B6 04 01 00 00 EC 2D A1 CF 4F 47 05 74 [07:58:07]CommunicateWithHost err = 0 [07:58:07]CheckOFDResponse [07:58:07]1017 (14) - 77093643461234 [07:58:07]1041 (16) - 0000000000965619 [07:58:07]1040 (4) - 9125 [07:58:07]1012 (4) - 20.08.2024 01:41 [07:58:07]1206 (1) - 0 [07:58:07]OFD Sender: Remove packet 9125 [07:58:07]ProducePacketName [07:58:07]name=ofd_packets/00009125 [07:58:07]NVStorageDeleteData [07:58:07]Write to MH i2c: 01 00 00 CC 02 CE [07:58:07]Write i2c OK [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: 01 [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: 01 07 00 [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: 01 07 00 CC 02 00 00 00 00 00 03 0D E5 [07:58:07]RasterBufferAndPrint [07:58:07]line [07:58:07]line [07:58:07]line [07:58:07]line [07:58:07]line [07:58:07]written 0, free lines is 3337 [07:58:07]MH_Cut [07:58:07]Write to MH i2c: D1 01 00 D3 02 01 A7 [07:58:07]Write i2c OK [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: D1 [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: D1 01 00 [07:58:07]MH_I2C_Read... [07:58:07]Read from MH i2c: D1 01 00 D3 02 00 A6 [07:58:07]Write to MH i2c: 01 00 00 D4 02 D6 [07:58:07]Write i2c OK [07:58:07]MH_I2C_Read... [07:58:07]OFD Sender: No OFD packet to send [07:58:08]*** Cut start [07:58:08]*** Partial cut [07:58:08]*** CUTSNS_PIN = 1 [07:58:08]*** CUTSNS_PIN = 0 [07:58:08]*** Brake cut motor [07:58:08]Read from MH i2c: 01 [07:58:08]MH_I2C_Read... [07:58:08]*** Stop cut motor [07:58:08]*** Cut end [07:58:08]Read from MH i2c: 01 07 00 [07:58:08]MH_I2C_Read... [07:58:08]Read from MH i2c: 01 07 00 D4 02 00 00 00 00 00 FF 0F EB [07:58:08]process_action close_receipt done [07:58:08]requested_data is exist [07:58:08]produce_requested_data [07:58:08]requested_item fm.sn is exist - process it [07:58:08]wFMCommunicate request_size=4 [07:58:08]MH_SAM_APDU [07:58:08]CAPDU: 80 11 00 00 [07:58:08]Write to MH i2c: E2 08 00 D5 02 80 11 00 00 00 00 00 00 51 [07:58:08]Write i2c OK [07:58:08]MH_I2C_Read... [07:58:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:08]Read from MH i2c: E2 [07:58:08]MH_I2C_Read... [07:58:08]Read from MH i2c: E2 17 00 [07:58:08]MH_I2C_Read... [07:58:08]Read from MH i2c: E2 17 00 D5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A8 [07:58:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [07:58:08]wFMCommunicate OK [07:58:08]requested_item fd.num is exist - process it [07:58:08]SAM_PROTO_GetFieldsCounters [07:58:08]wFMCommunicate request_size=4 [07:58:08]MH_SAM_APDU [07:58:08]CAPDU: 80 13 00 00 [07:58:08]Write to MH i2c: E2 08 00 D6 02 80 13 00 00 00 00 00 00 54 [07:58:08]Write i2c OK [07:58:08]MH_I2C_Read... [07:58:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:58:09]Read from MH i2c: E2 [07:58:09]MH_I2C_Read... [07:58:09]Read from MH i2c: E2 62 00 [07:58:09]MH_I2C_Read... [07:58:09]Read from MH i2c: E2 62 00 D6 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A5 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [07:58:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A5 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:58:09]wFMCommunicate OK [07:58:09]SAM_PROTO_GetFieldsCounters done [07:58:09]requested_item shift.num is exist - process it [07:58:09]requested_item shift.opened is exist - process it [07:58:09]req_shift_opened [07:58:09]FM_GetShiftState [07:58:09]SAM_PROTO_GetShiftState [07:58:09]wFMCommunicate request_size=4 [07:58:09]MH_SAM_APDU [07:58:09]CAPDU: 80 13 01 00 [07:58:09]Write to MH i2c: E2 08 00 D7 02 80 13 01 00 00 00 00 00 56 [07:58:09]Write i2c OK [07:58:09]MH_I2C_Read... [07:58:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:09]Read from MH i2c: E2 [07:58:09]MH_I2C_Read... [07:58:09]Read from MH i2c: E2 0E 00 [07:58:09]MH_I2C_Read... [07:58:09]Read from MH i2c: E2 0E 00 D7 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 33 [07:58:09]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [07:58:09]wFMCommunicate OK [07:58:09]SAM_PROTO_GetShiftState done [07:58:09]FM_GetShiftState done [07:58:09]req_shift_opened done [07:58:09]requested_item shift.open_date is exist - process it [07:58:09]req_shift_open_date [07:58:09]req_shift_open_date done [07:58:09]produce_requested_data done [07:58:09]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9125,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [07:58:09]process_action_free close_receipt [07:58:09]json_value_free [07:58:09]json_value_free done [07:58:09]process_json_proto returns [07:58:09]Send response to host [07:58:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9125,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [07:58:09]free response buf [07:58:09]execute_script done [07:58:09]execute_script returns [07:58:09]free content buf [07:58:09]Sock 10.Close socket [07:58:09]Sock 10.Thread stoped [07:58:12]OFD Sender: No OFD packet to send [07:58:17]OFD Sender: No OFD packet to send [07:58:22]OFD Sender: No OFD packet to send [07:58:27]OFD Sender: No OFD packet to send [07:58:32]OFD Sender: No OFD packet to send [07:58:37]OFD Sender: No OFD packet to send [07:58:42]OFD Sender: No OFD packet to send [07:58:47]OFD Sender: No OFD packet to send [07:58:52]OFD Sender: No OFD packet to send [07:58:57]OFD Sender: No OFD packet to send [07:59:02]OFD Sender: No OFD packet to send [07:59:07]OFD Sender: No OFD packet to send [07:59:12]OFD Sender: No OFD packet to send [07:59:17]OFD Sender: No OFD packet to send [07:59:22]OFD Sender: No OFD packet to send [07:59:27]OFD Sender: No OFD packet to send [07:59:32]OFD Sender: No OFD packet to send [07:59:37]OFD Sender: No OFD packet to send [07:59:42]OFD Sender: No OFD packet to send [07:59:47]OFD Sender: No OFD packet to send [07:59:52]OFD Sender: No OFD packet to send [07:59:57]OFD Sender: No OFD packet to send [08:00:02]OFD Sender: No OFD packet to send [08:00:07]OFD Sender: No OFD packet to send [08:00:12]OFD Sender: No OFD packet to send [08:00:17]OFD Sender: No OFD packet to send [08:00:22]OFD Sender: No OFD packet to send [08:00:27]OFD Sender: No OFD packet to send [08:00:32]OFD Sender: No OFD packet to send [08:00:37]OFD Sender: No OFD packet to send [08:00:42]OFD Sender: No OFD packet to send [08:00:47]OFD Sender: No OFD packet to send [08:00:52]OFD Sender: No OFD packet to send [08:00:57]OFD Sender: No OFD packet to send [08:01:02]OFD Sender: No OFD packet to send [08:01:07]OFD Sender: No OFD packet to send [08:01:12]OFD Sender: No OFD packet to send [08:01:17]OFD Sender: No OFD packet to send [08:01:19]accept exits with 7 [08:01:19]New connection [08:01:19]New thread 3066686820 created [08:01:19]Thread 3066830180 joined [08:01:19]Waiting for new connection... [08:01:19] Sock 7.Parse request [08:01:19]Sock 7.Check first char [08:01:19]Sock 7.First char is OK [08:01:19]request: POST /json_proto HTTP/1.0 [08:01:19]Method: POST [08:01:19]URL: /json_proto [08:01:19]Method is POST - this is cgi request [08:01:19]url: /json_proto [08:01:19]query_string will be loaded in cgi processing [08:01:19]execute_cgi json_proto POST (null) [08:01:19]execute_cgi path=json_proto method=POST [08:01:19]POST find Content-Length [08:01:19]Host: 172.17.55.134:8080 [08:01:19]Content-Length: 688 [08:01:19]Content-Type: application/json [08:01:19] [08:01:19]POST finish read [08:01:19]Found Content-Length = 688 [08:01:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1037301", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 31.500, "sum" : 2400.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2400.00, "total" : 2400.00, "payments": [ { "type": 0, "sum" : 2400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:19]execute_script... [08:01: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 : (1)1037301", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 31.500, "sum" : 2400.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2400.00, "total" : 2400.00, "payments": [ { "type": 0, "sum" : 2400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:19]POST & json_proto [08:01:19]process_json_proto [08:01:19]json parsed OK: [08:01:19]protocol is kg_v1.0 [08:01:19]action value=close_receipt [08:01:19]process_action close_receipt [08:01:19]cmd_close_receipt [08:01:19]MH_GetDate [08:01:19]Write to MH i2c: F0 00 00 D8 02 C9 [08:01:19]Write i2c OK [08:01:19]MH_I2C_Read... [08:01:19]Read from MH i2c: F0 [08:01:19]MH_I2C_Read... [08:01:19]Read from MH i2c: F0 09 00 [08:01:19]MH_I2C_Read... [08:01:19]Read from MH i2c: F0 09 00 D8 02 00 51 4D C4 66 13 35 D9 65 20 [08:01:19]GetLastDocTimeStamp 1724140687 [08:01:19]current date 1724140881 [08:01:19]FM_GetShiftState [08:01:19]SAM_PROTO_GetShiftState [08:01:19]wFMCommunicate request_size=4 [08:01:19]MH_SAM_APDU [08:01:19]CAPDU: 80 13 01 00 [08:01:19]Write to MH i2c: E2 08 00 D9 02 80 13 01 00 00 00 00 00 58 [08:01:19]Write i2c OK [08:01:19]MH_I2C_Read... [08:01:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:19]Read from MH i2c: E2 [08:01:19]MH_I2C_Read... [08:01:19]Read from MH i2c: E2 0E 00 [08:01:19]MH_I2C_Read... [08:01:19]Read from MH i2c: E2 0E 00 D9 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 35 [08:01:19]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [08:01:19]wFMCommunicate OK [08:01:19]SAM_PROTO_GetShiftState done [08:01:19]FM_GetShiftState done [08:01:19]opened in 1724113861 [08:01:19]opened+sec_in_day 1724200261 [08:01:19]quantity*price = 240030 [08:01:19]sum+1 = 240031 [08:01:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.30 ИТОГО: 2400.00 Внесено: 2400.00 СДАЧА: 0.00 НСП 1% : 21.24 НДС 12% : 254.90 Наличными: 2400.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 6 20.08.2024 08:01 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9126 ФПД: 16725163567070 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T080121&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9126&fm=16725163567070&tin=02508201610067®Number=0000000000108878&sum=240000 [08:01:20]StoreToDocumentArchive [08:01:20]shift 216 fd 9126 [08:01:20]save to /storage/0216/doc_00009126 [08:01:20]save last doc name /storage/0216/doc_00009126 to /storage/kkm_last_doc_name [08:01:20]save OK [08:01:20]Clear old archive folders... [08:01:20]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:01:20]tlvbuf is 0038A1E0 [08:01:20]SAM_PROTO_ClearQueue [08:01:20]wFMCommunicate request_size=4 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 09 00 00 [08:01:20]Write to MH i2c: E2 08 00 E6 02 80 09 00 00 00 00 00 00 5A [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 E6 02 00 90 00 5C [08:01:20]RAPDU: 90 00 [08:01:20]wFMCommunicate OK [08:01:20]SAM_PROTO_ClearQueue done [08:01:20]KKMCreateOFDPacket [08:01:20]OFDProtocolAddRootSTLVToBuf [08:01:20]FM_MakeSignedData [08:01:20]FM_MakeSignedData [08:01:20]SAM_PROTO_SignData [08:01:20]wFMCommunicate request_size=4 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 0D 01 02 [08:01:20]Write to MH i2c: E2 08 00 E7 02 80 0D 01 02 00 00 00 00 62 [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 E7 02 00 90 00 5D [08:01:20]RAPDU: 90 00 [08:01:20]wFMCommunicate OK [08:01:20]wFMCommunicate request_size=255 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 0C 7B 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9E A9 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 A9 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 63 00 00 00 00 07 04 06 00 80 A9 03 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 51 4D C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A6 23 00 00 35 04 06 00 [08:01:20]Write to MH i2c: E2 02 01 E8 02 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 0C 7B 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9E A9 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 A9 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 63 00 00 00 00 07 04 06 00 80 A9 03 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 51 4D C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A6 23 00 00 35 04 06 00 00 00 73 [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 E8 02 00 90 00 5E [08:01:20]RAPDU: 90 00 [08:01:20]wFMCommunicate OK [08:01:20]wFMCommunicate request_size=11 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 0D 02 02 06 0F 36 21 6E E7 DE [08:01:20]Write to MH i2c: E2 0E 00 E9 02 80 0D 02 02 06 00 0F 36 21 6E E7 DE 00 00 0A [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 03 00 E9 02 00 90 00 5F [08:01:20]RAPDU: 90 00 [08:01:20]wFMCommunicate OK [08:01:20]wFMCommunicate request_size=4 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 0D 03 02 [08:01:20]Write to MH i2c: E2 08 00 EA 02 80 0D 03 02 00 00 00 00 67 [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 0B 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 0B 00 EA 02 00 02 BF AA 6E 9D 94 8A 63 90 00 5F [08:01:20]RAPDU: 02 BF AA 6E 9D 94 8A 63 90 00 [08:01:20]wFMCommunicate OK [08:01:20]SAM_PROTO_SignData done [08:01:20]FM_MakeSignedData done [08:01:20]CreateOFDProtocolMessage [08:01:20]wFMCommunicate request_size=4 [08:01:20]MH_SAM_APDU [08:01:20]CAPDU: 80 11 00 00 [08:01:20]Write to MH i2c: E2 08 00 EB 02 80 11 00 00 00 00 00 00 67 [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:20]Read from MH i2c: E2 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 17 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: E2 17 00 EB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 BE [08:01:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [08:01:20]wFMCommunicate OK [08:01:20]CreateOFDProtocolMessage done [08:01:20]OFDSenderStorePacket 9126 [08:01:20]StoreOFDPacket docnum=9126 [08:01:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 01 00 00 48 4B 08 01 4F A5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 0C 7B 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9E A9 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 A9 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 63 00 00 00 00 07 04 06 00 80 A9 03 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 51 4D C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A6 23 00 00 35 04 06 00 0F 36 21 6E E7 DE 02 BF AA 6E 9D 94 8A 63 [08:01:20]CheckFolder [08:01:20]dirname=/storage/ofd_packets [08:01:20]CheckFolder done [08:01:20]ProducePacketName [08:01:20]name=ofd_packets/00009126 [08:01:20]NVStorageSaveData ofd_packets/00009126 [08:01:20]File name is /storage/ofd_packets/00009126 [08:01:20]Write 302 bytes [08:01:20]NVStorageSaveData done [08:01:20]OFDSenderStorePacket done [08:01:20]KKMCreateOFDPacket done [08:01:20]NVStorageSaveData kkm_last_timestamp [08:01:20]File name is /storage/kkm_last_timestamp [08:01:20]Write 4 bytes [08:01:20]NVStorageSaveData done [08:01:20]ExternCall_PrintAddStr [08:01:20]wPrintStart [08:01:20]Write to MH i2c: 01 00 00 EC 02 EE [08:01:20]Write i2c OK [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: 01 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: 01 07 00 [08:01:20]MH_I2C_Read... [08:01:20]Read from MH i2c: 01 07 00 EC 02 00 00 00 00 00 FF 0F 03 [08:01:20]RasterBufferAndPrint [08:01:20]line Счет N : (1)1037301 [08:01:20]line ИНН: 02508201610067 [08:01:20]line Контрольно-Кассовый Чек [08:01:20]line ПРОДАЖА [08:01:20]line ТРК (МРК, ГНК) : 33 [08:01:20]line Товар: 2710194210 [08:01:20]line ДТ(л)-К-4 [08:01:20]line 31.500 * 76.20 [08:01:20]line = 2400.30 [08:01:20]line НДС 12% НСП 1% [08:01:20]line > о реализуемом товаре [08:01:20]line ОКРУГЛЕНИЕ: -0.30 [08:01:20]line ИТОГО: 2400.00 [08:01:20]line Внесено: 2400.00 [08:01:20]line СДАЧА: 0.00 [08:01:20]line НСП 1% : 21.24 [08:01:20]line НДС 12% : 254.90 [08:01:20]line Наличными: 2400.00 [08:01:20]line Безнал.: 0.00 [08:01:20]line Место: АЗС № 94 [08:01:20]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [08:01:20]line СНО: Общий режим [08:01:20]line Чек 6 20.08.2024 08:01 [08:01:20]line Смена: 216 ФФД: 1.0 [08:01:20]line ЗНМ: 0300000128 [08:01:20]line РНМ: 0000000000108878 [08:01:20]line Версия ККМ: 001 [08:01:20]line ФМ: 0000000000965619 [08:01:20]line ФД: 9126 [08:01:20]line ФПД: 16725163567070 [08:01:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T080121&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9126&fm=16725163567070&tin=02508201610067®Number=0000000000108878&sum=240000 [08:01:21]OFD Sender: Processing packet 9126 [packets to send 4, broken 3] [08:01:21]ProducePacketName [08:01:21]name=ofd_packets/00009126 [08:01:21]OFD Sender: To server: pG, [08:01:21]CommunicateWithHost lk.salyk.kg:30040 [08:01:21]ConnectInit lk.salyk.kg [08:01:21]written 0, free lines is 4095 [08:01:21]Connected sock=10 [08:01: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 36 31 39 10 01 00 00 48 4B 08 01 4F A5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 0C 7B 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9E A9 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 A9 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4C 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 63 00 00 00 00 07 04 06 00 80 A9 03 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 51 4D C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A6 23 00 00 35 04 06 00 0F 36 21 6E E7 DE 02 BF AA 6E 9D 94 8A 63 [08:01:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 DA 9F 47 00 49 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A6 23 00 00 F4 03 04 00 1C F5 C3 66 B6 04 01 00 00 7F CE 7F 73 B3 90 81 7C [08:01:21]CommunicateWithHost err = 0 [08:01:21]CheckOFDResponse [08:01:21]1017 (14) - 77093643461234 [08:01:21]1041 (16) - 0000000000965619 [08:01:21]1040 (4) - 9126 [08:01:21]1012 (4) - 20.08.2024 01:45 [08:01:21]1206 (1) - 0 [08:01:21]OFD Sender: Remove packet 9126 [08:01:21]ProducePacketName [08:01:21]name=ofd_packets/00009126 [08:01:21]NVStorageDeleteData [08:01:21]Write to MH i2c: 01 00 00 16 03 19 [08:01:21]Write i2c OK [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: 01 [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: 01 07 00 [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: 01 07 00 16 03 00 00 00 00 00 FB 0C 27 [08:01:21]RasterBufferAndPrint [08:01:21]line [08:01:21]line [08:01:21]line [08:01:21]line [08:01:21]line [08:01:21]written 0, free lines is 3329 [08:01:21]MH_Cut [08:01:21]Write to MH i2c: D1 01 00 1D 03 01 F2 [08:01:21]Write i2c OK [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: D1 [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: D1 01 00 [08:01:21]MH_I2C_Read... [08:01:21]Read from MH i2c: D1 01 00 1D 03 00 F1 [08:01:21]Write to MH i2c: 01 00 00 1E 03 21 [08:01:21]Write i2c OK [08:01:21]MH_I2C_Read... [08:01:21]OFD Sender: No OFD packet to send [08:01:22]*** Cut start [08:01:22]*** Partial cut [08:01:22]*** CUTSNS_PIN = 1 [08:01:22]*** CUTSNS_PIN = 0 [08:01:22]*** Brake cut motor [08:01:22]Read from MH i2c: 01 [08:01:22]MH_I2C_Read... [08:01:22]*** Stop cut motor [08:01:22]*** Cut end [08:01:22]Read from MH i2c: 01 07 00 [08:01:22]MH_I2C_Read... [08:01:22]Read from MH i2c: 01 07 00 1E 03 00 00 00 00 00 FF 0F 36 [08:01:22]process_action close_receipt done [08:01:22]requested_data is exist [08:01:22]produce_requested_data [08:01:22]requested_item fm.sn is exist - process it [08:01:22]wFMCommunicate request_size=4 [08:01:22]MH_SAM_APDU [08:01:22]CAPDU: 80 11 00 00 [08:01:22]Write to MH i2c: E2 08 00 1F 03 80 11 00 00 00 00 00 00 9C [08:01:22]Write i2c OK [08:01:22]MH_I2C_Read... [08:01:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:22]Read from MH i2c: E2 [08:01:22]MH_I2C_Read... [08:01:22]Read from MH i2c: E2 17 00 [08:01:22]MH_I2C_Read... [08:01:22]Read from MH i2c: E2 17 00 1F 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F3 [08:01:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [08:01:22]wFMCommunicate OK [08:01:22]requested_item fd.num is exist - process it [08:01:22]SAM_PROTO_GetFieldsCounters [08:01:22]wFMCommunicate request_size=4 [08:01:22]MH_SAM_APDU [08:01:22]CAPDU: 80 13 00 00 [08:01:22]Write to MH i2c: E2 08 00 20 03 80 13 00 00 00 00 00 00 9F [08:01:22]Write i2c OK [08:01:22]MH_I2C_Read... [08:01:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:23]Read from MH i2c: E2 [08:01:23]MH_I2C_Read... [08:01:23]Read from MH i2c: E2 62 00 [08:01:23]MH_I2C_Read... [08:01:23]Read from MH i2c: E2 62 00 20 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A6 23 00 00 0E 04 04 00 D8 00 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 7E [08:01: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A6 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:01:23]wFMCommunicate OK [08:01:23]SAM_PROTO_GetFieldsCounters done [08:01:23]requested_item shift.num is exist - process it [08:01:23]requested_item shift.opened is exist - process it [08:01:23]req_shift_opened [08:01:23]FM_GetShiftState [08:01:23]SAM_PROTO_GetShiftState [08:01:23]wFMCommunicate request_size=4 [08:01:23]MH_SAM_APDU [08:01:23]CAPDU: 80 13 01 00 [08:01:23]Write to MH i2c: E2 08 00 21 03 80 13 01 00 00 00 00 00 A1 [08:01:23]Write i2c OK [08:01:23]MH_I2C_Read... [08:01:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:23]Read from MH i2c: E2 [08:01:23]MH_I2C_Read... [08:01:23]Read from MH i2c: E2 0E 00 [08:01:23]MH_I2C_Read... [08:01:23]Read from MH i2c: E2 0E 00 21 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 7E [08:01:23]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [08:01:23]wFMCommunicate OK [08:01:23]SAM_PROTO_GetShiftState done [08:01:23]FM_GetShiftState done [08:01:23]req_shift_opened done [08:01:23]requested_item shift.open_date is exist - process it [08:01:23]req_shift_open_date [08:01:23]req_shift_open_date done [08:01:23]produce_requested_data done [08:01:23]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9126,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [08:01:23]process_action_free close_receipt [08:01:23]json_value_free [08:01:23]json_value_free done [08:01:23]process_json_proto returns [08:01:23]Send response to host [08:01:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9126,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [08:01:23]free response buf [08:01:23]execute_script done [08:01:23]execute_script returns [08:01:23]free content buf [08:01:23]Sock 7.Close socket [08:01:23]Sock 7.Thread stoped [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]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:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:16]accept exits with 9 [08:18:16]New connection [08:18:16]New thread 3066830180 created [08:18:16]Thread 3066686820 joined [08:18:16]Waiting for new connection... [08:18:16] Sock 9.Parse request [08:18:16]Sock 9.Check first char [08:18:16]Sock 9.First char is OK [08:18:16]request: POST /json_proto HTTP/1.0 [08:18:16]Method: POST [08:18:16]URL: /json_proto [08:18:16]Method is POST - this is cgi request [08:18:16]url: /json_proto [08:18:16]query_string will be loaded in cgi processing [08:18:16]execute_cgi json_proto POST (null) [08:18:16]execute_cgi path=json_proto method=POST [08:18:16]POST find Content-Length [08:18:16]Host: 172.17.55.134:8080 [08:18:16]Content-Length: 1273 [08:18:16]Content-Type: application/json [08:18:16] [08:18:16]POST finish read [08:18:16]Found Content-Length = 1273 [08:18:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18112", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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" : 2.000, "sum" : 260.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:16]execute_script... [08:18:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18112", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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" : 2.000, "sum" : 260.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 440.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:16]POST & json_proto [08:18:16]process_json_proto [08:18:16]json parsed OK: [08:18:16]protocol is kg_v1.0 [08:18:16]action value=close_receipt [08:18:16]process_action close_receipt [08:18:16]cmd_close_receipt [08:18:16]MH_GetDate [08:18:16]Write to MH i2c: F0 00 00 22 03 14 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: F0 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: F0 09 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: F0 09 00 22 03 00 4A 51 C4 66 13 35 D9 65 68 [08:18:16]GetLastDocTimeStamp 1724140881 [08:18:16]current date 1724141898 [08:18:16]FM_GetShiftState [08:18:16]SAM_PROTO_GetShiftState [08:18:16]wFMCommunicate request_size=4 [08:18:16]MH_SAM_APDU [08:18:16]CAPDU: 80 13 01 00 [08:18:16]Write to MH i2c: E2 08 00 23 03 80 13 01 00 00 00 00 00 A3 [08:18:16]Write i2c OK [08:18:16]MH_I2C_Read... [08:18:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:16]Read from MH i2c: E2 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 0E 00 [08:18:16]MH_I2C_Read... [08:18:16]Read from MH i2c: E2 0E 00 23 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 80 [08:18:16]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [08:18:16]wFMCommunicate OK [08:18:16]SAM_PROTO_GetShiftState done [08:18:16]FM_GetShiftState done [08:18:16]opened in 1724113861 [08:18:16]opened+sec_in_day 1724200261 [08:18:16]quantity*price = 14000 [08:18:16]sum+1 = 14001 [08:18:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000039450010 Чай зеленый 200 мл 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 440.00 НСП 1% : 3.89 НДС 12% : 46.73 Наличными: 0.00 Безнал.: 440.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 7 20.08.2024 08:18 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9127 ФПД: 148559374845197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T081819&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9127&fm=148559374845197&tin=02508201610067®Number=0000000000108878&sum=44000 0 [08:18:17]StoreToDocumentArchive [08:18:17]shift 216 fd 9127 [08:18:17]save to /storage/0216/doc_00009127 [08:18:17]save last doc name /storage/0216/doc_00009127 to /storage/kkm_last_doc_name [08:18:17]save OK [08:18:17]Clear old archive folders... [08:18:17]ProcessDocumentItem done err = 0, tmpTLVsize=479 [08:18:17]tlvbuf is 0044B920 [08:18:17]SAM_PROTO_ClearQueue [08:18:17]wFMCommunicate request_size=4 [08:18:17]MH_SAM_APDU [08:18:17]CAPDU: 80 09 00 00 [08:18:17]Write to MH i2c: E2 08 00 30 03 80 09 00 00 00 00 00 00 A5 [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:18:17]Read from MH i2c: E2 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 03 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 03 00 30 03 00 90 00 A7 [08:18:17]RAPDU: 90 00 [08:18:17]wFMCommunicate OK [08:18:17]SAM_PROTO_ClearQueue done [08:18:17]KKMCreateOFDPacket [08:18:17]OFDProtocolAddRootSTLVToBuf [08:18:17]FM_MakeSignedData [08:18:17]FM_MakeSignedData [08:18:17]SAM_PROTO_SignData [08:18:17]wFMCommunicate request_size=4 [08:18:17]MH_SAM_APDU [08:18:17]CAPDU: 80 0D 01 02 [08:18:17]Write to MH i2c: E2 08 00 31 03 80 0D 01 02 00 00 00 00 AD [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:18:17]Read from MH i2c: E2 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 03 00 [08:18:17]MH_I2C_Read... [08:18:17]Read from MH i2c: E2 03 00 31 03 00 90 00 A8 [08:18:17]RAPDU: 90 00 [08:18:17]wFMCommunicate OK [08:18:17]wFMCommunicate request_size=255 [08:18:17]MH_SAM_APDU [08:18:17]CAPDU: 80 0D 02 02 FA 03 00 DF 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [08:18:17]Write to MH i2c: E2 02 01 32 03 80 0D 02 02 FA 00 03 00 DF 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 D9 [08:18:17]OFD Sender: No OFD packet to send [08:18:17]Write i2c OK [08:18:17]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 32 03 00 90 00 A9 [08:18:18]RAPDU: 90 00 [08:18:18]wFMCommunicate OK [08:18:18]wFMCommunicate request_size=238 [08:18:18]MH_SAM_APDU [08:18:18]CAPDU: 80 0D 02 02 E9 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 4B 51 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A7 23 00 00 35 04 06 00 87 1D 2C C4 05 0D [08:18:18]Write to MH i2c: E2 F1 00 33 03 80 0D 02 02 E9 00 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 4B 51 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A7 23 00 00 35 04 06 00 87 1D 2C C4 05 0D 00 00 2B [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 03 00 33 03 00 90 00 AA [08:18:18]RAPDU: 90 00 [08:18:18]wFMCommunicate OK [08:18:18]wFMCommunicate request_size=4 [08:18:18]MH_SAM_APDU [08:18:18]CAPDU: 80 0D 03 02 [08:18:18]Write to MH i2c: E2 08 00 34 03 80 0D 03 02 00 00 00 00 B2 [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 0B 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 0B 00 34 03 00 4C 5A 80 28 DA C0 9D E2 90 00 1A [08:18:18]RAPDU: 4C 5A 80 28 DA C0 9D E2 90 00 [08:18:18]wFMCommunicate OK [08:18:18]SAM_PROTO_SignData done [08:18:18]FM_MakeSignedData done [08:18:18]CreateOFDProtocolMessage [08:18:18]wFMCommunicate request_size=4 [08:18:18]MH_SAM_APDU [08:18:18]CAPDU: 80 11 00 00 [08:18:18]Write to MH i2c: E2 08 00 35 03 80 11 00 00 00 00 00 00 B2 [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:18]Read from MH i2c: E2 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 17 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: E2 17 00 35 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 09 [08:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [08:18:18]wFMCommunicate OK [08:18:18]CreateOFDProtocolMessage done [08:18:18]OFDSenderStorePacket 9127 [08:18:18]StoreOFDPacket docnum=9127 [08:18:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 F3 01 00 00 F1 14 EB 01 F6 DC 5A 03 01 00 03 00 DF 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 4B 51 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A7 23 00 00 35 04 06 00 87 1D 2C C4 05 0D 4C 5A 80 28 DA C0 9D E2 [08:18:18]CheckFolder [08:18:18]dirname=/storage/ofd_packets [08:18:18]CheckFolder done [08:18:18]ProducePacketName [08:18:18]name=ofd_packets/00009127 [08:18:18]NVStorageSaveData ofd_packets/00009127 [08:18:18]File name is /storage/ofd_packets/00009127 [08:18:18]Write 529 bytes [08:18:18]NVStorageSaveData done [08:18:18]OFDSenderStorePacket done [08:18:18]KKMCreateOFDPacket done [08:18:18]NVStorageSaveData kkm_last_timestamp [08:18:18]File name is /storage/kkm_last_timestamp [08:18:18]Write 4 bytes [08:18:18]NVStorageSaveData done [08:18:18]ExternCall_PrintAddStr [08:18:18]wPrintStart [08:18:18]Write to MH i2c: 01 00 00 36 03 39 [08:18:18]Write i2c OK [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: 01 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: 01 07 00 [08:18:18]MH_I2C_Read... [08:18:18]Read from MH i2c: 01 07 00 36 03 00 00 00 00 00 FF 0F 4E [08:18:18]RasterBufferAndPrint [08:18:18]line Счет N : (3)18112 [08:18:18]line ИНН: 02508201610067 [08:18:18]line Контрольно-Кассовый Чек [08:18:18]line ПРОДАЖА [08:18:18]line Товар: 47802995 [08:18:18]line Сигареты Winston XS Silver [08:18:18]line 1.000 * 140.00 [08:18:18]line = 140.00 [08:18:18]line НДС 12% НСП 1% [08:18:18]line > о реализуемом товаре [08:18:18]line Товар: 2000036230011 [08:18:18]line Кофе Латте XL(GABB TRADE) [08:18:18]line 2.000 * 130.00 [08:18:18]line = 260.00 [08:18:18]line НДС 12% НСП 1% [08:18:18]line > о реализуемом товаре [08:18:18]line Товар: 2000039450010 [08:18:18]line Чай зеленый 200 мл [08:18:18]line 1.000 * 40.00 [08:18:18]line = 40.00 [08:18:18]line НДС 12% НСП 1% [08:18:18]line > о реализуемом товаре [08:18:18]line ИТОГО: 440.00 [08:18:18]line НСП 1% : 3.89 [08:18:18]line НДС 12% : 46.73 [08:18:18]line Наличными: 0.00 [08:18:18]line Безнал.: 440.00 [08:18:18]line Место: АЗС № 94 [08:18:18]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [08:18:18]line СНО: Общий режим [08:18:18]line Чек 7 20.08.2024 08:18 [08:18:18]line Смена: 216 ФФД: 1.0 [08:18:18]line ЗНМ: 0300000128 [08:18:18]line РНМ: 0000000000108878 [08:18:18]line Версия ККМ: 001 [08:18:18]line Платежная система: O! деньги [08:18:18]line ФМ: 0000000000965619 [08:18:18]line ФД: 9127 [08:18:18]line ФПД: 148559374845197 [08:18:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T081819&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9127&fm=148559374845197&tin=02508201610067®Number=0000000000108878&sum=44000 [08:18:18]line 0 [08:18:18]written 0, free lines is 4095 [08:18:18]OFD Sender: Processing packet 9127 [packets to send 4, broken 3] [08:18:18]ProducePacketName [08:18:18]name=ofd_packets/00009127 [08:18:18]OFD Sender: To server: pG, [08:18:18]CommunicateWithHost lk.salyk.kg:30040 [08:18:18]ConnectInit lk.salyk.kg [08:18:18]Connected sock=10 [08:18:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 F3 01 00 00 F1 14 EB 01 F6 DC 5A 03 01 00 03 00 DF 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 4B 51 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A7 23 00 00 35 04 06 00 87 1D 2C C4 05 0D 4C 5A 80 28 DA C0 9D E2 [08:18:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 80 B4 47 00 9B 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A7 23 00 00 F4 03 04 00 16 F9 C3 66 B6 04 01 00 00 96 B4 35 A4 79 CD E5 D6 [08:18:18]CommunicateWithHost err = 0 [08:18:18]CheckOFDResponse [08:18:18]1017 (14) - 77093643461234 [08:18:18]1041 (16) - 0000000000965619 [08:18:18]1040 (4) - 9127 [08:18:18]1012 (4) - 20.08.2024 02:01 [08:18:18]1206 (1) - 0 [08:18:18]OFD Sender: Remove packet 9127 [08:18:18]ProducePacketName [08:18:18]name=ofd_packets/00009127 [08:18:18]NVStorageDeleteData [08:18:19]Write to MH i2c: 01 00 00 6B 03 6E [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 07 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: 01 07 00 6B 03 00 00 00 00 00 5B 0C DC [08:18:19]RasterBufferAndPrint [08:18:19]line [08:18:19]line [08:18:19]line [08:18:19]line [08:18:19]line [08:18:19]written 0, free lines is 3169 [08:18:19]MH_Cut [08:18:19]Write to MH i2c: D1 01 00 72 03 01 47 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: D1 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: D1 01 00 [08:18:19]MH_I2C_Read... [08:18:19]Read from MH i2c: D1 01 00 72 03 00 46 [08:18:19]Write to MH i2c: 01 00 00 73 03 76 [08:18:19]Write i2c OK [08:18:19]MH_I2C_Read... [08:18:19]OFD Sender: No OFD packet to send [08:18:20]*** Cut start [08:18:20]*** Partial cut [08:18:20]*** CUTSNS_PIN = 1 [08:18:20]*** CUTSNS_PIN = 0 [08:18:20]*** Brake cut motor [08:18:20]Read from MH i2c: 01 [08:18:20]MH_I2C_Read... [08:18:20]*** Stop cut motor [08:18:20]*** Cut end [08:18:20]Read from MH i2c: 01 07 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: 01 07 00 73 03 00 00 00 00 00 FF 0F 8B [08:18:20]process_action close_receipt done [08:18:20]requested_data is exist [08:18:20]produce_requested_data [08:18:20]requested_item fm.sn is exist - process it [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 11 00 00 [08:18:20]Write to MH i2c: E2 08 00 74 03 80 11 00 00 00 00 00 00 F1 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 17 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 17 00 74 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 48 [08:18:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [08:18:20]wFMCommunicate OK [08:18:20]requested_item fd.num is exist - process it [08:18:20]SAM_PROTO_GetFieldsCounters [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 13 00 00 [08:18:20]Write to MH i2c: E2 08 00 75 03 80 13 00 00 00 00 00 00 F4 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 62 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 62 00 75 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A7 23 00 00 0E 04 04 00 D8 00 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 D7 [08:18: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A7 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:18:20]wFMCommunicate OK [08:18:20]SAM_PROTO_GetFieldsCounters done [08:18:20]requested_item shift.num is exist - process it [08:18:20]requested_item shift.opened is exist - process it [08:18:20]req_shift_opened [08:18:20]FM_GetShiftState [08:18:20]SAM_PROTO_GetShiftState [08:18:20]wFMCommunicate request_size=4 [08:18:20]MH_SAM_APDU [08:18:20]CAPDU: 80 13 01 00 [08:18:20]Write to MH i2c: E2 08 00 76 03 80 13 01 00 00 00 00 00 F6 [08:18:20]Write i2c OK [08:18:20]MH_I2C_Read... [08:18:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:20]Read from MH i2c: E2 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 0E 00 [08:18:20]MH_I2C_Read... [08:18:20]Read from MH i2c: E2 0E 00 76 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 D3 [08:18:20]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [08:18:20]wFMCommunicate OK [08:18:20]SAM_PROTO_GetShiftState done [08:18:20]FM_GetShiftState done [08:18:20]req_shift_opened done [08:18:20]requested_item shift.open_date is exist - process it [08:18:20]req_shift_open_date [08:18:20]req_shift_open_date done [08:18:20]produce_requested_data done [08:18:20]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9127,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [08:18:20]process_action_free close_receipt [08:18:20]json_value_free [08:18:20]json_value_free done [08:18:20]process_json_proto returns [08:18:20]Send response to host [08:18:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9127,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [08:18:20]free response buf [08:18:20]execute_script done [08:18:20]execute_script returns [08:18:20]free content buf [08:18:20]Sock 9.Close socket [08:18:20]Sock 9.Thread stoped [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:35]OFD Sender: No OFD packet to send [08:40:40]OFD Sender: No OFD packet to send [08:40:45]OFD Sender: No OFD packet to send [08:40:50]OFD Sender: No OFD packet to send [08:40:55]OFD Sender: No OFD packet to send [08:41:00]OFD Sender: No OFD packet to send [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:40]OFD Sender: No OFD packet to send [08:41:45]OFD Sender: No OFD packet to send [08:41:50]OFD Sender: No OFD packet to send [08:41:55]OFD Sender: No OFD packet to send [08:42:00]OFD Sender: No OFD packet to send [08:42:05]OFD Sender: No OFD packet to send [08:42:10]OFD Sender: No OFD packet to send [08:42:15]OFD Sender: No OFD packet to send [08:42:20]OFD Sender: No OFD packet to send [08:42:25]OFD Sender: No OFD packet to send [08:42:30]OFD Sender: No OFD packet to send [08:42:35]OFD Sender: No OFD packet to send [08:42:40]OFD Sender: No OFD packet to send [08:42:45]OFD Sender: No OFD packet to send [08:42:50]OFD Sender: No OFD packet to send [08:42:55]OFD Sender: No OFD packet to send [08:43:00]OFD Sender: No OFD packet to send [08:43:05]OFD Sender: No OFD packet to send [08:43:10]OFD Sender: No OFD packet to send [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:19]accept exits with 7 [09:25:19]New connection [09:25:19]New thread 3066686820 created [09:25:19]Thread 3066830180 joined [09:25:19]Waiting for new connection... [09:25:19] Sock 7.Parse request [09:25:19]Sock 7.Check first char [09:25:19]Sock 7.First char is OK [09:25:19]request: POST /json_proto HTTP/1.0 [09:25:19]Method: POST [09:25:19]URL: /json_proto [09:25:19]Method is POST - this is cgi request [09:25:19]url: /json_proto [09:25:19]query_string will be loaded in cgi processing [09:25:19]execute_cgi json_proto POST (null) [09:25:19]execute_cgi path=json_proto method=POST [09:25:19]POST find Content-Length [09:25:19]Host: 172.17.55.134:8080 [09:25:19]Content-Length: 620 [09:25:19]Content-Type: application/json [09:25:19] [09:25:19]POST finish read [09:25:19]Found Content-Length = 620 [09:25:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18113", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:19]execute_script... [09:25: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)18113", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:25:19]POST & json_proto [09:25:19]process_json_proto [09:25:19]json parsed OK: [09:25:19]protocol is kg_v1.0 [09:25:19]action value=close_receipt [09:25:19]process_action close_receipt [09:25:19]cmd_close_receipt [09:25:19]MH_GetDate [09:25:19]Write to MH i2c: F0 00 00 77 03 69 [09:25:19]Write i2c OK [09:25:19]MH_I2C_Read... [09:25:19]Read from MH i2c: F0 [09:25:19]MH_I2C_Read... [09:25:19]Read from MH i2c: F0 09 00 [09:25:19]MH_I2C_Read... [09:25:19]Read from MH i2c: F0 09 00 77 03 00 02 61 C4 66 13 35 D9 65 85 [09:25:19]GetLastDocTimeStamp 1724141899 [09:25:19]current date 1724145922 [09:25:19]FM_GetShiftState [09:25:19]SAM_PROTO_GetShiftState [09:25:19]wFMCommunicate request_size=4 [09:25:19]MH_SAM_APDU [09:25:19]CAPDU: 80 13 01 00 [09:25:19]Write to MH i2c: E2 08 00 78 03 80 13 01 00 00 00 00 00 F8 [09:25:19]Write i2c OK [09:25:19]MH_I2C_Read... [09:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:19]Read from MH i2c: E2 [09:25:19]MH_I2C_Read... [09:25:19]Read from MH i2c: E2 0E 00 [09:25:19]MH_I2C_Read... [09:25:19]Read from MH i2c: E2 0E 00 78 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 D5 [09:25:19]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:25:19]wFMCommunicate OK [09:25:19]SAM_PROTO_GetShiftState done [09:25:19]FM_GetShiftState done [09:25:19]opened in 1724113861 [09:25:19]opened+sec_in_day 1724200261 [09:25:19]quantity*price = 14000 [09:25:19]sum+1 = 14001 [09:25:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 8 20.08.2024 09:25 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9128 ФПД: 197087097467258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T092522&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9128&fm=197087097467258&tin=02508201610067®Number=0000000000108878&sum=14000 0 [09:25:20]StoreToDocumentArchive [09:25:20]shift 216 fd 9128 [09:25:20]save to /storage/0216/doc_00009128 [09:25:20]save last doc name /storage/0216/doc_00009128 to /storage/kkm_last_doc_name [09:25:20]save OK [09:25:20]Clear old archive folders... [09:25:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:25:20]tlvbuf is 004417F0 [09:25:20]SAM_PROTO_ClearQueue [09:25:20]wFMCommunicate request_size=4 [09:25:20]MH_SAM_APDU [09:25:20]CAPDU: 80 09 00 00 [09:25:20]Write to MH i2c: E2 08 00 85 03 80 09 00 00 00 00 00 00 FA [09:25:20]Write i2c OK [09:25:20]MH_I2C_Read... [09:25:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:25:20]Read from MH i2c: E2 [09:25:20]MH_I2C_Read... [09:25:20]Read from MH i2c: E2 03 00 [09:25:20]MH_I2C_Read... [09:25:20]Read from MH i2c: E2 03 00 85 03 00 90 00 FC [09:25:20]RAPDU: 90 00 [09:25:20]wFMCommunicate OK [09:25:20]SAM_PROTO_ClearQueue done [09:25:20]KKMCreateOFDPacket [09:25:20]OFDProtocolAddRootSTLVToBuf [09:25:20]FM_MakeSignedData [09:25:20]FM_MakeSignedData [09:25:20]SAM_PROTO_SignData [09:25:20]wFMCommunicate request_size=4 [09:25:20]MH_SAM_APDU [09:25:20]CAPDU: 80 0D 01 02 [09:25:20]Write to MH i2c: E2 08 00 86 03 80 0D 01 02 00 00 00 00 02 [09:25:20]Write i2c OK [09:25:20]MH_I2C_Read... [09:25:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:25:21]Read from MH i2c: E2 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [09:25:21]RAPDU: 90 00 [09:25:21]wFMCommunicate OK [09:25:21]wFMCommunicate request_size=255 [09:25:21]MH_SAM_APDU [09:25:21]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 02 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 [09:25:21]Write to MH i2c: E2 02 01 87 03 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 02 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 00 00 6B [09:25:21]Write i2c OK [09:25:21]MH_I2C_Read... [09:25:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:21]Read from MH i2c: E2 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [09:25:21]RAPDU: 90 00 [09:25:21]wFMCommunicate OK [09:25:21]wFMCommunicate request_size=32 [09:25:21]MH_SAM_APDU [09:25:21]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 31 39 10 04 04 00 A8 23 00 00 35 04 06 00 B3 3F EA 6F 31 7A [09:25:21]Write to MH i2c: E2 23 00 88 03 80 0D 02 02 1B 00 30 30 30 39 36 35 36 31 39 10 04 04 00 A8 23 00 00 35 04 06 00 B3 3F EA 6F 31 7A 00 00 27 [09:25:21]Write i2c OK [09:25:21]MH_I2C_Read... [09:25:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:25:21]Read from MH i2c: E2 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 03 00 88 03 00 90 00 FF [09:25:21]RAPDU: 90 00 [09:25:21]wFMCommunicate OK [09:25:21]wFMCommunicate request_size=4 [09:25:21]MH_SAM_APDU [09:25:21]CAPDU: 80 0D 03 02 [09:25:21]Write to MH i2c: E2 08 00 89 03 80 0D 03 02 00 00 00 00 07 [09:25:21]Write i2c OK [09:25:21]MH_I2C_Read... [09:25:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:25:21]Read from MH i2c: E2 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 0B 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 0B 00 89 03 00 50 D8 D0 47 F1 A8 58 B2 90 00 EA [09:25:21]RAPDU: 50 D8 D0 47 F1 A8 58 B2 90 00 [09:25:21]wFMCommunicate OK [09:25:21]SAM_PROTO_SignData done [09:25:21]FM_MakeSignedData done [09:25:21]CreateOFDProtocolMessage [09:25:21]wFMCommunicate request_size=4 [09:25:21]MH_SAM_APDU [09:25:21]CAPDU: 80 11 00 00 [09:25:21]Write to MH i2c: E2 08 00 8A 03 80 11 00 00 00 00 00 00 07 [09:25:21]Write i2c OK [09:25:21]MH_I2C_Read... [09:25:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:21]Read from MH i2c: E2 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 17 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: E2 17 00 8A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 5E [09:25:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:25:21]wFMCommunicate OK [09:25:21]CreateOFDProtocolMessage done [09:25:21]OFDSenderStorePacket 9128 [09:25:21]StoreOFDPacket docnum=9128 [09:25:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 AB 83 1D 01 03 B6 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 02 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A8 23 00 00 35 04 06 00 B3 3F EA 6F 31 7A 50 D8 D0 47 F1 A8 58 B2 [09:25:21]CheckFolder [09:25:21]dirname=/storage/ofd_packets [09:25:21]CheckFolder done [09:25:21]ProducePacketName [09:25:21]name=ofd_packets/00009128 [09:25:21]NVStorageSaveData ofd_packets/00009128 [09:25:21]File name is /storage/ofd_packets/00009128 [09:25:21]Write 323 bytes [09:25:21]NVStorageSaveData done [09:25:21]OFDSenderStorePacket done [09:25:21]KKMCreateOFDPacket done [09:25:21]NVStorageSaveData kkm_last_timestamp [09:25:21]File name is /storage/kkm_last_timestamp [09:25:21]Write 4 bytes [09:25:21]NVStorageSaveData done [09:25:21]ExternCall_PrintAddStr [09:25:21]wPrintStart [09:25:21]Write to MH i2c: 01 00 00 8B 03 8E [09:25:21]Write i2c OK [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: 01 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: 01 07 00 [09:25:21]MH_I2C_Read... [09:25:21]Read from MH i2c: 01 07 00 8B 03 00 00 00 00 00 FF 0F A3 [09:25:21]RasterBufferAndPrint [09:25:21]line Счет N : (3)18113 [09:25:21]line ИНН: 02508201610067 [09:25:21]line Контрольно-Кассовый Чек [09:25:21]line ПРОДАЖА [09:25:21]line Товар: 48743570 [09:25:21]line Сигареты Winston XStyle Blue [09:25:21]line 1.000 * 140.00 [09:25:21]line = 140.00 [09:25:21]line НДС 12% НСП 1% [09:25:21]line > о реализуемом товаре [09:25:21]line ИТОГО: 140.00 [09:25:21]line НСП 1% : 1.24 [09:25:21]line НДС 12% : 14.87 [09:25:21]line Наличными: 140.00 [09:25:21]line Безнал.: 0.00 [09:25:21]line Место: АЗС № 94 [09:25:21]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [09:25:21]line СНО: Общий режим [09:25:21]line Чек 8 20.08.2024 09:25 [09:25:21]line Смена: 216 ФФД: 1.0 [09:25:21]line ЗНМ: 0300000128 [09:25:21]line РНМ: 0000000000108878 [09:25:21]line Версия ККМ: 001 [09:25:21]line ФМ: 0000000000965619 [09:25:21]line ФД: 9128 [09:25:21]line ФПД: 197087097467258 [09:25:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T092522&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9128&fm=197087097467258&tin=02508201610067®Number=0000000000108878&sum=14000 [09:25:21]line 0 [09:25:21]OFD Sender: Processing packet 9128 [packets to send 4, broken 3] [09:25:21]ProducePacketName [09:25:21]name=ofd_packets/00009128 [09:25:21]OFD Sender: To server: pG, [09:25:21]CommunicateWithHost lk.salyk.kg:30040 [09:25:21]ConnectInit lk.salyk.kg [09:25:21]written 0, free lines is 4095 [09:25:21]Connected sock=10 [09:25: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 36 31 39 25 01 00 00 AB 83 1D 01 03 B6 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 02 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A8 23 00 00 35 04 06 00 B3 3F EA 6F 31 7A 50 D8 D0 47 F1 A8 58 B2 [09:25:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 0F A8 47 00 FE 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A8 23 00 00 F4 03 04 00 CD 08 C4 66 B6 04 01 00 00 09 D4 36 DC 95 12 11 00 [09:25:22]CommunicateWithHost err = 0 [09:25:22]CheckOFDResponse [09:25:22]1017 (14) - 77093643461234 [09:25:22]1041 (16) - 0000000000965619 [09:25:22]1040 (4) - 9128 [09:25:22]1012 (4) - 20.08.2024 03:09 [09:25:22]1206 (1) - 0 [09:25:22]OFD Sender: Remove packet 9128 [09:25:22]ProducePacketName [09:25:22]name=ofd_packets/00009128 [09:25:22]NVStorageDeleteData [09:25:22]Write to MH i2c: 01 00 00 B2 03 B5 [09:25:22]Write i2c OK [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: 01 [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: 01 07 00 [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: 01 07 00 B2 03 00 00 00 00 00 FD 0C C5 [09:25:22]RasterBufferAndPrint [09:25:22]line [09:25:22]line [09:25:22]line [09:25:22]line [09:25:22]line [09:25:22]written 0, free lines is 3331 [09:25:22]MH_Cut [09:25:22]Write to MH i2c: D1 01 00 B9 03 01 8E [09:25:22]Write i2c OK [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: D1 [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: D1 01 00 [09:25:22]MH_I2C_Read... [09:25:22]Read from MH i2c: D1 01 00 B9 03 00 8D [09:25:22]Write to MH i2c: 01 00 00 BA 03 BD [09:25:22]Write i2c OK [09:25:22]MH_I2C_Read... [09:25:22]OFD Sender: No OFD packet to send [09:25:22]*** Cut start [09:25:22]*** Partial cut [09:25:22]*** CUTSNS_PIN = 1 [09:25:23]*** CUTSNS_PIN = 0 [09:25:23]*** Brake cut motor [09:25:23]Read from MH i2c: 01 [09:25:23]MH_I2C_Read... [09:25:23]*** Stop cut motor [09:25:23]*** Cut end [09:25:23]Read from MH i2c: 01 07 00 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: 01 07 00 BA 03 00 00 00 00 00 FF 0F D2 [09:25:23]process_action close_receipt done [09:25:23]requested_data is exist [09:25:23]produce_requested_data [09:25:23]requested_item fm.sn is exist - process it [09:25:23]wFMCommunicate request_size=4 [09:25:23]MH_SAM_APDU [09:25:23]CAPDU: 80 11 00 00 [09:25:23]Write to MH i2c: E2 08 00 BB 03 80 11 00 00 00 00 00 00 38 [09:25:23]Write i2c OK [09:25:23]MH_I2C_Read... [09:25:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:25:23]Read from MH i2c: E2 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 17 00 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 17 00 BB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 8F [09:25:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:25:23]wFMCommunicate OK [09:25:23]requested_item fd.num is exist - process it [09:25:23]SAM_PROTO_GetFieldsCounters [09:25:23]wFMCommunicate request_size=4 [09:25:23]MH_SAM_APDU [09:25:23]CAPDU: 80 13 00 00 [09:25:23]Write to MH i2c: E2 08 00 BC 03 80 13 00 00 00 00 00 00 3B [09:25:23]Write i2c OK [09:25:23]MH_I2C_Read... [09:25:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:25:23]Read from MH i2c: E2 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 62 00 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 62 00 BC 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A8 23 00 00 0E 04 04 00 D8 00 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 22 [09:25: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A8 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:25:23]wFMCommunicate OK [09:25:23]SAM_PROTO_GetFieldsCounters done [09:25:23]requested_item shift.num is exist - process it [09:25:23]requested_item shift.opened is exist - process it [09:25:23]req_shift_opened [09:25:23]FM_GetShiftState [09:25:23]SAM_PROTO_GetShiftState [09:25:23]wFMCommunicate request_size=4 [09:25:23]MH_SAM_APDU [09:25:23]CAPDU: 80 13 01 00 [09:25:23]Write to MH i2c: E2 08 00 BD 03 80 13 01 00 00 00 00 00 3D [09:25:23]Write i2c OK [09:25:23]MH_I2C_Read... [09:25:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:25:23]Read from MH i2c: E2 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 0E 00 [09:25:23]MH_I2C_Read... [09:25:23]Read from MH i2c: E2 0E 00 BD 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 1A [09:25:23]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:25:23]wFMCommunicate OK [09:25:23]SAM_PROTO_GetShiftState done [09:25:23]FM_GetShiftState done [09:25:23]req_shift_opened done [09:25:23]requested_item shift.open_date is exist - process it [09:25:23]req_shift_open_date [09:25:23]req_shift_open_date done [09:25:23]produce_requested_data done [09:25:23]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9128,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [09:25:23]process_action_free close_receipt [09:25:23]json_value_free [09:25:23]json_value_free done [09:25:23]process_json_proto returns [09:25:23]Send response to host [09:25:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9128,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [09:25:23]free response buf [09:25:23]execute_script done [09:25:23]execute_script returns [09:25:23]free content buf [09:25:23]Sock 7.Close socket [09:25:23]Sock 7.Thread stoped [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:03]accept exits with 9 [09:28:03]New connection [09:28:03]New thread 3066830180 created [09:28:03]Thread 3066686820 joined [09:28:03]Waiting for new connection... [09:28:03] Sock 9.Parse request [09:28:03]Sock 9.Check first char [09:28:03]Sock 9.First char is OK [09:28:03]request: POST /json_proto HTTP/1.0 [09:28:03]Method: POST [09:28:03]URL: /json_proto [09:28:03]Method is POST - this is cgi request [09:28:03]url: /json_proto [09:28:03]query_string will be loaded in cgi processing [09:28:03]execute_cgi json_proto POST (null) [09:28:03]execute_cgi path=json_proto method=POST [09:28:03]POST find Content-Length [09:28:03]Host: 172.17.55.134:8080 [09:28:03]Content-Length: 900 [09:28:03]Content-Type: application/json [09:28:03] [09:28:03]POST finish read [09:28:03]Found Content-Length = 900 [09:28:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18115", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:03]execute_script... [09:28:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18115", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:03]POST & json_proto [09:28:03]process_json_proto [09:28:03]json parsed OK: [09:28:03]protocol is kg_v1.0 [09:28:03]action value=close_receipt [09:28:03]process_action close_receipt [09:28:03]cmd_close_receipt [09:28:03]MH_GetDate [09:28:03]Write to MH i2c: F0 00 00 BE 03 B0 [09:28:03]Write i2c OK [09:28:03]MH_I2C_Read... [09:28:03]Read from MH i2c: F0 [09:28:03]MH_I2C_Read... [09:28:03]Read from MH i2c: F0 09 00 [09:28:03]MH_I2C_Read... [09:28:03]Read from MH i2c: F0 09 00 BE 03 00 A6 61 C4 66 13 35 D9 65 70 [09:28:03]GetLastDocTimeStamp 1724145922 [09:28:03]current date 1724146086 [09:28:03]FM_GetShiftState [09:28:03]SAM_PROTO_GetShiftState [09:28:03]wFMCommunicate request_size=4 [09:28:03]MH_SAM_APDU [09:28:03]CAPDU: 80 13 01 00 [09:28:03]Write to MH i2c: E2 08 00 BF 03 80 13 01 00 00 00 00 00 3F [09:28:03]Write i2c OK [09:28:03]MH_I2C_Read... [09:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:04]Read from MH i2c: E2 [09:28:04]MH_I2C_Read... [09:28:04]Read from MH i2c: E2 0E 00 [09:28:04]MH_I2C_Read... [09:28:04]Read from MH i2c: E2 0E 00 BF 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 1C [09:28:04]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:28:04]wFMCommunicate OK [09:28:04]SAM_PROTO_GetShiftState done [09:28:04]FM_GetShiftState done [09:28:04]opened in 1724113861 [09:28:04]opened+sec_in_day 1724200261 [09:28:04]quantity*price = 7000 [09:28:04]sum+1 = 7001 [09:28:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.23 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 9 20.08.2024 09:28 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9129 ФПД: 84459288461267 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T092806&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9129&fm=84459288461267&tin=02508201610067®Number=0000000000108878&sum=20000 0 [09:28:05]StoreToDocumentArchive [09:28:05]shift 216 fd 9129 [09:28:05]save to /storage/0216/doc_00009129 [09:28:05]save last doc name /storage/0216/doc_00009129 to /storage/kkm_last_doc_name [09:28:05]save OK [09:28:05]Clear old archive folders... [09:28:05]ProcessDocumentItem done err = 0, tmpTLVsize=385 [09:28:05]tlvbuf is 00463350 [09:28:05]SAM_PROTO_ClearQueue [09:28:05]wFMCommunicate request_size=4 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 09 00 00 [09:28:05]Write to MH i2c: E2 08 00 CC 03 80 09 00 00 00 00 00 00 41 [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 CC 03 00 90 00 43 [09:28:05]RAPDU: 90 00 [09:28:05]wFMCommunicate OK [09:28:05]SAM_PROTO_ClearQueue done [09:28:05]KKMCreateOFDPacket [09:28:05]OFDProtocolAddRootSTLVToBuf [09:28:05]FM_MakeSignedData [09:28:05]FM_MakeSignedData [09:28:05]SAM_PROTO_SignData [09:28:05]wFMCommunicate request_size=4 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 0D 01 02 [09:28:05]Write to MH i2c: E2 08 00 CD 03 80 0D 01 02 00 00 00 00 49 [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 CD 03 00 90 00 44 [09:28:05]RAPDU: 90 00 [09:28:05]wFMCommunicate OK [09:28:05]wFMCommunicate request_size=255 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [09:28:05]Write to MH i2c: E2 02 01 CE 03 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 7A [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 CE 03 00 90 00 45 [09:28:05]RAPDU: 90 00 [09:28:05]wFMCommunicate OK [09:28:05]wFMCommunicate request_size=144 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 0D 02 02 8B 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 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 09 00 00 00 F4 03 04 00 A6 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A9 23 00 00 35 04 06 00 4C D0 B5 E2 FF D3 [09:28:05]Write to MH i2c: E2 93 00 CF 03 80 0D 02 02 8B 00 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 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 09 00 00 00 F4 03 04 00 A6 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A9 23 00 00 35 04 06 00 4C D0 B5 E2 FF D3 00 00 6F [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 03 00 CF 03 00 90 00 46 [09:28:05]RAPDU: 90 00 [09:28:05]wFMCommunicate OK [09:28:05]wFMCommunicate request_size=4 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 0D 03 02 [09:28:05]Write to MH i2c: E2 08 00 D0 03 80 0D 03 02 00 00 00 00 4E [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 0B 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 0B 00 D0 03 00 18 CF 72 0E DB 89 7B CC 90 00 61 [09:28:05]RAPDU: 18 CF 72 0E DB 89 7B CC 90 00 [09:28:05]wFMCommunicate OK [09:28:05]SAM_PROTO_SignData done [09:28:05]FM_MakeSignedData done [09:28:05]CreateOFDProtocolMessage [09:28:05]wFMCommunicate request_size=4 [09:28:05]MH_SAM_APDU [09:28:05]CAPDU: 80 11 00 00 [09:28:05]Write to MH i2c: E2 08 00 D1 03 80 11 00 00 00 00 00 00 4E [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:05]Read from MH i2c: E2 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 17 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: E2 17 00 D1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A5 [09:28:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:28:05]wFMCommunicate OK [09:28:05]CreateOFDProtocolMessage done [09:28:05]OFDSenderStorePacket 9129 [09:28:05]StoreOFDPacket docnum=9129 [09:28:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 95 01 00 00 56 5D 8D 01 8C 71 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 4B 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 09 00 00 00 F4 03 04 00 A6 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A9 23 00 00 35 04 06 00 4C D0 B5 E2 FF D3 18 CF 72 0E DB 89 7B CC [09:28:05]CheckFolder [09:28:05]dirname=/storage/ofd_packets [09:28:05]CheckFolder done [09:28:05]ProducePacketName [09:28:05]name=ofd_packets/00009129 [09:28:05]NVStorageSaveData ofd_packets/00009129 [09:28:05]File name is /storage/ofd_packets/00009129 [09:28:05]Write 435 bytes [09:28:05]NVStorageSaveData done [09:28:05]OFDSenderStorePacket done [09:28:05]KKMCreateOFDPacket done [09:28:05]NVStorageSaveData kkm_last_timestamp [09:28:05]File name is /storage/kkm_last_timestamp [09:28:05]Write 4 bytes [09:28:05]NVStorageSaveData done [09:28:05]ExternCall_PrintAddStr [09:28:05]wPrintStart [09:28:05]Write to MH i2c: 01 00 00 D2 03 D5 [09:28:05]Write i2c OK [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: 01 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: 01 07 00 [09:28:05]MH_I2C_Read... [09:28:05]Read from MH i2c: 01 07 00 D2 03 00 00 00 00 00 FF 0F EA [09:28:05]RasterBufferAndPrint [09:28:06]line Счет N : (3)18115 [09:28:06]line ИНН: 02508201610067 [09:28:06]line Контрольно-Кассовый Чек [09:28:06]line ПРОДАЖА [09:28:06]line Товар: 4700002082931 [09:28:06]line Водка Хорошая 0,1л [09:28:06]line 1.000 * 70.00 [09:28:06]line = 70.00 [09:28:06]line НДС 12% НСП 1% [09:28:06]line > о реализуемом товаре [09:28:06]line Товар: 2000036220012 [09:28:06]line Кофе Капучино XL(GABB TRADE) [09:28:06]line 1.000 * 130.00 [09:28:06]line = 130.00 [09:28:06]line НДС 12% НСП 1% [09:28:06]line > о реализуемом товаре [09:28:06]line ИТОГО: 200.00 [09:28:06]line НСП 1% : 1.77 [09:28:06]line НДС 12% : 21.23 [09:28:06]line Наличными: 200.00 [09:28:06]line Безнал.: 0.00 [09:28:06]line Место: АЗС № 94 [09:28:06]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [09:28:06]line СНО: Общий режим [09:28:06]line Чек 9 20.08.2024 09:28 [09:28:06]line Смена: 216 ФФД: 1.0 [09:28:06]line ЗНМ: 0300000128 [09:28:06]line РНМ: 0000000000108878 [09:28:06]line Версия ККМ: 001 [09:28:06]line ФМ: 0000000000965619 [09:28:06]line ФД: 9129 [09:28:06]line ФПД: 84459288461267 [09:28:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T092806&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9129&fm=84459288461267&tin=02508201610067®Number=0000000000108878&sum=20000 [09:28:06]line 0 [09:28:06]OFD Sender: Processing packet 9129 [packets to send 4, broken 3] [09:28:06]ProducePacketName [09:28:06]name=ofd_packets/00009129 [09:28:06]OFD Sender: To server: pG, [09:28:06]CommunicateWithHost lk.salyk.kg:30040 [09:28:06]ConnectInit lk.salyk.kg [09:28:06]written 0, free lines is 4095 [09:28:06]Connected sock=10 [09: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 36 31 39 95 01 00 00 56 5D 8D 01 8C 71 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 4B 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 09 00 00 00 F4 03 04 00 A6 61 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A9 23 00 00 35 04 06 00 4C D0 B5 E2 FF D3 18 CF 72 0E DB 89 7B CC [09: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 36 31 39 4F 00 00 00 A4 C3 47 00 D9 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 A9 23 00 00 F4 03 04 00 72 09 C4 66 B6 04 01 00 00 07 0B F6 C0 01 78 A6 E5 [09:28:06]CommunicateWithHost err = 0 [09:28:06]CheckOFDResponse [09:28:06]1017 (14) - 77093643461234 [09:28:06]1041 (16) - 0000000000965619 [09:28:06]1040 (4) - 9129 [09:28:06]1012 (4) - 20.08.2024 03:11 [09:28:06]1206 (1) - 0 [09:28:06]OFD Sender: Remove packet 9129 [09:28:06]ProducePacketName [09:28:06]name=ofd_packets/00009129 [09:28:06]NVStorageDeleteData [09:28:06]Write to MH i2c: 01 00 00 00 04 04 [09:28:06]Write i2c OK [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: 01 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: 01 07 00 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: 01 07 00 00 04 00 00 00 00 00 AE 0C C5 [09:28:06]RasterBufferAndPrint [09:28:06]line [09:28:06]line [09:28:06]line [09:28:06]line [09:28:06]line [09:28:06]written 0, free lines is 3251 [09:28:06]MH_Cut [09:28:06]Write to MH i2c: D1 01 00 07 04 01 DD [09:28:06]Write i2c OK [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: D1 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: D1 01 00 [09:28:06]MH_I2C_Read... [09:28:06]Read from MH i2c: D1 01 00 07 04 00 DC [09:28:06]Write to MH i2c: 01 00 00 08 04 0C [09:28:06]Write i2c OK [09:28:06]MH_I2C_Read... [09:28:06]OFD Sender: No OFD packet to send [09:28:07]*** Cut start [09:28:07]*** Partial cut [09:28:07]*** CUTSNS_PIN = 1 [09:28:07]*** CUTSNS_PIN = 0 [09:28:07]*** Brake cut motor [09:28:08]Read from MH i2c: 01 [09:28:08]MH_I2C_Read... [09:28:08]*** Stop cut motor [09:28:08]*** Cut end [09:28:08]Read from MH i2c: 01 07 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: 01 07 00 08 04 00 00 00 00 00 FF 0F 21 [09:28:08]process_action close_receipt done [09:28:08]requested_data is exist [09:28:08]produce_requested_data [09:28:08]requested_item fm.sn is exist - process it [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 11 00 00 [09:28:08]Write to MH i2c: E2 08 00 09 04 80 11 00 00 00 00 00 00 87 [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 17 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 17 00 09 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 DE [09:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:28:08]wFMCommunicate OK [09:28:08]requested_item fd.num is exist - process it [09:28:08]SAM_PROTO_GetFieldsCounters [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 13 00 00 [09:28:08]Write to MH i2c: E2 08 00 0A 04 80 13 00 00 00 00 00 00 8A [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 62 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 62 00 0A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A9 23 00 00 0E 04 04 00 D8 00 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 75 [09: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 A9 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:28:08]wFMCommunicate OK [09:28:08]SAM_PROTO_GetFieldsCounters done [09:28:08]requested_item shift.num is exist - process it [09:28:08]requested_item shift.opened is exist - process it [09:28:08]req_shift_opened [09:28:08]FM_GetShiftState [09:28:08]SAM_PROTO_GetShiftState [09:28:08]wFMCommunicate request_size=4 [09:28:08]MH_SAM_APDU [09:28:08]CAPDU: 80 13 01 00 [09:28:08]Write to MH i2c: E2 08 00 0B 04 80 13 01 00 00 00 00 00 8C [09:28:08]Write i2c OK [09:28:08]MH_I2C_Read... [09:28:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:08]Read from MH i2c: E2 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 0E 00 [09:28:08]MH_I2C_Read... [09:28:08]Read from MH i2c: E2 0E 00 0B 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 69 [09:28:08]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:28:08]wFMCommunicate OK [09:28:08]SAM_PROTO_GetShiftState done [09:28:08]FM_GetShiftState done [09:28:08]req_shift_opened done [09:28:08]requested_item shift.open_date is exist - process it [09:28:08]req_shift_open_date [09:28:08]req_shift_open_date done [09:28:08]produce_requested_data done [09:28:08]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9129,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [09:28:08]process_action_free close_receipt [09:28:08]json_value_free [09:28:08]json_value_free done [09:28:08]process_json_proto returns [09:28:08]Send response to host [09:28:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9129,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [09:28:08]free response buf [09:28:08]execute_script done [09:28:08]execute_script returns [09:28:08]free content buf [09:28:08]Sock 9.Close socket [09:28:08]Sock 9.Thread stoped [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:39]accept exits with 7 [09:35:39]New connection [09:35:39]New thread 3066686820 created [09:35:39]Thread 3066830180 joined [09:35:39]Waiting for new connection... [09:35:39] Sock 7.Parse request [09:35:39]Sock 7.Check first char [09:35:39]Sock 7.First char is OK [09:35:39]request: POST /json_proto HTTP/1.0 [09:35:39]Method: POST [09:35:39]URL: /json_proto [09:35:39]Method is POST - this is cgi request [09:35:39]url: /json_proto [09:35:39]query_string will be loaded in cgi processing [09:35:39]execute_cgi json_proto POST (null) [09:35:39]execute_cgi path=json_proto method=POST [09:35:39]POST find Content-Length [09:35:39]Host: 172.17.55.134:8080 [09:35:39]Content-Length: 613 [09:35:39]Content-Type: application/json [09:35:39] [09:35:39]POST finish read [09:35:39]Found Content-Length = 613 [09:35:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18116", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:39]execute_script... [09:35: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)18116", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:39]POST & json_proto [09:35:39]process_json_proto [09:35:39]json parsed OK: [09:35:39]protocol is kg_v1.0 [09:35:39]action value=close_receipt [09:35:39]process_action close_receipt [09:35:39]cmd_close_receipt [09:35:39]MH_GetDate [09:35:39]Write to MH i2c: F0 00 00 0C 04 FF [09:35:39]Write i2c OK [09:35:39]MH_I2C_Read... [09:35:39]Read from MH i2c: F0 [09:35:39]MH_I2C_Read... [09:35:39]Read from MH i2c: F0 09 00 [09:35:39]MH_I2C_Read... [09:35:39]Read from MH i2c: F0 09 00 0C 04 00 6E 63 C4 66 13 35 D9 65 89 [09:35:39]GetLastDocTimeStamp 1724146086 [09:35:39]current date 1724146542 [09:35:39]FM_GetShiftState [09:35:39]SAM_PROTO_GetShiftState [09:35:39]wFMCommunicate request_size=4 [09:35:39]MH_SAM_APDU [09:35:39]CAPDU: 80 13 01 00 [09:35:39]Write to MH i2c: E2 08 00 0D 04 80 13 01 00 00 00 00 00 8E [09:35:39]Write i2c OK [09:35:39]MH_I2C_Read... [09:35:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:35:39]Read from MH i2c: E2 [09:35:39]MH_I2C_Read... [09:35:39]Read from MH i2c: E2 0E 00 [09:35:39]MH_I2C_Read... [09:35:39]Read from MH i2c: E2 0E 00 0D 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 6B [09:35:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:35:39]wFMCommunicate OK [09:35:39]SAM_PROTO_GetShiftState done [09:35:39]FM_GetShiftState done [09:35:39]opened in 1724113861 [09:35:39]opened+sec_in_day 1724200261 [09:35:39]quantity*price = 11100 [09:35:39]sum+1 = 11101 [09:35:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 111.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 10 20.08.2024 09:35 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9130 ФПД: 146953730805943 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T093542&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9130&fm=146953730805943&tin=02508201610067®Number=0000000000108878&sum=11100 0 [09:35:40]StoreToDocumentArchive [09:35:40]shift 216 fd 9130 [09:35:40]save to /storage/0216/doc_00009130 [09:35:40]save last doc name /storage/0216/doc_00009130 to /storage/kkm_last_doc_name [09:35:40]save OK [09:35:40]Clear old archive folders... [09:35:40]ProcessDocumentItem done err = 0, tmpTLVsize=266 [09:35:40]tlvbuf is 0045C5C0 [09:35:40]SAM_PROTO_ClearQueue [09:35:40]wFMCommunicate request_size=4 [09:35:40]MH_SAM_APDU [09:35:40]CAPDU: 80 09 00 00 [09:35:40]Write to MH i2c: E2 08 00 1A 04 80 09 00 00 00 00 00 00 90 [09:35:40]Write i2c OK [09:35:40]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 1A 04 00 90 00 92 [09:35:41]RAPDU: 90 00 [09:35:41]wFMCommunicate OK [09:35:41]SAM_PROTO_ClearQueue done [09:35:41]KKMCreateOFDPacket [09:35:41]OFDProtocolAddRootSTLVToBuf [09:35:41]FM_MakeSignedData [09:35:41]FM_MakeSignedData [09:35:41]SAM_PROTO_SignData [09:35:41]wFMCommunicate request_size=4 [09:35:41]MH_SAM_APDU [09:35:41]CAPDU: 80 0D 01 02 [09:35:41]Write to MH i2c: E2 08 00 1B 04 80 0D 01 02 00 00 00 00 98 [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [09:35:41]RAPDU: 90 00 [09:35:41]wFMCommunicate OK [09:35:41]wFMCommunicate request_size=255 [09:35:41]MH_SAM_APDU [09:35:41]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6E 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 [09:35:41]Write to MH i2c: E2 02 01 1C 04 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6E 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 00 00 95 [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [09:35:41]RAPDU: 90 00 [09:35:41]wFMCommunicate OK [09:35:41]wFMCommunicate request_size=25 [09:35:41]MH_SAM_APDU [09:35:41]CAPDU: 80 0D 02 02 14 31 39 10 04 04 00 AA 23 00 00 35 04 06 00 85 A7 54 EC 50 B7 [09:35:41]Write to MH i2c: E2 1C 00 1D 04 80 0D 02 02 14 00 31 39 10 04 04 00 AA 23 00 00 35 04 06 00 85 A7 54 EC 50 B7 00 00 C4 [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [09:35:41]RAPDU: 90 00 [09:35:41]wFMCommunicate OK [09:35:41]wFMCommunicate request_size=4 [09:35:41]MH_SAM_APDU [09:35:41]CAPDU: 80 0D 03 02 [09:35:41]Write to MH i2c: E2 08 00 1E 04 80 0D 03 02 00 00 00 00 9D [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 0B 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 0B 00 1E 04 00 3F 95 82 7A 7F A7 99 AB 90 00 D8 [09:35:41]RAPDU: 3F 95 82 7A 7F A7 99 AB 90 00 [09:35:41]wFMCommunicate OK [09:35:41]SAM_PROTO_SignData done [09:35:41]FM_MakeSignedData done [09:35:41]CreateOFDProtocolMessage [09:35:41]wFMCommunicate request_size=4 [09:35:41]MH_SAM_APDU [09:35:41]CAPDU: 80 11 00 00 [09:35:41]Write to MH i2c: E2 08 00 1F 04 80 11 00 00 00 00 00 00 9D [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:35:41]Read from MH i2c: E2 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 17 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: E2 17 00 1F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F4 [09:35:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:35:41]wFMCommunicate OK [09:35:41]CreateOFDProtocolMessage done [09:35:41]OFDSenderStorePacket 9130 [09:35:41]StoreOFDPacket docnum=9130 [09:35:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 1E 01 00 00 80 60 16 01 A2 DB 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6E 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AA 23 00 00 35 04 06 00 85 A7 54 EC 50 B7 3F 95 82 7A 7F A7 99 AB [09:35:41]CheckFolder [09:35:41]dirname=/storage/ofd_packets [09:35:41]CheckFolder done [09:35:41]ProducePacketName [09:35:41]name=ofd_packets/00009130 [09:35:41]NVStorageSaveData ofd_packets/00009130 [09:35:41]File name is /storage/ofd_packets/00009130 [09:35:41]Write 316 bytes [09:35:41]NVStorageSaveData done [09:35:41]OFDSenderStorePacket done [09:35:41]KKMCreateOFDPacket done [09:35:41]NVStorageSaveData kkm_last_timestamp [09:35:41]File name is /storage/kkm_last_timestamp [09:35:41]Write 4 bytes [09:35:41]NVStorageSaveData done [09:35:41]ExternCall_PrintAddStr [09:35:41]wPrintStart [09:35:41]Write to MH i2c: 01 00 00 20 04 24 [09:35:41]Write i2c OK [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: 01 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: 01 07 00 [09:35:41]MH_I2C_Read... [09:35:41]Read from MH i2c: 01 07 00 20 04 00 00 00 00 00 FF 0F 39 [09:35:41]RasterBufferAndPrint [09:35:41]line Счет N : (3)18116 [09:35:41]line ИНН: 02508201610067 [09:35:41]line Контрольно-Кассовый Чек [09:35:41]line ПРОДАЖА [09:35:41]line Товар: 4870001570071 [09:35:41]line Напиток Pepsi 1л [09:35:41]line 1.000 * 111.00 [09:35:41]line = 111.00 [09:35:41]line НДС 12% НСП 1% [09:35:41]line > о реализуемом товаре [09:35:41]line ИТОГО: 111.00 [09:35:41]line НСП 1% : 0.98 [09:35:41]line НДС 12% : 11.79 [09:35:41]line Наличными: 111.00 [09:35:41]line Безнал.: 0.00 [09:35:41]line Место: АЗС № 94 [09:35:41]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [09:35:41]line СНО: Общий режим [09:35:41]line Чек 10 20.08.2024 09:35 [09:35:41]line Смена: 216 ФФД: 1.0 [09:35:41]line ЗНМ: 0300000128 [09:35:41]line РНМ: 0000000000108878 [09:35:41]line Версия ККМ: 001 [09:35:41]line ФМ: 0000000000965619 [09:35:41]line ФД: 9130 [09:35:41]line ФПД: 146953730805943 [09:35:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T093542&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9130&fm=146953730805943&tin=02508201610067®Number=0000000000108878&sum=11100 [09:35:41]line 0 [09:35:41]OFD Sender: Processing packet 9130 [packets to send 4, broken 3] [09:35:41]ProducePacketName [09:35:41]name=ofd_packets/00009130 [09:35:41]OFD Sender: To server: pG, [09:35:41]CommunicateWithHost lk.salyk.kg:30040 [09:35:41]ConnectInit lk.salyk.kg [09:35:41]written 0, free lines is 4095 [09:35:42]Write to MH i2c: 01 00 00 47 04 4B [09:35:42]Write i2c OK [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: 01 [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: 01 07 00 [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: 01 07 00 47 04 00 00 00 00 00 00 0D 5F [09:35:42]RasterBufferAndPrint [09:35:42]line [09:35:42]line [09:35:42]line [09:35:42]line [09:35:42]line [09:35:42]written 0, free lines is 3334 [09:35:42]MH_Cut [09:35:42]Write to MH i2c: D1 01 00 4E 04 01 24 [09:35:42]Write i2c OK [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: D1 [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: D1 01 00 [09:35:42]MH_I2C_Read... [09:35:42]Read from MH i2c: D1 01 00 4E 04 00 23 [09:35:42]Write to MH i2c: 01 00 00 4F 04 53 [09:35:42]Write i2c OK [09:35:42]MH_I2C_Read... [09:35:42]*** Cut start [09:35:42]*** Partial cut [09:35:42]*** CUTSNS_PIN = 1 [09:35:43]*** CUTSNS_PIN = 0 [09:35:43]*** Brake cut motor [09:35:43]Read from MH i2c: 01 [09:35:43]MH_I2C_Read... [09:35:43]*** Stop cut motor [09:35:43]*** Cut end [09:35:43]Read from MH i2c: 01 07 00 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: 01 07 00 4F 04 00 00 00 00 00 FF 0F 68 [09:35:43]process_action close_receipt done [09:35:43]requested_data is exist [09:35:43]produce_requested_data [09:35:43]requested_item fm.sn is exist - process it [09:35:43]wFMCommunicate request_size=4 [09:35:43]MH_SAM_APDU [09:35:43]CAPDU: 80 11 00 00 [09:35:43]Write to MH i2c: E2 08 00 50 04 80 11 00 00 00 00 00 00 CE [09:35:43]Write i2c OK [09:35:43]MH_I2C_Read... [09:35:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:35:43]Read from MH i2c: E2 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 17 00 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 17 00 50 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 25 [09:35:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:35:43]wFMCommunicate OK [09:35:43]requested_item fd.num is exist - process it [09:35:43]SAM_PROTO_GetFieldsCounters [09:35:43]wFMCommunicate request_size=4 [09:35:43]MH_SAM_APDU [09:35:43]CAPDU: 80 13 00 00 [09:35:43]Write to MH i2c: E2 08 00 51 04 80 13 00 00 00 00 00 00 D1 [09:35:43]Write i2c OK [09:35:43]MH_I2C_Read... [09:35:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:35:43]Read from MH i2c: E2 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 62 00 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 62 00 51 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AA 23 00 00 0E 04 04 00 D8 00 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 C0 [09:35:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AA 23 00 00 0E 04 04 00 D8 00 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 [09:35:43]wFMCommunicate OK [09:35:43]SAM_PROTO_GetFieldsCounters done [09:35:43]requested_item shift.num is exist - process it [09:35:43]requested_item shift.opened is exist - process it [09:35:43]req_shift_opened [09:35:43]FM_GetShiftState [09:35:43]SAM_PROTO_GetShiftState [09:35:43]wFMCommunicate request_size=4 [09:35:43]MH_SAM_APDU [09:35:43]CAPDU: 80 13 01 00 [09:35:43]Write to MH i2c: E2 08 00 52 04 80 13 01 00 00 00 00 00 D3 [09:35:43]Write i2c OK [09:35:43]MH_I2C_Read... [09:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:35:43]Read from MH i2c: E2 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 0E 00 [09:35:43]MH_I2C_Read... [09:35:43]Read from MH i2c: E2 0E 00 52 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 B0 [09:35:43]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:35:43]wFMCommunicate OK [09:35:43]SAM_PROTO_GetShiftState done [09:35:43]FM_GetShiftState done [09:35:43]req_shift_opened done [09:35:43]requested_item shift.open_date is exist - process it [09:35:43]req_shift_open_date [09:35:43]req_shift_open_date done [09:35:43]produce_requested_data done [09:35:43]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9130,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [09:35:43]process_action_free close_receipt [09:35:43]json_value_free [09:35:43]json_value_free done [09:35:43]process_json_proto returns [09:35:43]Send response to host [09:35:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9130,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [09:35:43]free response buf [09:35:43]execute_script done [09:35:43]execute_script returns [09:35:43]free content buf [09:35:43]Sock 7.Close socket [09:35:43]Sock 7.Thread stoped [09:37:13]accept exits with 9 [09:37:13]New connection [09:37:13]New thread 3066830180 created [09:37:13]Thread 3066686820 joined [09:37:13]Waiting for new connection... [09:37:13] Sock 9.Parse request [09:37:13]Sock 9.Check first char [09:37:13]Sock 9.First char is OK [09:37:13]request: POST /json_proto HTTP/1.0 [09:37:13]Method: POST [09:37:13]URL: /json_proto [09:37:13]Method is POST - this is cgi request [09:37:13]url: /json_proto [09:37:13]query_string will be loaded in cgi processing [09:37:13]execute_cgi json_proto POST (null) [09:37:13]execute_cgi path=json_proto method=POST [09:37:13]POST find Content-Length [09:37:13]Host: 172.17.55.134:8080 [09:37:13]Content-Length: 759 [09:37:13]Content-Type: application/json [09:37:13] [09:37:13]POST finish read [09:37:13]Found Content-Length = 759 [09:37:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18117", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Balance.KG", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:37:13]execute_script... [09:37: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)18117", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Balance.KG", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:37:13]POST & json_proto [09:37:13]process_json_proto [09:37:13]json parsed OK: [09:37:13]protocol is kg_v1.0 [09:37:13]action value=close_receipt [09:37:13]process_action close_receipt [09:37:13]cmd_close_receipt [09:37:13]MH_GetDate [09:37:13]Write to MH i2c: F0 00 00 53 04 46 [09:37:13]Write i2c OK [09:37:13]MH_I2C_Read... [09:37:13]Read from MH i2c: F0 [09:37:13]MH_I2C_Read... [09:37:13]Read from MH i2c: F0 09 00 [09:37:13]MH_I2C_Read... [09:37:13]Read from MH i2c: F0 09 00 53 04 00 CC 63 C4 66 13 35 D9 65 2E [09:37:13]GetLastDocTimeStamp 1724146542 [09:37:13]current date 1724146636 [09:37:13]FM_GetShiftState [09:37:13]SAM_PROTO_GetShiftState [09:37:13]wFMCommunicate request_size=4 [09:37:13]MH_SAM_APDU [09:37:13]CAPDU: 80 13 01 00 [09:37:13]Write to MH i2c: E2 08 00 54 04 80 13 01 00 00 00 00 00 D5 [09:37:13]Write i2c OK [09:37:13]MH_I2C_Read... [09:37:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:37:13]Read from MH i2c: E2 [09:37:13]MH_I2C_Read... [09:37:13]Read from MH i2c: E2 0E 00 [09:37:13]MH_I2C_Read... [09:37:13]Read from MH i2c: E2 0E 00 54 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 B2 [09:37:13]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:37:13]wFMCommunicate OK [09:37:13]SAM_PROTO_GetShiftState done [09:37:13]FM_GetShiftState done [09:37:13]opened in 1724113861 [09:37:13]opened+sec_in_day 1724200261 [09:37:13]quantity*price = 13000 [09:37:13]sum+1 = 13001 [09:37:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 11 20.08.2024 09:37 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: Balance.KG ФМ: 0000000000965619 ФД: 9131 ФПД: 140382582003564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T093716&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9131&fm=140382582003564&tin=02508201610067®Number=0000000000108878&sum=13000 0 [09:37:15]StoreToDocumentArchive [09:37:15]shift 216 fd 9131 [09:37:15]save to /storage/0216/doc_00009131 [09:37:15]save last doc name /storage/0216/doc_00009131 to /storage/kkm_last_doc_name [09:37:15]save OK [09:37:15]Clear old archive folders... [09:37:15]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:37:15]tlvbuf is 00385560 [09:37:15]SAM_PROTO_ClearQueue [09:37:15]wFMCommunicate request_size=4 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 09 00 00 [09:37:15]Write to MH i2c: E2 08 00 61 04 80 09 00 00 00 00 00 00 D7 [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 61 04 00 90 00 D9 [09:37:15]RAPDU: 90 00 [09:37:15]wFMCommunicate OK [09:37:15]SAM_PROTO_ClearQueue done [09:37:15]KKMCreateOFDPacket [09:37:15]OFDProtocolAddRootSTLVToBuf [09:37:15]FM_MakeSignedData [09:37:15]FM_MakeSignedData [09:37:15]SAM_PROTO_SignData [09:37:15]wFMCommunicate request_size=4 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 0D 01 02 [09:37:15]Write to MH i2c: E2 08 00 62 04 80 0D 01 02 00 00 00 00 DF [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 62 04 00 90 00 DA [09:37:15]RAPDU: 90 00 [09:37:15]wFMCommunicate OK [09:37:15]wFMCommunicate request_size=255 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 CC 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 [09:37:15]Write to MH i2c: E2 02 01 63 04 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 CC 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 00 00 3D [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 63 04 00 90 00 DB [09:37:15]RAPDU: 90 00 [09:37:15]wFMCommunicate OK [09:37:15]wFMCommunicate request_size=35 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AB 23 00 00 35 04 06 00 7F AD 5D EE D7 6C [09:37:15]Write to MH i2c: E2 26 00 64 04 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AB 23 00 00 35 04 06 00 7F AD 5D EE D7 6C 00 00 61 [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 03 00 64 04 00 90 00 DC [09:37:15]RAPDU: 90 00 [09:37:15]wFMCommunicate OK [09:37:15]wFMCommunicate request_size=4 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 0D 03 02 [09:37:15]Write to MH i2c: E2 08 00 65 04 80 0D 03 02 00 00 00 00 E4 [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 0B 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 0B 00 65 04 00 E2 B7 C3 92 09 D9 81 63 90 00 99 [09:37:15]RAPDU: E2 B7 C3 92 09 D9 81 63 90 00 [09:37:15]wFMCommunicate OK [09:37:15]SAM_PROTO_SignData done [09:37:15]FM_MakeSignedData done [09:37:15]CreateOFDProtocolMessage [09:37:15]wFMCommunicate request_size=4 [09:37:15]MH_SAM_APDU [09:37:15]CAPDU: 80 11 00 00 [09:37:15]Write to MH i2c: E2 08 00 66 04 80 11 00 00 00 00 00 00 E4 [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:37:15]Read from MH i2c: E2 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 17 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: E2 17 00 66 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3B [09:37:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:37:15]wFMCommunicate OK [09:37:15]CreateOFDProtocolMessage done [09:37:15]OFDSenderStorePacket 9131 [09:37:15]StoreOFDPacket docnum=9131 [09:37:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 28 01 00 00 3C 0D 20 01 27 FF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 CC 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AB 23 00 00 35 04 06 00 7F AD 5D EE D7 6C E2 B7 C3 92 09 D9 81 63 [09:37:15]CheckFolder [09:37:15]dirname=/storage/ofd_packets [09:37:15]CheckFolder done [09:37:15]ProducePacketName [09:37:15]name=ofd_packets/00009131 [09:37:15]NVStorageSaveData ofd_packets/00009131 [09:37:15]File name is /storage/ofd_packets/00009131 [09:37:15]Write 326 bytes [09:37:15]NVStorageSaveData done [09:37:15]OFDSenderStorePacket done [09:37:15]KKMCreateOFDPacket done [09:37:15]NVStorageSaveData kkm_last_timestamp [09:37:15]File name is /storage/kkm_last_timestamp [09:37:15]Write 4 bytes [09:37:15]NVStorageSaveData done [09:37:15]ExternCall_PrintAddStr [09:37:15]wPrintStart [09:37:15]Write to MH i2c: 01 00 00 67 04 6B [09:37:15]Write i2c OK [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: 01 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: 01 07 00 [09:37:15]MH_I2C_Read... [09:37:15]Read from MH i2c: 01 07 00 67 04 00 00 00 00 00 FF 0F 80 [09:37:15]RasterBufferAndPrint [09:37:15]line Счет N : (3)18117 [09:37:15]line ИНН: 02508201610067 [09:37:15]line Контрольно-Кассовый Чек [09:37:15]line ПРОДАЖА [09:37:15]line Товар: 2000036230011 [09:37:15]line Кофе Латте XL(GABB TRADE) [09:37:15]line 1.000 * 130.00 [09:37:15]line = 130.00 [09:37:15]line НДС 12% НСП 1% [09:37:15]line > о реализуемом товаре [09:37:15]line ИТОГО: 130.00 [09:37:15]line НСП 1% : 1.15 [09:37:15]line НДС 12% : 13.80 [09:37:15]line Наличными: 0.00 [09:37:15]line Безнал.: 130.00 [09:37:15]line Место: АЗС № 94 [09:37:15]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [09:37:15]line СНО: Общий режим [09:37:15]line Чек 11 20.08.2024 09:37 [09:37:15]line Смена: 216 ФФД: 1.0 [09:37:15]line ЗНМ: 0300000128 [09:37:15]line РНМ: 0000000000108878 [09:37:15]line Версия ККМ: 001 [09:37:15]line Платежная система: Balance.KG [09:37:15]line ФМ: 0000000000965619 [09:37:15]line ФД: 9131 [09:37:15]line ФПД: 140382582003564 [09:37:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T093716&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9131&fm=140382582003564&tin=02508201610067®Number=0000000000108878&sum=13000 [09:37:16]line 0 [09:37:16]written 0, free lines is 4095 [09:37:16]Write to MH i2c: 01 00 00 90 04 94 [09:37:16]Write i2c OK [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: 01 [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: 01 07 00 [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: 01 07 00 90 04 00 00 00 00 00 E5 0C 8C [09:37:16]RasterBufferAndPrint [09:37:16]line [09:37:16]line [09:37:16]line [09:37:16]line [09:37:16]line [09:37:16]written 0, free lines is 3307 [09:37:16]MH_Cut [09:37:16]Write to MH i2c: D1 01 00 97 04 01 6D [09:37:16]Write i2c OK [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: D1 [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: D1 01 00 [09:37:16]MH_I2C_Read... [09:37:16]Read from MH i2c: D1 01 00 97 04 00 6C [09:37:16]Write to MH i2c: 01 00 00 98 04 9C [09:37:16]Write i2c OK [09:37:16]MH_I2C_Read... [09:37:17]*** Cut start [09:37:17]*** Partial cut [09:37:17]*** CUTSNS_PIN = 1 [09:37:17]*** CUTSNS_PIN = 0 [09:37:17]*** Brake cut motor [09:37:17]Read from MH i2c: 01 [09:37:17]MH_I2C_Read... [09:37:17]*** Stop cut motor [09:37:17]*** Cut end [09:37:17]Read from MH i2c: 01 07 00 [09:37:17]MH_I2C_Read... [09:37:17]Read from MH i2c: 01 07 00 98 04 00 00 00 00 00 FF 0F B1 [09:37:17]process_action close_receipt done [09:37:17]requested_data is exist [09:37:17]produce_requested_data [09:37:17]requested_item fm.sn is exist - process it [09:37:17]wFMCommunicate request_size=4 [09:37:17]MH_SAM_APDU [09:37:17]CAPDU: 80 11 00 00 [09:37:17]Write to MH i2c: E2 08 00 99 04 80 11 00 00 00 00 00 00 17 [09:37:17]Write i2c OK [09:37:17]MH_I2C_Read... [09:37:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:37:17]Read from MH i2c: E2 [09:37:17]MH_I2C_Read... [09:37:17]Read from MH i2c: E2 17 00 [09:37:17]MH_I2C_Read... [09:37:17]Read from MH i2c: E2 17 00 99 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 6E [09:37:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [09:37:17]wFMCommunicate OK [09:37:17]requested_item fd.num is exist - process it [09:37:17]SAM_PROTO_GetFieldsCounters [09:37:17]wFMCommunicate request_size=4 [09:37:17]MH_SAM_APDU [09:37:17]CAPDU: 80 13 00 00 [09:37:17]Write to MH i2c: E2 08 00 9A 04 80 13 00 00 00 00 00 00 1A [09:37:17]Write i2c OK [09:37:17]MH_I2C_Read... [09:37:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:37:18]Read from MH i2c: E2 [09:37:18]MH_I2C_Read... [09:37:18]Read from MH i2c: E2 62 00 [09:37:18]MH_I2C_Read... [09:37:18]Read from MH i2c: E2 62 00 9A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AB 23 00 00 0E 04 04 00 D8 00 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 0D [09:37:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AB 23 00 00 0E 04 04 00 D8 00 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 [09:37:18]wFMCommunicate OK [09:37:18]SAM_PROTO_GetFieldsCounters done [09:37:18]requested_item shift.num is exist - process it [09:37:18]requested_item shift.opened is exist - process it [09:37:18]req_shift_opened [09:37:18]FM_GetShiftState [09:37:18]SAM_PROTO_GetShiftState [09:37:18]wFMCommunicate request_size=4 [09:37:18]MH_SAM_APDU [09:37:18]CAPDU: 80 13 01 00 [09:37:18]Write to MH i2c: E2 08 00 9B 04 80 13 01 00 00 00 00 00 1C [09:37:18]Write i2c OK [09:37:18]MH_I2C_Read... [09:37:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:37:18]Read from MH i2c: E2 [09:37:18]MH_I2C_Read... [09:37:18]Read from MH i2c: E2 0E 00 [09:37:18]MH_I2C_Read... [09:37:18]Read from MH i2c: E2 0E 00 9B 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F9 [09:37:18]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [09:37:18]wFMCommunicate OK [09:37:18]SAM_PROTO_GetShiftState done [09:37:18]FM_GetShiftState done [09:37:18]req_shift_opened done [09:37:18]requested_item shift.open_date is exist - process it [09:37:18]req_shift_open_date [09:37:18]req_shift_open_date done [09:37:18]produce_requested_data done [09:37:18]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9131,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [09:37:18]process_action_free close_receipt [09:37:18]json_value_free [09:37:18]json_value_free done [09:37:18]process_json_proto returns [09:37:18]Send response to host [09:37:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9131,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [09:37:18]free response buf [09:37:18]execute_script done [09:37:18]execute_script returns [09:37:18]free content buf [09:37:18]Sock 9.Close socket [09:37:18]Sock 9.Thread stoped [09:37:52]ConnectInit Can't connect to host [09:37:52]CommunicateWithHost connect error [09:37:52]CommunicateWithHost err = -1 [09:37:52]OFD Sender: Server communicate error [09:37:52]OFD Sender: Processing packet 9130 [packets to send 5, broken 3] [09:37:52]ProducePacketName [09:37:52]name=ofd_packets/00009130 [09:37:52]OFD Sender: To server: pG, [09:37:52]CommunicateWithHost lk.salyk.kg:30040 [09:37:52]ConnectInit lk.salyk.kg [09:37:52]Connected sock=9 [09:37:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 1E 01 00 00 80 60 16 01 A2 DB 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 6E 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AA 23 00 00 35 04 06 00 85 A7 54 EC 50 B7 3F 95 82 7A 7F A7 99 AB [09:37:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 45 ED 47 00 BF 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AA 23 00 00 F4 03 04 00 BC 0B C4 66 B6 04 01 00 00 69 56 E7 DF 2A 53 C1 66 [09:37:53]CommunicateWithHost err = 0 [09:37:53]CheckOFDResponse [09:37:53]1017 (14) - 77093643461234 [09:37:53]1041 (16) - 0000000000965619 [09:37:53]1040 (4) - 9130 [09:37:53]1012 (4) - 20.08.2024 03:21 [09:37:53]1206 (1) - 0 [09:37:53]OFD Sender: Remove packet 9130 [09:37:53]ProducePacketName [09:37:53]name=ofd_packets/00009130 [09:37:53]NVStorageDeleteData [09:37:53]OFD Sender: Processing packet 9131 [packets to send 4, broken 3] [09:37:53]ProducePacketName [09:37:53]name=ofd_packets/00009131 [09:37:53]OFD Sender: To server: pG, [09:37:53]CommunicateWithHost lk.salyk.kg:30040 [09:37:53]ConnectInit lk.salyk.kg [09:37:53]Connected sock=10 [09:37:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 28 01 00 00 3C 0D 20 01 27 FF 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 CC 63 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AB 23 00 00 35 04 06 00 7F AD 5D EE D7 6C E2 B7 C3 92 09 D9 81 63 [09:37:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 FD 39 47 00 4B 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 36 31 39 10 04 04 00 AB 23 00 00 F4 03 04 00 BD 0B C4 66 B6 04 01 00 00 B3 E3 B2 29 D0 E0 D2 43 [09:37:53]CommunicateWithHost err = 0 [09:37:53]CheckOFDResponse [09:37:53]1017 (14) - 77093643461234 [09:37:53]1041 (16) - 0000000000965619 [09:37:53]1040 (4) - 9131 [09:37:53]1012 (4) - 20.08.2024 03:21 [09:37:53]1206 (1) - 0 [09:37:53]OFD Sender: Remove packet 9131 [09:37:53]ProducePacketName [09:37:53]name=ofd_packets/00009131 [09:37:53]NVStorageDeleteData [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:39]OFD Sender: No OFD packet to send [09:39:44]OFD Sender: No OFD packet to send [09:39:49]OFD Sender: No OFD packet to send [09:39:54]OFD Sender: No OFD packet to send [09:39:59]OFD Sender: No OFD packet to send [09:40:04]OFD Sender: No OFD packet to send [09:40:09]OFD Sender: No OFD packet to send [09:40:14]OFD Sender: No OFD packet to send [09:40:19]OFD Sender: No OFD packet to send [09:40:24]OFD Sender: No OFD packet to send [09:40:29]OFD Sender: No OFD packet to send [09:40:34]OFD Sender: No OFD packet to send [09:40:39]OFD Sender: No OFD packet to send [09:40:44]OFD Sender: No OFD packet to send [09:40:49]OFD Sender: No OFD packet to send [09:40:54]OFD Sender: No OFD packet to send [09:40:59]OFD Sender: No OFD packet to send [09:41:04]OFD Sender: No OFD packet to send [09:41:09]OFD Sender: No OFD packet to send [09:41:14]OFD Sender: No OFD packet to send [09:41:19]OFD Sender: No OFD packet to send [09:41:24]OFD Sender: No OFD packet to send [09:41:29]OFD Sender: No OFD packet to send [09:41:34]OFD Sender: No OFD packet to send [09:41:39]OFD Sender: No OFD packet to send [09:41:44]OFD Sender: No OFD packet to send [09:41:49]OFD Sender: No OFD packet to send [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:15]OFD Sender: No OFD packet to send [09:51:20]OFD Sender: No OFD packet to send [09:51:25]OFD Sender: No OFD packet to send [09:51:30]OFD Sender: No OFD packet to send [09:51:35]OFD Sender: No OFD packet to send [09:51:40]OFD Sender: No OFD packet to send [09:51:45]OFD Sender: No OFD packet to send [09:51:50]OFD Sender: No OFD packet to send [09:51:55]OFD Sender: No OFD packet to send [09:52:00]OFD Sender: No OFD packet to send [09:52:05]OFD Sender: No OFD packet to send [09:52:10]OFD Sender: No OFD packet to send [09:52:15]OFD Sender: No OFD packet to send [09:52:20]OFD Sender: No OFD packet to send [09:52:25]OFD Sender: No OFD packet to send [09:52:30]OFD Sender: No OFD packet to send [09:52:35]OFD Sender: No OFD packet to send [09:52:40]OFD Sender: No OFD packet to send [09:52:45]OFD Sender: No OFD packet to send [09:52:50]OFD Sender: No OFD packet to send [09:52:55]OFD Sender: No OFD packet to send [09:53:00]OFD Sender: No OFD packet to send [09:53:05]OFD Sender: No OFD packet to send [09:53:10]OFD Sender: No OFD packet to send [09:53:15]OFD Sender: No OFD packet to send [09:53:20]OFD Sender: No OFD packet to send [09:53:25]OFD Sender: No OFD packet to send [09:53:30]OFD Sender: No OFD packet to send [09:53:35]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:46]OFD Sender: No OFD packet to send [10:21:51]OFD Sender: No OFD packet to send [10:21:56]OFD Sender: No OFD packet to send [10:22:01]OFD Sender: No OFD packet to send [10:22:06]OFD Sender: No OFD packet to send [10:22:11]OFD Sender: No OFD packet to send [10:22:16]OFD Sender: No OFD packet to send [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33:57]OFD Sender: No OFD packet to send [10:34:02]OFD Sender: No OFD packet to send [10:34:07]OFD Sender: No OFD packet to send [10:34:12]OFD Sender: No OFD packet to send [10:34:17]OFD Sender: No OFD packet to send [10:34:22]OFD Sender: No OFD packet to send [10:34:27]OFD Sender: No OFD packet to send [10:34:32]OFD Sender: No OFD packet to send [10:34:37]OFD Sender: No OFD packet to send [10:34:42]OFD Sender: No OFD packet to send [10:34:47]OFD Sender: No OFD packet to send [10:34:52]OFD Sender: No OFD packet to send [10:34:57]OFD Sender: No OFD packet to send [10:35:02]OFD Sender: No OFD packet to send [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]OFD Sender: No OFD packet to send [10:36:07]OFD Sender: No OFD packet to send [10:36:12]OFD Sender: No OFD packet to send [10:36:17]OFD Sender: No OFD packet to send [10:36:22]OFD Sender: No OFD packet to send [10:36:27]OFD Sender: No OFD packet to send [10:36:32]OFD Sender: No OFD packet to send [10:36:37]OFD Sender: No OFD packet to send [10:36:42]OFD Sender: No OFD packet to send [10:36:47]OFD Sender: No OFD packet to send [10:36:52]OFD Sender: No OFD packet to send [10:36:57]OFD Sender: No OFD packet to send [10:37:02]OFD Sender: No OFD packet to send [10:37:07]OFD Sender: No OFD packet to send [10:37:12]OFD Sender: No OFD packet to send [10:37:17]OFD Sender: No OFD packet to send [10:37:22]OFD Sender: No OFD packet to send [10:37:27]OFD Sender: No OFD packet to send [10:37:32]OFD Sender: No OFD packet to send [10:37:37]OFD Sender: No OFD packet to send [10:37:42]OFD Sender: No OFD packet to send [10:37:47]OFD Sender: No OFD packet to send [10:37:52]OFD Sender: No OFD packet to send [10:37:57]OFD Sender: No OFD packet to send [10:38:02]OFD Sender: No OFD packet to send [10:38:07]OFD Sender: No OFD packet to send [10:38:12]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:32]OFD Sender: No OFD packet to send [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]OFD Sender: No OFD packet to send [10:39:57]OFD Sender: No OFD packet to send [10:40:02]OFD Sender: No OFD packet to send [10:40:07]OFD Sender: No OFD packet to send [10:40:12]OFD Sender: No OFD packet to send [10:40:17]OFD Sender: No OFD packet to send [10:40:22]OFD Sender: No OFD packet to send [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:37]OFD Sender: No OFD packet to send [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]OFD Sender: No OFD packet to send [10:42:07]OFD Sender: No OFD packet to send [10:42:12]OFD Sender: No OFD packet to send [10:42:17]OFD Sender: No OFD packet to send [10:42:22]OFD Sender: No OFD packet to send [10:42:27]OFD Sender: No OFD packet to send [10:42:32]OFD Sender: No OFD packet to send [10:42:37]OFD Sender: No OFD packet to send [10:42:42]OFD Sender: No OFD packet to send [10:42:47]OFD Sender: No OFD packet to send [10:42:52]OFD Sender: No OFD packet to send [10:42:57]OFD Sender: No OFD packet to send [10:43:02]OFD Sender: No OFD packet to send [10:43:07]OFD Sender: No OFD packet to send [10:43:12]OFD Sender: No OFD packet to send [10:43:17]OFD Sender: No OFD packet to send [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:42]OFD Sender: No OFD packet to send [10:46:47]OFD Sender: No OFD packet to send [10:46:52]OFD Sender: No OFD packet to send [10:46:57]OFD Sender: No OFD packet to send [10:47:02]OFD Sender: No OFD packet to send [10:47:07]OFD Sender: No OFD packet to send [10:47:12]OFD Sender: No OFD packet to send [10:47:17]OFD Sender: No OFD packet to send [10:47:22]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:34]accept exits with 7 [10:52:34]New connection [10:52:34]New thread 3066686820 created [10:52:34]Thread 3066830180 joined [10:52:34]Waiting for new connection... [10:52:34] Sock 7.Parse request [10:52:34]Sock 7.Check first char [10:52:34]Sock 7.First char is OK [10:52:34]request: POST /json_proto HTTP/1.0 [10:52:34]Method: POST [10:52:34]URL: /json_proto [10:52:34]Method is POST - this is cgi request [10:52:34]url: /json_proto [10:52:34]query_string will be loaded in cgi processing [10:52:34]execute_cgi json_proto POST (null) [10:52:34]execute_cgi path=json_proto method=POST [10:52:34]POST find Content-Length [10:52:34]Host: 172.17.55.134:8080 [10:52:34]Content-Length: 796 [10:52:34]Content-Type: application/json [10:52:34] [10:52:34]POST finish read [10:52:34]Found Content-Length = 796 [10:52:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18118", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:34]execute_script... [10:52: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)18118", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:34]POST & json_proto [10:52:34]process_json_proto [10:52:34]json parsed OK: [10:52:34]protocol is kg_v1.0 [10:52:34]action value=close_receipt [10:52:34]process_action close_receipt [10:52:34]cmd_close_receipt [10:52:34]MH_GetDate [10:52:34]Write to MH i2c: F0 00 00 9C 04 8F [10:52:34]Write i2c OK [10:52:34]MH_I2C_Read... [10:52:34]Read from MH i2c: F0 [10:52:34]MH_I2C_Read... [10:52:34]Read from MH i2c: F0 09 00 [10:52:34]MH_I2C_Read... [10:52:34]Read from MH i2c: F0 09 00 9C 04 00 74 75 C4 66 13 35 D9 65 31 [10:52:34]GetLastDocTimeStamp 1724146636 [10:52:34]current date 1724151156 [10:52:34]FM_GetShiftState [10:52:34]SAM_PROTO_GetShiftState [10:52:34]wFMCommunicate request_size=4 [10:52:34]MH_SAM_APDU [10:52:34]CAPDU: 80 13 01 00 [10:52:34]Write to MH i2c: E2 08 00 9D 04 80 13 01 00 00 00 00 00 1E [10:52:34]Write i2c OK [10:52:34]MH_I2C_Read... [10:52:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:34]Read from MH i2c: E2 [10:52:34]MH_I2C_Read... [10:52:34]Read from MH i2c: E2 0E 00 [10:52:34]MH_I2C_Read... [10:52:34]Read from MH i2c: E2 0E 00 9D 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 FB [10:52:34]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [10:52:34]wFMCommunicate OK [10:52:34]SAM_PROTO_GetShiftState done [10:52:34]FM_GetShiftState done [10:52:34]opened in 1724113861 [10:52:34]opened+sec_in_day 1724200261 [10:52:34]quantity*price = 15000 [10:52:34]sum+1 = 15001 [10:52:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 12 20.08.2024 10:52 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965619 ФД: 9132 ФПД: 31078587795990 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T105236&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9132&fm=31078587795990&tin=02508201610067®Number=0000000000108878&sum=15000 0 [10:52:35]StoreToDocumentArchive [10:52:35]shift 216 fd 9132 [10:52:35]save to /storage/0216/doc_00009132 [10:52:35]save last doc name /storage/0216/doc_00009132 to /storage/kkm_last_doc_name [10:52:35]save OK [10:52:35]Clear old archive folders... [10:52:35]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:52:35]tlvbuf is 004630C0 [10:52:35]SAM_PROTO_ClearQueue [10:52:35]wFMCommunicate request_size=4 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 09 00 00 [10:52:35]Write to MH i2c: E2 08 00 AA 04 80 09 00 00 00 00 00 00 20 [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 AA 04 00 90 00 22 [10:52:35]RAPDU: 90 00 [10:52:35]wFMCommunicate OK [10:52:35]SAM_PROTO_ClearQueue done [10:52:35]KKMCreateOFDPacket [10:52:35]OFDProtocolAddRootSTLVToBuf [10:52:35]FM_MakeSignedData [10:52:35]FM_MakeSignedData [10:52:35]SAM_PROTO_SignData [10:52:35]wFMCommunicate request_size=4 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 0D 01 02 [10:52:35]Write to MH i2c: E2 08 00 AB 04 80 0D 01 02 00 00 00 00 28 [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 AB 04 00 90 00 23 [10:52:35]RAPDU: 90 00 [10:52:35]wFMCommunicate OK [10:52:35]wFMCommunicate request_size=255 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 75 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 [10:52:35]Write to MH i2c: E2 02 01 AC 04 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 75 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 AE [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 AC 04 00 90 00 24 [10:52:35]RAPDU: 90 00 [10:52:35]wFMCommunicate OK [10:52:35]wFMCommunicate request_size=31 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 31 39 10 04 04 00 AC 23 00 00 35 04 06 00 1C 44 0C 2F 8A 16 [10:52:35]Write to MH i2c: E2 22 00 AD 04 80 0D 02 02 1A 00 30 30 39 36 35 36 31 39 10 04 04 00 AC 23 00 00 35 04 06 00 1C 44 0C 2F 8A 16 00 00 64 [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 03 00 AD 04 00 90 00 25 [10:52:35]RAPDU: 90 00 [10:52:35]wFMCommunicate OK [10:52:35]wFMCommunicate request_size=4 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 0D 03 02 [10:52:35]Write to MH i2c: E2 08 00 AE 04 80 0D 03 02 00 00 00 00 2D [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 0B 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 0B 00 AE 04 00 33 4C 07 66 48 E8 C7 41 90 00 52 [10:52:35]RAPDU: 33 4C 07 66 48 E8 C7 41 90 00 [10:52:35]wFMCommunicate OK [10:52:35]SAM_PROTO_SignData done [10:52:35]FM_MakeSignedData done [10:52:35]CreateOFDProtocolMessage [10:52:35]wFMCommunicate request_size=4 [10:52:35]MH_SAM_APDU [10:52:35]CAPDU: 80 11 00 00 [10:52:35]Write to MH i2c: E2 08 00 AF 04 80 11 00 00 00 00 00 00 2D [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:35]Read from MH i2c: E2 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 17 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: E2 17 00 AF 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 84 [10:52:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [10:52:35]wFMCommunicate OK [10:52:35]CreateOFDProtocolMessage done [10:52:35]OFDSenderStorePacket 9132 [10:52:35]StoreOFDPacket docnum=9132 [10:52:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 24 01 00 00 4E 9E 1C 01 83 D9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 75 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AC 23 00 00 35 04 06 00 1C 44 0C 2F 8A 16 33 4C 07 66 48 E8 C7 41 [10:52:35]CheckFolder [10:52:35]dirname=/storage/ofd_packets [10:52:35]CheckFolder done [10:52:35]ProducePacketName [10:52:35]name=ofd_packets/00009132 [10:52:35]NVStorageSaveData ofd_packets/00009132 [10:52:35]File name is /storage/ofd_packets/00009132 [10:52:35]Write 322 bytes [10:52:35]NVStorageSaveData done [10:52:35]OFDSenderStorePacket done [10:52:35]KKMCreateOFDPacket done [10:52:35]NVStorageSaveData kkm_last_timestamp [10:52:35]File name is /storage/kkm_last_timestamp [10:52:35]Write 4 bytes [10:52:35]NVStorageSaveData done [10:52:35]ExternCall_PrintAddStr [10:52:35]wPrintStart [10:52:35]Write to MH i2c: 01 00 00 B0 04 B4 [10:52:35]Write i2c OK [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: 01 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: 01 07 00 [10:52:35]MH_I2C_Read... [10:52:35]Read from MH i2c: 01 07 00 B0 04 00 00 00 00 00 FF 0F C9 [10:52:35]RasterBufferAndPrint [10:52:35]line Счет N : (3)18118 [10:52:35]line ИНН: 02508201610067 [10:52:35]line Контрольно-Кассовый Чек [10:52:35]line ПРОДАЖА [10:52:35]line Товар: 4640030091607 [10:52:35]line Сигареты ESSE Exchange [10:52:35]line 1.000 * 150.00 [10:52:35]line = 150.00 [10:52:35]line НДС 12% НСП 1% [10:52:35]line > о реализуемом товаре [10:52:35]line ИТОГО: 150.00 [10:52:35]line НСП 1% : 1.33 [10:52:35]line НДС 12% : 15.93 [10:52:35]line Наличными: 0.00 [10:52:35]line Безнал.: 150.00 [10:52:35]line Место: АЗС № 94 [10:52:35]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [10:52:35]line СНО: Общий режим [10:52:35]line Чек 12 20.08.2024 10:52 [10:52:35]line Смена: 216 ФФД: 1.0 [10:52:35]line ЗНМ: 0300000128 [10:52:35]line РНМ: 0000000000108878 [10:52:35]line Версия ККМ: 001 [10:52:35]line Платежная система: Бакай Банк [10:52:35]line ФМ: 0000000000965619 [10:52:35]line ФД: 9132 [10:52:35]line ФПД: 31078587795990 [10:52:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T105236&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9132&fm=31078587795990&tin=02508201610067®Number=0000000000108878&sum=15000 [10:52:36]line 0 [10:52:36]OFD Sender: Processing packet 9132 [packets to send 4, broken 3] [10:52:36]ProducePacketName [10:52:36]name=ofd_packets/00009132 [10:52:36]OFD Sender: To server: pG, [10:52:36]CommunicateWithHost lk.salyk.kg:30040 [10:52:36]ConnectInit lk.salyk.kg [10:52:36]written 0, free lines is 4095 [10:52:36]Connected sock=10 [10:52: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 36 31 39 24 01 00 00 4E 9E 1C 01 83 D9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 74 75 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AC 23 00 00 35 04 06 00 1C 44 0C 2F 8A 16 33 4C 07 66 48 E8 C7 41 [10:52:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 5B DB 47 00 DC ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AC 23 00 00 F4 03 04 00 40 1D C4 66 B6 04 01 00 00 76 5B D6 D0 2C 67 C3 E5 [10:52:36]CommunicateWithHost err = 0 [10:52:36]CheckOFDResponse [10:52:36]1017 (14) - 77093643461234 [10:52:36]1041 (16) - 0000000000965619 [10:52:36]1040 (4) - 9132 [10:52:36]1012 (4) - 20.08.2024 04:36 [10:52:36]1206 (1) - 0 [10:52:36]OFD Sender: Remove packet 9132 [10:52:36]ProducePacketName [10:52:36]name=ofd_packets/00009132 [10:52:36]NVStorageDeleteData [10:52:36]Write to MH i2c: 01 00 00 D9 04 DD [10:52:36]Write i2c OK [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: 01 [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: 01 07 00 [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 E5 0C D5 [10:52:36]RasterBufferAndPrint [10:52:36]line [10:52:36]line [10:52:36]line [10:52:36]line [10:52:36]line [10:52:36]written 0, free lines is 3307 [10:52:36]MH_Cut [10:52:36]Write to MH i2c: D1 01 00 E0 04 01 B6 [10:52:36]Write i2c OK [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: D1 [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: D1 01 00 [10:52:36]MH_I2C_Read... [10:52:36]Read from MH i2c: D1 01 00 E0 04 00 B5 [10:52:36]Write to MH i2c: 01 00 00 E1 04 E5 [10:52:36]Write i2c OK [10:52:36]MH_I2C_Read... [10:52:36]OFD Sender: No OFD packet to send [10:52:37]*** Cut start [10:52:37]*** Partial cut [10:52:37]*** CUTSNS_PIN = 1 [10:52:37]*** CUTSNS_PIN = 0 [10:52:37]*** Brake cut motor [10:52:37]Read from MH i2c: 01 [10:52:37]MH_I2C_Read... [10:52:37]*** Stop cut motor [10:52:37]*** Cut end [10:52:37]Read from MH i2c: 01 07 00 [10:52:37]MH_I2C_Read... [10:52:37]Read from MH i2c: 01 07 00 E1 04 00 00 00 00 00 FF 0F FA [10:52:37]process_action close_receipt done [10:52:37]requested_data is exist [10:52:37]produce_requested_data [10:52:37]requested_item fm.sn is exist - process it [10:52:37]wFMCommunicate request_size=4 [10:52:37]MH_SAM_APDU [10:52:37]CAPDU: 80 11 00 00 [10:52:37]Write to MH i2c: E2 08 00 E2 04 80 11 00 00 00 00 00 00 60 [10:52:37]Write i2c OK [10:52:37]MH_I2C_Read... [10:52:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:37]Read from MH i2c: E2 [10:52:37]MH_I2C_Read... [10:52:37]Read from MH i2c: E2 17 00 [10:52:37]MH_I2C_Read... [10:52:37]Read from MH i2c: E2 17 00 E2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 B7 [10:52:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [10:52:37]wFMCommunicate OK [10:52:37]requested_item fd.num is exist - process it [10:52:37]SAM_PROTO_GetFieldsCounters [10:52:37]wFMCommunicate request_size=4 [10:52:37]MH_SAM_APDU [10:52:37]CAPDU: 80 13 00 00 [10:52:37]Write to MH i2c: E2 08 00 E3 04 80 13 00 00 00 00 00 00 63 [10:52:37]Write i2c OK [10:52:37]MH_I2C_Read... [10:52:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:38]Read from MH i2c: E2 [10:52:38]MH_I2C_Read... [10:52:38]Read from MH i2c: E2 62 00 [10:52:38]MH_I2C_Read... [10:52:38]Read from MH i2c: E2 62 00 E3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AC 23 00 00 0E 04 04 00 D8 00 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 5A [10:52:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AC 23 00 00 0E 04 04 00 D8 00 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 [10:52:38]wFMCommunicate OK [10:52:38]SAM_PROTO_GetFieldsCounters done [10:52:38]requested_item shift.num is exist - process it [10:52:38]requested_item shift.opened is exist - process it [10:52:38]req_shift_opened [10:52:38]FM_GetShiftState [10:52:38]SAM_PROTO_GetShiftState [10:52:38]wFMCommunicate request_size=4 [10:52:38]MH_SAM_APDU [10:52:38]CAPDU: 80 13 01 00 [10:52:38]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [10:52:38]Write i2c OK [10:52:38]MH_I2C_Read... [10:52:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:38]Read from MH i2c: E2 [10:52:38]MH_I2C_Read... [10:52:38]Read from MH i2c: E2 0E 00 [10:52:38]MH_I2C_Read... [10:52:38]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 42 [10:52:38]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [10:52:38]wFMCommunicate OK [10:52:38]SAM_PROTO_GetShiftState done [10:52:38]FM_GetShiftState done [10:52:38]req_shift_opened done [10:52:38]requested_item shift.open_date is exist - process it [10:52:38]req_shift_open_date [10:52:38]req_shift_open_date done [10:52:38]produce_requested_data done [10:52:38]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9132,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [10:52:38]process_action_free close_receipt [10:52:38]json_value_free [10:52:38]json_value_free done [10:52:38]process_json_proto returns [10:52:38]Send response to host [10:52:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9132,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [10:52:38]free response buf [10:52:38]execute_script done [10:52:38]execute_script returns [10:52:38]free content buf [10:52:38]Sock 7.Close socket [10:52:38]Sock 7.Thread stoped [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:38]OFD Sender: No OFD packet to send [11:21:43]OFD Sender: No OFD packet to send [11:21:48]OFD Sender: No OFD packet to send [11:21:53]OFD Sender: No OFD packet to send [11:21:58]OFD Sender: No OFD packet to send [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:58]OFD Sender: No OFD packet to send [11:23:03]OFD Sender: No OFD packet to send [11:23:08]OFD Sender: No OFD packet to send [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:23]OFD Sender: No OFD packet to send [11:23:28]OFD Sender: No OFD packet to send [11:23:33]OFD Sender: No OFD packet to send [11:23:38]OFD Sender: No OFD packet to send [11:23:43]OFD Sender: No OFD packet to send [11:23:48]OFD Sender: No OFD packet to send [11:23:53]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:58]OFD Sender: No OFD packet to send [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:18]OFD Sender: No OFD packet to send [11:29:23]OFD Sender: No OFD packet to send [11:29:28]OFD Sender: No OFD packet to send [11:29:33]OFD Sender: No OFD packet to send [11:29:38]OFD Sender: No OFD packet to send [11:29:43]OFD Sender: No OFD packet to send [11:29:48]OFD Sender: No OFD packet to send [11:29:53]OFD Sender: No OFD packet to send [11:29:58]OFD Sender: No OFD packet to send [11:30:03]OFD Sender: No OFD packet to send [11:30:08]OFD Sender: No OFD packet to send [11:30:13]OFD Sender: No OFD packet to send [11:30:18]OFD Sender: No OFD packet to send [11:30:23]OFD Sender: No OFD packet to send [11:30:28]OFD Sender: No OFD packet to send [11:30:33]OFD Sender: No OFD packet to send [11:30:38]OFD Sender: No OFD packet to send [11:30:43]OFD Sender: No OFD packet to send [11:30:48]OFD Sender: No OFD packet to send [11:30:53]OFD Sender: No OFD packet to send [11:30:58]OFD Sender: No OFD packet to send [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:13]OFD Sender: No OFD packet to send [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:48]OFD Sender: No OFD packet to send [11:32:53]OFD Sender: No OFD packet to send [11:32:58]OFD Sender: No OFD packet to send [11:33:03]OFD Sender: No OFD packet to send [11:33:08]OFD Sender: No OFD packet to send [11:33:13]OFD Sender: No OFD packet to send [11:33:18]OFD Sender: No OFD packet to send [11:33:23]OFD Sender: No OFD packet to send [11:33:28]OFD Sender: No OFD packet to send [11:33:33]OFD Sender: No OFD packet to send [11:33:38]OFD Sender: No OFD packet to send [11:33:43]OFD Sender: No OFD packet to send [11:33:48]OFD Sender: No OFD packet to send [11:33:53]OFD Sender: No OFD packet to send [11:33:58]OFD Sender: No OFD packet to send [11:34:03]OFD Sender: No OFD packet to send [11:34:08]OFD Sender: No OFD packet to send [11:34:13]OFD Sender: No OFD packet to send [11:34:18]OFD Sender: No OFD packet to send [11:34:23]OFD Sender: No OFD packet to send [11:34:28]OFD Sender: No OFD packet to send [11:34:33]OFD Sender: No OFD packet to send [11:34:38]OFD Sender: No OFD packet to send [11:34:43]OFD Sender: No OFD packet to send [11:34:48]OFD Sender: No OFD packet to send [11:34:53]OFD Sender: No OFD packet to send [11:34:58]OFD Sender: No OFD packet to send [11:35:03]OFD Sender: No OFD packet to send [11:35:08]OFD Sender: No OFD packet to send [11:35:13]OFD Sender: No OFD packet to send [11:35:18]OFD Sender: No OFD packet to send [11:35:23]OFD Sender: No OFD packet to send [11:35:28]OFD Sender: No OFD packet to send [11:35:33]OFD Sender: No OFD packet to send [11:35:38]OFD Sender: No OFD packet to send [11:35:43]OFD Sender: No OFD packet to send [11:35:48]OFD Sender: No OFD packet to send [11:35:53]OFD Sender: No OFD packet to send [11:35:58]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:00]accept exits with 9 [11:39:00]New connection [11:39:00]New thread 3066830180 created [11:39:00]Thread 3066686820 joined [11:39:00]Waiting for new connection... [11:39:00] Sock 9.Parse request [11:39:00]Sock 9.Check first char [11:39:00]Sock 9.First char is OK [11:39:00]request: POST /json_proto HTTP/1.0 [11:39:00]Method: POST [11:39:00]URL: /json_proto [11:39:00]Method is POST - this is cgi request [11:39:00]url: /json_proto [11:39:00]query_string will be loaded in cgi processing [11:39:00]execute_cgi json_proto POST (null) [11:39:00]execute_cgi path=json_proto method=POST [11:39:00]POST find Content-Length [11:39:00]Host: 172.17.55.134:8080 [11:39:00]Content-Length: 215 [11:39:00]Content-Type: application/json [11:39:00] [11:39:00]POST finish read [11:39:00]Found Content-Length = 215 [11:39: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" ] } } [11:39:00]execute_script... [11:39: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" ] } } [11:39:00]POST & json_proto [11:39:00]process_json_proto [11:39:00]json parsed OK: [11:39:00]protocol is kg_v1.0 [11:39:00]action value=get_value [11:39:00]process_action get_value [11:39:00]cmd_get_value [11:39:00]process_action get_value done [11:39:00]requested_data is exist [11:39:00]produce_requested_data [11:39:00]requested_item kkm.sn is exist - process it [11:39:00]requested_item kkm.ver is exist - process it [11:39:00]requested_item fm.sn is exist - process it [11:39:00]wFMCommunicate request_size=4 [11:39:00]MH_SAM_APDU [11:39:00]CAPDU: 80 11 00 00 [11:39:00]Write to MH i2c: E2 08 00 E5 04 80 11 00 00 00 00 00 00 63 [11:39:00]Write i2c OK [11:39:00]MH_I2C_Read... [11:39:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:39:00]Read from MH i2c: E2 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 17 00 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 17 00 E5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 BA [11:39:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [11:39:00]wFMCommunicate OK [11:39:00]requested_item fd.num is exist - process it [11:39:00]SAM_PROTO_GetFieldsCounters [11:39:00]wFMCommunicate request_size=4 [11:39:00]MH_SAM_APDU [11:39:00]CAPDU: 80 13 00 00 [11:39:00]Write to MH i2c: E2 08 00 E6 04 80 13 00 00 00 00 00 00 66 [11:39:00]Write i2c OK [11:39:00]MH_I2C_Read... [11:39:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:39:00]Read from MH i2c: E2 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 62 00 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 62 00 E6 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AC 23 00 00 0E 04 04 00 D8 00 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 5D [11:39:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AC 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:39:00]wFMCommunicate OK [11:39:00]SAM_PROTO_GetFieldsCounters done [11:39:00]requested_item shift.num is exist - process it [11:39:00]requested_item shift.opened is exist - process it [11:39:00]req_shift_opened [11:39:00]FM_GetShiftState [11:39:00]SAM_PROTO_GetShiftState [11:39:00]wFMCommunicate request_size=4 [11:39:00]MH_SAM_APDU [11:39:00]CAPDU: 80 13 01 00 [11:39:00]Write to MH i2c: E2 08 00 E7 04 80 13 01 00 00 00 00 00 68 [11:39:00]Write i2c OK [11:39:00]MH_I2C_Read... [11:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:39:00]Read from MH i2c: E2 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 0E 00 [11:39:00]MH_I2C_Read... [11:39:00]Read from MH i2c: E2 0E 00 E7 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 45 [11:39:00]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [11:39:00]wFMCommunicate OK [11:39:00]SAM_PROTO_GetShiftState done [11:39:00]FM_GetShiftState done [11:39:00]req_shift_opened done [11:39:00]requested_item shift.open_date is exist - process it [11:39:00]req_shift_open_date [11:39:00]req_shift_open_date done [11:39:00]produce_requested_data done [11:39:00]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9132,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [11:39:00]process_action_free get_value [11:39:00]json_value_free [11:39:00]json_value_free done [11:39:00]process_json_proto returns [11:39:00]Send response to host [11:39:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9132,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [11:39:00]free response buf [11:39:00]execute_script done [11:39:00]execute_script returns [11:39:00]free content buf [11:39:00]Sock 9.Close socket [11:39:00]Sock 9.Thread stoped [11:39:00]accept exits with 7 [11:39:00]New connection [11:39:00]New thread 3066686820 created [11:39:00]Thread 3066830180 joined [11:39:00]Waiting for new connection... [11:39:00] Sock 7.Parse request [11:39:00]Sock 7.Check first char [11:39:00]Sock 7.First char is OK [11:39:00]request: POST /json_proto HTTP/1.0 [11:39:00]Method: POST [11:39:00]URL: /json_proto [11:39:00]Method is POST - this is cgi request [11:39:00]url: /json_proto [11:39:00]query_string will be loaded in cgi processing [11:39:00]execute_cgi json_proto POST (null) [11:39:00]execute_cgi path=json_proto method=POST [11:39:00]POST find Content-Length [11:39:00]Host: 172.17.55.134:8080 [11:39:00]Content-Length: 331 [11:39:00]Content-Type: application/json [11:39:00] [11:39:00]POST finish read [11:39:00]Found Content-Length = 331 [11:39:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:39:00]execute_script... [11:39:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:39:00]POST & json_proto [11:39:00]process_json_proto [11:39:00]json parsed OK: [11:39:00]protocol is kg_v1.0 [11:39:00]action value=get_value [11:39:00]process_action get_value [11:39:00]cmd_get_value [11:39:00]process_action get_value done [11:39:00]requested_data is exist [11:39:00]produce_requested_data [11:39:00]requested_item fm.sale.total is exist - process it [11:39:00]SAM_PROTO_GetFMData [11:39:00]wFMCommunicate request_size=4 [11:39:00]MH_SAM_APDU [11:39:00]CAPDU: 80 13 03 00 [11:39:00]Write to MH i2c: E2 08 00 E8 04 80 13 03 00 00 00 00 00 6B [11:39:00]Write i2c OK [11:39:00]MH_I2C_Read... [11:39:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [11:39:01]Read from MH i2c: E2 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 E8 04 00 BC 04 85 04 B8 04 6E 04 04 00 FC 21 00 00 69 04 A0 00 6F 04 04 00 FA 21 00 00 B1 04 04 00 4F D2 27 0C 70 04 04 00 60 2C 1E 0A 72 04 04 00 EF A5 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 75 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1A 86 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 CB [11:39:01]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 FC 21 00 00 69 04 A0 00 6F 04 04 00 FA 21 00 00 B1 04 04 00 4F D2 27 0C 70 04 04 00 60 2C 1E 0A 72 04 04 00 EF A5 09 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2F 75 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1A 86 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [11:39:01]wFMCommunicate OK [11:39:01]wFMCommunicate request_size=4 [11:39:01]MH_SAM_APDU [11:39:01]CAPDU: 80 17 00 00 [11:39:01]Write to MH i2c: E2 08 00 E9 04 80 17 00 00 00 00 00 00 6D [11:39:01]Write i2c OK [11:39:01]MH_I2C_Read... [11:39:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:01]Read from MH i2c: E2 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 E9 04 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 12 [11:39:01]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [11:39:01]wFMCommunicate OK [11:39:01]wFMCommunicate request_size=4 [11:39:01]MH_SAM_APDU [11:39:01]CAPDU: 80 17 00 00 [11:39:01]Write to MH i2c: E2 08 00 EA 04 80 17 00 00 00 00 00 00 6E [11:39:01]Write i2c OK [11:39:01]MH_I2C_Read... [11:39:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:01]Read from MH i2c: E2 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 EA 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 97 [11:39:01]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [11:39:01]wFMCommunicate OK [11:39:01]wFMCommunicate request_size=4 [11:39:01]MH_SAM_APDU [11:39:01]CAPDU: 80 17 00 00 [11:39:01]Write to MH i2c: E2 08 00 EB 04 80 17 00 00 00 00 00 00 6F [11:39:01]Write i2c OK [11:39:01]MH_I2C_Read... [11:39:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:01]Read from MH i2c: E2 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 [11:39:01]MH_I2C_Read... [11:39:01]Read from MH i2c: E2 FD 00 EB 04 00 03 00 00 EF 03 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 90 00 F0 [11:39:01]RAPDU: 03 00 00 EF 03 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 90 00 [11:39:01]wFMCommunicate OK [11:39:01]wFMCommunicate request_size=4 [11:39:01]MH_SAM_APDU [11:39:01]CAPDU: 80 17 00 00 [11:39:01]Write to MH i2c: E2 08 00 EC 04 80 17 00 00 00 00 00 00 70 [11:39:01]Write i2c OK [11:39:01]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 [11:39:02]MH_I2C_Read... [11:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [11:39:02]Read from MH i2c: E2 D9 00 [11:39:02]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 D9 00 EC 04 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [11:39:02]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:39:02]wFMCommunicate OK [11:39:02]SAM_PROTO_GetFMData done [11:39:02]requested_item fm.sale_refund.total is exist - process it [11:39:02]requested_item fm.buy.total is exist - process it [11:39:02]requested_item shift.sale.total is exist - process it [11:39:02]SAM_PROTO_GetShiftData [11:39:02]wFMCommunicate request_size=4 [11:39:02]MH_SAM_APDU [11:39:02]CAPDU: 80 13 02 00 [11:39:02]Write to MH i2c: E2 08 00 ED 04 80 13 02 00 00 00 00 00 6F [11:39:02]Write i2c OK [11:39:02]MH_I2C_Read... [11:39:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:39:02]Read from MH i2c: E2 [11:39:02]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 FD 00 [11:39:02]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 FD 00 ED 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 20 8E 06 70 04 03 00 98 03 05 72 04 03 00 88 8A 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 38 B2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DA 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 7E [11:39:02]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 20 8E 06 70 04 03 00 98 03 05 72 04 03 00 88 8A 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 38 B2 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DA 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [11:39:02]wFMCommunicate OK [11:39:02]wFMCommunicate request_size=4 [11:39:02]MH_SAM_APDU [11:39:02]CAPDU: 80 17 00 00 [11:39:02]Write to MH i2c: E2 08 00 EE 04 80 17 00 00 00 00 00 00 72 [11:39:02]Write i2c OK [11:39:02]MH_I2C_Read... [11:39:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:02]Read from MH i2c: E2 [11:39:02]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 FD 00 [11:39:02]MH_I2C_Read... [11:39:02]Read from MH i2c: E2 FD 00 EE 04 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 84 [11:39:02]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 [11:39:02]wFMCommunicate OK [11:39:02]wFMCommunicate request_size=4 [11:39:02]MH_SAM_APDU [11:39:02]CAPDU: 80 17 00 00 [11:39:02]Write to MH i2c: E2 08 00 EF 04 80 17 00 00 00 00 00 00 73 [11:39:02]Write i2c OK [11:39:02]MH_I2C_Read... [11:39:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:03]Read from MH i2c: E2 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 FD 00 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 FD 00 EF 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 37 [11:39:03]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 [11:39:03]wFMCommunicate OK [11:39:03]wFMCommunicate request_size=4 [11:39:03]MH_SAM_APDU [11:39:03]CAPDU: 80 17 00 00 [11:39:03]Write to MH i2c: E2 08 00 F0 04 80 17 00 00 00 00 00 00 74 [11:39:03]Write i2c OK [11:39:03]MH_I2C_Read... [11:39:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:39:03]Read from MH i2c: E2 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 FD 00 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 FD 00 F0 04 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 E9 [11:39:03]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 [11:39:03]wFMCommunicate OK [11:39:03]wFMCommunicate request_size=4 [11:39:03]MH_SAM_APDU [11:39:03]CAPDU: 80 17 00 00 [11:39:03]Write to MH i2c: E2 08 00 F1 04 80 17 00 00 00 00 00 00 75 [11:39:03]Write i2c OK [11:39:03]MH_I2C_Read... [11:39:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [11:39:03]Read from MH i2c: E2 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 CA 00 [11:39:03]MH_I2C_Read... [11:39:03]Read from MH i2c: E2 CA 00 F1 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5A [11:39:03]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 [11:39:03]wFMCommunicate OK [11:39:03]SAM_PROTO_GetShiftData done [11:39:03]requested_item shift.sale.total_cash is exist - process it [11:39:03]requested_item shift.sale_refund.total is exist - process it [11:39:03]requested_item shift.sale_refund.total_cash is exist - process it [11:39:03]requested_item shift.buy.total is exist - process it [11:39:03]requested_item shift.buy.total_cash is exist - process it [11:39:03]produce_requested_data done [11:39:03]produce_requested_data return {"fm.sale.total":2039363.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":4296.00,"shift.sale.total_cash":3286.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [11:39:03]process_action_free get_value [11:39:03]json_value_free [11:39:03]json_value_free done [11:39:03]process_json_proto returns [11:39:03]Send response to host [11:39:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2039363.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":4296.00,"shift.sale.total_cash":3286.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [11:39:03]free response buf [11:39:03]execute_script done [11:39:03]execute_script returns [11:39:03]free content buf [11:39:03]Sock 7.Close socket [11:39:03]Sock 7.Thread stoped [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:44]OFD Sender: No OFD packet to send [11:40:49]OFD Sender: No OFD packet to send [11:40:54]OFD Sender: No OFD packet to send [11:40:59]OFD Sender: No OFD packet to send [11:41:04]OFD Sender: No OFD packet to send [11:41:09]OFD Sender: No OFD packet to send [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:34]OFD Sender: No OFD packet to send [11:41:39]OFD Sender: No OFD packet to send [11:41:44]OFD Sender: No OFD packet to send [11:41:49]OFD Sender: No OFD packet to send [11:41:54]OFD Sender: No OFD packet to send [11:41:59]OFD Sender: No OFD packet to send [11:42:04]OFD Sender: No OFD packet to send [11:42:09]OFD Sender: No OFD packet to send [11:42:14]OFD Sender: No OFD packet to send [11:42:19]OFD Sender: No OFD packet to send [11:42:24]OFD Sender: No OFD packet to send [11:42:29]OFD Sender: No OFD packet to send [11:42:34]OFD Sender: No OFD packet to send [11:42:39]OFD Sender: No OFD packet to send [11:42:44]OFD Sender: No OFD packet to send [11:42:44]accept exits with 9 [11:42:44]New connection [11:42:44]New thread 3066830180 created [11:42:44]Thread 3066686820 joined [11:42:44]Waiting for new connection... [11:42:44] Sock 9.Parse request [11:42:44]Sock 9.Check first char [11:42:44]Sock 9.First char is OK [11:42:44]request: POST /json_proto HTTP/1.0 [11:42:44]Method: POST [11:42:44]URL: /json_proto [11:42:44]Method is POST - this is cgi request [11:42:44]url: /json_proto [11:42:44]query_string will be loaded in cgi processing [11:42:44]execute_cgi json_proto POST (null) [11:42:44]execute_cgi path=json_proto method=POST [11:42:44]POST find Content-Length [11:42:44]Host: 172.17.55.134:8080 [11:42:44]Content-Length: 637 [11:42:44]Content-Type: application/json [11:42:44] [11:42:44]POST finish read [11:42:44]Found Content-Length = 637 [11:42:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18119", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\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" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:44]execute_script... [11:42:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18119", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\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" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:42:44]POST & json_proto [11:42:44]process_json_proto [11:42:44]json parsed OK: [11:42:44]protocol is kg_v1.0 [11:42:44]action value=close_receipt [11:42:44]process_action close_receipt [11:42:44]cmd_close_receipt [11:42:44]MH_GetDate [11:42:44]Write to MH i2c: F0 00 00 F2 04 E5 [11:42:44]Write i2c OK [11:42:44]MH_I2C_Read... [11:42:44]Read from MH i2c: F0 [11:42:44]MH_I2C_Read... [11:42:44]Read from MH i2c: F0 09 00 [11:42:44]MH_I2C_Read... [11:42:44]Read from MH i2c: F0 09 00 F2 04 00 37 81 C4 66 13 35 D9 65 56 [11:42:44]GetLastDocTimeStamp 1724151156 [11:42:44]current date 1724154167 [11:42:44]FM_GetShiftState [11:42:44]SAM_PROTO_GetShiftState [11:42:44]wFMCommunicate request_size=4 [11:42:44]MH_SAM_APDU [11:42:44]CAPDU: 80 13 01 00 [11:42:44]Write to MH i2c: E2 08 00 F3 04 80 13 01 00 00 00 00 00 74 [11:42:44]Write i2c OK [11:42:44]MH_I2C_Read... [11:42:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:44]Read from MH i2c: E2 [11:42:44]MH_I2C_Read... [11:42:44]Read from MH i2c: E2 0E 00 [11:42:44]MH_I2C_Read... [11:42:44]Read from MH i2c: E2 0E 00 F3 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 51 [11:42:44]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [11:42:44]wFMCommunicate OK [11:42:44]SAM_PROTO_GetShiftState done [11:42:44]FM_GetShiftState done [11:42:44]opened in 1724113861 [11:42:44]opened+sec_in_day 1724200261 [11:42:44]quantity*price = 7000 [11:42:44]sum+1 = 7001 [11:42:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 13 20.08.2024 11:42 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9133 ФПД: 12853598226051 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T114247&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9133&fm=12853598226051&tin=02508201610067®Number=0000000000108878&sum=7000 0 [11:42:45]StoreToDocumentArchive [11:42:45]shift 216 fd 9133 [11:42:45]save to /storage/0216/doc_00009133 [11:42:45]save last doc name /storage/0216/doc_00009133 to /storage/kkm_last_doc_name [11:42:45]save OK [11:42:45]Clear old archive folders... [11:42:45]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:42:45]tlvbuf is 0045C610 [11:42:45]SAM_PROTO_ClearQueue [11:42:45]wFMCommunicate request_size=4 [11:42:45]MH_SAM_APDU [11:42:45]CAPDU: 80 09 00 00 [11:42:45]Write to MH i2c: E2 08 00 00 05 80 09 00 00 00 00 00 00 77 [11:42:45]Write i2c OK [11:42:45]MH_I2C_Read... [11:42:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:42:45]Read from MH i2c: E2 [11:42:45]MH_I2C_Read... [11:42:45]Read from MH i2c: E2 03 00 [11:42:45]MH_I2C_Read... [11:42:45]Read from MH i2c: E2 03 00 00 05 00 90 00 79 [11:42:45]RAPDU: 90 00 [11:42:45]wFMCommunicate OK [11:42:45]SAM_PROTO_ClearQueue done [11:42:45]KKMCreateOFDPacket [11:42:45]OFDProtocolAddRootSTLVToBuf [11:42:45]FM_MakeSignedData [11:42:45]FM_MakeSignedData [11:42:45]SAM_PROTO_SignData [11:42:45]wFMCommunicate request_size=4 [11:42:45]MH_SAM_APDU [11:42:45]CAPDU: 80 0D 01 02 [11:42:45]Write to MH i2c: E2 08 00 01 05 80 0D 01 02 00 00 00 00 7F [11:42:45]Write i2c OK [11:42:45]MH_I2C_Read... [11:42:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:42:45]Read from MH i2c: E2 [11:42:45]MH_I2C_Read... [11:42:45]Read from MH i2c: E2 03 00 [11:42:45]MH_I2C_Read... [11:42:45]Read from MH i2c: E2 03 00 01 05 00 90 00 7A [11:42:45]RAPDU: 90 00 [11:42:45]wFMCommunicate OK [11:42:45]wFMCommunicate request_size=255 [11:42:45]MH_SAM_APDU [11:42:45]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 37 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 [11:42:45]Write to MH i2c: E2 02 01 02 05 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 37 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 00 00 68 [11:42:45]Write i2c OK [11:42:45]MH_I2C_Read... [11:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:42:46]Read from MH i2c: E2 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 03 00 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 03 00 02 05 00 90 00 7B [11:42:46]RAPDU: 90 00 [11:42:46]wFMCommunicate OK [11:42:46]wFMCommunicate request_size=32 [11:42:46]MH_SAM_APDU [11:42:46]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 31 39 10 04 04 00 AD 23 00 00 35 04 06 00 0B B0 B6 28 06 83 [11:42:46]Write to MH i2c: E2 23 00 03 05 80 0D 02 02 1B 00 30 30 30 39 36 35 36 31 39 10 04 04 00 AD 23 00 00 35 04 06 00 0B B0 B6 28 06 83 00 00 D5 [11:42:46]Write i2c OK [11:42:46]MH_I2C_Read... [11:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:42:46]Read from MH i2c: E2 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 03 00 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 03 00 03 05 00 90 00 7C [11:42:46]RAPDU: 90 00 [11:42:46]wFMCommunicate OK [11:42:46]wFMCommunicate request_size=4 [11:42:46]MH_SAM_APDU [11:42:46]CAPDU: 80 0D 03 02 [11:42:46]Write to MH i2c: E2 08 00 04 05 80 0D 03 02 00 00 00 00 84 [11:42:46]Write i2c OK [11:42:46]MH_I2C_Read... [11:42:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:42:46]Read from MH i2c: E2 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 0B 00 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 0B 00 04 05 00 F1 FD AA 6F 08 F1 8F DE 90 00 F2 [11:42:46]RAPDU: F1 FD AA 6F 08 F1 8F DE 90 00 [11:42:46]wFMCommunicate OK [11:42:46]SAM_PROTO_SignData done [11:42:46]FM_MakeSignedData done [11:42:46]CreateOFDProtocolMessage [11:42:46]wFMCommunicate request_size=4 [11:42:46]MH_SAM_APDU [11:42:46]CAPDU: 80 11 00 00 [11:42:46]Write to MH i2c: E2 08 00 05 05 80 11 00 00 00 00 00 00 84 [11:42:46]Write i2c OK [11:42:46]MH_I2C_Read... [11:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:46]Read from MH i2c: E2 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 17 00 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: E2 17 00 05 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 DB [11:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [11:42:46]wFMCommunicate OK [11:42:46]CreateOFDProtocolMessage done [11:42:46]OFDSenderStorePacket 9133 [11:42:46]StoreOFDPacket docnum=9133 [11:42:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 28 FF 1D 01 6F 2B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 37 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AD 23 00 00 35 04 06 00 0B B0 B6 28 06 83 F1 FD AA 6F 08 F1 8F DE [11:42:46]CheckFolder [11:42:46]dirname=/storage/ofd_packets [11:42:46]CheckFolder done [11:42:46]ProducePacketName [11:42:46]name=ofd_packets/00009133 [11:42:46]NVStorageSaveData ofd_packets/00009133 [11:42:46]File name is /storage/ofd_packets/00009133 [11:42:46]Write 323 bytes [11:42:46]NVStorageSaveData done [11:42:46]OFDSenderStorePacket done [11:42:46]KKMCreateOFDPacket done [11:42:46]NVStorageSaveData kkm_last_timestamp [11:42:46]File name is /storage/kkm_last_timestamp [11:42:46]Write 4 bytes [11:42:46]NVStorageSaveData done [11:42:46]ExternCall_PrintAddStr [11:42:46]wPrintStart [11:42:46]Write to MH i2c: 01 00 00 06 05 0B [11:42:46]Write i2c OK [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: 01 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: 01 07 00 [11:42:46]MH_I2C_Read... [11:42:46]Read from MH i2c: 01 07 00 06 05 00 00 00 00 00 FF 0F 20 [11:42:46]RasterBufferAndPrint [11:42:46]line Счет N : (3)18119 [11:42:46]line ИНН: 02508201610067 [11:42:46]line Контрольно-Кассовый Чек [11:42:46]line ПРОДАЖА [11:42:46]line Товар: 4700002082931 [11:42:46]line Водка Хорошая 0,1л [11:42:46]line 1.000 * 70.00 [11:42:46]line = 70.00 [11:42:46]line НДС 12% НСП 1% [11:42:46]line > о реализуемом товаре [11:42:46]line ИТОГО: 70.00 [11:42:46]line НСП 1% : 0.62 [11:42:46]line НДС 12% : 7.43 [11:42:46]line Наличными: 70.00 [11:42:46]line Безнал.: 0.00 [11:42:46]line Место: АЗС № 94 [11:42:46]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [11:42:46]line СНО: Общий режим [11:42:46]line Чек 13 20.08.2024 11:42 [11:42:46]line Смена: 216 ФФД: 1.0 [11:42:46]line ЗНМ: 0300000128 [11:42:46]line РНМ: 0000000000108878 [11:42:46]line Версия ККМ: 001 [11:42:46]line ФМ: 0000000000965619 [11:42:46]line ФД: 9133 [11:42:46]line ФПД: 12853598226051 [11:42:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T114247&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9133&fm=12853598226051&tin=02508201610067®Number=0000000000108878&sum=7000 [11:42:46]line 0 [11:42:46]OFD Sender: Processing packet 9133 [packets to send 4, broken 3] [11:42:46]ProducePacketName [11:42:46]name=ofd_packets/00009133 [11:42:46]OFD Sender: To server: pG, [11:42:46]CommunicateWithHost lk.salyk.kg:30040 [11:42:46]ConnectInit lk.salyk.kg [11:42:46]written 0, free lines is 4095 [11:42:46]Connected sock=10 [11:42:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 28 FF 1D 01 6F 2B 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 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 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 37 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AD 23 00 00 35 04 06 00 0B B0 B6 28 06 83 F1 FD AA 6F 08 F1 8F DE [11:42:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 ED B9 47 00 BF 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 36 31 39 10 04 04 00 AD 23 00 00 F4 03 04 00 02 29 C4 66 B6 04 01 00 00 D8 4E C3 D5 27 4A F8 67 [11:42:47]CommunicateWithHost err = 0 [11:42:47]CheckOFDResponse [11:42:47]1017 (14) - 77093643461234 [11:42:47]1041 (16) - 0000000000965619 [11:42:47]1040 (4) - 9133 [11:42:47]1012 (4) - 20.08.2024 05:26 [11:42:47]1206 (1) - 0 [11:42:47]OFD Sender: Remove packet 9133 [11:42:47]ProducePacketName [11:42:47]name=ofd_packets/00009133 [11:42:47]NVStorageDeleteData [11:42:47]Write to MH i2c: 01 00 00 2D 05 32 [11:42:47]Write i2c OK [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: 01 [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: 01 07 00 [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: 01 07 00 2D 05 00 00 00 00 00 F8 0C 3D [11:42:47]RasterBufferAndPrint [11:42:47]line [11:42:47]line [11:42:47]line [11:42:47]line [11:42:47]line [11:42:47]written 0, free lines is 3330 [11:42:47]MH_Cut [11:42:47]Write to MH i2c: D1 01 00 34 05 01 0B [11:42:47]Write i2c OK [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: D1 [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: D1 01 00 [11:42:47]MH_I2C_Read... [11:42:47]Read from MH i2c: D1 01 00 34 05 00 0A [11:42:47]Write to MH i2c: 01 00 00 35 05 3A [11:42:47]Write i2c OK [11:42:47]MH_I2C_Read... [11:42:47]OFD Sender: No OFD packet to send [11:42:47]*** Cut start [11:42:47]*** Partial cut [11:42:47]*** CUTSNS_PIN = 1 [11:42:47]*** CUTSNS_PIN = 0 [11:42:48]*** Brake cut motor [11:42:48]Read from MH i2c: 01 [11:42:48]MH_I2C_Read... [11:42:48]*** Stop cut motor [11:42:48]*** Cut end [11:42:48]Read from MH i2c: 01 07 00 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: 01 07 00 35 05 00 00 00 00 00 FF 0F 4F [11:42:48]process_action close_receipt done [11:42:48]requested_data is exist [11:42:48]produce_requested_data [11:42:48]requested_item fm.sn is exist - process it [11:42:48]wFMCommunicate request_size=4 [11:42:48]MH_SAM_APDU [11:42:48]CAPDU: 80 11 00 00 [11:42:48]Write to MH i2c: E2 08 00 36 05 80 11 00 00 00 00 00 00 B5 [11:42:48]Write i2c OK [11:42:48]MH_I2C_Read... [11:42:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:42:48]Read from MH i2c: E2 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 17 00 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 17 00 36 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0C [11:42:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [11:42:48]wFMCommunicate OK [11:42:48]requested_item fd.num is exist - process it [11:42:48]SAM_PROTO_GetFieldsCounters [11:42:48]wFMCommunicate request_size=4 [11:42:48]MH_SAM_APDU [11:42:48]CAPDU: 80 13 00 00 [11:42:48]Write to MH i2c: E2 08 00 37 05 80 13 00 00 00 00 00 00 B8 [11:42:48]Write i2c OK [11:42:48]MH_I2C_Read... [11:42:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:42:48]Read from MH i2c: E2 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 62 00 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 62 00 37 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AD 23 00 00 0E 04 04 00 D8 00 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 B3 [11:42:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AD 23 00 00 0E 04 04 00 D8 00 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 [11:42:48]wFMCommunicate OK [11:42:48]SAM_PROTO_GetFieldsCounters done [11:42:48]requested_item shift.num is exist - process it [11:42:48]requested_item shift.opened is exist - process it [11:42:48]req_shift_opened [11:42:48]FM_GetShiftState [11:42:48]SAM_PROTO_GetShiftState [11:42:48]wFMCommunicate request_size=4 [11:42:48]MH_SAM_APDU [11:42:48]CAPDU: 80 13 01 00 [11:42:48]Write to MH i2c: E2 08 00 38 05 80 13 01 00 00 00 00 00 BA [11:42:48]Write i2c OK [11:42:48]MH_I2C_Read... [11:42:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:42:48]Read from MH i2c: E2 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 0E 00 [11:42:48]MH_I2C_Read... [11:42:48]Read from MH i2c: E2 0E 00 38 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 97 [11:42:48]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [11:42:48]wFMCommunicate OK [11:42:48]SAM_PROTO_GetShiftState done [11:42:48]FM_GetShiftState done [11:42:48]req_shift_opened done [11:42:48]requested_item shift.open_date is exist - process it [11:42:48]req_shift_open_date [11:42:48]req_shift_open_date done [11:42:48]produce_requested_data done [11:42:48]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9133,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [11:42:48]process_action_free close_receipt [11:42:48]json_value_free [11:42:48]json_value_free done [11:42:48]process_json_proto returns [11:42:48]Send response to host [11:42:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9133,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [11:42:48]free response buf [11:42:48]execute_script done [11:42:48]execute_script returns [11:42:48]free content buf [11:42:48]Sock 9.Close socket [11:42:48]Sock 9.Thread stoped [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:56]accept exits with 7 [11:44:56]New connection [11:44:56]New thread 3066686820 created [11:44:56]Thread 3066830180 joined [11:44:56]Waiting for new connection... [11:44:56] Sock 7.Parse request [11:44:56]Sock 7.Check first char [11:44:56]Sock 7.First char is OK [11:44:56]request: POST /json_proto HTTP/1.0 [11:44:56]Method: POST [11:44:56]URL: /json_proto [11:44:56]Method is POST - this is cgi request [11:44:56]url: /json_proto [11:44:56]query_string will be loaded in cgi processing [11:44:56]execute_cgi json_proto POST (null) [11:44:56]execute_cgi path=json_proto method=POST [11:44:56]POST find Content-Length [11:44:56]Host: 172.17.55.134:8080 [11:44:56]Content-Length: 881 [11:44:56]Content-Type: application/json [11:44:56] [11:44:56]POST finish read [11:44:56]Found Content-Length = 881 [11:44:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18120", "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": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:56]execute_script... [11:44: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)18120", "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": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:56]POST & json_proto [11:44:56]process_json_proto [11:44:56]json parsed OK: [11:44:56]protocol is kg_v1.0 [11:44:56]action value=close_receipt [11:44:56]process_action close_receipt [11:44:56]cmd_close_receipt [11:44:56]MH_GetDate [11:44:56]Write to MH i2c: F0 00 00 39 05 2D [11:44:56]Write i2c OK [11:44:56]MH_I2C_Read... [11:44:56]Read from MH i2c: F0 [11:44:56]MH_I2C_Read... [11:44:56]Read from MH i2c: F0 09 00 [11:44:56]MH_I2C_Read... [11:44:56]Read from MH i2c: F0 09 00 39 05 00 BC 81 C4 66 13 35 D9 65 23 [11:44:56]GetLastDocTimeStamp 1724154167 [11:44:56]current date 1724154300 [11:44:56]FM_GetShiftState [11:44:56]SAM_PROTO_GetShiftState [11:44:56]wFMCommunicate request_size=4 [11:44:56]MH_SAM_APDU [11:44:56]CAPDU: 80 13 01 00 [11:44:56]Write to MH i2c: E2 08 00 3A 05 80 13 01 00 00 00 00 00 BC [11:44:56]Write i2c OK [11:44:56]MH_I2C_Read... [11:44:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:57]Read from MH i2c: E2 [11:44:57]MH_I2C_Read... [11:44:57]Read from MH i2c: E2 0E 00 [11:44:57]MH_I2C_Read... [11:44:57]Read from MH i2c: E2 0E 00 3A 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 99 [11:44:57]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [11:44:57]wFMCommunicate OK [11:44:57]SAM_PROTO_GetShiftState done [11:44:57]FM_GetShiftState done [11:44:57]opened in 1724113861 [11:44:57]opened+sec_in_day 1724200261 [11:44:57]quantity*price = 13000 [11:44:57]sum+1 = 13001 [11:44:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745000 Сигареты Winston Purple Mix 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 14 20.08.2024 11:45 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9134 ФПД: 48406359037879 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T114500&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9134&fm=48406359037879&tin=02508201610067®Number=0000000000108878&sum=26500 0 [11:44:58]StoreToDocumentArchive [11:44:58]shift 216 fd 9134 [11:44:58]save to /storage/0216/doc_00009134 [11:44:58]save last doc name /storage/0216/doc_00009134 to /storage/kkm_last_doc_name [11:44:58]save OK [11:44:58]Clear old archive folders... [11:44:58]ProcessDocumentItem done err = 0, tmpTLVsize=384 [11:44:58]tlvbuf is 0043A7E0 [11:44:58]SAM_PROTO_ClearQueue [11:44:58]wFMCommunicate request_size=4 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 09 00 00 [11:44:58]Write to MH i2c: E2 08 00 47 05 80 09 00 00 00 00 00 00 BE [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 47 05 00 90 00 C0 [11:44:58]RAPDU: 90 00 [11:44:58]wFMCommunicate OK [11:44:58]SAM_PROTO_ClearQueue done [11:44:58]KKMCreateOFDPacket [11:44:58]OFDProtocolAddRootSTLVToBuf [11:44:58]FM_MakeSignedData [11:44:58]FM_MakeSignedData [11:44:58]SAM_PROTO_SignData [11:44:58]wFMCommunicate request_size=4 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 0D 01 02 [11:44:58]Write to MH i2c: E2 08 00 48 05 80 0D 01 02 00 00 00 00 C6 [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 48 05 00 90 00 C1 [11:44:58]RAPDU: 90 00 [11:44:58]wFMCommunicate OK [11:44:58]wFMCommunicate request_size=255 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 0D 02 02 FA 03 00 80 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 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [11:44:58]Write to MH i2c: E2 02 01 49 05 80 0D 02 02 FA 00 03 00 80 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 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 FB [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 49 05 00 90 00 C2 [11:44:58]RAPDU: 90 00 [11:44:58]wFMCommunicate OK [11:44:58]wFMCommunicate request_size=143 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 0D 02 02 8A EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 BC 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AE 23 00 00 35 04 06 00 2C 06 7B D5 D7 B7 [11:44:58]Write to MH i2c: E2 92 00 4A 05 80 0D 02 02 8A 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 BC 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AE 23 00 00 35 04 06 00 2C 06 7B D5 D7 B7 00 00 20 [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 03 00 4A 05 00 90 00 C3 [11:44:58]RAPDU: 90 00 [11:44:58]wFMCommunicate OK [11:44:58]wFMCommunicate request_size=4 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 0D 03 02 [11:44:58]Write to MH i2c: E2 08 00 4B 05 80 0D 03 02 00 00 00 00 CB [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 0B 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 0B 00 4B 05 00 7D 7C D6 F5 A8 D4 69 98 90 00 0D [11:44:58]RAPDU: 7D 7C D6 F5 A8 D4 69 98 90 00 [11:44:58]wFMCommunicate OK [11:44:58]SAM_PROTO_SignData done [11:44:58]FM_MakeSignedData done [11:44:58]CreateOFDProtocolMessage [11:44:58]wFMCommunicate request_size=4 [11:44:58]MH_SAM_APDU [11:44:58]CAPDU: 80 11 00 00 [11:44:58]Write to MH i2c: E2 08 00 4C 05 80 11 00 00 00 00 00 00 CB [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:58]Read from MH i2c: E2 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 17 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: E2 17 00 4C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 22 [11:44:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [11:44:58]wFMCommunicate OK [11:44:58]CreateOFDProtocolMessage done [11:44:58]OFDSenderStorePacket 9134 [11:44:58]StoreOFDPacket docnum=9134 [11:44:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 94 01 00 00 94 9E 8C 01 D3 6E 5A 03 01 00 03 00 80 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 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 BC 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AE 23 00 00 35 04 06 00 2C 06 7B D5 D7 B7 7D 7C D6 F5 A8 D4 69 98 [11:44:58]CheckFolder [11:44:58]dirname=/storage/ofd_packets [11:44:58]CheckFolder done [11:44:58]ProducePacketName [11:44:58]name=ofd_packets/00009134 [11:44:58]NVStorageSaveData ofd_packets/00009134 [11:44:58]File name is /storage/ofd_packets/00009134 [11:44:58]Write 434 bytes [11:44:58]NVStorageSaveData done [11:44:58]OFDSenderStorePacket done [11:44:58]KKMCreateOFDPacket done [11:44:58]NVStorageSaveData kkm_last_timestamp [11:44:58]File name is /storage/kkm_last_timestamp [11:44:58]Write 4 bytes [11:44:58]NVStorageSaveData done [11:44:58]ExternCall_PrintAddStr [11:44:58]wPrintStart [11:44:58]Write to MH i2c: 01 00 00 4D 05 52 [11:44:58]Write i2c OK [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: 01 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: 01 07 00 [11:44:58]MH_I2C_Read... [11:44:58]Read from MH i2c: 01 07 00 4D 05 00 00 00 00 00 FF 0F 67 [11:44:58]RasterBufferAndPrint [11:44:58]line Счет N : (3)18120 [11:44:58]line ИНН: 02508201610067 [11:44:58]line Контрольно-Кассовый Чек [11:44:58]line ПРОДАЖА [11:44:58]line Товар: 2000036220012 [11:44:58]line Кофе Капучино XL(GABB TRADE) [11:44:58]line 1.000 * 130.00 [11:44:58]line = 130.00 [11:44:58]line НДС 12% НСП 1% [11:44:58]line > о реализуемом товаре [11:44:58]line Товар: 48745000 [11:44:58]line Сигареты Winston Purple Mix [11:44:58]line 1.000 * 135.00 [11:44:58]line = 135.00 [11:44:58]line НДС 12% НСП 1% [11:44:58]line > о реализуемом товаре [11:44:58]line ИТОГО: 265.00 [11:44:58]line НСП 1% : 2.34 [11:44:58]line НДС 12% : 28.14 [11:44:58]line Наличными: 265.00 [11:44:58]line Безнал.: 0.00 [11:44:58]line Место: АЗС № 94 [11:44:58]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [11:44:58]line СНО: Общий режим [11:44:58]line Чек 14 20.08.2024 11:45 [11:44:59]line Смена: 216 ФФД: 1.0 [11:44:59]line ЗНМ: 0300000128 [11:44:59]line РНМ: 0000000000108878 [11:44:59]line Версия ККМ: 001 [11:44:59]line ФМ: 0000000000965619 [11:44:59]line ФД: 9134 [11:44:59]line ФПД: 48406359037879 [11:44:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T114500&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9134&fm=48406359037879&tin=02508201610067®Number=0000000000108878&sum=26500 [11:44:59]line 0 [11:44:59]OFD Sender: Processing packet 9134 [packets to send 4, broken 3] [11:44:59]ProducePacketName [11:44:59]name=ofd_packets/00009134 [11:44:59]OFD Sender: To server: pG, [11:44:59]CommunicateWithHost lk.salyk.kg:30040 [11:44:59]ConnectInit lk.salyk.kg [11:44:59]written 0, free lines is 4095 [11:44:59]Connected sock=10 [11:44: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 36 31 39 94 01 00 00 94 9E 8C 01 D3 6E 5A 03 01 00 03 00 80 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 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 BC 81 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AE 23 00 00 35 04 06 00 2C 06 7B D5 D7 B7 7D 7C D6 F5 A8 D4 69 98 [11:44:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 95 52 47 00 F5 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AE 23 00 00 F4 03 04 00 87 29 C4 66 B6 04 01 00 00 A7 6C 2A 4B 61 B4 99 B0 [11:44:59]CommunicateWithHost err = 0 [11:44:59]CheckOFDResponse [11:44:59]1017 (14) - 77093643461234 [11:44:59]1041 (16) - 0000000000965619 [11:44:59]1040 (4) - 9134 [11:44:59]1012 (4) - 20.08.2024 05:28 [11:44:59]1206 (1) - 0 [11:44:59]OFD Sender: Remove packet 9134 [11:44:59]ProducePacketName [11:44:59]name=ofd_packets/00009134 [11:44:59]NVStorageDeleteData [11:44:59]Write to MH i2c: 01 00 00 7B 05 80 [11:44:59]Write i2c OK [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: 01 [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: 01 07 00 [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: 01 07 00 7B 05 00 00 00 00 00 91 0C 24 [11:44:59]RasterBufferAndPrint [11:44:59]line [11:44:59]line [11:44:59]line [11:44:59]line [11:44:59]line [11:44:59]written 0, free lines is 3223 [11:44:59]MH_Cut [11:44:59]Write to MH i2c: D1 01 00 82 05 01 59 [11:44:59]Write i2c OK [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: D1 [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: D1 01 00 [11:44:59]MH_I2C_Read... [11:44:59]Read from MH i2c: D1 01 00 82 05 00 58 [11:44:59]Write to MH i2c: 01 00 00 83 05 88 [11:44:59]Write i2c OK [11:44:59]MH_I2C_Read... [11:44:59]OFD Sender: No OFD packet to send [11:45:00]*** Cut start [11:45:00]*** Partial cut [11:45:00]*** CUTSNS_PIN = 1 [11:45:00]*** CUTSNS_PIN = 0 [11:45:00]*** Brake cut motor [11:45:01]Read from MH i2c: 01 [11:45:01]MH_I2C_Read... [11:45:01]*** Stop cut motor [11:45:01]*** Cut end [11:45:01]Read from MH i2c: 01 07 00 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: 01 07 00 83 05 00 00 00 00 00 FF 0F 9D [11:45:01]process_action close_receipt done [11:45:01]requested_data is exist [11:45:01]produce_requested_data [11:45:01]requested_item fm.sn is exist - process it [11:45:01]wFMCommunicate request_size=4 [11:45:01]MH_SAM_APDU [11:45:01]CAPDU: 80 11 00 00 [11:45:01]Write to MH i2c: E2 08 00 84 05 80 11 00 00 00 00 00 00 03 [11:45:01]Write i2c OK [11:45:01]MH_I2C_Read... [11:45:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:01]Read from MH i2c: E2 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 17 00 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 17 00 84 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 5A [11:45:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [11:45:01]wFMCommunicate OK [11:45:01]requested_item fd.num is exist - process it [11:45:01]SAM_PROTO_GetFieldsCounters [11:45:01]wFMCommunicate request_size=4 [11:45:01]MH_SAM_APDU [11:45:01]CAPDU: 80 13 00 00 [11:45:01]Write to MH i2c: E2 08 00 85 05 80 13 00 00 00 00 00 00 06 [11:45:01]Write i2c OK [11:45:01]MH_I2C_Read... [11:45:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:45:01]Read from MH i2c: E2 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 62 00 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 62 00 85 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AE 23 00 00 0E 04 04 00 D8 00 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 05 [11:45: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AE 23 00 00 0E 04 04 00 D8 00 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 [11:45:01]wFMCommunicate OK [11:45:01]SAM_PROTO_GetFieldsCounters done [11:45:01]requested_item shift.num is exist - process it [11:45:01]requested_item shift.opened is exist - process it [11:45:01]req_shift_opened [11:45:01]FM_GetShiftState [11:45:01]SAM_PROTO_GetShiftState [11:45:01]wFMCommunicate request_size=4 [11:45:01]MH_SAM_APDU [11:45:01]CAPDU: 80 13 01 00 [11:45:01]Write to MH i2c: E2 08 00 86 05 80 13 01 00 00 00 00 00 08 [11:45:01]Write i2c OK [11:45:01]MH_I2C_Read... [11:45:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:01]Read from MH i2c: E2 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 0E 00 [11:45:01]MH_I2C_Read... [11:45:01]Read from MH i2c: E2 0E 00 86 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E5 [11:45:01]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [11:45:01]wFMCommunicate OK [11:45:01]SAM_PROTO_GetShiftState done [11:45:01]FM_GetShiftState done [11:45:01]req_shift_opened done [11:45:01]requested_item shift.open_date is exist - process it [11:45:01]req_shift_open_date [11:45:01]req_shift_open_date done [11:45:01]produce_requested_data done [11:45:01]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9134,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [11:45:01]process_action_free close_receipt [11:45:01]json_value_free [11:45:01]json_value_free done [11:45:01]process_json_proto returns [11:45:01]Send response to host [11:45:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9134,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [11:45:01]free response buf [11:45:01]execute_script done [11:45:01]execute_script returns [11:45:01]free content buf [11:45:01]Sock 7.Close socket [11:45:01]Sock 7.Thread stoped [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:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:30]OFD Sender: No OFD packet to send [11:57:35]OFD Sender: No OFD packet to send [11:57:40]OFD Sender: No OFD packet to send [11:57:45]OFD Sender: No OFD packet to send [11:57:50]OFD Sender: No OFD packet to send [11:57:55]OFD Sender: No OFD packet to send [11:58:00]OFD Sender: No OFD packet to send [11:58:05]OFD Sender: No OFD packet to send [11:58:10]OFD Sender: No OFD packet to send [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:26]OFD Sender: No OFD packet to send [12:08:31]OFD Sender: No OFD packet to send [12:08:36]OFD Sender: No OFD packet to send [12:08:41]OFD Sender: No OFD packet to send [12:08:46]OFD Sender: No OFD packet to send [12:08:51]OFD Sender: No OFD packet to send [12:08:56]OFD Sender: No OFD packet to send [12:09:01]OFD Sender: No OFD packet to send [12:09:06]OFD Sender: No OFD packet to send [12:09:11]OFD Sender: No OFD packet to send [12:09:16]OFD Sender: No OFD packet to send [12:09:21]OFD Sender: No OFD packet to send [12:09:26]OFD Sender: No OFD packet to send [12:09:31]OFD Sender: No OFD packet to send [12:09:36]OFD Sender: No OFD packet to send [12:09:41]OFD Sender: No OFD packet to send [12:09:46]OFD Sender: No OFD packet to send [12:09:51]OFD Sender: No OFD packet to send [12:09:56]OFD Sender: No OFD packet to send [12:10:01]OFD Sender: No OFD packet to send [12:10:06]OFD Sender: No OFD packet to send [12:10:11]OFD Sender: No OFD packet to send [12:10:16]OFD Sender: No OFD packet to send [12:10:21]OFD Sender: No OFD packet to send [12:10:26]OFD Sender: No OFD packet to send [12:10:31]OFD Sender: No OFD packet to send [12:10:36]OFD Sender: No OFD packet to send [12:10:41]OFD Sender: No OFD packet to send [12:10:46]OFD Sender: No OFD packet to send [12:10:51]OFD Sender: No OFD packet to send [12:10:56]OFD Sender: No OFD packet to send [12:11:01]OFD Sender: No OFD packet to send [12:11:06]OFD Sender: No OFD packet to send [12:11:11]OFD Sender: No OFD packet to send [12:11:16]OFD Sender: No OFD packet to send [12:11:21]OFD Sender: No OFD packet to send [12:11:26]OFD Sender: No OFD packet to send [12:11:31]OFD Sender: No OFD packet to send [12:11:36]OFD Sender: No OFD packet to send [12:11:41]OFD Sender: No OFD packet to send [12:11:46]OFD Sender: No OFD packet to send [12:11:51]OFD Sender: No OFD packet to send [12:11:56]OFD Sender: No OFD packet to send [12:12:01]OFD Sender: No OFD packet to send [12:12:06]OFD Sender: No OFD packet to send [12:12:11]OFD Sender: No OFD packet to send [12:12:16]OFD Sender: No OFD packet to send [12:12:21]OFD Sender: No OFD packet to send [12:12:26]OFD Sender: No OFD packet to send [12:12:31]OFD Sender: No OFD packet to send [12:12:36]OFD Sender: No OFD packet to send [12:12:41]OFD Sender: No OFD packet to send [12:12:46]OFD Sender: No OFD packet to send [12:12:51]OFD Sender: No OFD packet to send [12:12:56]OFD Sender: No OFD packet to send [12:13:01]OFD Sender: No OFD packet to send [12:13:06]OFD Sender: No OFD packet to send [12:13:11]OFD Sender: No OFD packet to send [12:13:16]OFD Sender: No OFD packet to send [12:13:21]OFD Sender: No OFD packet to send [12:13:26]OFD Sender: No OFD packet to send [12:13:31]OFD Sender: No OFD packet to send [12:13:36]OFD Sender: No OFD packet to send [12:13:41]OFD Sender: No OFD packet to send [12:13:46]OFD Sender: No OFD packet to send [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:06]OFD Sender: No OFD packet to send [12:19:11]OFD Sender: No OFD packet to send [12:19:16]OFD Sender: No OFD packet to send [12:19:21]OFD Sender: No OFD packet to send [12:19:26]OFD Sender: No OFD packet to send [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:36]OFD Sender: No OFD packet to send [12:20:41]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:56]OFD Sender: No OFD packet to send [12:21:01]OFD Sender: No OFD packet to send [12:21:06]OFD Sender: No OFD packet to send [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:37]accept exits with 9 [12:31:37]New connection [12:31:37]New thread 3066830180 created [12:31:37]Thread 3066686820 joined [12:31:37]Waiting for new connection... [12:31:37] Sock 9.Parse request [12:31:37]Sock 9.Check first char [12:31:37]Sock 9.First char is OK [12:31:37]request: POST /json_proto HTTP/1.0 [12:31:37]Method: POST [12:31:37]URL: /json_proto [12:31:37]Method is POST - this is cgi request [12:31:37]url: /json_proto [12:31:37]query_string will be loaded in cgi processing [12:31:37]execute_cgi json_proto POST (null) [12:31:37]execute_cgi path=json_proto method=POST [12:31:37]POST find Content-Length [12:31:37]Host: 172.17.55.134:8080 [12:31:37]Content-Length: 1171 [12:31:37]Content-Type: application/json [12:31:37] [12:31:37]POST finish read [12:31:37]Found Content-Length = 1171 [12:31:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18121", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:37]execute_script... [12:31:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18121", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:37]POST & json_proto [12:31:37]process_json_proto [12:31:37]json parsed OK: [12:31:37]protocol is kg_v1.0 [12:31:37]action value=close_receipt [12:31:37]process_action close_receipt [12:31:37]cmd_close_receipt [12:31:37]MH_GetDate [12:31:37]Write to MH i2c: F0 00 00 87 05 7B [12:31:37]Write i2c OK [12:31:37]MH_I2C_Read... [12:31:37]Read from MH i2c: F0 [12:31:37]MH_I2C_Read... [12:31:37]Read from MH i2c: F0 09 00 [12:31:37]MH_I2C_Read... [12:31:37]Read from MH i2c: F0 09 00 87 05 00 AC 8C C4 66 13 35 D9 65 6C [12:31:37]GetLastDocTimeStamp 1724154300 [12:31:37]current date 1724157100 [12:31:37]FM_GetShiftState [12:31:37]SAM_PROTO_GetShiftState [12:31:37]wFMCommunicate request_size=4 [12:31:37]MH_SAM_APDU [12:31:37]CAPDU: 80 13 01 00 [12:31:37]Write to MH i2c: E2 08 00 88 05 80 13 01 00 00 00 00 00 0A [12:31:37]Write i2c OK [12:31:37]MH_I2C_Read... [12:31:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:37]Read from MH i2c: E2 [12:31:37]MH_I2C_Read... [12:31:37]Read from MH i2c: E2 0E 00 [12:31:37]MH_I2C_Read... [12:31:37]Read from MH i2c: E2 0E 00 88 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E7 [12:31:37]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [12:31:37]wFMCommunicate OK [12:31:37]SAM_PROTO_GetShiftState done [12:31:37]FM_GetShiftState done [12:31:37]opened in 1724113861 [12:31:37]opened+sec_in_day 1724200261 [12:31:37]quantity*price = 9500 [12:31:37]sum+1 = 9501 [12:31:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4650243871224 Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.65 Наличными: 0.00 Безнал.: 185.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 15 20.08.2024 12:31 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9135 ФПД: 259724810921528 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T123141&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9135&fm=259724810921528&tin=02508201610067®Number=0000000000108878&sum=18500 0 [12:31:38]StoreToDocumentArchive [12:31:38]shift 216 fd 9135 [12:31:38]save to /storage/0216/doc_00009135 [12:31:38]save last doc name /storage/0216/doc_00009135 to /storage/kkm_last_doc_name [12:31:38]save OK [12:31:38]Clear old archive folders... [12:31:38]ProcessDocumentItem done err = 0, tmpTLVsize=433 [12:31:38]tlvbuf is 003849F0 [12:31:38]SAM_PROTO_ClearQueue [12:31:38]wFMCommunicate request_size=4 [12:31:38]MH_SAM_APDU [12:31:38]CAPDU: 80 09 00 00 [12:31:38]Write to MH i2c: E2 08 00 95 05 80 09 00 00 00 00 00 00 0C [12:31:38]Write i2c OK [12:31:38]MH_I2C_Read... [12:31:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:38]Read from MH i2c: E2 [12:31:38]MH_I2C_Read... [12:31:38]Read from MH i2c: E2 03 00 [12:31:38]MH_I2C_Read... [12:31:38]Read from MH i2c: E2 03 00 95 05 00 90 00 0E [12:31:38]RAPDU: 90 00 [12:31:38]wFMCommunicate OK [12:31:38]SAM_PROTO_ClearQueue done [12:31:38]KKMCreateOFDPacket [12:31:38]OFDProtocolAddRootSTLVToBuf [12:31:38]FM_MakeSignedData [12:31:38]FM_MakeSignedData [12:31:38]SAM_PROTO_SignData [12:31:38]wFMCommunicate request_size=4 [12:31:38]MH_SAM_APDU [12:31:38]CAPDU: 80 0D 01 02 [12:31:38]Write to MH i2c: E2 08 00 96 05 80 0D 01 02 00 00 00 00 14 [12:31:38]Write i2c OK [12:31:38]MH_I2C_Read... [12:31:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:38]Read from MH i2c: E2 [12:31:38]MH_I2C_Read... [12:31:38]Read from MH i2c: E2 03 00 [12:31:38]MH_I2C_Read... [12:31:38]Read from MH i2c: E2 03 00 96 05 00 90 00 0F [12:31:38]RAPDU: 90 00 [12:31:38]wFMCommunicate OK [12:31:38]wFMCommunicate request_size=255 [12:31:38]MH_SAM_APDU [12:31:38]CAPDU: 80 0D 02 02 FA 03 00 B1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 [12:31:38]Write to MH i2c: E2 02 01 97 05 80 0D 02 02 FA 00 03 00 B1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 00 00 0A [12:31:38]Write i2c OK [12:31:38]MH_I2C_Read... [12:31:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:39]Read from MH i2c: E2 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 03 00 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 03 00 97 05 00 90 00 10 [12:31:39]RAPDU: 90 00 [12:31:39]wFMCommunicate OK [12:31:39]wFMCommunicate request_size=192 [12:31:39]MH_SAM_APDU [12:31:39]CAPDU: 80 0D 02 02 BB 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 AD 8C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AF 23 00 00 35 04 06 00 EC 37 E5 18 26 38 [12:31:39]Write to MH i2c: E2 C3 00 98 05 80 0D 02 02 BB 00 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 AD 8C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AF 23 00 00 35 04 06 00 EC 37 E5 18 26 38 00 00 E3 [12:31:39]Write i2c OK [12:31:39]MH_I2C_Read... [12:31:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:39]Read from MH i2c: E2 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 03 00 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 03 00 98 05 00 90 00 11 [12:31:39]RAPDU: 90 00 [12:31:39]wFMCommunicate OK [12:31:39]wFMCommunicate request_size=4 [12:31:39]MH_SAM_APDU [12:31:39]CAPDU: 80 0D 03 02 [12:31:39]Write to MH i2c: E2 08 00 99 05 80 0D 03 02 00 00 00 00 19 [12:31:39]Write i2c OK [12:31:39]MH_I2C_Read... [12:31:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:39]Read from MH i2c: E2 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 0B 00 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 0B 00 99 05 00 78 1A 6C 7D 83 45 17 15 90 00 89 [12:31:39]RAPDU: 78 1A 6C 7D 83 45 17 15 90 00 [12:31:39]wFMCommunicate OK [12:31:39]SAM_PROTO_SignData done [12:31:39]FM_MakeSignedData done [12:31:39]CreateOFDProtocolMessage [12:31:39]wFMCommunicate request_size=4 [12:31:39]MH_SAM_APDU [12:31:39]CAPDU: 80 11 00 00 [12:31:39]Write to MH i2c: E2 08 00 9A 05 80 11 00 00 00 00 00 00 19 [12:31:39]Write i2c OK [12:31:39]MH_I2C_Read... [12:31:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:39]Read from MH i2c: E2 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 17 00 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: E2 17 00 9A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 70 [12:31:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [12:31:39]wFMCommunicate OK [12:31:39]CreateOFDProtocolMessage done [12:31:39]OFDSenderStorePacket 9135 [12:31:39]StoreOFDPacket docnum=9135 [12:31:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 C5 01 00 00 8E 43 BD 01 3F F7 5A 03 01 00 03 00 B1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 AD 8C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AF 23 00 00 35 04 06 00 EC 37 E5 18 26 38 78 1A 6C 7D 83 45 17 15 [12:31:39]CheckFolder [12:31:39]dirname=/storage/ofd_packets [12:31:39]CheckFolder done [12:31:39]ProducePacketName [12:31:39]name=ofd_packets/00009135 [12:31:39]NVStorageSaveData ofd_packets/00009135 [12:31:39]File name is /storage/ofd_packets/00009135 [12:31:39]Write 483 bytes [12:31:39]NVStorageSaveData done [12:31:39]OFDSenderStorePacket done [12:31:39]KKMCreateOFDPacket done [12:31:39]NVStorageSaveData kkm_last_timestamp [12:31:39]File name is /storage/kkm_last_timestamp [12:31:39]Write 4 bytes [12:31:39]NVStorageSaveData done [12:31:39]ExternCall_PrintAddStr [12:31:39]wPrintStart [12:31:39]Write to MH i2c: 01 00 00 9B 05 A0 [12:31:39]Write i2c OK [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: 01 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: 01 07 00 [12:31:39]MH_I2C_Read... [12:31:39]Read from MH i2c: 01 07 00 9B 05 00 00 00 00 00 FF 0F B5 [12:31:39]RasterBufferAndPrint [12:31:39]line Счет N : (3)18121 [12:31:39]line ИНН: 02508201610067 [12:31:39]line Контрольно-Кассовый Чек [12:31:39]line ПРОДАЖА [12:31:39]line Товар: 4700003010070 [12:31:39]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [12:31:39]line 1.000 * 95.00 [12:31:39]line = 95.00 [12:31:39]line НДС 12% НСП 1% [12:31:39]line > о реализуемом товаре [12:31:39]line Товар: 4650243871224 [12:31:39]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [12:31:39]line 1.000 * 90.00 [12:31:39]line = 90.00 [12:31:39]line НДС 12% НСП 1% [12:31:39]line > о реализуемом товаре [12:31:39]line ИТОГО: 185.00 [12:31:39]line НСП 1% : 1.64 [12:31:39]line НДС 12% : 19.65 [12:31:39]line Наличными: 0.00 [12:31:39]line Безнал.: 185.00 [12:31:39]line Место: АЗС № 94 [12:31:39]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [12:31:39]line СНО: Общий режим [12:31:39]line Чек 15 20.08.2024 12:31 [12:31:39]line Смена: 216 ФФД: 1.0 [12:31:39]line ЗНМ: 0300000128 [12:31:39]line РНМ: 0000000000108878 [12:31:39]line Версия ККМ: 001 [12:31:39]line Платежная система: O! деньги [12:31:39]line ФМ: 0000000000965619 [12:31:39]line ФД: 9135 [12:31:39]line ФПД: 259724810921528 [12:31:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T123141&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9135&fm=259724810921528&tin=02508201610067®Number=0000000000108878&sum=18500 [12:31:39]line 0 [12:31:39]written 0, free lines is 4095 [12:31:39]OFD Sender: Processing packet 9135 [packets to send 4, broken 3] [12:31:39]ProducePacketName [12:31:39]name=ofd_packets/00009135 [12:31:39]OFD Sender: To server: pG, [12:31:39]CommunicateWithHost lk.salyk.kg:30040 [12:31:39]ConnectInit lk.salyk.kg [12:31:40]Connected sock=10 [12:31:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 C5 01 00 00 8E 43 BD 01 3F F7 5A 03 01 00 03 00 B1 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 44 48 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 AD 8C C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AF 23 00 00 35 04 06 00 EC 37 E5 18 26 38 78 1A 6C 7D 83 45 17 15 [12:31:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 7A 7B 47 00 5D C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 AF 23 00 00 F4 03 04 00 78 34 C4 66 B6 04 01 00 00 2D 23 AE 49 FD 65 FE 67 [12:31:40]CommunicateWithHost err = 0 [12:31:40]CheckOFDResponse [12:31:40]1017 (14) - 77093643461234 [12:31:40]1041 (16) - 0000000000965619 [12:31:40]1040 (4) - 9135 [12:31:40]1012 (4) - 20.08.2024 06:15 [12:31:40]1206 (1) - 0 [12:31:40]OFD Sender: Remove packet 9135 [12:31:40]ProducePacketName [12:31:40]name=ofd_packets/00009135 [12:31:40]NVStorageDeleteData [12:31:40]Write to MH i2c: 01 00 00 CC 05 D1 [12:31:40]Write i2c OK [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: 01 [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: 01 07 00 [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: 01 07 00 CC 05 00 00 00 00 00 72 0C 56 [12:31:40]RasterBufferAndPrint [12:31:40]line [12:31:40]line [12:31:40]line [12:31:40]line [12:31:40]line [12:31:40]written 0, free lines is 3192 [12:31:40]MH_Cut [12:31:40]Write to MH i2c: D1 01 00 D3 05 01 AA [12:31:40]Write i2c OK [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: D1 [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: D1 01 00 [12:31:40]MH_I2C_Read... [12:31:40]Read from MH i2c: D1 01 00 D3 05 00 A9 [12:31:40]Write to MH i2c: 01 00 00 D4 05 D9 [12:31:40]Write i2c OK [12:31:40]MH_I2C_Read... [12:31:40]OFD Sender: No OFD packet to send [12:31:41]*** Cut start [12:31:41]*** Partial cut [12:31:41]*** CUTSNS_PIN = 1 [12:31:41]*** CUTSNS_PIN = 0 [12:31:41]*** Brake cut motor [12:31:41]Read from MH i2c: 01 [12:31:41]MH_I2C_Read... [12:31:41]*** Stop cut motor [12:31:41]*** Cut end [12:31:41]Read from MH i2c: 01 07 00 [12:31:41]MH_I2C_Read... [12:31:41]Read from MH i2c: 01 07 00 D4 05 00 00 00 00 00 FF 0F EE [12:31:41]process_action close_receipt done [12:31:41]requested_data is exist [12:31:41]produce_requested_data [12:31:41]requested_item fm.sn is exist - process it [12:31:41]wFMCommunicate request_size=4 [12:31:41]MH_SAM_APDU [12:31:41]CAPDU: 80 11 00 00 [12:31:41]Write to MH i2c: E2 08 00 D5 05 80 11 00 00 00 00 00 00 54 [12:31:41]Write i2c OK [12:31:41]MH_I2C_Read... [12:31:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:41]Read from MH i2c: E2 [12:31:41]MH_I2C_Read... [12:31:41]Read from MH i2c: E2 17 00 [12:31:41]MH_I2C_Read... [12:31:41]Read from MH i2c: E2 17 00 D5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 AB [12:31:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [12:31:41]wFMCommunicate OK [12:31:41]requested_item fd.num is exist - process it [12:31:41]SAM_PROTO_GetFieldsCounters [12:31:41]wFMCommunicate request_size=4 [12:31:41]MH_SAM_APDU [12:31:41]CAPDU: 80 13 00 00 [12:31:41]Write to MH i2c: E2 08 00 D6 05 80 13 00 00 00 00 00 00 57 [12:31:41]Write i2c OK [12:31:41]MH_I2C_Read... [12:31:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:42]Read from MH i2c: E2 [12:31:42]MH_I2C_Read... [12:31:42]Read from MH i2c: E2 62 00 [12:31:42]MH_I2C_Read... [12:31:42]Read from MH i2c: E2 62 00 D6 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AF 23 00 00 0E 04 04 00 D8 00 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 5A [12:31:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 AF 23 00 00 0E 04 04 00 D8 00 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 [12:31:42]wFMCommunicate OK [12:31:42]SAM_PROTO_GetFieldsCounters done [12:31:42]requested_item shift.num is exist - process it [12:31:42]requested_item shift.opened is exist - process it [12:31:42]req_shift_opened [12:31:42]FM_GetShiftState [12:31:42]SAM_PROTO_GetShiftState [12:31:42]wFMCommunicate request_size=4 [12:31:42]MH_SAM_APDU [12:31:42]CAPDU: 80 13 01 00 [12:31:42]Write to MH i2c: E2 08 00 D7 05 80 13 01 00 00 00 00 00 59 [12:31:42]Write i2c OK [12:31:42]MH_I2C_Read... [12:31:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:42]Read from MH i2c: E2 [12:31:42]MH_I2C_Read... [12:31:42]Read from MH i2c: E2 0E 00 [12:31:42]MH_I2C_Read... [12:31:42]Read from MH i2c: E2 0E 00 D7 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 36 [12:31:42]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [12:31:42]wFMCommunicate OK [12:31:42]SAM_PROTO_GetShiftState done [12:31:42]FM_GetShiftState done [12:31:42]req_shift_opened done [12:31:42]requested_item shift.open_date is exist - process it [12:31:42]req_shift_open_date [12:31:42]req_shift_open_date done [12:31:42]produce_requested_data done [12:31:42]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9135,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [12:31:42]process_action_free close_receipt [12:31:42]json_value_free [12:31:42]json_value_free done [12:31:42]process_json_proto returns [12:31:42]Send response to host [12:31:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9135,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [12:31:42]free response buf [12:31:42]execute_script done [12:31:42]execute_script returns [12:31:42]free content buf [12:31:42]Sock 9.Close socket [12:31:42]Sock 9.Thread stoped [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:38:56]accept exits with 7 [12:38:56]New connection [12:38:56]New thread 3066686820 created [12:38:56]Thread 3066830180 joined [12:38:56]Waiting for new connection... [12:38:56] Sock 7.Parse request [12:38:56]Sock 7.Check first char [12:38:56]Sock 7.First char is OK [12:38:56]request: POST /json_proto HTTP/1.0 [12:38:56]Method: POST [12:38:56]URL: /json_proto [12:38:56]Method is POST - this is cgi request [12:38:56]url: /json_proto [12:38:56]query_string will be loaded in cgi processing [12:38:56]execute_cgi json_proto POST (null) [12:38:56]execute_cgi path=json_proto method=POST [12:38:56]POST find Content-Length [12:38:56]Host: 172.17.55.134:8080 [12:38:56]Content-Length: 612 [12:38:56]Content-Type: application/json [12:38:56] [12:38:56]POST finish read [12:38:56]Found Content-Length = 612 [12:38:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18123", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:56]execute_script... [12:38: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)18123", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:56]POST & json_proto [12:38:56]process_json_proto [12:38:56]json parsed OK: [12:38:56]protocol is kg_v1.0 [12:38:56]action value=close_receipt [12:38:56]process_action close_receipt [12:38:56]cmd_close_receipt [12:38:56]MH_GetDate [12:38:56]Write to MH i2c: F0 00 00 D8 05 CC [12:38:56]Write i2c OK [12:38:56]MH_I2C_Read... [12:38:56]Read from MH i2c: F0 [12:38:56]MH_I2C_Read... [12:38:56]Read from MH i2c: F0 09 00 [12:38:56]MH_I2C_Read... [12:38:56]Read from MH i2c: F0 09 00 D8 05 00 64 8E C4 66 13 35 D9 65 77 [12:38:56]GetLastDocTimeStamp 1724157101 [12:38:56]current date 1724157540 [12:38:56]FM_GetShiftState [12:38:56]SAM_PROTO_GetShiftState [12:38:56]wFMCommunicate request_size=4 [12:38:56]MH_SAM_APDU [12:38:56]CAPDU: 80 13 01 00 [12:38:56]Write to MH i2c: E2 08 00 D9 05 80 13 01 00 00 00 00 00 5B [12:38:56]Write i2c OK [12:38:56]MH_I2C_Read... [12:38:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:56]Read from MH i2c: E2 [12:38:56]MH_I2C_Read... [12:38:56]Read from MH i2c: E2 0E 00 [12:38:56]MH_I2C_Read... [12:38:56]Read from MH i2c: E2 0E 00 D9 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 38 [12:38:56]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [12:38:56]wFMCommunicate OK [12:38:56]SAM_PROTO_GetShiftState done [12:38:56]FM_GetShiftState done [12:38:56]opened in 1724113861 [12:38:56]opened+sec_in_day 1724200261 [12:38:56]quantity*price = 8000 [12:38:56]sum+1 = 8001 [12:38:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 16 20.08.2024 12:39 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9136 ФПД: 174093655923459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T123900&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9136&fm=174093655923459&tin=02508201610067®Number=0000000000108878&sum=8000 0 [12:38:57]StoreToDocumentArchive [12:38:57]shift 216 fd 9136 [12:38:57]save to /storage/0216/doc_00009136 [12:38:57]save last doc name /storage/0216/doc_00009136 to /storage/kkm_last_doc_name [12:38:57]save OK [12:38:57]Clear old archive folders... [12:38:57]ProcessDocumentItem done err = 0, tmpTLVsize=268 [12:38:57]tlvbuf is 00384D80 [12:38:57]SAM_PROTO_ClearQueue [12:38:57]wFMCommunicate request_size=4 [12:38:57]MH_SAM_APDU [12:38:57]CAPDU: 80 09 00 00 [12:38:57]Write to MH i2c: E2 08 00 E6 05 80 09 00 00 00 00 00 00 5D [12:38:57]Write i2c OK [12:38:57]MH_I2C_Read... [12:38:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:38:57]Read from MH i2c: E2 [12:38:57]MH_I2C_Read... [12:38:57]Read from MH i2c: E2 03 00 [12:38:57]MH_I2C_Read... [12:38:57]Read from MH i2c: E2 03 00 E6 05 00 90 00 5F [12:38:57]RAPDU: 90 00 [12:38:57]wFMCommunicate OK [12:38:57]SAM_PROTO_ClearQueue done [12:38:57]KKMCreateOFDPacket [12:38:57]OFDProtocolAddRootSTLVToBuf [12:38:57]FM_MakeSignedData [12:38:57]FM_MakeSignedData [12:38:57]SAM_PROTO_SignData [12:38:57]wFMCommunicate request_size=4 [12:38:57]MH_SAM_APDU [12:38:57]CAPDU: 80 0D 01 02 [12:38:57]Write to MH i2c: E2 08 00 E7 05 80 0D 01 02 00 00 00 00 65 [12:38:57]Write i2c OK [12:38:57]MH_I2C_Read... [12:38:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:38:57]Read from MH i2c: E2 [12:38:57]MH_I2C_Read... [12:38:57]Read from MH i2c: E2 03 00 [12:38:57]MH_I2C_Read... [12:38:57]Read from MH i2c: E2 03 00 E7 05 00 90 00 60 [12:38:57]RAPDU: 90 00 [12:38:57]wFMCommunicate OK [12:38:57]wFMCommunicate request_size=255 [12:38:57]MH_SAM_APDU [12:38:57]CAPDU: 80 0D 02 02 FA 03 00 0C 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 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 64 8E C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [12:38:57]Write to MH i2c: E2 02 01 E8 05 80 0D 02 02 FA 00 03 00 0C 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 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 64 8E C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 83 [12:38:57]Write i2c OK [12:38:57]MH_I2C_Read... [12:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:58]Read from MH i2c: E2 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 03 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 03 00 E8 05 00 90 00 61 [12:38:58]RAPDU: 90 00 [12:38:58]wFMCommunicate OK [12:38:58]wFMCommunicate request_size=27 [12:38:58]MH_SAM_APDU [12:38:58]CAPDU: 80 0D 02 02 16 35 36 31 39 10 04 04 00 B0 23 00 00 35 04 06 00 9E 56 56 84 DB 03 [12:38:58]Write to MH i2c: E2 1E 00 E9 05 80 0D 02 02 16 00 35 36 31 39 10 04 04 00 B0 23 00 00 35 04 06 00 9E 56 56 84 DB 03 00 00 3F [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:58]Read from MH i2c: E2 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 03 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 03 00 E9 05 00 90 00 62 [12:38:58]RAPDU: 90 00 [12:38:58]wFMCommunicate OK [12:38:58]wFMCommunicate request_size=4 [12:38:58]MH_SAM_APDU [12:38:58]CAPDU: 80 0D 03 02 [12:38:58]Write to MH i2c: E2 08 00 EA 05 80 0D 03 02 00 00 00 00 6A [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:38:58]Read from MH i2c: E2 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 0B 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 0B 00 EA 05 00 6A 42 E8 55 68 46 60 7F 90 00 E1 [12:38:58]RAPDU: 6A 42 E8 55 68 46 60 7F 90 00 [12:38:58]wFMCommunicate OK [12:38:58]SAM_PROTO_SignData done [12:38:58]FM_MakeSignedData done [12:38:58]CreateOFDProtocolMessage [12:38:58]wFMCommunicate request_size=4 [12:38:58]MH_SAM_APDU [12:38:58]CAPDU: 80 11 00 00 [12:38:58]Write to MH i2c: E2 08 00 EB 05 80 11 00 00 00 00 00 00 6A [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:58]Read from MH i2c: E2 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 17 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: E2 17 00 EB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 C1 [12:38:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [12:38:58]wFMCommunicate OK [12:38:58]CreateOFDProtocolMessage done [12:38:58]OFDSenderStorePacket 9136 [12:38:58]StoreOFDPacket docnum=9136 [12:38:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 20 01 00 00 8F 97 18 01 9C 97 5A 03 01 00 03 00 0C 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 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 64 8E C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B0 23 00 00 35 04 06 00 9E 56 56 84 DB 03 6A 42 E8 55 68 46 60 7F [12:38:58]CheckFolder [12:38:58]dirname=/storage/ofd_packets [12:38:58]CheckFolder done [12:38:58]ProducePacketName [12:38:58]name=ofd_packets/00009136 [12:38:58]NVStorageSaveData ofd_packets/00009136 [12:38:58]File name is /storage/ofd_packets/00009136 [12:38:58]Write 318 bytes [12:38:58]NVStorageSaveData done [12:38:58]OFDSenderStorePacket done [12:38:58]KKMCreateOFDPacket done [12:38:58]NVStorageSaveData kkm_last_timestamp [12:38:58]File name is /storage/kkm_last_timestamp [12:38:58]Write 4 bytes [12:38:58]NVStorageSaveData done [12:38:58]ExternCall_PrintAddStr [12:38:58]wPrintStart [12:38:58]Write to MH i2c: 01 00 00 EC 05 F1 [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 07 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 07 00 EC 05 00 00 00 00 00 FF 0F 06 [12:38:58]RasterBufferAndPrint [12:38:58]line Счет N : (3)18123 [12:38:58]line ИНН: 02508201610067 [12:38:58]line Контрольно-Кассовый Чек [12:38:58]line ПРОДАЖА [12:38:58]line Товар: 4870001570057 [12:38:58]line Напиток Pepsi 0,5л [12:38:58]line 1.000 * 80.00 [12:38:58]line = 80.00 [12:38:58]line НДС 12% НСП 1% [12:38:58]line > о реализуемом товаре [12:38:58]line ИТОГО: 80.00 [12:38:58]line НСП 1% : 0.71 [12:38:58]line НДС 12% : 8.50 [12:38:58]line Наличными: 80.00 [12:38:58]line Безнал.: 0.00 [12:38:58]line Место: АЗС № 94 [12:38:58]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [12:38:58]line СНО: Общий режим [12:38:58]line Чек 16 20.08.2024 12:39 [12:38:58]line Смена: 216 ФФД: 1.0 [12:38:58]line ЗНМ: 0300000128 [12:38:58]line РНМ: 0000000000108878 [12:38:58]line Версия ККМ: 001 [12:38:58]line ФМ: 0000000000965619 [12:38:58]line ФД: 9136 [12:38:58]line ФПД: 174093655923459 [12:38:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T123900&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9136&fm=174093655923459&tin=02508201610067®Number=0000000000108878&sum=8000 [12:38:58]line 0 [12:38:58]written 0, free lines is 4095 [12:38:58]OFD Sender: Processing packet 9136 [packets to send 4, broken 3] [12:38:58]ProducePacketName [12:38:58]name=ofd_packets/00009136 [12:38:58]OFD Sender: To server: pG, [12:38:58]CommunicateWithHost lk.salyk.kg:30040 [12:38:58]ConnectInit lk.salyk.kg [12:38:58]Connected sock=10 [12:38: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 36 31 39 20 01 00 00 8F 97 18 01 9C 97 5A 03 01 00 03 00 0C 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 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 64 8E C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B0 23 00 00 35 04 06 00 9E 56 56 84 DB 03 6A 42 E8 55 68 46 60 7F [12:38:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 2A BD 47 00 83 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 36 31 39 10 04 04 00 B0 23 00 00 F4 03 04 00 2E 36 C4 66 B6 04 01 00 00 31 A2 D7 DA 41 9C CE 3F [12:38:58]CommunicateWithHost err = 0 [12:38:58]CheckOFDResponse [12:38:58]1017 (14) - 77093643461234 [12:38:58]1041 (16) - 0000000000965619 [12:38:58]1040 (4) - 9136 [12:38:58]1012 (4) - 20.08.2024 06:22 [12:38:58]1206 (1) - 0 [12:38:58]OFD Sender: Remove packet 9136 [12:38:58]ProducePacketName [12:38:58]name=ofd_packets/00009136 [12:38:58]NVStorageDeleteData [12:38:58]Write to MH i2c: 01 00 00 13 06 19 [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 07 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: 01 07 00 13 06 00 00 00 00 00 0B 0D 38 [12:38:58]RasterBufferAndPrint [12:38:58]line [12:38:58]line [12:38:58]line [12:38:58]line [12:38:58]line [12:38:58]written 0, free lines is 3345 [12:38:58]MH_Cut [12:38:58]Write to MH i2c: D1 01 00 1A 06 01 F2 [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: D1 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: D1 01 00 [12:38:58]MH_I2C_Read... [12:38:58]Read from MH i2c: D1 01 00 1A 06 00 F1 [12:38:58]Write to MH i2c: 01 00 00 1B 06 21 [12:38:58]Write i2c OK [12:38:58]MH_I2C_Read... [12:38:59]OFD Sender: No OFD packet to send [12:38:59]*** Cut start [12:38:59]*** Partial cut [12:38:59]*** CUTSNS_PIN = 1 [12:38:59]*** CUTSNS_PIN = 0 [12:38:59]*** Brake cut motor [12:39:00]Read from MH i2c: 01 [12:39:00]MH_I2C_Read... [12:39:00]*** Stop cut motor [12:39:00]*** Cut end [12:39:00]Read from MH i2c: 01 07 00 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: 01 07 00 1B 06 00 00 00 00 00 FF 0F 36 [12:39:00]process_action close_receipt done [12:39:00]requested_data is exist [12:39:00]produce_requested_data [12:39:00]requested_item fm.sn is exist - process it [12:39:00]wFMCommunicate request_size=4 [12:39:00]MH_SAM_APDU [12:39:00]CAPDU: 80 11 00 00 [12:39:00]Write to MH i2c: E2 08 00 1C 06 80 11 00 00 00 00 00 00 9C [12:39:00]Write i2c OK [12:39:00]MH_I2C_Read... [12:39:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:00]Read from MH i2c: E2 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 17 00 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 17 00 1C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F3 [12:39:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [12:39:00]wFMCommunicate OK [12:39:00]requested_item fd.num is exist - process it [12:39:00]SAM_PROTO_GetFieldsCounters [12:39:00]wFMCommunicate request_size=4 [12:39:00]MH_SAM_APDU [12:39:00]CAPDU: 80 13 00 00 [12:39:00]Write to MH i2c: E2 08 00 1D 06 80 13 00 00 00 00 00 00 9F [12:39:00]Write i2c OK [12:39:00]MH_I2C_Read... [12:39:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:00]Read from MH i2c: E2 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 62 00 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 62 00 1D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B0 23 00 00 0E 04 04 00 D8 00 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 A6 [12:39:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B0 23 00 00 0E 04 04 00 D8 00 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 [12:39:00]wFMCommunicate OK [12:39:00]SAM_PROTO_GetFieldsCounters done [12:39:00]requested_item shift.num is exist - process it [12:39:00]requested_item shift.opened is exist - process it [12:39:00]req_shift_opened [12:39:00]FM_GetShiftState [12:39:00]SAM_PROTO_GetShiftState [12:39:00]wFMCommunicate request_size=4 [12:39:00]MH_SAM_APDU [12:39:00]CAPDU: 80 13 01 00 [12:39:00]Write to MH i2c: E2 08 00 1E 06 80 13 01 00 00 00 00 00 A1 [12:39:00]Write i2c OK [12:39:00]MH_I2C_Read... [12:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:00]Read from MH i2c: E2 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 0E 00 [12:39:00]MH_I2C_Read... [12:39:00]Read from MH i2c: E2 0E 00 1E 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 7E [12:39:00]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [12:39:00]wFMCommunicate OK [12:39:00]SAM_PROTO_GetShiftState done [12:39:00]FM_GetShiftState done [12:39:00]req_shift_opened done [12:39:00]requested_item shift.open_date is exist - process it [12:39:00]req_shift_open_date [12:39:00]req_shift_open_date done [12:39:00]produce_requested_data done [12:39:00]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9136,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [12:39:00]process_action_free close_receipt [12:39:00]json_value_free [12:39:00]json_value_free done [12:39:00]process_json_proto returns [12:39:00]Send response to host [12:39:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9136,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [12:39:00]free response buf [12:39:00]execute_script done [12:39:00]execute_script returns [12:39:00]free content buf [12:39:00]Sock 7.Close socket [12:39:00]Sock 7.Thread stoped [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]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:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:25]OFD Sender: No OFD packet to send [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:06]OFD Sender: No OFD packet to send [13:17:11]OFD Sender: No OFD packet to send [13:17:16]OFD Sender: No OFD packet to send [13:17:21]OFD Sender: No OFD packet to send [13:17:26]OFD Sender: No OFD packet to send [13:17:31]OFD Sender: No OFD packet to send [13:17:36]OFD Sender: No OFD packet to send [13:17:41]OFD Sender: No OFD packet to send [13:17:46]OFD Sender: No OFD packet to send [13:17:51]OFD Sender: No OFD packet to send [13:17:56]OFD Sender: No OFD packet to send [13:18:01]OFD Sender: No OFD packet to send [13:18:06]OFD Sender: No OFD packet to send [13:18:11]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:21]OFD Sender: No OFD packet to send [13:18:26]OFD Sender: No OFD packet to send [13:18:31]OFD Sender: No OFD packet to send [13:18:36]OFD Sender: No OFD packet to send [13:18:41]OFD Sender: No OFD packet to send [13:18:46]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [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:06]accept exits with 9 [13:21:06]New connection [13:21:06]New thread 3066830180 created [13:21:06]Thread 3066686820 joined [13:21:06]Waiting for new connection... [13:21:06] Sock 9.Parse request [13:21:06]Sock 9.Check first char [13:21:06]Sock 9.First char is OK [13:21:06]request: POST /json_proto HTTP/1.0 [13:21:06]Method: POST [13:21:06]URL: /json_proto [13:21:06]Method is POST - this is cgi request [13:21:06]url: /json_proto [13:21:06]query_string will be loaded in cgi processing [13:21:06]execute_cgi json_proto POST (null) [13:21:06]execute_cgi path=json_proto method=POST [13:21:06]POST find Content-Length [13:21:06]Host: 172.17.55.134:8080 [13:21:06]Content-Length: 848 [13:21:06]Content-Type: application/json [13:21:06] [13:21:06]POST finish read [13:21:06]Found Content-Length = 848 [13:21:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18124", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:21:06]execute_script... [13:21: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)18124", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:21:06]POST & json_proto [13:21:06]process_json_proto [13:21:06]json parsed OK: [13:21:06]protocol is kg_v1.0 [13:21:06]action value=close_receipt [13:21:06]process_action close_receipt [13:21:06]cmd_close_receipt [13:21:06]MH_GetDate [13:21:06]Write to MH i2c: F0 00 00 1F 06 14 [13:21:06]Write i2c OK [13:21:06]MH_I2C_Read... [13:21:06]Read from MH i2c: F0 [13:21:06]MH_I2C_Read... [13:21:06]Read from MH i2c: F0 09 00 [13:21:06]MH_I2C_Read... [13:21:06]Read from MH i2c: F0 09 00 1F 06 00 46 98 C4 66 13 35 D9 65 AB [13:21:06]GetLastDocTimeStamp 1724157540 [13:21:06]current date 1724160070 [13:21:06]FM_GetShiftState [13:21:06]SAM_PROTO_GetShiftState [13:21:06]wFMCommunicate request_size=4 [13:21:06]MH_SAM_APDU [13:21:06]CAPDU: 80 13 01 00 [13:21:06]Write to MH i2c: E2 08 00 20 06 80 13 01 00 00 00 00 00 A3 [13:21:06]Write i2c OK [13:21:06]MH_I2C_Read... [13:21:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:21:06]Read from MH i2c: E2 [13:21:06]MH_I2C_Read... [13:21:06]Read from MH i2c: E2 0E 00 [13:21:06]MH_I2C_Read... [13:21:06]Read from MH i2c: E2 0E 00 20 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 80 [13:21:06]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:21:06]wFMCommunicate OK [13:21:06]SAM_PROTO_GetShiftState done [13:21:06]FM_GetShiftState done [13:21:06]opened in 1724113861 [13:21:06]opened+sec_in_day 1724200261 [13:21:06]quantity*price = 9500 [13:21:06]sum+1 = 9501 [13:21:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 17 20.08.2024 13:21 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9137 ФПД: 252560842256074 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132110&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9137&fm=252560842256074&tin=02508201610067®Number=0000000000108878&sum=9500 0 [13:21:07]StoreToDocumentArchive [13:21:07]shift 216 fd 9137 [13:21:07]save to /storage/0216/doc_00009137 [13:21:07]save last doc name /storage/0216/doc_00009137 to /storage/kkm_last_doc_name [13:21:07]save OK [13:21:07]Clear old archive folders... [13:21:07]ProcessDocumentItem done err = 0, tmpTLVsize=299 [13:21:07]tlvbuf is 003858E0 [13:21:07]SAM_PROTO_ClearQueue [13:21:07]wFMCommunicate request_size=4 [13:21:07]MH_SAM_APDU [13:21:07]CAPDU: 80 09 00 00 [13:21:07]Write to MH i2c: E2 08 00 2D 06 80 09 00 00 00 00 00 00 A5 [13:21:07]Write i2c OK [13:21:07]MH_I2C_Read... [13:21:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:21:07]Read from MH i2c: E2 [13:21:07]MH_I2C_Read... [13:21:07]Read from MH i2c: E2 03 00 [13:21:07]MH_I2C_Read... [13:21:07]Read from MH i2c: E2 03 00 2D 06 00 90 00 A7 [13:21:07]RAPDU: 90 00 [13:21:07]wFMCommunicate OK [13:21:07]SAM_PROTO_ClearQueue done [13:21:07]KKMCreateOFDPacket [13:21:07]OFDProtocolAddRootSTLVToBuf [13:21:07]FM_MakeSignedData [13:21:07]FM_MakeSignedData [13:21:07]SAM_PROTO_SignData [13:21:07]wFMCommunicate request_size=4 [13:21:07]MH_SAM_APDU [13:21:07]CAPDU: 80 0D 01 02 [13:21:07]Write to MH i2c: E2 08 00 2E 06 80 0D 01 02 00 00 00 00 AD [13:21:07]Write i2c OK [13:21:07]MH_I2C_Read... [13:21:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:21:07]Read from MH i2c: E2 [13:21:07]MH_I2C_Read... [13:21:07]Read from MH i2c: E2 03 00 [13:21:07]MH_I2C_Read... [13:21:07]Read from MH i2c: E2 03 00 2E 06 00 90 00 A8 [13:21:07]RAPDU: 90 00 [13:21:07]wFMCommunicate OK [13:21:07]wFMCommunicate request_size=255 [13:21:07]MH_SAM_APDU [13:21:07]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 46 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [13:21:07]Write to MH i2c: E2 02 01 2F 06 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 46 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 45 [13:21:07]Write i2c OK [13:21:07]MH_I2C_Read... [13:21:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:21:08]Read from MH i2c: E2 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 03 00 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 03 00 2F 06 00 90 00 A9 [13:21:08]RAPDU: 90 00 [13:21:08]wFMCommunicate OK [13:21:08]wFMCommunicate request_size=58 [13:21:08]MH_SAM_APDU [13:21:08]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B1 23 00 00 35 04 06 00 E5 B3 E7 49 6E CA [13:21:08]Write to MH i2c: E2 3D 00 30 06 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B1 23 00 00 35 04 06 00 E5 B3 E7 49 6E CA 00 00 7E [13:21:08]Write i2c OK [13:21:08]MH_I2C_Read... [13:21:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:21:08]Read from MH i2c: E2 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 03 00 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 03 00 30 06 00 90 00 AA [13:21:08]RAPDU: 90 00 [13:21:08]wFMCommunicate OK [13:21:08]wFMCommunicate request_size=4 [13:21:08]MH_SAM_APDU [13:21:08]CAPDU: 80 0D 03 02 [13:21:08]Write to MH i2c: E2 08 00 31 06 80 0D 03 02 00 00 00 00 B2 [13:21:08]Write i2c OK [13:21:08]MH_I2C_Read... [13:21:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:21:08]Read from MH i2c: E2 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 0B 00 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 0B 00 31 06 00 F3 6E F7 1D D2 E2 E2 9C 90 00 5A [13:21:08]RAPDU: F3 6E F7 1D D2 E2 E2 9C 90 00 [13:21:08]wFMCommunicate OK [13:21:08]SAM_PROTO_SignData done [13:21:08]FM_MakeSignedData done [13:21:08]CreateOFDProtocolMessage [13:21:08]wFMCommunicate request_size=4 [13:21:08]MH_SAM_APDU [13:21:08]CAPDU: 80 11 00 00 [13:21:08]Write to MH i2c: E2 08 00 32 06 80 11 00 00 00 00 00 00 B2 [13:21:08]Write i2c OK [13:21:08]MH_I2C_Read... [13:21:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:08]Read from MH i2c: E2 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 17 00 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: E2 17 00 32 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 09 [13:21:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:21:08]wFMCommunicate OK [13:21:08]CreateOFDProtocolMessage done [13:21:08]OFDSenderStorePacket 9137 [13:21:08]StoreOFDPacket docnum=9137 [13:21:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3F 01 00 00 AE E2 37 01 7C 19 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 46 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B1 23 00 00 35 04 06 00 E5 B3 E7 49 6E CA F3 6E F7 1D D2 E2 E2 9C [13:21:08]CheckFolder [13:21:08]dirname=/storage/ofd_packets [13:21:08]CheckFolder done [13:21:08]ProducePacketName [13:21:08]name=ofd_packets/00009137 [13:21:08]NVStorageSaveData ofd_packets/00009137 [13:21:08]File name is /storage/ofd_packets/00009137 [13:21:08]Write 349 bytes [13:21:08]NVStorageSaveData done [13:21:08]OFDSenderStorePacket done [13:21:08]KKMCreateOFDPacket done [13:21:08]NVStorageSaveData kkm_last_timestamp [13:21:08]File name is /storage/kkm_last_timestamp [13:21:08]Write 4 bytes [13:21:08]NVStorageSaveData done [13:21:08]ExternCall_PrintAddStr [13:21:08]wPrintStart [13:21:08]Write to MH i2c: 01 00 00 33 06 39 [13:21:08]Write i2c OK [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: 01 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: 01 07 00 [13:21:08]MH_I2C_Read... [13:21:08]Read from MH i2c: 01 07 00 33 06 00 00 00 00 00 FF 0F 4E [13:21:08]RasterBufferAndPrint [13:21:08]line Счет N : (3)18124 [13:21:08]line ИНН: 02508201610067 [13:21:08]line Контрольно-Кассовый Чек [13:21:08]line ПРОДАЖА [13:21:08]line Товар: 4700003010070 [13:21:08]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [13:21:08]line 1.000 * 95.00 [13:21:08]line = 95.00 [13:21:08]line НДС 12% НСП 1% [13:21:08]line > о реализуемом товаре [13:21:08]line ИТОГО: 95.00 [13:21:08]line НСП 1% : 0.84 [13:21:08]line НДС 12% : 10.09 [13:21:08]line Наличными: 0.00 [13:21:08]line Безнал.: 95.00 [13:21:08]line Место: АЗС № 94 [13:21:08]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [13:21:08]line СНО: Общий режим [13:21:08]line Чек 17 20.08.2024 13:21 [13:21:08]line Смена: 216 ФФД: 1.0 [13:21:08]line ЗНМ: 0300000128 [13:21:08]line РНМ: 0000000000108878 [13:21:08]line Версия ККМ: 001 [13:21:08]line Платежная система: O! деньги [13:21:08]line ФМ: 0000000000965619 [13:21:08]line ФД: 9137 [13:21:08]line ФПД: 252560842256074 [13:21:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132110&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9137&fm=252560842256074&tin=02508201610067®Number=0000000000108878&sum=9500 [13:21:08]line 0 [13:21:08]OFD Sender: Processing packet 9137 [packets to send 4, broken 3] [13:21:08]ProducePacketName [13:21:08]name=ofd_packets/00009137 [13:21:08]OFD Sender: To server: pG, [13:21:08]CommunicateWithHost lk.salyk.kg:30040 [13:21:08]ConnectInit lk.salyk.kg [13:21:08]written 0, free lines is 4095 [13:21:08]Connected sock=11 [13:21:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3F 01 00 00 AE E2 37 01 7C 19 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 46 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B1 23 00 00 35 04 06 00 E5 B3 E7 49 6E CA F3 6E F7 1D D2 E2 E2 9C [13:21:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 AD CF 47 00 DA 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B1 23 00 00 F4 03 04 00 11 40 C4 66 B6 04 01 00 00 74 6E F2 D0 82 CA 0D 25 [13:21:09]CommunicateWithHost err = 0 [13:21:09]CheckOFDResponse [13:21:09]1017 (14) - 77093643461234 [13:21:09]1041 (16) - 0000000000965619 [13:21:09]1040 (4) - 9137 [13:21:09]1012 (4) - 20.08.2024 07:04 [13:21:09]1206 (1) - 0 [13:21:09]OFD Sender: Remove packet 9137 [13:21:09]ProducePacketName [13:21:09]name=ofd_packets/00009137 [13:21:09]NVStorageDeleteData [13:21:09]Write to MH i2c: 01 00 00 5D 06 63 [13:21:09]Write i2c OK [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: 01 [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: 01 07 00 [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: 01 07 00 5D 06 00 00 00 00 00 E0 0C 56 [13:21:09]RasterBufferAndPrint [13:21:09]line [13:21:09]line [13:21:09]line [13:21:09]line [13:21:09]line [13:21:09]written 0, free lines is 3302 [13:21:09]MH_Cut [13:21:09]Write to MH i2c: D1 01 00 64 06 01 3C [13:21:09]Write i2c OK [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: D1 [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: D1 01 00 [13:21:09]MH_I2C_Read... [13:21:09]Read from MH i2c: D1 01 00 64 06 00 3B [13:21:09]Write to MH i2c: 01 00 00 65 06 6B [13:21:09]Write i2c OK [13:21:09]MH_I2C_Read... [13:21:09]OFD Sender: No OFD packet to send [13:21:09]*** Cut start [13:21:09]*** Partial cut [13:21:09]*** CUTSNS_PIN = 1 [13:21:10]*** CUTSNS_PIN = 0 [13:21:10]*** Brake cut motor [13:21:10]Read from MH i2c: 01 [13:21:10]MH_I2C_Read... [13:21:10]*** Stop cut motor [13:21:10]*** Cut end [13:21:10]Read from MH i2c: 01 07 00 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: 01 07 00 65 06 00 00 00 00 00 FF 0F 80 [13:21:10]process_action close_receipt done [13:21:10]requested_data is exist [13:21:10]produce_requested_data [13:21:10]requested_item fm.sn is exist - process it [13:21:10]wFMCommunicate request_size=4 [13:21:10]MH_SAM_APDU [13:21:10]CAPDU: 80 11 00 00 [13:21:10]Write to MH i2c: E2 08 00 66 06 80 11 00 00 00 00 00 00 E6 [13:21:10]Write i2c OK [13:21:10]MH_I2C_Read... [13:21:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:21:10]Read from MH i2c: E2 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 17 00 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 17 00 66 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3D [13:21:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:21:10]wFMCommunicate OK [13:21:10]requested_item fd.num is exist - process it [13:21:10]SAM_PROTO_GetFieldsCounters [13:21:10]wFMCommunicate request_size=4 [13:21:10]MH_SAM_APDU [13:21:10]CAPDU: 80 13 00 00 [13:21:10]Write to MH i2c: E2 08 00 67 06 80 13 00 00 00 00 00 00 E9 [13:21:10]Write i2c OK [13:21:10]MH_I2C_Read... [13:21:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:21:10]Read from MH i2c: E2 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 62 00 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 62 00 67 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B1 23 00 00 0E 04 04 00 D8 00 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 F4 [13:21:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B1 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:21:10]wFMCommunicate OK [13:21:10]SAM_PROTO_GetFieldsCounters done [13:21:10]requested_item shift.num is exist - process it [13:21:10]requested_item shift.opened is exist - process it [13:21:10]req_shift_opened [13:21:10]FM_GetShiftState [13:21:10]SAM_PROTO_GetShiftState [13:21:10]wFMCommunicate request_size=4 [13:21:10]MH_SAM_APDU [13:21:10]CAPDU: 80 13 01 00 [13:21:10]Write to MH i2c: E2 08 00 68 06 80 13 01 00 00 00 00 00 EB [13:21:10]Write i2c OK [13:21:10]MH_I2C_Read... [13:21:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:21:10]Read from MH i2c: E2 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 0E 00 [13:21:10]MH_I2C_Read... [13:21:10]Read from MH i2c: E2 0E 00 68 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 C8 [13:21:10]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:21:10]wFMCommunicate OK [13:21:10]SAM_PROTO_GetShiftState done [13:21:10]FM_GetShiftState done [13:21:10]req_shift_opened done [13:21:10]requested_item shift.open_date is exist - process it [13:21:10]req_shift_open_date [13:21:10]req_shift_open_date done [13:21:10]produce_requested_data done [13:21:10]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9137,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [13:21:10]process_action_free close_receipt [13:21:10]json_value_free [13:21:10]json_value_free done [13:21:10]process_json_proto returns [13:21:10]Send response to host [13:21:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9137,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [13:21:10]free response buf [13:21:10]execute_script done [13:21:10]execute_script returns [13:21:10]free content buf [13:21:10]Sock 9.Close socket [13:21:10]Sock 9.Thread stoped [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:43]accept exits with 7 [13:22:43]New connection [13:22:43]New thread 3066686820 created [13:22:43]Thread 3066830180 joined [13:22:43]Waiting for new connection... [13:22:43] Sock 7.Parse request [13:22:43]Sock 7.Check first char [13:22:43]Sock 7.First char is OK [13:22:43]request: POST /json_proto HTTP/1.0 [13:22:43]Method: POST [13:22:43]URL: /json_proto [13:22:43]Method is POST - this is cgi request [13:22:43]url: /json_proto [13:22:43]query_string will be loaded in cgi processing [13:22:43]execute_cgi json_proto POST (null) [13:22:43]execute_cgi path=json_proto method=POST [13:22:43]POST find Content-Length [13:22:43]Host: 172.17.55.134:8080 [13:22:43]Content-Length: 683 [13:22:43]Content-Type: application/json [13:22:43] [13:22:43]POST finish read [13:22:43]Found Content-Length = 683 [13:22:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18125", "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" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:43]execute_script... [13:22:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18125", "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" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:43]POST & json_proto [13:22:43]process_json_proto [13:22:43]json parsed OK: [13:22:43]protocol is kg_v1.0 [13:22:43]action value=close_receipt [13:22:43]process_action close_receipt [13:22:43]cmd_close_receipt [13:22:43]MH_GetDate [13:22:43]Write to MH i2c: F0 00 00 69 06 5E [13:22:43]Write i2c OK [13:22:43]MH_I2C_Read... [13:22:43]Read from MH i2c: F0 [13:22:43]MH_I2C_Read... [13:22:43]Read from MH i2c: F0 09 00 [13:22:43]MH_I2C_Read... [13:22:43]Read from MH i2c: F0 09 00 69 06 00 A7 98 C4 66 13 35 D9 65 56 [13:22:43]GetLastDocTimeStamp 1724160070 [13:22:43]current date 1724160167 [13:22:43]FM_GetShiftState [13:22:43]SAM_PROTO_GetShiftState [13:22:43]wFMCommunicate request_size=4 [13:22:43]MH_SAM_APDU [13:22:43]CAPDU: 80 13 01 00 [13:22:43]Write to MH i2c: E2 08 00 6A 06 80 13 01 00 00 00 00 00 ED [13:22:43]Write i2c OK [13:22:43]MH_I2C_Read... [13:22:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:43]Read from MH i2c: E2 [13:22:43]MH_I2C_Read... [13:22:43]Read from MH i2c: E2 0E 00 [13:22:43]MH_I2C_Read... [13:22:43]Read from MH i2c: E2 0E 00 6A 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 CA [13:22:43]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:22:43]wFMCommunicate OK [13:22:43]SAM_PROTO_GetShiftState done [13:22:43]FM_GetShiftState done [13:22:43]opened in 1724113861 [13:22:43]opened+sec_in_day 1724200261 [13:22:43]quantity*price = 6500 [13:22:43]sum+1 = 6501 [13:22:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 18 20.08.2024 13:22 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9138 ФПД: 131873887495783 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132247&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9138&fm=131873887495783&tin=02508201610067®Number=0000000000108878&sum=6500 0 [13:22:44]StoreToDocumentArchive [13:22:44]shift 216 fd 9138 [13:22:44]save to /storage/0216/doc_00009138 [13:22:44]save last doc name /storage/0216/doc_00009138 to /storage/kkm_last_doc_name [13:22:44]save OK [13:22:44]Clear old archive folders... [13:22:44]ProcessDocumentItem done err = 0, tmpTLVsize=295 [13:22:44]tlvbuf is 0045C910 [13:22:44]SAM_PROTO_ClearQueue [13:22:44]wFMCommunicate request_size=4 [13:22:44]MH_SAM_APDU [13:22:44]CAPDU: 80 09 00 00 [13:22:44]Write to MH i2c: E2 08 00 77 06 80 09 00 00 00 00 00 00 EF [13:22:44]Write i2c OK [13:22:44]MH_I2C_Read... [13:22:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:44]Read from MH i2c: E2 [13:22:44]MH_I2C_Read... [13:22:44]Read from MH i2c: E2 03 00 [13:22:44]MH_I2C_Read... [13:22:44]Read from MH i2c: E2 03 00 77 06 00 90 00 F1 [13:22:44]RAPDU: 90 00 [13:22:44]wFMCommunicate OK [13:22:44]SAM_PROTO_ClearQueue done [13:22:44]KKMCreateOFDPacket [13:22:44]OFDProtocolAddRootSTLVToBuf [13:22:44]FM_MakeSignedData [13:22:44]FM_MakeSignedData [13:22:44]SAM_PROTO_SignData [13:22:44]wFMCommunicate request_size=4 [13:22:44]MH_SAM_APDU [13:22:44]CAPDU: 80 0D 01 02 [13:22:44]Write to MH i2c: E2 08 00 78 06 80 0D 01 02 00 00 00 00 F7 [13:22:44]Write i2c OK [13:22:44]MH_I2C_Read... [13:22:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:44]Read from MH i2c: E2 [13:22:44]MH_I2C_Read... [13:22:44]Read from MH i2c: E2 03 00 [13:22:44]MH_I2C_Read... [13:22:44]Read from MH i2c: E2 03 00 78 06 00 90 00 F2 [13:22:44]RAPDU: 90 00 [13:22:44]wFMCommunicate OK [13:22:44]wFMCommunicate request_size=255 [13:22:44]MH_SAM_APDU [13:22:44]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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A7 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [13:22:44]Write to MH i2c: E2 02 01 79 06 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A7 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 6B [13:22:44]Write i2c OK [13:22:44]MH_I2C_Read... [13:22:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:45]Read from MH i2c: E2 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 03 00 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 03 00 79 06 00 90 00 F3 [13:22:45]RAPDU: 90 00 [13:22:45]wFMCommunicate OK [13:22:45]wFMCommunicate request_size=54 [13:22:45]MH_SAM_APDU [13:22:45]CAPDU: 80 0D 02 02 31 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B2 23 00 00 35 04 06 00 77 F0 48 38 26 67 [13:22:45]Write to MH i2c: E2 39 00 7A 06 80 0D 02 02 31 00 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B2 23 00 00 35 04 06 00 77 F0 48 38 26 67 00 00 75 [13:22:45]Write i2c OK [13:22:45]MH_I2C_Read... [13:22:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:45]Read from MH i2c: E2 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 03 00 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [13:22:45]RAPDU: 90 00 [13:22:45]wFMCommunicate OK [13:22:45]wFMCommunicate request_size=4 [13:22:45]MH_SAM_APDU [13:22:45]CAPDU: 80 0D 03 02 [13:22:45]Write to MH i2c: E2 08 00 7B 06 80 0D 03 02 00 00 00 00 FC [13:22:45]Write i2c OK [13:22:45]MH_I2C_Read... [13:22:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:45]Read from MH i2c: E2 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 0B 00 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 0B 00 7B 06 00 1C F6 AF 42 84 FD B0 E8 90 00 19 [13:22:45]RAPDU: 1C F6 AF 42 84 FD B0 E8 90 00 [13:22:45]wFMCommunicate OK [13:22:45]SAM_PROTO_SignData done [13:22:45]FM_MakeSignedData done [13:22:45]CreateOFDProtocolMessage [13:22:45]wFMCommunicate request_size=4 [13:22:45]MH_SAM_APDU [13:22:45]CAPDU: 80 11 00 00 [13:22:45]Write to MH i2c: E2 08 00 7C 06 80 11 00 00 00 00 00 00 FC [13:22:45]Write i2c OK [13:22:45]MH_I2C_Read... [13:22:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:45]Read from MH i2c: E2 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 17 00 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: E2 17 00 7C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 53 [13:22:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:22:45]wFMCommunicate OK [13:22:45]CreateOFDProtocolMessage done [13:22:45]OFDSenderStorePacket 9138 [13:22:45]StoreOFDPacket docnum=9138 [13:22:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3B 01 00 00 EB 9A 33 01 D2 BD 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A7 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B2 23 00 00 35 04 06 00 77 F0 48 38 26 67 1C F6 AF 42 84 FD B0 E8 [13:22:45]CheckFolder [13:22:45]dirname=/storage/ofd_packets [13:22:45]CheckFolder done [13:22:45]ProducePacketName [13:22:45]name=ofd_packets/00009138 [13:22:45]NVStorageSaveData ofd_packets/00009138 [13:22:45]File name is /storage/ofd_packets/00009138 [13:22:45]Write 345 bytes [13:22:45]NVStorageSaveData done [13:22:45]OFDSenderStorePacket done [13:22:45]KKMCreateOFDPacket done [13:22:45]NVStorageSaveData kkm_last_timestamp [13:22:45]File name is /storage/kkm_last_timestamp [13:22:45]Write 4 bytes [13:22:45]NVStorageSaveData done [13:22:45]ExternCall_PrintAddStr [13:22:45]wPrintStart [13:22:45]Write to MH i2c: 01 00 00 7D 06 83 [13:22:45]Write i2c OK [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: 01 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: 01 07 00 [13:22:45]MH_I2C_Read... [13:22:45]Read from MH i2c: 01 07 00 7D 06 00 00 00 00 00 FF 0F 98 [13:22:45]RasterBufferAndPrint [13:22:45]line Счет N : (3)18125 [13:22:45]line ИНН: 02508201610067 [13:22:45]line Контрольно-Кассовый Чек [13:22:45]line ПРОДАЖА [13:22:45]line Товар: 5449000027450 [13:22:45]line Напиток FuzeTea чай манго,ром 0,5л [13:22:45]line 1.000 * 65.00 [13:22:45]line = 65.00 [13:22:45]line НДС 12% НСП 1% [13:22:45]line > о реализуемом товаре [13:22:45]line ИТОГО: 65.00 [13:22:45]line НСП 1% : 0.57 [13:22:45]line НДС 12% : 6.90 [13:22:45]line Наличными: 65.00 [13:22:45]line Безнал.: 0.00 [13:22:45]line Место: АЗС № 94 [13:22:45]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [13:22:45]line СНО: Общий режим [13:22:45]line Чек 18 20.08.2024 13:22 [13:22:45]line Смена: 216 ФФД: 1.0 [13:22:45]line ЗНМ: 0300000128 [13:22:45]line РНМ: 0000000000108878 [13:22:45]line Версия ККМ: 001 [13:22:45]line ФМ: 0000000000965619 [13:22:45]line ФД: 9138 [13:22:45]line ФПД: 131873887495783 [13:22:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132247&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9138&fm=131873887495783&tin=02508201610067®Number=0000000000108878&sum=6500 [13:22:45]line 0 [13:22:45]OFD Sender: Processing packet 9138 [packets to send 4, broken 3] [13:22:45]ProducePacketName [13:22:45]name=ofd_packets/00009138 [13:22:45]OFD Sender: To server: pG, [13:22:45]CommunicateWithHost lk.salyk.kg:30040 [13:22:45]ConnectInit lk.salyk.kg [13:22:45]written 0, free lines is 4095 [13:22:45]Connected sock=9 [13:22:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3B 01 00 00 EB 9A 33 01 D2 BD 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A7 98 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B2 23 00 00 35 04 06 00 77 F0 48 38 26 67 1C F6 AF 42 84 FD B0 E8 [13:22:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 A5 4F 47 00 C7 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B2 23 00 00 F4 03 04 00 72 40 C4 66 B6 04 01 00 00 CF BB 60 5F 66 93 D5 5F [13:22:46]CommunicateWithHost err = 0 [13:22:46]CheckOFDResponse [13:22:46]1017 (14) - 77093643461234 [13:22:46]1041 (16) - 0000000000965619 [13:22:46]1040 (4) - 9138 [13:22:46]1012 (4) - 20.08.2024 07:06 [13:22:46]1206 (1) - 0 [13:22:46]OFD Sender: Remove packet 9138 [13:22:46]ProducePacketName [13:22:46]name=ofd_packets/00009138 [13:22:46]NVStorageDeleteData [13:22:46]Write to MH i2c: 01 00 00 A5 06 AB [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: 01 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: 01 07 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: 01 07 00 A5 06 00 00 00 00 00 E0 0C 9E [13:22:46]RasterBufferAndPrint [13:22:46]line [13:22:46]line [13:22:46]line [13:22:46]line [13:22:46]line [13:22:46]written 0, free lines is 3302 [13:22:46]MH_Cut [13:22:46]Write to MH i2c: D1 01 00 AC 06 01 84 [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: D1 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: D1 01 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: D1 01 00 AC 06 00 83 [13:22:46]Write to MH i2c: 01 00 00 AD 06 B3 [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]OFD Sender: No OFD packet to send [13:22:46]*** Cut start [13:22:46]*** Partial cut [13:22:46]*** CUTSNS_PIN = 1 [13:22:47]*** CUTSNS_PIN = 0 [13:22:47]*** Brake cut motor [13:22:47]Read from MH i2c: 01 [13:22:47]MH_I2C_Read... [13:22:47]*** Stop cut motor [13:22:47]*** Cut end [13:22:47]Read from MH i2c: 01 07 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [13:22:47]process_action close_receipt done [13:22:47]requested_data is exist [13:22:47]produce_requested_data [13:22:47]requested_item fm.sn is exist - process it [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 11 00 00 [13:22:47]Write to MH i2c: E2 08 00 AE 06 80 11 00 00 00 00 00 00 2E [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 17 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 17 00 AE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 85 [13:22:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:22:47]wFMCommunicate OK [13:22:47]requested_item fd.num is exist - process it [13:22:47]SAM_PROTO_GetFieldsCounters [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 13 00 00 [13:22:47]Write to MH i2c: E2 08 00 AF 06 80 13 00 00 00 00 00 00 31 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 62 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 62 00 AF 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B2 23 00 00 0E 04 04 00 D8 00 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 40 [13:22:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B2 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:22:47]wFMCommunicate OK [13:22:47]SAM_PROTO_GetFieldsCounters done [13:22:47]requested_item shift.num is exist - process it [13:22:47]requested_item shift.opened is exist - process it [13:22:47]req_shift_opened [13:22:47]FM_GetShiftState [13:22:47]SAM_PROTO_GetShiftState [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 13 01 00 [13:22:47]Write to MH i2c: E2 08 00 B0 06 80 13 01 00 00 00 00 00 33 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 0E 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 0E 00 B0 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 10 [13:22:47]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:22:47]wFMCommunicate OK [13:22:47]SAM_PROTO_GetShiftState done [13:22:47]FM_GetShiftState done [13:22:47]req_shift_opened done [13:22:47]requested_item shift.open_date is exist - process it [13:22:47]req_shift_open_date [13:22:47]req_shift_open_date done [13:22:47]produce_requested_data done [13:22:47]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9138,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [13:22:47]process_action_free close_receipt [13:22:47]json_value_free [13:22:47]json_value_free done [13:22:47]process_json_proto returns [13:22:47]Send response to host [13:22:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9138,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [13:22:47]free response buf [13:22:47]execute_script done [13:22:47]execute_script returns [13:22:47]free content buf [13:22:47]Sock 7.Close socket [13:22:47]Sock 7.Thread stoped [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]accept exits with 10 [13:27:41]New connection [13:27:41]New thread 3066830180 created [13:27:41]Thread 3066686820 joined [13:27:41]Waiting for new connection... [13:27:41] Sock 10.Parse request [13:27:41]Sock 10.Check first char [13:27:41]Sock 10.First char is OK [13:27:41]request: POST /json_proto HTTP/1.0 [13:27:41]Method: POST [13:27:41]URL: /json_proto [13:27:41]Method is POST - this is cgi request [13:27:41]url: /json_proto [13:27:41]query_string will be loaded in cgi processing [13:27:41]execute_cgi json_proto POST (null) [13:27:41]execute_cgi path=json_proto method=POST [13:27:41]POST find Content-Length [13:27:41]Host: 172.17.55.134:8080 [13:27:41]Content-Length: 618 [13:27:41]Content-Type: application/json [13:27:41] [13:27:41]POST finish read [13:27:41]Found Content-Length = 618 [13:27:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18126", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:41]execute_script... [13:27: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)18126", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:41]POST & json_proto [13:27:41]process_json_proto [13:27:41]json parsed OK: [13:27:41]protocol is kg_v1.0 [13:27:41]action value=close_receipt [13:27:41]process_action close_receipt [13:27:41]cmd_close_receipt [13:27:41]MH_GetDate [13:27:41]Write to MH i2c: F0 00 00 B1 06 A6 [13:27:41]Write i2c OK [13:27:41]MH_I2C_Read... [13:27:41]Read from MH i2c: F0 [13:27:41]MH_I2C_Read... [13:27:41]Read from MH i2c: F0 09 00 [13:27:41]MH_I2C_Read... [13:27:41]Read from MH i2c: F0 09 00 B1 06 00 D1 99 C4 66 13 35 D9 65 C9 [13:27:41]GetLastDocTimeStamp 1724160167 [13:27:41]current date 1724160465 [13:27:41]FM_GetShiftState [13:27:41]SAM_PROTO_GetShiftState [13:27:41]wFMCommunicate request_size=4 [13:27:41]MH_SAM_APDU [13:27:41]CAPDU: 80 13 01 00 [13:27:41]Write to MH i2c: E2 08 00 B2 06 80 13 01 00 00 00 00 00 35 [13:27:41]Write i2c OK [13:27:41]MH_I2C_Read... [13:27:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:41]Read from MH i2c: E2 [13:27:41]MH_I2C_Read... [13:27:41]Read from MH i2c: E2 0E 00 [13:27:41]MH_I2C_Read... [13:27:41]Read from MH i2c: E2 0E 00 B2 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 12 [13:27:41]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:27:41]wFMCommunicate OK [13:27:41]SAM_PROTO_GetShiftState done [13:27:41]FM_GetShiftState done [13:27:41]opened in 1724113861 [13:27:41]opened+sec_in_day 1724200261 [13:27:41]quantity*price = 14000 [13:27:41]sum+1 = 14001 [13:27:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 19 20.08.2024 13:27 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9139 ФПД: 93655179758025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132745&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9139&fm=93655179758025&tin=02508201610067®Number=0000000000108878&sum=14000 0 [13:27:42]StoreToDocumentArchive [13:27:42]shift 216 fd 9139 [13:27:42]save to /storage/0216/doc_00009139 [13:27:42]save last doc name /storage/0216/doc_00009139 to /storage/kkm_last_doc_name [13:27:42]save OK [13:27:42]Clear old archive folders... [13:27:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:27:42]tlvbuf is 00458E60 [13:27:42]SAM_PROTO_ClearQueue [13:27:42]wFMCommunicate request_size=4 [13:27:42]MH_SAM_APDU [13:27:42]CAPDU: 80 09 00 00 [13:27:42]Write to MH i2c: E2 08 00 BF 06 80 09 00 00 00 00 00 00 37 [13:27:42]Write i2c OK [13:27:42]MH_I2C_Read... [13:27:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:27:42]Read from MH i2c: E2 [13:27:42]MH_I2C_Read... [13:27:42]Read from MH i2c: E2 03 00 [13:27:42]MH_I2C_Read... [13:27:42]Read from MH i2c: E2 03 00 BF 06 00 90 00 39 [13:27:42]RAPDU: 90 00 [13:27:42]wFMCommunicate OK [13:27:42]SAM_PROTO_ClearQueue done [13:27:42]KKMCreateOFDPacket [13:27:42]OFDProtocolAddRootSTLVToBuf [13:27:42]FM_MakeSignedData [13:27:42]FM_MakeSignedData [13:27:42]SAM_PROTO_SignData [13:27:42]wFMCommunicate request_size=4 [13:27:42]MH_SAM_APDU [13:27:42]CAPDU: 80 0D 01 02 [13:27:42]Write to MH i2c: E2 08 00 C0 06 80 0D 01 02 00 00 00 00 3F [13:27:42]Write i2c OK [13:27:42]MH_I2C_Read... [13:27:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:27:42]Read from MH i2c: E2 [13:27:42]MH_I2C_Read... [13:27:42]Read from MH i2c: E2 03 00 [13:27:42]MH_I2C_Read... [13:27:42]Read from MH i2c: E2 03 00 C0 06 00 90 00 3A [13:27:42]RAPDU: 90 00 [13:27:42]wFMCommunicate OK [13:27:42]wFMCommunicate request_size=255 [13:27:42]MH_SAM_APDU [13:27:42]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D1 99 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:27:42]Write to MH i2c: E2 02 01 C1 06 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D1 99 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 49 [13:27:42]Write i2c OK [13:27:42]MH_I2C_Read... [13:27:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:43]Read from MH i2c: E2 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 03 00 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 03 00 C1 06 00 90 00 3B [13:27:43]RAPDU: 90 00 [13:27:43]wFMCommunicate OK [13:27:43]wFMCommunicate request_size=30 [13:27:43]MH_SAM_APDU [13:27:43]CAPDU: 80 0D 02 02 19 30 39 36 35 36 31 39 10 04 04 00 B3 23 00 00 35 04 06 00 55 2D CB B8 89 C9 [13:27:43]Write to MH i2c: E2 21 00 C2 06 80 0D 02 02 19 00 30 39 36 35 36 31 39 10 04 04 00 B3 23 00 00 35 04 06 00 55 2D CB B8 89 C9 00 00 6C [13:27:43]Write i2c OK [13:27:43]MH_I2C_Read... [13:27:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:43]Read from MH i2c: E2 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 03 00 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [13:27:43]RAPDU: 90 00 [13:27:43]wFMCommunicate OK [13:27:43]wFMCommunicate request_size=4 [13:27:43]MH_SAM_APDU [13:27:43]CAPDU: 80 0D 03 02 [13:27:43]Write to MH i2c: E2 08 00 C3 06 80 0D 03 02 00 00 00 00 44 [13:27:43]Write i2c OK [13:27:43]MH_I2C_Read... [13:27:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:27:43]Read from MH i2c: E2 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 0B 00 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 0B 00 C3 06 00 23 DC 53 A1 DB D6 C5 4B 90 00 F9 [13:27:43]RAPDU: 23 DC 53 A1 DB D6 C5 4B 90 00 [13:27:43]wFMCommunicate OK [13:27:43]SAM_PROTO_SignData done [13:27:43]FM_MakeSignedData done [13:27:43]CreateOFDProtocolMessage [13:27:43]wFMCommunicate request_size=4 [13:27:43]MH_SAM_APDU [13:27:43]CAPDU: 80 11 00 00 [13:27:43]Write to MH i2c: E2 08 00 C4 06 80 11 00 00 00 00 00 00 44 [13:27:43]Write i2c OK [13:27:43]MH_I2C_Read... [13:27:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:43]Read from MH i2c: E2 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 17 00 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: E2 17 00 C4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 9B [13:27:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:27:43]wFMCommunicate OK [13:27:43]CreateOFDProtocolMessage done [13:27:43]OFDSenderStorePacket 9139 [13:27:43]StoreOFDPacket docnum=9139 [13:27:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 60 DE 1B 01 3A 41 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D1 99 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B3 23 00 00 35 04 06 00 55 2D CB B8 89 C9 23 DC 53 A1 DB D6 C5 4B [13:27:43]CheckFolder [13:27:43]dirname=/storage/ofd_packets [13:27:43]CheckFolder done [13:27:43]ProducePacketName [13:27:43]name=ofd_packets/00009139 [13:27:43]NVStorageSaveData ofd_packets/00009139 [13:27:43]File name is /storage/ofd_packets/00009139 [13:27:43]Write 321 bytes [13:27:43]NVStorageSaveData done [13:27:43]OFDSenderStorePacket done [13:27:43]KKMCreateOFDPacket done [13:27:43]NVStorageSaveData kkm_last_timestamp [13:27:43]File name is /storage/kkm_last_timestamp [13:27:43]Write 4 bytes [13:27:43]NVStorageSaveData done [13:27:43]ExternCall_PrintAddStr [13:27:43]wPrintStart [13:27:43]Write to MH i2c: 01 00 00 C5 06 CB [13:27:43]OFD Sender: Processing packet 9139 [packets to send 4, broken 3] [13:27:43]ProducePacketName [13:27:43]name=ofd_packets/00009139 [13:27:43]OFD Sender: To server: pG, [13:27:43]CommunicateWithHost lk.salyk.kg:30040 [13:27:43]ConnectInit lk.salyk.kg [13:27:43]Write i2c OK [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: 01 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: 01 07 00 [13:27:43]MH_I2C_Read... [13:27:43]Read from MH i2c: 01 07 00 C5 06 00 00 00 00 00 FF 0F E0 [13:27:43]RasterBufferAndPrint [13:27:43]line Счет N : (3)18126 [13:27:43]line ИНН: 02508201610067 [13:27:43]line Контрольно-Кассовый Чек [13:27:43]line ПРОДАЖА [13:27:43]line Товар: 47802995 [13:27:43]line Сигареты Winston XS Silver [13:27:43]line 1.000 * 140.00 [13:27:43]line = 140.00 [13:27:43]line НДС 12% НСП 1% [13:27:43]line > о реализуемом товаре [13:27:43]line ИТОГО: 140.00 [13:27:43]line НСП 1% : 1.24 [13:27:43]line НДС 12% : 14.87 [13:27:43]line Наличными: 140.00 [13:27:43]line Безнал.: 0.00 [13:27:43]line Место: АЗС № 94 [13:27:43]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [13:27:43]line СНО: Общий режим [13:27:43]line Чек 19 20.08.2024 13:27 [13:27:43]line Смена: 216 ФФД: 1.0 [13:27:43]line ЗНМ: 0300000128 [13:27:43]line РНМ: 0000000000108878 [13:27:43]line Версия ККМ: 001 [13:27:43]line ФМ: 0000000000965619 [13:27:43]line ФД: 9139 [13:27:43]line ФПД: 93655179758025 [13:27:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T132745&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9139&fm=93655179758025&tin=02508201610067®Number=0000000000108878&sum=14000 [13:27:43]line 0 [13:27:43]written 0, free lines is 4095 [13:27:43]Connected sock=9 [13:27:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 60 DE 1B 01 3A 41 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 D1 99 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B3 23 00 00 35 04 06 00 55 2D CB B8 89 C9 23 DC 53 A1 DB D6 C5 4B [13:27:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 66 64 47 00 95 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B3 23 00 00 F4 03 04 00 9C 41 C4 66 B6 04 01 00 00 19 1B D6 37 52 AA 65 F9 [13:27:43]CommunicateWithHost err = 0 [13:27:43]CheckOFDResponse [13:27:43]1017 (14) - 77093643461234 [13:27:43]1041 (16) - 0000000000965619 [13:27:43]1040 (4) - 9139 [13:27:43]1012 (4) - 20.08.2024 07:11 [13:27:43]1206 (1) - 0 [13:27:43]OFD Sender: Remove packet 9139 [13:27:43]ProducePacketName [13:27:43]name=ofd_packets/00009139 [13:27:43]NVStorageDeleteData [13:27:44]Write to MH i2c: 01 00 00 EC 06 F2 [13:27:44]Write i2c OK [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: 01 [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: 01 07 00 [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: 01 07 00 EC 06 00 00 00 00 00 0A 0D 10 [13:27:44]RasterBufferAndPrint [13:27:44]line [13:27:44]line [13:27:44]line [13:27:44]line [13:27:44]line [13:27:44]written 0, free lines is 3344 [13:27:44]MH_Cut [13:27:44]Write to MH i2c: D1 01 00 F3 06 01 CB [13:27:44]Write i2c OK [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: D1 [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: D1 01 00 [13:27:44]MH_I2C_Read... [13:27:44]Read from MH i2c: D1 01 00 F3 06 00 CA [13:27:44]Write to MH i2c: 01 00 00 F4 06 FA [13:27:44]Write i2c OK [13:27:44]MH_I2C_Read... [13:27:44]OFD Sender: No OFD packet to send [13:27:44]*** Cut start [13:27:44]*** Partial cut [13:27:44]*** CUTSNS_PIN = 1 [13:27:44]*** CUTSNS_PIN = 0 [13:27:45]*** Brake cut motor [13:27:45]Read from MH i2c: 01 [13:27:45]MH_I2C_Read... [13:27:45]*** Stop cut motor [13:27:45]*** Cut end [13:27:45]Read from MH i2c: 01 07 00 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: 01 07 00 F4 06 00 00 00 00 00 FF 0F 0F [13:27:45]process_action close_receipt done [13:27:45]requested_data is exist [13:27:45]produce_requested_data [13:27:45]requested_item fm.sn is exist - process it [13:27:45]wFMCommunicate request_size=4 [13:27:45]MH_SAM_APDU [13:27:45]CAPDU: 80 11 00 00 [13:27:45]Write to MH i2c: E2 08 00 F5 06 80 11 00 00 00 00 00 00 75 [13:27:45]Write i2c OK [13:27:45]MH_I2C_Read... [13:27:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:45]Read from MH i2c: E2 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 17 00 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 17 00 F5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 CC [13:27:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:27:45]wFMCommunicate OK [13:27:45]requested_item fd.num is exist - process it [13:27:45]SAM_PROTO_GetFieldsCounters [13:27:45]wFMCommunicate request_size=4 [13:27:45]MH_SAM_APDU [13:27:45]CAPDU: 80 13 00 00 [13:27:45]Write to MH i2c: E2 08 00 F6 06 80 13 00 00 00 00 00 00 78 [13:27:45]Write i2c OK [13:27:45]MH_I2C_Read... [13:27:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:27:45]Read from MH i2c: E2 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 62 00 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 62 00 F6 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B3 23 00 00 0E 04 04 00 D8 00 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 8B [13:27:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B3 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:27:45]wFMCommunicate OK [13:27:45]SAM_PROTO_GetFieldsCounters done [13:27:45]requested_item shift.num is exist - process it [13:27:45]requested_item shift.opened is exist - process it [13:27:45]req_shift_opened [13:27:45]FM_GetShiftState [13:27:45]SAM_PROTO_GetShiftState [13:27:45]wFMCommunicate request_size=4 [13:27:45]MH_SAM_APDU [13:27:45]CAPDU: 80 13 01 00 [13:27:45]Write to MH i2c: E2 08 00 F7 06 80 13 01 00 00 00 00 00 7A [13:27:45]Write i2c OK [13:27:45]MH_I2C_Read... [13:27:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:45]Read from MH i2c: E2 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 0E 00 [13:27:45]MH_I2C_Read... [13:27:45]Read from MH i2c: E2 0E 00 F7 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 57 [13:27:45]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:27:45]wFMCommunicate OK [13:27:45]SAM_PROTO_GetShiftState done [13:27:45]FM_GetShiftState done [13:27:45]req_shift_opened done [13:27:45]requested_item shift.open_date is exist - process it [13:27:45]req_shift_open_date [13:27:45]req_shift_open_date done [13:27:45]produce_requested_data done [13:27:45]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9139,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [13:27:45]process_action_free close_receipt [13:27:45]json_value_free [13:27:45]json_value_free done [13:27:45]process_json_proto returns [13:27:45]Send response to host [13:27:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9139,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [13:27:45]free response buf [13:27:45]execute_script done [13:27:45]execute_script returns [13:27:45]free content buf [13:27:45]Sock 10.Close socket [13:27:45]Sock 10.Thread stoped [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:53]accept exits with 7 [13:35:53]New connection [13:35:53]New thread 3066686820 created [13:35:53]Thread 3066830180 joined [13:35:53]Waiting for new connection... [13:35:53] Sock 7.Parse request [13:35:53]Sock 7.Check first char [13:35:53]Sock 7.First char is OK [13:35:53]request: POST /json_proto HTTP/1.0 [13:35:53]Method: POST [13:35:53]URL: /json_proto [13:35:53]Method is POST - this is cgi request [13:35:53]url: /json_proto [13:35:53]query_string will be loaded in cgi processing [13:35:53]execute_cgi json_proto POST (null) [13:35:53]execute_cgi path=json_proto method=POST [13:35:53]POST find Content-Length [13:35:53]Host: 172.17.55.134:8080 [13:35:53]Content-Length: 215 [13:35:53]Content-Type: application/json [13:35:53] [13:35:53]POST finish read [13:35:53]Found Content-Length = 215 [13:35:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:53]execute_script... [13:35:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:35:53]POST & json_proto [13:35:53]process_json_proto [13:35:53]json parsed OK: [13:35:53]protocol is kg_v1.0 [13:35:53]action value=get_value [13:35:53]process_action get_value [13:35:53]cmd_get_value [13:35:53]process_action get_value done [13:35:53]requested_data is exist [13:35:53]produce_requested_data [13:35:53]requested_item kkm.sn is exist - process it [13:35:53]requested_item kkm.ver is exist - process it [13:35:53]requested_item fm.sn is exist - process it [13:35:53]wFMCommunicate request_size=4 [13:35:53]MH_SAM_APDU [13:35:53]CAPDU: 80 11 00 00 [13:35:53]Write to MH i2c: E2 08 00 F8 06 80 11 00 00 00 00 00 00 78 [13:35:53]Write i2c OK [13:35:53]MH_I2C_Read... [13:35:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:35:53]Read from MH i2c: E2 [13:35:53]MH_I2C_Read... [13:35:53]Read from MH i2c: E2 17 00 [13:35:53]MH_I2C_Read... [13:35:53]Read from MH i2c: E2 17 00 F8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 CF [13:35:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [13:35:53]wFMCommunicate OK [13:35:53]requested_item fd.num is exist - process it [13:35:53]SAM_PROTO_GetFieldsCounters [13:35:53]wFMCommunicate request_size=4 [13:35:53]MH_SAM_APDU [13:35:53]CAPDU: 80 13 00 00 [13:35:53]Write to MH i2c: E2 08 00 F9 06 80 13 00 00 00 00 00 00 7B [13:35:53]Write i2c OK [13:35:53]MH_I2C_Read... [13:35:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:35:54]Read from MH i2c: E2 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 62 00 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 62 00 F9 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B3 23 00 00 0E 04 04 00 D8 00 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 8E [13:35:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B3 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:35:54]wFMCommunicate OK [13:35:54]SAM_PROTO_GetFieldsCounters done [13:35:54]requested_item shift.num is exist - process it [13:35:54]requested_item shift.opened is exist - process it [13:35:54]req_shift_opened [13:35:54]FM_GetShiftState [13:35:54]SAM_PROTO_GetShiftState [13:35:54]wFMCommunicate request_size=4 [13:35:54]MH_SAM_APDU [13:35:54]CAPDU: 80 13 01 00 [13:35:54]Write to MH i2c: E2 08 00 FA 06 80 13 01 00 00 00 00 00 7D [13:35:54]Write i2c OK [13:35:54]MH_I2C_Read... [13:35:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:35:54]Read from MH i2c: E2 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 0E 00 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 0E 00 FA 06 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 5A [13:35:54]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [13:35:54]wFMCommunicate OK [13:35:54]SAM_PROTO_GetShiftState done [13:35:54]FM_GetShiftState done [13:35:54]req_shift_opened done [13:35:54]requested_item shift.open_date is exist - process it [13:35:54]req_shift_open_date [13:35:54]req_shift_open_date done [13:35:54]produce_requested_data done [13:35:54]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9139,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [13:35:54]process_action_free get_value [13:35:54]json_value_free [13:35:54]json_value_free done [13:35:54]process_json_proto returns [13:35:54]Send response to host [13:35:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9139,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [13:35:54]free response buf [13:35:54]execute_script done [13:35:54]execute_script returns [13:35:54]free content buf [13:35:54]Sock 7.Close socket [13:35:54]Sock 7.Thread stoped [13:35:54]accept exits with 9 [13:35:54]New connection [13:35:54]New thread 3066830180 created [13:35:54]Thread 3066686820 joined [13:35:54]Waiting for new connection... [13:35:54] Sock 9.Parse request [13:35:54]Sock 9.Check first char [13:35:54]Sock 9.First char is OK [13:35:54]request: POST /json_proto HTTP/1.0 [13:35:54]Method: POST [13:35:54]URL: /json_proto [13:35:54]Method is POST - this is cgi request [13:35:54]url: /json_proto [13:35:54]query_string will be loaded in cgi processing [13:35:54]execute_cgi json_proto POST (null) [13:35:54]execute_cgi path=json_proto method=POST [13:35:54]POST find Content-Length [13:35:54]Host: 172.17.55.134:8080 [13:35:54]Content-Length: 331 [13:35:54]Content-Type: application/json [13:35:54] [13:35:54]POST finish read [13:35:54]Found Content-Length = 331 [13:35:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:35:54]execute_script... [13:35:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:35:54]POST & json_proto [13:35:54]process_json_proto [13:35:54]json parsed OK: [13:35:54]protocol is kg_v1.0 [13:35:54]action value=get_value [13:35:54]process_action get_value [13:35:54]cmd_get_value [13:35:54]process_action get_value done [13:35:54]requested_data is exist [13:35:54]produce_requested_data [13:35:54]requested_item fm.sale.total is exist - process it [13:35:54]SAM_PROTO_GetFMData [13:35:54]wFMCommunicate request_size=4 [13:35:54]MH_SAM_APDU [13:35:54]CAPDU: 80 13 03 00 [13:35:54]Write to MH i2c: E2 08 00 FB 06 80 13 03 00 00 00 00 00 80 [13:35:54]Write i2c OK [13:35:54]MH_I2C_Read... [13:35:54]OFD Sender: No OFD packet to send [13:35:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:35:54]Read from MH i2c: E2 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 FD 00 [13:35:54]MH_I2C_Read... [13:35:54]Read from MH i2c: E2 FD 00 FB 06 00 BC 04 85 04 B8 04 6E 04 04 00 03 22 00 00 69 04 A0 00 6F 04 04 00 01 22 00 00 B1 04 04 00 DF 31 29 0C 70 04 04 00 90 1E 1F 0A 72 04 04 00 4F 13 0A 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 85 9A 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 36 89 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 6D [13:35:54]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 03 22 00 00 69 04 A0 00 6F 04 04 00 01 22 00 00 B1 04 04 00 DF 31 29 0C 70 04 04 00 90 1E 1F 0A 72 04 04 00 4F 13 0A 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 85 9A 4A 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 36 89 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [13:35:54]wFMCommunicate OK [13:35:54]wFMCommunicate request_size=4 [13:35:54]MH_SAM_APDU [13:35:54]CAPDU: 80 17 00 00 [13:35:54]Write to MH i2c: E2 08 00 FC 06 80 17 00 00 00 00 00 00 82 [13:35:54]Write i2c OK [13:35:54]MH_I2C_Read... [13:35:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:55]Read from MH i2c: E2 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 FC 06 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 27 [13:35:55]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [13:35:55]wFMCommunicate OK [13:35:55]wFMCommunicate request_size=4 [13:35:55]MH_SAM_APDU [13:35:55]CAPDU: 80 17 00 00 [13:35:55]Write to MH i2c: E2 08 00 FD 06 80 17 00 00 00 00 00 00 83 [13:35:55]Write i2c OK [13:35:55]MH_I2C_Read... [13:35:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:55]Read from MH i2c: E2 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 FD 06 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 AC [13:35:55]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [13:35:55]wFMCommunicate OK [13:35:55]wFMCommunicate request_size=4 [13:35:55]MH_SAM_APDU [13:35:55]CAPDU: 80 17 00 00 [13:35:55]Write to MH i2c: E2 08 00 FE 06 80 17 00 00 00 00 00 00 84 [13:35:55]Write i2c OK [13:35:55]MH_I2C_Read... [13:35:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:55]Read from MH i2c: E2 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 FD 00 FE 06 00 03 00 00 EF 03 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 90 00 05 [13:35:55]RAPDU: 03 00 00 EF 03 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 90 00 [13:35:55]wFMCommunicate OK [13:35:55]wFMCommunicate request_size=4 [13:35:55]MH_SAM_APDU [13:35:55]CAPDU: 80 17 00 00 [13:35:55]Write to MH i2c: E2 08 00 FF 06 80 17 00 00 00 00 00 00 85 [13:35:55]Write i2c OK [13:35:55]MH_I2C_Read... [13:35:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [13:35:55]Read from MH i2c: E2 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 D9 00 [13:35:55]MH_I2C_Read... [13:35:55]Read from MH i2c: E2 D9 00 FF 06 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 64 [13:35:55]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:35:55]wFMCommunicate OK [13:35:55]SAM_PROTO_GetFMData done [13:35:55]requested_item fm.sale_refund.total is exist - process it [13:35:55]requested_item fm.buy.total is exist - process it [13:35:55]requested_item shift.sale.total is exist - process it [13:35:55]SAM_PROTO_GetShiftData [13:35:55]wFMCommunicate request_size=4 [13:35:55]MH_SAM_APDU [13:35:55]CAPDU: 80 13 02 00 [13:35:55]Write to MH i2c: E2 08 00 00 07 80 13 02 00 00 00 00 00 85 [13:35:55]Write i2c OK [13:35:55]MH_I2C_Read... [13:35:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:35:56]Read from MH i2c: E2 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 00 07 00 AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 B0 ED 07 70 04 03 00 C8 F5 05 72 04 03 00 E8 F7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 8E D7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F6 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 1B [13:35:56]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 B0 ED 07 70 04 03 00 C8 F5 05 72 04 03 00 E8 F7 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 8E D7 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F6 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [13:35:56]wFMCommunicate OK [13:35:56]wFMCommunicate request_size=4 [13:35:56]MH_SAM_APDU [13:35:56]CAPDU: 80 17 00 00 [13:35:56]Write to MH i2c: E2 08 00 01 07 80 17 00 00 00 00 00 00 88 [13:35:56]Write i2c OK [13:35:56]MH_I2C_Read... [13:35:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:56]Read from MH i2c: E2 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 01 07 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 9A [13:35:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [13:35:56]wFMCommunicate OK [13:35:56]wFMCommunicate request_size=4 [13:35:56]MH_SAM_APDU [13:35:56]CAPDU: 80 17 00 00 [13:35:56]Write to MH i2c: E2 08 00 02 07 80 17 00 00 00 00 00 00 89 [13:35:56]Write i2c OK [13:35:56]MH_I2C_Read... [13:35:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:56]Read from MH i2c: E2 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 [13:35:56]MH_I2C_Read... [13:35:56]Read from MH i2c: E2 FD 00 02 07 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 4D [13:35:56]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [13:35:56]wFMCommunicate OK [13:35:56]wFMCommunicate request_size=4 [13:35:56]MH_SAM_APDU [13:35:56]CAPDU: 80 17 00 00 [13:35:56]Write to MH i2c: E2 08 00 03 07 80 17 00 00 00 00 00 00 8A [13:35:56]Write i2c OK [13:35:56]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 FD 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 FD 00 03 07 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 FF [13:35:57]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [13:35:57]wFMCommunicate OK [13:35:57]wFMCommunicate request_size=4 [13:35:57]MH_SAM_APDU [13:35:57]CAPDU: 80 17 00 00 [13:35:57]Write to MH i2c: E2 08 00 04 07 80 17 00 00 00 00 00 00 8B [13:35:57]Write i2c OK [13:35:57]MH_I2C_Read... [13:35:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [13:35:57]Read from MH i2c: E2 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 CA 00 [13:35:57]MH_I2C_Read... [13:35:57]Read from MH i2c: E2 CA 00 04 07 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 70 [13:35:57]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:35:57]wFMCommunicate OK [13:35:57]SAM_PROTO_GetShiftData done [13:35:57]requested_item shift.sale.total_cash is exist - process it [13:35:57]requested_item shift.sale_refund.total is exist - process it [13:35:57]requested_item shift.sale_refund.total_cash is exist - process it [13:35:57]requested_item shift.buy.total is exist - process it [13:35:57]requested_item shift.buy.total_cash is exist - process it [13:35:57]produce_requested_data done [13:35:57]produce_requested_data return {"fm.sale.total":2040263.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":5196.00,"shift.sale.total_cash":3906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [13:35:57]process_action_free get_value [13:35:57]json_value_free [13:35:57]json_value_free done [13:35:57]process_json_proto returns [13:35:57]Send response to host [13:35:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2040263.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":5196.00,"shift.sale.total_cash":3906.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [13:35:57]free response buf [13:35:57]execute_script done [13:35:57]execute_script returns [13:35:57]free content buf [13:35:57]Sock 9.Close socket [13:35:57]Sock 9.Thread stoped [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:29]accept exits with 7 [14:03:29]New connection [14:03:29]New thread 3066686820 created [14:03:29]Thread 3066830180 joined [14:03:29]Waiting for new connection... [14:03:29] Sock 7.Parse request [14:03:29]Sock 7.Check first char [14:03:29]Sock 7.First char is OK [14:03:29]request: POST /json_proto HTTP/1.0 [14:03:29]Method: POST [14:03:29]URL: /json_proto [14:03:29]Method is POST - this is cgi request [14:03:29]url: /json_proto [14:03:29]query_string will be loaded in cgi processing [14:03:29]execute_cgi json_proto POST (null) [14:03:29]execute_cgi path=json_proto method=POST [14:03:29]POST find Content-Length [14:03:29]Host: 172.17.55.134:8080 [14:03:29]Content-Length: 631 [14:03:29]Content-Type: application/json [14:03:29] [14:03:29]POST finish read [14:03:29]Found Content-Length = 631 [14:03:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18127", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:29]execute_script... [14:03:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18127", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:29]POST & json_proto [14:03:29]process_json_proto [14:03:29]json parsed OK: [14:03:29]protocol is kg_v1.0 [14:03:29]action value=close_receipt [14:03:29]process_action close_receipt [14:03:29]cmd_close_receipt [14:03:29]MH_GetDate [14:03:29]Write to MH i2c: F0 00 00 05 07 FB [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: F0 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: F0 09 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: F0 09 00 05 07 00 35 A2 C4 66 13 35 D9 65 8B [14:03:29]GetLastDocTimeStamp 1724160465 [14:03:29]current date 1724162613 [14:03:29]FM_GetShiftState [14:03:29]SAM_PROTO_GetShiftState [14:03:29]wFMCommunicate request_size=4 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 13 01 00 [14:03:29]Write to MH i2c: E2 08 00 06 07 80 13 01 00 00 00 00 00 8A [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 0E 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 0E 00 06 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 67 [14:03:29]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:03:29]wFMCommunicate OK [14:03:29]SAM_PROTO_GetShiftState done [14:03:29]FM_GetShiftState done [14:03:29]opened in 1724113861 [14:03:29]opened+sec_in_day 1724200261 [14:03:29]quantity*price = 6000 [14:03:29]sum+1 = 6001 [14:03:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 20 20.08.2024 14:03 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9140 ФПД: 238218753393196 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T140333&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9140&fm=238218753393196&tin=02508201610067®Number=0000000000108878&sum=6000 0 [14:03:30]StoreToDocumentArchive [14:03:30]shift 216 fd 9140 [14:03:30]save to /storage/0216/doc_00009140 [14:03:30]save last doc name /storage/0216/doc_00009140 to /storage/kkm_last_doc_name [14:03:30]save OK [14:03:30]Clear old archive folders... [14:03:30]ProcessDocumentItem done err = 0, tmpTLVsize=271 [14:03:30]tlvbuf is 00441E40 [14:03:30]SAM_PROTO_ClearQueue [14:03:30]wFMCommunicate request_size=4 [14:03:30]MH_SAM_APDU [14:03:30]CAPDU: 80 09 00 00 [14:03:30]Write to MH i2c: E2 08 00 13 07 80 09 00 00 00 00 00 00 8C [14:03:30]Write i2c OK [14:03:30]MH_I2C_Read... [14:03:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:03:30]Read from MH i2c: E2 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: E2 03 00 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: E2 03 00 13 07 00 90 00 8E [14:03:30]RAPDU: 90 00 [14:03:30]wFMCommunicate OK [14:03:30]SAM_PROTO_ClearQueue done [14:03:30]KKMCreateOFDPacket [14:03:30]OFDProtocolAddRootSTLVToBuf [14:03:30]FM_MakeSignedData [14:03:30]FM_MakeSignedData [14:03:30]SAM_PROTO_SignData [14:03:30]wFMCommunicate request_size=4 [14:03:30]MH_SAM_APDU [14:03:30]CAPDU: 80 0D 01 02 [14:03:30]Write to MH i2c: E2 08 00 14 07 80 0D 01 02 00 00 00 00 94 [14:03:30]Write i2c OK [14:03:30]MH_I2C_Read... [14:03:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 14 07 00 90 00 8F [14:03:31]RAPDU: 90 00 [14:03:31]wFMCommunicate OK [14:03:31]wFMCommunicate request_size=255 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 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 14 00 00 00 F4 03 04 00 35 A2 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [14:03:31]Write to MH i2c: E2 02 01 15 07 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 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 14 00 00 00 F4 03 04 00 35 A2 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 B7 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]OFD Sender: No OFD packet to send [14:03:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 15 07 00 90 00 90 [14:03:31]RAPDU: 90 00 [14:03:31]wFMCommunicate OK [14:03:31]wFMCommunicate request_size=30 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 0D 02 02 19 30 39 36 35 36 31 39 10 04 04 00 B4 23 00 00 35 04 06 00 D8 A8 A0 2C C2 2C [14:03:31]Write to MH i2c: E2 21 00 16 07 80 0D 02 02 19 00 30 39 36 35 36 31 39 10 04 04 00 B4 23 00 00 35 04 06 00 D8 A8 A0 2C C2 2C 00 00 A5 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 03 00 16 07 00 90 00 91 [14:03:31]RAPDU: 90 00 [14:03:31]wFMCommunicate OK [14:03:31]wFMCommunicate request_size=4 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 0D 03 02 [14:03:31]Write to MH i2c: E2 08 00 17 07 80 0D 03 02 00 00 00 00 99 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 0B 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 0B 00 17 07 00 98 3D E8 AF EE 39 09 E9 90 00 1F [14:03:31]RAPDU: 98 3D E8 AF EE 39 09 E9 90 00 [14:03:31]wFMCommunicate OK [14:03:31]SAM_PROTO_SignData done [14:03:31]FM_MakeSignedData done [14:03:31]CreateOFDProtocolMessage [14:03:31]wFMCommunicate request_size=4 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 11 00 00 [14:03:31]Write to MH i2c: E2 08 00 18 07 80 11 00 00 00 00 00 00 99 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 17 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 17 00 18 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F0 [14:03:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:03:31]wFMCommunicate OK [14:03:31]CreateOFDProtocolMessage done [14:03:31]OFDSenderStorePacket 9140 [14:03:31]StoreOFDPacket docnum=9140 [14:03:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 A7 73 1B 01 E8 B9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 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 14 00 00 00 F4 03 04 00 35 A2 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B4 23 00 00 35 04 06 00 D8 A8 A0 2C C2 2C 98 3D E8 AF EE 39 09 E9 [14:03:31]CheckFolder [14:03:31]dirname=/storage/ofd_packets [14:03:31]CheckFolder done [14:03:31]ProducePacketName [14:03:31]name=ofd_packets/00009140 [14:03:31]NVStorageSaveData ofd_packets/00009140 [14:03:31]File name is /storage/ofd_packets/00009140 [14:03:31]Write 321 bytes [14:03:31]NVStorageSaveData done [14:03:31]OFDSenderStorePacket done [14:03:31]KKMCreateOFDPacket done [14:03:31]NVStorageSaveData kkm_last_timestamp [14:03:31]File name is /storage/kkm_last_timestamp [14:03:31]Write 4 bytes [14:03:31]NVStorageSaveData done [14:03:31]ExternCall_PrintAddStr [14:03:31]wPrintStart [14:03:31]Write to MH i2c: 01 00 00 19 07 20 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: 01 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: 01 07 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: 01 07 00 19 07 00 00 00 00 00 FF 0F 35 [14:03:31]RasterBufferAndPrint [14:03:31]line Счет N : (3)18127 [14:03:31]line ИНН: 02508201610067 [14:03:31]line Контрольно-Кассовый Чек [14:03:31]line ПРОДАЖА [14:03:31]line Товар: 4700000160204 [14:03:31]line Вода Легенда 1,5л [14:03:31]line 1.000 * 60.00 [14:03:31]line = 60.00 [14:03:31]line НДС 12% НСП 1% [14:03:31]line > о реализуемом товаре [14:03:31]line ИТОГО: 60.00 [14:03:31]line НСП 1% : 0.53 [14:03:31]line НДС 12% : 6.37 [14:03:31]line Наличными: 60.00 [14:03:31]line Безнал.: 0.00 [14:03:31]line Место: АЗС № 94 [14:03:31]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [14:03:31]line СНО: Общий режим [14:03:31]line Чек 20 20.08.2024 14:03 [14:03:31]line Смена: 216 ФФД: 1.0 [14:03:31]line ЗНМ: 0300000128 [14:03:31]line РНМ: 0000000000108878 [14:03:31]line Версия ККМ: 001 [14:03:31]line ФМ: 0000000000965619 [14:03:31]line ФД: 9140 [14:03:31]line ФПД: 238218753393196 [14:03:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T140333&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9140&fm=238218753393196&tin=02508201610067®Number=0000000000108878&sum=6000 [14:03:31]line 0 [14:03:31]OFD Sender: Processing packet 9140 [packets to send 4, broken 3] [14:03:31]ProducePacketName [14:03:31]name=ofd_packets/00009140 [14:03:31]OFD Sender: To server: pG, [14:03:31]CommunicateWithHost lk.salyk.kg:30040 [14:03:31]ConnectInit lk.salyk.kg [14:03:31]written 0, free lines is 4095 [14:03:31]Connected sock=10 [14:03:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 A7 73 1B 01 E8 B9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 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 14 00 00 00 F4 03 04 00 35 A2 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B4 23 00 00 35 04 06 00 D8 A8 A0 2C C2 2C 98 3D E8 AF EE 39 09 E9 [14:03:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 89 2D 47 00 A3 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B4 23 00 00 F4 03 04 00 00 4A C4 66 B6 04 01 00 00 4B 68 0A 42 66 7F 38 C0 [14:03:32]CommunicateWithHost err = 0 [14:03:32]CheckOFDResponse [14:03:32]1017 (14) - 77093643461234 [14:03:32]1041 (16) - 0000000000965619 [14:03:32]1040 (4) - 9140 [14:03:32]1012 (4) - 20.08.2024 07:47 [14:03:32]1206 (1) - 0 [14:03:32]OFD Sender: Remove packet 9140 [14:03:32]ProducePacketName [14:03:32]name=ofd_packets/00009140 [14:03:32]NVStorageDeleteData [14:03:32]Write to MH i2c: 01 00 00 40 07 47 [14:03:32]Write i2c OK [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: 01 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: 01 07 00 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: 01 07 00 40 07 00 00 00 00 00 05 0D 60 [14:03:32]RasterBufferAndPrint [14:03:32]line [14:03:32]line [14:03:32]line [14:03:32]line [14:03:32]line [14:03:32]written 0, free lines is 3340 [14:03:32]MH_Cut [14:03:32]Write to MH i2c: D1 01 00 47 07 01 20 [14:03:32]Write i2c OK [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: D1 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: D1 01 00 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: D1 01 00 47 07 00 1F [14:03:32]Write to MH i2c: 01 00 00 48 07 4F [14:03:32]Write i2c OK [14:03:32]MH_I2C_Read... [14:03:32]OFD Sender: No OFD packet to send [14:03:32]*** Cut start [14:03:32]*** Partial cut [14:03:32]*** CUTSNS_PIN = 1 [14:03:33]*** CUTSNS_PIN = 0 [14:03:33]*** Brake cut motor [14:03:33]Read from MH i2c: 01 [14:03:33]MH_I2C_Read... [14:03:33]*** Stop cut motor [14:03:33]*** Cut end [14:03:33]Read from MH i2c: 01 07 00 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: 01 07 00 48 07 00 00 00 00 00 FF 0F 64 [14:03:33]process_action close_receipt done [14:03:33]requested_data is exist [14:03:33]produce_requested_data [14:03:33]requested_item fm.sn is exist - process it [14:03:33]wFMCommunicate request_size=4 [14:03:33]MH_SAM_APDU [14:03:33]CAPDU: 80 11 00 00 [14:03:33]Write to MH i2c: E2 08 00 49 07 80 11 00 00 00 00 00 00 CA [14:03:33]Write i2c OK [14:03:33]MH_I2C_Read... [14:03:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:33]Read from MH i2c: E2 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 17 00 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 17 00 49 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 21 [14:03:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:03:33]wFMCommunicate OK [14:03:33]requested_item fd.num is exist - process it [14:03:33]SAM_PROTO_GetFieldsCounters [14:03:33]wFMCommunicate request_size=4 [14:03:33]MH_SAM_APDU [14:03:33]CAPDU: 80 13 00 00 [14:03:33]Write to MH i2c: E2 08 00 4A 07 80 13 00 00 00 00 00 00 CD [14:03:33]Write i2c OK [14:03:33]MH_I2C_Read... [14:03:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:33]Read from MH i2c: E2 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 62 00 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 62 00 4A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B4 23 00 00 0E 04 04 00 D8 00 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 E4 [14:03:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B4 23 00 00 0E 04 04 00 D8 00 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 [14:03:33]wFMCommunicate OK [14:03:33]SAM_PROTO_GetFieldsCounters done [14:03:33]requested_item shift.num is exist - process it [14:03:33]requested_item shift.opened is exist - process it [14:03:33]req_shift_opened [14:03:33]FM_GetShiftState [14:03:33]SAM_PROTO_GetShiftState [14:03:33]wFMCommunicate request_size=4 [14:03:33]MH_SAM_APDU [14:03:33]CAPDU: 80 13 01 00 [14:03:33]Write to MH i2c: E2 08 00 4B 07 80 13 01 00 00 00 00 00 CF [14:03:33]Write i2c OK [14:03:33]MH_I2C_Read... [14:03:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:33]Read from MH i2c: E2 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 0E 00 [14:03:33]MH_I2C_Read... [14:03:33]Read from MH i2c: E2 0E 00 4B 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 AC [14:03:33]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:03:33]wFMCommunicate OK [14:03:33]SAM_PROTO_GetShiftState done [14:03:33]FM_GetShiftState done [14:03:33]req_shift_opened done [14:03:33]requested_item shift.open_date is exist - process it [14:03:33]req_shift_open_date [14:03:33]req_shift_open_date done [14:03:33]produce_requested_data done [14:03:33]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9140,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [14:03:33]process_action_free close_receipt [14:03:33]json_value_free [14:03:33]json_value_free done [14:03:33]process_json_proto returns [14:03:33]Send response to host [14:03:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9140,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [14:03:33]free response buf [14:03:33]execute_script done [14:03:33]execute_script returns [14:03:33]free content buf [14:03:33]Sock 7.Close socket [14:03:33]Sock 7.Thread stoped [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:12]OFD Sender: No OFD packet to send [14:04:17]OFD Sender: No OFD packet to send [14:04:22]OFD Sender: No OFD packet to send [14:04:27]OFD Sender: No OFD packet to send [14:04:32]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31: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:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:06]accept exits with 9 [14:38:06]New connection [14:38:06]New thread 3066830180 created [14:38:06]Thread 3066686820 joined [14:38:06]Waiting for new connection... [14:38:06] Sock 9.Parse request [14:38:06]Sock 9.Check first char [14:38:06]Sock 9.First char is OK [14:38:06]request: POST /json_proto HTTP/1.0 [14:38:06]Method: POST [14:38:06]URL: /json_proto [14:38:06]Method is POST - this is cgi request [14:38:06]url: /json_proto [14:38:06]query_string will be loaded in cgi processing [14:38:06]execute_cgi json_proto POST (null) [14:38:06]execute_cgi path=json_proto method=POST [14:38:06]POST find Content-Length [14:38:06]Host: 172.17.55.134:8080 [14:38:06]Content-Length: 629 [14:38:06]Content-Type: application/json [14:38:06] [14:38:06]POST finish read [14:38:06]Found Content-Length = 629 [14:38:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18128", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 2.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:06]execute_script... [14:38: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)18128", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 2.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:06]POST & json_proto [14:38:06]process_json_proto [14:38:06]json parsed OK: [14:38:06]protocol is kg_v1.0 [14:38:06]action value=close_receipt [14:38:06]process_action close_receipt [14:38:06]cmd_close_receipt [14:38:06]MH_GetDate [14:38:06]Write to MH i2c: F0 00 00 4C 07 42 [14:38:06]Write i2c OK [14:38:06]MH_I2C_Read... [14:38:06]Read from MH i2c: F0 [14:38:06]MH_I2C_Read... [14:38:06]Read from MH i2c: F0 09 00 [14:38:06]MH_I2C_Read... [14:38:06]Read from MH i2c: F0 09 00 4C 07 00 52 AA C4 66 13 35 D9 65 F7 [14:38:06]GetLastDocTimeStamp 1724162613 [14:38:06]current date 1724164690 [14:38:06]FM_GetShiftState [14:38:06]SAM_PROTO_GetShiftState [14:38:06]wFMCommunicate request_size=4 [14:38:06]MH_SAM_APDU [14:38:06]CAPDU: 80 13 01 00 [14:38:06]Write to MH i2c: E2 08 00 4D 07 80 13 01 00 00 00 00 00 D1 [14:38:06]Write i2c OK [14:38:06]MH_I2C_Read... [14:38:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:06]Read from MH i2c: E2 [14:38:06]MH_I2C_Read... [14:38:06]Read from MH i2c: E2 0E 00 [14:38:06]MH_I2C_Read... [14:38:06]Read from MH i2c: E2 0E 00 4D 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 AE [14:38:06]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:38:06]wFMCommunicate OK [14:38:06]SAM_PROTO_GetShiftState done [14:38:06]FM_GetShiftState done [14:38:06]opened in 1724113861 [14:38:06]opened+sec_in_day 1724200261 [14:38:06]quantity*price = 8400 [14:38:06]sum+1 = 8401 [14:38:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 21 20.08.2024 14:38 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9141 ФПД: 164720774427742 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T143810&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9141&fm=164720774427742&tin=02508201610067®Number=0000000000108878&sum=8400 0 [14:38:07]StoreToDocumentArchive [14:38:07]shift 216 fd 9141 [14:38:07]save to /storage/0216/doc_00009141 [14:38:07]save last doc name /storage/0216/doc_00009141 to /storage/kkm_last_doc_name [14:38:07]save OK [14:38:07]Clear old archive folders... [14:38:07]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:38:07]tlvbuf is B6EA3990 [14:38:07]SAM_PROTO_ClearQueue [14:38:07]wFMCommunicate request_size=4 [14:38:07]MH_SAM_APDU [14:38:07]CAPDU: 80 09 00 00 [14:38:07]Write to MH i2c: E2 08 00 5A 07 80 09 00 00 00 00 00 00 D3 [14:38:07]Write i2c OK [14:38:07]MH_I2C_Read... [14:38:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:38:07]Read from MH i2c: E2 [14:38:07]MH_I2C_Read... [14:38:07]Read from MH i2c: E2 03 00 [14:38:07]MH_I2C_Read... [14:38:07]Read from MH i2c: E2 03 00 5A 07 00 90 00 D5 [14:38:07]RAPDU: 90 00 [14:38:07]wFMCommunicate OK [14:38:07]SAM_PROTO_ClearQueue done [14:38:07]KKMCreateOFDPacket [14:38:07]OFDProtocolAddRootSTLVToBuf [14:38:07]FM_MakeSignedData [14:38:07]FM_MakeSignedData [14:38:07]SAM_PROTO_SignData [14:38:07]wFMCommunicate request_size=4 [14:38:07]MH_SAM_APDU [14:38:07]CAPDU: 80 0D 01 02 [14:38:07]Write to MH i2c: E2 08 00 5B 07 80 0D 01 02 00 00 00 00 DB [14:38:07]Write i2c OK [14:38:07]MH_I2C_Read... [14:38:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:38:07]Read from MH i2c: E2 [14:38:07]MH_I2C_Read... [14:38:07]Read from MH i2c: E2 03 00 [14:38:07]MH_I2C_Read... [14:38:07]Read from MH i2c: E2 03 00 5B 07 00 90 00 D6 [14:38:07]RAPDU: 90 00 [14:38:07]wFMCommunicate OK [14:38:07]wFMCommunicate request_size=255 [14:38:07]MH_SAM_APDU [14:38:07]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 52 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [14:38:07]Write to MH i2c: E2 02 01 5C 07 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 52 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 6A [14:38:07]Write i2c OK [14:38:07]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 [14:38:08]MH_I2C_Read... [14:38:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:08]Read from MH i2c: E2 03 00 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 03 00 5C 07 00 90 00 D7 [14:38:08]RAPDU: 90 00 [14:38:08]wFMCommunicate OK [14:38:08]wFMCommunicate request_size=28 [14:38:08]MH_SAM_APDU [14:38:08]CAPDU: 80 0D 02 02 17 36 35 36 31 39 10 04 04 00 B5 23 00 00 35 04 06 00 95 D0 0B 3F 34 5E [14:38:08]Write to MH i2c: E2 1F 00 5D 07 80 0D 02 02 17 00 36 35 36 31 39 10 04 04 00 B5 23 00 00 35 04 06 00 95 D0 0B 3F 34 5E 00 00 87 [14:38:08]Write i2c OK [14:38:08]MH_I2C_Read... [14:38:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:08]Read from MH i2c: E2 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 03 00 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 03 00 5D 07 00 90 00 D8 [14:38:08]RAPDU: 90 00 [14:38:08]wFMCommunicate OK [14:38:08]wFMCommunicate request_size=4 [14:38:08]MH_SAM_APDU [14:38:08]CAPDU: 80 0D 03 02 [14:38:08]Write to MH i2c: E2 08 00 5E 07 80 0D 03 02 00 00 00 00 E0 [14:38:08]Write i2c OK [14:38:08]MH_I2C_Read... [14:38:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:38:08]Read from MH i2c: E2 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 0B 00 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 0B 00 5E 07 00 53 82 6E E0 DE 63 BF ED 90 00 F1 [14:38:08]RAPDU: 53 82 6E E0 DE 63 BF ED 90 00 [14:38:08]wFMCommunicate OK [14:38:08]SAM_PROTO_SignData done [14:38:08]FM_MakeSignedData done [14:38:08]CreateOFDProtocolMessage [14:38:08]wFMCommunicate request_size=4 [14:38:08]MH_SAM_APDU [14:38:08]CAPDU: 80 11 00 00 [14:38:08]Write to MH i2c: E2 08 00 5F 07 80 11 00 00 00 00 00 00 E0 [14:38:08]Write i2c OK [14:38:08]MH_I2C_Read... [14:38:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:08]Read from MH i2c: E2 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 17 00 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: E2 17 00 5F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 37 [14:38:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:38:08]wFMCommunicate OK [14:38:08]CreateOFDProtocolMessage done [14:38:08]OFDSenderStorePacket 9141 [14:38:08]StoreOFDPacket docnum=9141 [14:38:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 21 01 00 00 1C B4 19 01 F1 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 52 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B5 23 00 00 35 04 06 00 95 D0 0B 3F 34 5E 53 82 6E E0 DE 63 BF ED [14:38:08]CheckFolder [14:38:08]dirname=/storage/ofd_packets [14:38:08]CheckFolder done [14:38:08]ProducePacketName [14:38:08]name=ofd_packets/00009141 [14:38:08]NVStorageSaveData ofd_packets/00009141 [14:38:08]File name is /storage/ofd_packets/00009141 [14:38:08]Write 319 bytes [14:38:08]NVStorageSaveData done [14:38:08]OFDSenderStorePacket done [14:38:08]KKMCreateOFDPacket done [14:38:08]NVStorageSaveData kkm_last_timestamp [14:38:08]File name is /storage/kkm_last_timestamp [14:38:08]Write 4 bytes [14:38:08]NVStorageSaveData done [14:38:08]ExternCall_PrintAddStr [14:38:08]wPrintStart [14:38:08]Write to MH i2c: 01 00 00 60 07 67 [14:38:08]Write i2c OK [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: 01 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: 01 07 00 [14:38:08]MH_I2C_Read... [14:38:08]Read from MH i2c: 01 07 00 60 07 00 00 00 00 00 FF 0F 7C [14:38:08]RasterBufferAndPrint [14:38:08]line Счет N : (3)18128 [14:38:08]line ИНН: 02508201610067 [14:38:08]line Контрольно-Кассовый Чек [14:38:08]line ПРОДАЖА [14:38:08]line Товар: 5449000066473 [14:38:08]line Вода Бонаква 1л [14:38:08]line 2.000 * 42.00 [14:38:08]line = 84.00 [14:38:08]line НДС 12% НСП 1% [14:38:08]line > о реализуемом товаре [14:38:08]line ИТОГО: 84.00 [14:38:08]line НСП 1% : 0.74 [14:38:08]line НДС 12% : 8.92 [14:38:08]line Наличными: 84.00 [14:38:08]line Безнал.: 0.00 [14:38:08]line Место: АЗС № 94 [14:38:08]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [14:38:08]line СНО: Общий режим [14:38:08]line Чек 21 20.08.2024 14:38 [14:38:08]line Смена: 216 ФФД: 1.0 [14:38:08]line ЗНМ: 0300000128 [14:38:08]line РНМ: 0000000000108878 [14:38:08]line Версия ККМ: 001 [14:38:08]line ФМ: 0000000000965619 [14:38:08]line ФД: 9141 [14:38:08]line ФПД: 164720774427742 [14:38:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T143810&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9141&fm=164720774427742&tin=02508201610067®Number=0000000000108878&sum=8400 [14:38:08]line 0 [14:38:08]OFD Sender: Processing packet 9141 [packets to send 4, broken 3] [14:38:08]ProducePacketName [14:38:08]name=ofd_packets/00009141 [14:38:08]OFD Sender: To server: pG, [14:38:08]CommunicateWithHost lk.salyk.kg:30040 [14:38:08]ConnectInit lk.salyk.kg [14:38:08]written 0, free lines is 4095 [14:38:08]Connected sock=10 [14:38:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 21 01 00 00 1C B4 19 01 F1 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 52 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B5 23 00 00 35 04 06 00 95 D0 0B 3F 34 5E 53 82 6E E0 DE 63 BF ED [14:38:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 12 CE 47 00 8D 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 36 31 39 10 04 04 00 B5 23 00 00 F4 03 04 00 1D 52 C4 66 B6 04 01 00 00 9E A7 C6 2A 95 48 40 9A [14:38:08]CommunicateWithHost err = 0 [14:38:08]CheckOFDResponse [14:38:08]1017 (14) - 77093643461234 [14:38:08]1041 (16) - 0000000000965619 [14:38:08]1040 (4) - 9141 [14:38:08]1012 (4) - 20.08.2024 08:21 [14:38:08]1206 (1) - 0 [14:38:08]OFD Sender: Remove packet 9141 [14:38:08]ProducePacketName [14:38:08]name=ofd_packets/00009141 [14:38:08]NVStorageDeleteData [14:38:09]Write to MH i2c: 01 00 00 87 07 8E [14:38:09]Write i2c OK [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: 01 [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: 01 07 00 [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: 01 07 00 87 07 00 00 00 00 00 F3 0C 94 [14:38:09]RasterBufferAndPrint [14:38:09]line [14:38:09]line [14:38:09]line [14:38:09]line [14:38:09]line [14:38:09]written 0, free lines is 3321 [14:38:09]MH_Cut [14:38:09]Write to MH i2c: D1 01 00 8E 07 01 67 [14:38:09]Write i2c OK [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: D1 [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: D1 01 00 [14:38:09]MH_I2C_Read... [14:38:09]Read from MH i2c: D1 01 00 8E 07 00 66 [14:38:09]Write to MH i2c: 01 00 00 8F 07 96 [14:38:09]Write i2c OK [14:38:09]MH_I2C_Read... [14:38:09]OFD Sender: No OFD packet to send [14:38:09]*** Cut start [14:38:09]*** Partial cut [14:38:09]*** CUTSNS_PIN = 1 [14:38:09]*** CUTSNS_PIN = 0 [14:38:10]*** Brake cut motor [14:38:10]Read from MH i2c: 01 [14:38:10]MH_I2C_Read... [14:38:10]*** Stop cut motor [14:38:10]*** Cut end [14:38:10]Read from MH i2c: 01 07 00 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: 01 07 00 8F 07 00 00 00 00 00 FF 0F AB [14:38:10]process_action close_receipt done [14:38:10]requested_data is exist [14:38:10]produce_requested_data [14:38:10]requested_item fm.sn is exist - process it [14:38:10]wFMCommunicate request_size=4 [14:38:10]MH_SAM_APDU [14:38:10]CAPDU: 80 11 00 00 [14:38:10]Write to MH i2c: E2 08 00 90 07 80 11 00 00 00 00 00 00 11 [14:38:10]Write i2c OK [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 [14:38:10]MH_I2C_Read... [14:38:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:10]Read from MH i2c: E2 17 00 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 17 00 90 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 68 [14:38:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:38:10]wFMCommunicate OK [14:38:10]requested_item fd.num is exist - process it [14:38:10]SAM_PROTO_GetFieldsCounters [14:38:10]wFMCommunicate request_size=4 [14:38:10]MH_SAM_APDU [14:38:10]CAPDU: 80 13 00 00 [14:38:10]Write to MH i2c: E2 08 00 91 07 80 13 00 00 00 00 00 00 14 [14:38:10]Write i2c OK [14:38:10]MH_I2C_Read... [14:38:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:38:10]Read from MH i2c: E2 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 62 00 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 62 00 91 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B5 23 00 00 0E 04 04 00 D8 00 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 2F [14:38:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B5 23 00 00 0E 04 04 00 D8 00 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 [14:38:10]wFMCommunicate OK [14:38:10]SAM_PROTO_GetFieldsCounters done [14:38:10]requested_item shift.num is exist - process it [14:38:10]requested_item shift.opened is exist - process it [14:38:10]req_shift_opened [14:38:10]FM_GetShiftState [14:38:10]SAM_PROTO_GetShiftState [14:38:10]wFMCommunicate request_size=4 [14:38:10]MH_SAM_APDU [14:38:10]CAPDU: 80 13 01 00 [14:38:10]Write to MH i2c: E2 08 00 92 07 80 13 01 00 00 00 00 00 16 [14:38:10]Write i2c OK [14:38:10]MH_I2C_Read... [14:38:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:10]Read from MH i2c: E2 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 0E 00 [14:38:10]MH_I2C_Read... [14:38:10]Read from MH i2c: E2 0E 00 92 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F3 [14:38:10]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:38:10]wFMCommunicate OK [14:38:10]SAM_PROTO_GetShiftState done [14:38:10]FM_GetShiftState done [14:38:10]req_shift_opened done [14:38:10]requested_item shift.open_date is exist - process it [14:38:10]req_shift_open_date [14:38:10]req_shift_open_date done [14:38:10]produce_requested_data done [14:38:10]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9141,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [14:38:10]process_action_free close_receipt [14:38:10]json_value_free [14:38:10]json_value_free done [14:38:10]process_json_proto returns [14:38:10]Send response to host [14:38:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9141,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [14:38:10]free response buf [14:38:10]execute_script done [14:38:10]execute_script returns [14:38:10]free content buf [14:38:10]Sock 9.Close socket [14:38:10]Sock 9.Thread stoped [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:58]accept exits with 7 [14:39:58]New connection [14:39:58]New thread 3066686820 created [14:39:58]Thread 3066830180 joined [14:39:58]Waiting for new connection... [14:39:58] Sock 7.Parse request [14:39:58]Sock 7.Check first char [14:39:58]Sock 7.First char is OK [14:39:58]request: POST /json_proto HTTP/1.0 [14:39:58]Method: POST [14:39:58]URL: /json_proto [14:39:58]Method is POST - this is cgi request [14:39:58]url: /json_proto [14:39:58]query_string will be loaded in cgi processing [14:39:58]execute_cgi json_proto POST (null) [14:39:58]execute_cgi path=json_proto method=POST [14:39:58]POST find Content-Length [14:39:58]Host: 172.17.55.134:8080 [14:39:58]Content-Length: 619 [14:39:58]Content-Type: application/json [14:39:58] [14:39:58]POST finish read [14:39:58]Found Content-Length = 619 [14:39:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18129", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:58]execute_script... [14:39:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18129", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:39:58]POST & json_proto [14:39:58]process_json_proto [14:39:58]json parsed OK: [14:39:58]protocol is kg_v1.0 [14:39:58]action value=close_receipt [14:39:58]process_action close_receipt [14:39:58]cmd_close_receipt [14:39:58]MH_GetDate [14:39:58]Write to MH i2c: F0 00 00 93 07 89 [14:39:58]Write i2c OK [14:39:58]MH_I2C_Read... [14:39:58]Read from MH i2c: F0 [14:39:58]MH_I2C_Read... [14:39:58]Read from MH i2c: F0 09 00 [14:39:58]MH_I2C_Read... [14:39:58]Read from MH i2c: F0 09 00 93 07 00 C1 AA C4 66 13 35 D9 65 AD [14:39:58]GetLastDocTimeStamp 1724164690 [14:39:58]current date 1724164801 [14:39:58]FM_GetShiftState [14:39:58]SAM_PROTO_GetShiftState [14:39:58]wFMCommunicate request_size=4 [14:39:58]MH_SAM_APDU [14:39:58]CAPDU: 80 13 01 00 [14:39:58]Write to MH i2c: E2 08 00 94 07 80 13 01 00 00 00 00 00 18 [14:39:58]Write i2c OK [14:39:58]MH_I2C_Read... [14:39:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:39:58]Read from MH i2c: E2 [14:39:58]MH_I2C_Read... [14:39:58]Read from MH i2c: E2 0E 00 [14:39:58]MH_I2C_Read... [14:39:58]Read from MH i2c: E2 0E 00 94 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F5 [14:39:58]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:39:58]wFMCommunicate OK [14:39:58]SAM_PROTO_GetShiftState done [14:39:58]FM_GetShiftState done [14:39:58]opened in 1724113861 [14:39:58]opened+sec_in_day 1724200261 [14:39:58]quantity*price = 13500 [14:39:58]sum+1 = 13501 [14:39:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 22 20.08.2024 14:40 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9142 ФПД: 161657453634495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T144001&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9142&fm=161657453634495&tin=02508201610067®Number=0000000000108878&sum=13500 0 [14:39:59]StoreToDocumentArchive [14:39:59]shift 216 fd 9142 [14:39:59]save to /storage/0216/doc_00009142 [14:39:59]save last doc name /storage/0216/doc_00009142 to /storage/kkm_last_doc_name [14:39:59]save OK [14:39:59]Clear old archive folders... [14:39:59]ProcessDocumentItem done err = 0, tmpTLVsize=272 [14:39:59]tlvbuf is 00451CB0 [14:39:59]SAM_PROTO_ClearQueue [14:39:59]wFMCommunicate request_size=4 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 09 00 00 [14:39:59]Write to MH i2c: E2 08 00 A1 07 80 09 00 00 00 00 00 00 1A [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 A1 07 00 90 00 1C [14:39:59]RAPDU: 90 00 [14:39:59]wFMCommunicate OK [14:39:59]SAM_PROTO_ClearQueue done [14:39:59]KKMCreateOFDPacket [14:39:59]OFDProtocolAddRootSTLVToBuf [14:39:59]FM_MakeSignedData [14:39:59]FM_MakeSignedData [14:39:59]SAM_PROTO_SignData [14:39:59]wFMCommunicate request_size=4 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 0D 01 02 [14:39:59]Write to MH i2c: E2 08 00 A2 07 80 0D 01 02 00 00 00 00 22 [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 A2 07 00 90 00 1D [14:39:59]RAPDU: 90 00 [14:39:59]wFMCommunicate OK [14:39:59]wFMCommunicate request_size=255 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 C1 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 [14:39:59]Write to MH i2c: E2 02 01 A3 07 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 C1 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 67 [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 A3 07 00 90 00 1E [14:39:59]RAPDU: 90 00 [14:39:59]wFMCommunicate OK [14:39:59]wFMCommunicate request_size=31 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 31 39 10 04 04 00 B6 23 00 00 35 04 06 00 93 06 CF 19 63 BF [14:39:59]Write to MH i2c: E2 22 00 A4 07 80 0D 02 02 1A 00 30 30 39 36 35 36 31 39 10 04 04 00 B6 23 00 00 35 04 06 00 93 06 CF 19 63 BF 00 00 D0 [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 03 00 A4 07 00 90 00 1F [14:39:59]RAPDU: 90 00 [14:39:59]wFMCommunicate OK [14:39:59]wFMCommunicate request_size=4 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 0D 03 02 [14:39:59]Write to MH i2c: E2 08 00 A5 07 80 0D 03 02 00 00 00 00 27 [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 0B 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 0B 00 A5 07 00 DF 19 FE EA C9 C0 49 E8 90 00 C2 [14:39:59]RAPDU: DF 19 FE EA C9 C0 49 E8 90 00 [14:39:59]wFMCommunicate OK [14:39:59]SAM_PROTO_SignData done [14:39:59]FM_MakeSignedData done [14:39:59]CreateOFDProtocolMessage [14:39:59]wFMCommunicate request_size=4 [14:39:59]MH_SAM_APDU [14:39:59]CAPDU: 80 11 00 00 [14:39:59]Write to MH i2c: E2 08 00 A6 07 80 11 00 00 00 00 00 00 27 [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:39:59]Read from MH i2c: E2 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 17 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: E2 17 00 A6 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 7E [14:39:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:39:59]wFMCommunicate OK [14:39:59]CreateOFDProtocolMessage done [14:39:59]OFDSenderStorePacket 9142 [14:39:59]StoreOFDPacket docnum=9142 [14:39:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 24 01 00 00 07 22 1C 01 2B 28 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 C1 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B6 23 00 00 35 04 06 00 93 06 CF 19 63 BF DF 19 FE EA C9 C0 49 E8 [14:39:59]CheckFolder [14:39:59]dirname=/storage/ofd_packets [14:39:59]CheckFolder done [14:39:59]ProducePacketName [14:39:59]name=ofd_packets/00009142 [14:39:59]NVStorageSaveData ofd_packets/00009142 [14:39:59]File name is /storage/ofd_packets/00009142 [14:39:59]Write 322 bytes [14:39:59]NVStorageSaveData done [14:39:59]OFDSenderStorePacket done [14:39:59]KKMCreateOFDPacket done [14:39:59]NVStorageSaveData kkm_last_timestamp [14:39:59]File name is /storage/kkm_last_timestamp [14:39:59]Write 4 bytes [14:39:59]NVStorageSaveData done [14:39:59]ExternCall_PrintAddStr [14:39:59]wPrintStart [14:39:59]Write to MH i2c: 01 00 00 A7 07 AE [14:39:59]Write i2c OK [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: 01 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: 01 07 00 [14:39:59]MH_I2C_Read... [14:39:59]Read from MH i2c: 01 07 00 A7 07 00 00 00 00 00 FF 0F C3 [14:39:59]RasterBufferAndPrint [14:39:59]line Счет N : (3)18129 [14:39:59]line ИНН: 02508201610067 [14:39:59]line Контрольно-Кассовый Чек [14:39:59]line ПРОДАЖА [14:39:59]line Товар: 48745000 [14:39:59]line Сигареты Winston Purple Mix [14:39:59]line 1.000 * 135.00 [14:39:59]line = 135.00 [14:39:59]line НДС 12% НСП 1% [14:39:59]line > о реализуемом товаре [14:39:59]line ИТОГО: 135.00 [14:39:59]line НСП 1% : 1.19 [14:39:59]line НДС 12% : 14.34 [14:39:59]line Наличными: 135.00 [14:39:59]line Безнал.: 0.00 [14:39:59]line Место: АЗС № 94 [14:39:59]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [14:39:59]line СНО: Общий режим [14:39:59]line Чек 22 20.08.2024 14:40 [14:39:59]line Смена: 216 ФФД: 1.0 [14:39:59]line ЗНМ: 0300000128 [14:39:59]line РНМ: 0000000000108878 [14:39:59]line Версия ККМ: 001 [14:39:59]line ФМ: 0000000000965619 [14:39:59]line ФД: 9142 [14:39:59]line ФПД: 161657453634495 [14:39:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T144001&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9142&fm=161657453634495&tin=02508201610067®Number=0000000000108878&sum=13500 [14:39:59]line 0 [14:39:59]OFD Sender: Processing packet 9142 [packets to send 4, broken 3] [14:39:59]ProducePacketName [14:39:59]name=ofd_packets/00009142 [14:39:59]OFD Sender: To server: pG, [14:39:59]CommunicateWithHost lk.salyk.kg:30040 [14:39:59]ConnectInit lk.salyk.kg [14:39:59]written 0, free lines is 4095 [14:40:00]Connected sock=10 [14:40:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 24 01 00 00 07 22 1C 01 2B 28 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 C1 AA C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B6 23 00 00 35 04 06 00 93 06 CF 19 63 BF DF 19 FE EA C9 C0 49 E8 [14:40:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 62 60 47 00 76 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B6 23 00 00 F4 03 04 00 8C 52 C4 66 B6 04 01 00 00 1C C4 02 E5 90 2E 04 17 [14:40:00]CommunicateWithHost err = 0 [14:40:00]CheckOFDResponse [14:40:00]1017 (14) - 77093643461234 [14:40:00]1041 (16) - 0000000000965619 [14:40:00]1040 (4) - 9142 [14:40:00]1012 (4) - 20.08.2024 08:23 [14:40:00]1206 (1) - 0 [14:40:00]OFD Sender: Remove packet 9142 [14:40:00]ProducePacketName [14:40:00]name=ofd_packets/00009142 [14:40:00]NVStorageDeleteData [14:40:00]Write to MH i2c: 01 00 00 CE 07 D5 [14:40:00]Write i2c OK [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: 01 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: 01 07 00 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: 01 07 00 CE 07 00 00 00 00 00 F5 0C DD [14:40:00]RasterBufferAndPrint [14:40:00]line [14:40:00]line [14:40:00]line [14:40:00]line [14:40:00]line [14:40:00]written 0, free lines is 3323 [14:40:00]MH_Cut [14:40:00]Write to MH i2c: D1 01 00 D5 07 01 AE [14:40:00]Write i2c OK [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: D1 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: D1 01 00 [14:40:00]MH_I2C_Read... [14:40:00]Read from MH i2c: D1 01 00 D5 07 00 AD [14:40:00]Write to MH i2c: 01 00 00 D6 07 DD [14:40:00]Write i2c OK [14:40:00]MH_I2C_Read... [14:40:00]OFD Sender: No OFD packet to send [14:40:01]*** Cut start [14:40:01]*** Partial cut [14:40:01]*** CUTSNS_PIN = 1 [14:40:01]*** CUTSNS_PIN = 0 [14:40:01]*** Brake cut motor [14:40:01]Read from MH i2c: 01 [14:40:01]MH_I2C_Read... [14:40:01]*** Stop cut motor [14:40:01]*** Cut end [14:40:01]Read from MH i2c: 01 07 00 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: 01 07 00 D6 07 00 00 00 00 00 FF 0F F2 [14:40:01]process_action close_receipt done [14:40:01]requested_data is exist [14:40:01]produce_requested_data [14:40:01]requested_item fm.sn is exist - process it [14:40:01]wFMCommunicate request_size=4 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 11 00 00 [14:40:01]Write to MH i2c: E2 08 00 D7 07 80 11 00 00 00 00 00 00 58 [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:01]Read from MH i2c: E2 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 17 00 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 17 00 D7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 AF [14:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:40:01]wFMCommunicate OK [14:40:01]requested_item fd.num is exist - process it [14:40:01]SAM_PROTO_GetFieldsCounters [14:40:01]wFMCommunicate request_size=4 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 13 00 00 [14:40:01]Write to MH i2c: E2 08 00 D8 07 80 13 00 00 00 00 00 00 5B [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:01]Read from MH i2c: E2 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 62 00 [14:40:01]MH_I2C_Read... [14:40:01]Read from MH i2c: E2 62 00 D8 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B6 23 00 00 0E 04 04 00 D8 00 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 7A [14:40: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B6 23 00 00 0E 04 04 00 D8 00 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 [14:40:01]wFMCommunicate OK [14:40:01]SAM_PROTO_GetFieldsCounters done [14:40:01]requested_item shift.num is exist - process it [14:40:01]requested_item shift.opened is exist - process it [14:40:01]req_shift_opened [14:40:01]FM_GetShiftState [14:40:01]SAM_PROTO_GetShiftState [14:40:01]wFMCommunicate request_size=4 [14:40:01]MH_SAM_APDU [14:40:01]CAPDU: 80 13 01 00 [14:40:01]Write to MH i2c: E2 08 00 D9 07 80 13 01 00 00 00 00 00 5D [14:40:01]Write i2c OK [14:40:01]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0E 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0E 00 D9 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 3A [14:40:02]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:40:02]wFMCommunicate OK [14:40:02]SAM_PROTO_GetShiftState done [14:40:02]FM_GetShiftState done [14:40:02]req_shift_opened done [14:40:02]requested_item shift.open_date is exist - process it [14:40:02]req_shift_open_date [14:40:02]req_shift_open_date done [14:40:02]produce_requested_data done [14:40:02]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9142,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [14:40:02]process_action_free close_receipt [14:40:02]json_value_free [14:40:02]json_value_free done [14:40:02]process_json_proto returns [14:40:02]Send response to host [14:40:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9142,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [14:40:02]free response buf [14:40:02]execute_script done [14:40:02]execute_script returns [14:40:02]free content buf [14:40:02]Sock 7.Close socket [14:40:02]Sock 7.Thread stoped [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]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:32]accept exits with 9 [14:46:32]New connection [14:46:32]New thread 3066830180 created [14:46:32]Thread 3066686820 joined [14:46:32]Waiting for new connection... [14:46:32] Sock 9.Parse request [14:46:32]Sock 9.Check first char [14:46:32]Sock 9.First char is OK [14:46:32]request: POST /json_proto HTTP/1.0 [14:46:32]Method: POST [14:46:32]URL: /json_proto [14:46:32]Method is POST - this is cgi request [14:46:32]url: /json_proto [14:46:32]query_string will be loaded in cgi processing [14:46:32]execute_cgi json_proto POST (null) [14:46:32]execute_cgi path=json_proto method=POST [14:46:32]POST find Content-Length [14:46:32]Host: 172.17.55.134:8080 [14:46:32]Content-Length: 613 [14:46:32]Content-Type: application/json [14:46:32] [14:46:32]POST finish read [14:46:32]Found Content-Length = 613 [14:46:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18130", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:32]execute_script... [14:46:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18130", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:32]POST & json_proto [14:46:32]process_json_proto [14:46:32]json parsed OK: [14:46:32]protocol is kg_v1.0 [14:46:32]action value=close_receipt [14:46:32]process_action close_receipt [14:46:32]cmd_close_receipt [14:46:32]MH_GetDate [14:46:32]Write to MH i2c: F0 00 00 DA 07 D0 [14:46:32]Write i2c OK [14:46:32]MH_I2C_Read... [14:46:32]Read from MH i2c: F0 [14:46:32]MH_I2C_Read... [14:46:32]Read from MH i2c: F0 09 00 [14:46:32]MH_I2C_Read... [14:46:32]Read from MH i2c: F0 09 00 DA 07 00 4C AC C4 66 13 35 D9 65 81 [14:46:32]GetLastDocTimeStamp 1724164801 [14:46:32]current date 1724165196 [14:46:32]FM_GetShiftState [14:46:32]SAM_PROTO_GetShiftState [14:46:32]wFMCommunicate request_size=4 [14:46:32]MH_SAM_APDU [14:46:32]CAPDU: 80 13 01 00 [14:46:32]Write to MH i2c: E2 08 00 DB 07 80 13 01 00 00 00 00 00 5F [14:46:32]Write i2c OK [14:46:32]MH_I2C_Read... [14:46:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:32]Read from MH i2c: E2 [14:46:32]MH_I2C_Read... [14:46:32]Read from MH i2c: E2 0E 00 [14:46:32]MH_I2C_Read... [14:46:32]Read from MH i2c: E2 0E 00 DB 07 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 3C [14:46:32]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:46:32]wFMCommunicate OK [14:46:32]SAM_PROTO_GetShiftState done [14:46:32]FM_GetShiftState done [14:46:32]opened in 1724113861 [14:46:32]opened+sec_in_day 1724200261 [14:46:32]quantity*price = 11100 [14:46:32]sum+1 = 11101 [14:46:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 111.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 23 20.08.2024 14:46 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9143 ФПД: 65948610200297 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T144636&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9143&fm=65948610200297&tin=02508201610067®Number=0000000000108878&sum=11100 0 [14:46:33]StoreToDocumentArchive [14:46:33]shift 216 fd 9143 [14:46:33]save to /storage/0216/doc_00009143 [14:46:33]save last doc name /storage/0216/doc_00009143 to /storage/kkm_last_doc_name [14:46:33]save OK [14:46:33]Clear old archive folders... [14:46:33]ProcessDocumentItem done err = 0, tmpTLVsize=266 [14:46:33]tlvbuf is 0043A580 [14:46:33]SAM_PROTO_ClearQueue [14:46:33]wFMCommunicate request_size=4 [14:46:33]MH_SAM_APDU [14:46:33]CAPDU: 80 09 00 00 [14:46:33]Write to MH i2c: E2 08 00 E8 07 80 09 00 00 00 00 00 00 61 [14:46:33]Write i2c OK [14:46:33]MH_I2C_Read... [14:46:33]Read from MH i2c: E2 [14:46:33]MH_I2C_Read... [14:46:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:46:33]Read from MH i2c: E2 03 00 [14:46:33]MH_I2C_Read... [14:46:33]Read from MH i2c: E2 03 00 E8 07 00 90 00 63 [14:46:33]RAPDU: 90 00 [14:46:33]wFMCommunicate OK [14:46:33]SAM_PROTO_ClearQueue done [14:46:33]KKMCreateOFDPacket [14:46:33]OFDProtocolAddRootSTLVToBuf [14:46:33]FM_MakeSignedData [14:46:33]FM_MakeSignedData [14:46:33]SAM_PROTO_SignData [14:46:33]wFMCommunicate request_size=4 [14:46:33]MH_SAM_APDU [14:46:33]CAPDU: 80 0D 01 02 [14:46:33]Write to MH i2c: E2 08 00 E9 07 80 0D 01 02 00 00 00 00 69 [14:46:33]Write i2c OK [14:46:33]MH_I2C_Read... [14:46:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:46:33]Read from MH i2c: E2 [14:46:33]MH_I2C_Read... [14:46:33]Read from MH i2c: E2 03 00 [14:46:33]MH_I2C_Read... [14:46:33]Read from MH i2c: E2 03 00 E9 07 00 90 00 64 [14:46:33]RAPDU: 90 00 [14:46:33]wFMCommunicate OK [14:46:33]wFMCommunicate request_size=255 [14:46:33]MH_SAM_APDU [14:46:33]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 4C AC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 [14:46:33]Write to MH i2c: E2 02 01 EA 07 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 4C AC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 00 00 9A [14:46:33]Write i2c OK [14:46:33]MH_I2C_Read... [14:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:34]Read from MH i2c: E2 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 03 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 03 00 EA 07 00 90 00 65 [14:46:34]RAPDU: 90 00 [14:46:34]wFMCommunicate OK [14:46:34]wFMCommunicate request_size=25 [14:46:34]MH_SAM_APDU [14:46:34]CAPDU: 80 0D 02 02 14 31 39 10 04 04 00 B7 23 00 00 35 04 06 00 3B FA DB 7C 02 E9 [14:46:34]Write to MH i2c: E2 1C 00 EB 07 80 0D 02 02 14 00 31 39 10 04 04 00 B7 23 00 00 35 04 06 00 3B FA DB 7C 02 E9 00 00 A6 [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:34]Read from MH i2c: E2 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 03 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 03 00 EB 07 00 90 00 66 [14:46:34]RAPDU: 90 00 [14:46:34]wFMCommunicate OK [14:46:34]wFMCommunicate request_size=4 [14:46:34]MH_SAM_APDU [14:46:34]CAPDU: 80 0D 03 02 [14:46:34]Write to MH i2c: E2 08 00 EC 07 80 0D 03 02 00 00 00 00 6E [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:46:34]Read from MH i2c: E2 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 0B 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 0B 00 EC 07 00 07 85 A7 92 92 FA 77 6C 90 00 A3 [14:46:34]RAPDU: 07 85 A7 92 92 FA 77 6C 90 00 [14:46:34]wFMCommunicate OK [14:46:34]SAM_PROTO_SignData done [14:46:34]FM_MakeSignedData done [14:46:34]CreateOFDProtocolMessage [14:46:34]wFMCommunicate request_size=4 [14:46:34]MH_SAM_APDU [14:46:34]CAPDU: 80 11 00 00 [14:46:34]Write to MH i2c: E2 08 00 ED 07 80 11 00 00 00 00 00 00 6E [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:34]Read from MH i2c: E2 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 17 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: E2 17 00 ED 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 C5 [14:46:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:46:34]wFMCommunicate OK [14:46:34]CreateOFDProtocolMessage done [14:46:34]OFDSenderStorePacket 9143 [14:46:34]StoreOFDPacket docnum=9143 [14:46:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 1E 01 00 00 9A 76 16 01 68 5B 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 4C AC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B7 23 00 00 35 04 06 00 3B FA DB 7C 02 E9 07 85 A7 92 92 FA 77 6C [14:46:34]CheckFolder [14:46:34]dirname=/storage/ofd_packets [14:46:34]CheckFolder done [14:46:34]ProducePacketName [14:46:34]name=ofd_packets/00009143 [14:46:34]NVStorageSaveData ofd_packets/00009143 [14:46:34]File name is /storage/ofd_packets/00009143 [14:46:34]Write 316 bytes [14:46:34]NVStorageSaveData done [14:46:34]OFDSenderStorePacket done [14:46:34]KKMCreateOFDPacket done [14:46:34]NVStorageSaveData kkm_last_timestamp [14:46:34]File name is /storage/kkm_last_timestamp [14:46:34]Write 4 bytes [14:46:34]NVStorageSaveData done [14:46:34]ExternCall_PrintAddStr [14:46:34]wPrintStart [14:46:34]Write to MH i2c: 01 00 00 EE 07 F5 [14:46:34]Write i2c OK [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: 01 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: 01 07 00 [14:46:34]MH_I2C_Read... [14:46:34]Read from MH i2c: 01 07 00 EE 07 00 00 00 00 00 FF 0F 0A [14:46:34]RasterBufferAndPrint [14:46:34]line Счет N : (3)18130 [14:46:34]line ИНН: 02508201610067 [14:46:34]line Контрольно-Кассовый Чек [14:46:34]line ПРОДАЖА [14:46:34]line Товар: 4870001570071 [14:46:34]line Напиток Pepsi 1л [14:46:34]line 1.000 * 111.00 [14:46:34]line = 111.00 [14:46:34]line НДС 12% НСП 1% [14:46:34]line > о реализуемом товаре [14:46:34]line ИТОГО: 111.00 [14:46:34]line НСП 1% : 0.98 [14:46:34]line НДС 12% : 11.79 [14:46:34]line Наличными: 111.00 [14:46:34]line Безнал.: 0.00 [14:46:34]line Место: АЗС № 94 [14:46:34]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [14:46:34]line СНО: Общий режим [14:46:34]line Чек 23 20.08.2024 14:46 [14:46:34]line Смена: 216 ФФД: 1.0 [14:46:34]line ЗНМ: 0300000128 [14:46:34]line РНМ: 0000000000108878 [14:46:34]line Версия ККМ: 001 [14:46:34]line ФМ: 0000000000965619 [14:46:34]line ФД: 9143 [14:46:34]line ФПД: 65948610200297 [14:46:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T144636&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9143&fm=65948610200297&tin=02508201610067®Number=0000000000108878&sum=11100 [14:46:34]line 0 [14:46:34]OFD Sender: Processing packet 9143 [packets to send 4, broken 3] [14:46:34]ProducePacketName [14:46:34]name=ofd_packets/00009143 [14:46:34]OFD Sender: To server: pG, [14:46:34]CommunicateWithHost lk.salyk.kg:30040 [14:46:34]ConnectInit lk.salyk.kg [14:46:34]written 0, free lines is 4095 [14:46:34]Connected sock=11 [14:46: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 36 31 39 1E 01 00 00 9A 76 16 01 68 5B 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 4C AC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B7 23 00 00 35 04 06 00 3B FA DB 7C 02 E9 07 85 A7 92 92 FA 77 6C [14:46:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 C0 38 47 00 97 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B7 23 00 00 F4 03 04 00 17 54 C4 66 B6 04 01 00 00 69 7D 9E 12 F9 9F E0 51 [14:46:34]CommunicateWithHost err = 0 [14:46:34]CheckOFDResponse [14:46:34]1017 (14) - 77093643461234 [14:46:34]1041 (16) - 0000000000965619 [14:46:34]1040 (4) - 9143 [14:46:34]1012 (4) - 20.08.2024 08:30 [14:46:34]1206 (1) - 0 [14:46:34]OFD Sender: Remove packet 9143 [14:46:34]ProducePacketName [14:46:34]name=ofd_packets/00009143 [14:46:34]NVStorageDeleteData [14:46:35]Write to MH i2c: 01 00 00 15 08 1D [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 07 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: 01 07 00 15 08 00 00 00 00 00 06 0D 37 [14:46:35]RasterBufferAndPrint [14:46:35]line [14:46:35]line [14:46:35]line [14:46:35]line [14:46:35]line [14:46:35]written 0, free lines is 3341 [14:46:35]MH_Cut [14:46:35]Write to MH i2c: D1 01 00 1C 08 01 F6 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: D1 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: D1 01 00 [14:46:35]MH_I2C_Read... [14:46:35]Read from MH i2c: D1 01 00 1C 08 00 F5 [14:46:35]Write to MH i2c: 01 00 00 1D 08 25 [14:46:35]Write i2c OK [14:46:35]MH_I2C_Read... [14:46:35]OFD Sender: No OFD packet to send [14:46:35]*** Cut start [14:46:35]*** Partial cut [14:46:35]*** CUTSNS_PIN = 1 [14:46:35]*** CUTSNS_PIN = 0 [14:46:36]*** Brake cut motor [14:46:36]Read from MH i2c: 01 [14:46:36]MH_I2C_Read... [14:46:36]*** Stop cut motor [14:46:36]*** Cut end [14:46:36]Read from MH i2c: 01 07 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: 01 07 00 1D 08 00 00 00 00 00 FF 0F 3A [14:46:36]process_action close_receipt done [14:46:36]requested_data is exist [14:46:36]produce_requested_data [14:46:36]requested_item fm.sn is exist - process it [14:46:36]wFMCommunicate request_size=4 [14:46:36]MH_SAM_APDU [14:46:36]CAPDU: 80 11 00 00 [14:46:36]Write to MH i2c: E2 08 00 1E 08 80 11 00 00 00 00 00 00 A0 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:36]Read from MH i2c: E2 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 17 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 17 00 1E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F7 [14:46:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:46:36]wFMCommunicate OK [14:46:36]requested_item fd.num is exist - process it [14:46:36]SAM_PROTO_GetFieldsCounters [14:46:36]wFMCommunicate request_size=4 [14:46:36]MH_SAM_APDU [14:46:36]CAPDU: 80 13 00 00 [14:46:36]Write to MH i2c: E2 08 00 1F 08 80 13 00 00 00 00 00 00 A3 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:46:36]Read from MH i2c: E2 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 62 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 62 00 1F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B7 23 00 00 0E 04 04 00 D8 00 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 C6 [14:46: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B7 23 00 00 0E 04 04 00 D8 00 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 [14:46:36]wFMCommunicate OK [14:46:36]SAM_PROTO_GetFieldsCounters done [14:46:36]requested_item shift.num is exist - process it [14:46:36]requested_item shift.opened is exist - process it [14:46:36]req_shift_opened [14:46:36]FM_GetShiftState [14:46:36]SAM_PROTO_GetShiftState [14:46:36]wFMCommunicate request_size=4 [14:46:36]MH_SAM_APDU [14:46:36]CAPDU: 80 13 01 00 [14:46:36]Write to MH i2c: E2 08 00 20 08 80 13 01 00 00 00 00 00 A5 [14:46:36]Write i2c OK [14:46:36]MH_I2C_Read... [14:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:36]Read from MH i2c: E2 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 0E 00 [14:46:36]MH_I2C_Read... [14:46:36]Read from MH i2c: E2 0E 00 20 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 82 [14:46:36]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:46:36]wFMCommunicate OK [14:46:36]SAM_PROTO_GetShiftState done [14:46:36]FM_GetShiftState done [14:46:36]req_shift_opened done [14:46:36]requested_item shift.open_date is exist - process it [14:46:36]req_shift_open_date [14:46:36]req_shift_open_date done [14:46:36]produce_requested_data done [14:46:36]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9143,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [14:46:36]process_action_free close_receipt [14:46:36]json_value_free [14:46:36]json_value_free done [14:46:36]process_json_proto returns [14:46:36]Send response to host [14:46:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9143,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [14:46:36]free response buf [14:46:36]execute_script done [14:46:36]execute_script returns [14:46:36]free content buf [14:46:36]Sock 9.Close socket [14:46:36]Sock 9.Thread stoped [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:57:00]OFD Sender: No OFD packet to send [14:57:05]OFD Sender: No OFD packet to send [14:57:10]OFD Sender: No OFD packet to send [14:57:15]OFD Sender: No OFD packet to send [14:57:20]OFD Sender: No OFD packet to send [14:57:25]OFD Sender: No OFD packet to send [14:57:30]OFD Sender: No OFD packet to send [14:57:35]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:53]accept exits with 7 [14:57:53]New connection [14:57:53]New thread 3066686820 created [14:57:53]Thread 3066830180 joined [14:57:53]Waiting for new connection... [14:57:53] Sock 7.Parse request [14:57:53]Sock 7.Check first char [14:57:53]Sock 7.First char is OK [14:57:53]request: POST /json_proto HTTP/1.0 [14:57:53]Method: POST [14:57:53]URL: /json_proto [14:57:53]Method is POST - this is cgi request [14:57:53]url: /json_proto [14:57:53]query_string will be loaded in cgi processing [14:57:53]execute_cgi json_proto POST (null) [14:57:53]execute_cgi path=json_proto method=POST [14:57:53]POST find Content-Length [14:57:53]Host: 172.17.55.134:8080 [14:57:53]Content-Length: 666 [14:57:53]Content-Type: application/json [14:57:53] [14:57:53]POST finish read [14:57:53]Found Content-Length = 666 [14:57:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18131", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:53]execute_script... [14:57:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18131", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:53]POST & json_proto [14:57:53]process_json_proto [14:57:53]json parsed OK: [14:57:53]protocol is kg_v1.0 [14:57:53]action value=close_receipt [14:57:53]process_action close_receipt [14:57:53]cmd_close_receipt [14:57:53]MH_GetDate [14:57:53]Write to MH i2c: F0 00 00 21 08 18 [14:57:53]Write i2c OK [14:57:53]MH_I2C_Read... [14:57:53]Read from MH i2c: F0 [14:57:53]MH_I2C_Read... [14:57:53]Read from MH i2c: F0 09 00 [14:57:53]MH_I2C_Read... [14:57:53]Read from MH i2c: F0 09 00 21 08 00 F5 AE C4 66 13 35 D9 65 74 [14:57:53]GetLastDocTimeStamp 1724165196 [14:57:53]current date 1724165877 [14:57:53]FM_GetShiftState [14:57:53]SAM_PROTO_GetShiftState [14:57:53]wFMCommunicate request_size=4 [14:57:53]MH_SAM_APDU [14:57:53]CAPDU: 80 13 01 00 [14:57:53]Write to MH i2c: E2 08 00 22 08 80 13 01 00 00 00 00 00 A7 [14:57:53]Write i2c OK [14:57:53]MH_I2C_Read... [14:57:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:53]Read from MH i2c: E2 [14:57:53]MH_I2C_Read... [14:57:53]Read from MH i2c: E2 0E 00 [14:57:53]MH_I2C_Read... [14:57:53]Read from MH i2c: E2 0E 00 22 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 84 [14:57:53]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:57:53]wFMCommunicate OK [14:57:53]SAM_PROTO_GetShiftState done [14:57:53]FM_GetShiftState done [14:57:53]opened in 1724113861 [14:57:53]opened+sec_in_day 1724200261 [14:57:53]quantity*price = 20000 [14:57:53]sum+1 = 20001 [14:57:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 24 20.08.2024 14:57 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9144 ФПД: 108374455324756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T145757&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9144&fm=108374455324756&tin=02508201610067®Number=0000000000108878&sum=20000 0 [14:57:54]StoreToDocumentArchive [14:57:54]shift 216 fd 9144 [14:57:54]save to /storage/0216/doc_00009144 [14:57:54]save last doc name /storage/0216/doc_00009144 to /storage/kkm_last_doc_name [14:57:54]save OK [14:57:54]Clear old archive folders... [14:57:54]ProcessDocumentItem done err = 0, tmpTLVsize=283 [14:57:54]tlvbuf is 004458A0 [14:57:54]SAM_PROTO_ClearQueue [14:57:54]wFMCommunicate request_size=4 [14:57:54]MH_SAM_APDU [14:57:54]CAPDU: 80 09 00 00 [14:57:54]Write to MH i2c: E2 08 00 2F 08 80 09 00 00 00 00 00 00 A9 [14:57:54]Write i2c OK [14:57:54]MH_I2C_Read... [14:57:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:57:54]Read from MH i2c: E2 [14:57:54]MH_I2C_Read... [14:57:54]Read from MH i2c: E2 03 00 [14:57:54]MH_I2C_Read... [14:57:54]Read from MH i2c: E2 03 00 2F 08 00 90 00 AB [14:57:54]RAPDU: 90 00 [14:57:54]wFMCommunicate OK [14:57:54]SAM_PROTO_ClearQueue done [14:57:54]KKMCreateOFDPacket [14:57:54]OFDProtocolAddRootSTLVToBuf [14:57:54]FM_MakeSignedData [14:57:54]FM_MakeSignedData [14:57:54]SAM_PROTO_SignData [14:57:54]wFMCommunicate request_size=4 [14:57:54]MH_SAM_APDU [14:57:54]CAPDU: 80 0D 01 02 [14:57:54]Write to MH i2c: E2 08 00 30 08 80 0D 01 02 00 00 00 00 B1 [14:57:54]Write i2c OK [14:57:54]MH_I2C_Read... [14:57:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:57:54]Read from MH i2c: E2 [14:57:54]MH_I2C_Read... [14:57:54]Read from MH i2c: E2 03 00 [14:57:54]MH_I2C_Read... [14:57:54]Read from MH i2c: E2 03 00 30 08 00 90 00 AC [14:57:54]RAPDU: 90 00 [14:57:54]wFMCommunicate OK [14:57:54]wFMCommunicate request_size=255 [14:57:54]MH_SAM_APDU [14:57:54]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 F5 AE C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 [14:57:54]Write to MH i2c: E2 02 01 31 08 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 F5 AE C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 00 00 E3 [14:57:54]Write i2c OK [14:57:54]MH_I2C_Read... [14:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:55]Read from MH i2c: E2 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 03 00 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 03 00 31 08 00 90 00 AD [14:57:55]RAPDU: 90 00 [14:57:55]wFMCommunicate OK [14:57:55]wFMCommunicate request_size=42 [14:57:55]MH_SAM_APDU [14:57:55]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B8 23 00 00 35 04 06 00 62 90 E4 E9 90 54 [14:57:55]Write to MH i2c: E2 2D 00 32 08 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B8 23 00 00 35 04 06 00 62 90 E4 E9 90 54 00 00 0B [14:57:55]Write i2c OK [14:57:55]MH_I2C_Read... [14:57:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:55]Read from MH i2c: E2 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 03 00 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 03 00 32 08 00 90 00 AE [14:57:55]RAPDU: 90 00 [14:57:55]wFMCommunicate OK [14:57:55]wFMCommunicate request_size=4 [14:57:55]MH_SAM_APDU [14:57:55]CAPDU: 80 0D 03 02 [14:57:55]Write to MH i2c: E2 08 00 33 08 80 0D 03 02 00 00 00 00 B6 [14:57:55]Write i2c OK [14:57:55]MH_I2C_Read... [14:57:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:57:55]Read from MH i2c: E2 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 0B 00 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 0B 00 33 08 00 ED 66 15 E6 9A 17 A5 3F 90 00 9A [14:57:55]RAPDU: ED 66 15 E6 9A 17 A5 3F 90 00 [14:57:55]wFMCommunicate OK [14:57:55]SAM_PROTO_SignData done [14:57:55]FM_MakeSignedData done [14:57:55]CreateOFDProtocolMessage [14:57:55]wFMCommunicate request_size=4 [14:57:55]MH_SAM_APDU [14:57:55]CAPDU: 80 11 00 00 [14:57:55]Write to MH i2c: E2 08 00 34 08 80 11 00 00 00 00 00 00 B6 [14:57:55]Write i2c OK [14:57:55]MH_I2C_Read... [14:57:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:55]Read from MH i2c: E2 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 17 00 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: E2 17 00 34 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0D [14:57:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:57:55]wFMCommunicate OK [14:57:55]CreateOFDProtocolMessage done [14:57:55]OFDSenderStorePacket 9144 [14:57:55]StoreOFDPacket docnum=9144 [14:57:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2F 01 00 00 D3 A4 27 01 A8 C8 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 F5 AE C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B8 23 00 00 35 04 06 00 62 90 E4 E9 90 54 ED 66 15 E6 9A 17 A5 3F [14:57:55]CheckFolder [14:57:55]dirname=/storage/ofd_packets [14:57:55]CheckFolder done [14:57:55]ProducePacketName [14:57:55]name=ofd_packets/00009144 [14:57:55]NVStorageSaveData ofd_packets/00009144 [14:57:55]File name is /storage/ofd_packets/00009144 [14:57:55]Write 333 bytes [14:57:55]NVStorageSaveData done [14:57:55]OFDSenderStorePacket done [14:57:55]KKMCreateOFDPacket done [14:57:55]NVStorageSaveData kkm_last_timestamp [14:57:55]File name is /storage/kkm_last_timestamp [14:57:55]Write 4 bytes [14:57:55]NVStorageSaveData done [14:57:55]ExternCall_PrintAddStr [14:57:55]wPrintStart [14:57:55]Write to MH i2c: 01 00 00 35 08 3D [14:57:55]Write i2c OK [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: 01 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: 01 07 00 [14:57:55]MH_I2C_Read... [14:57:55]Read from MH i2c: 01 07 00 35 08 00 00 00 00 00 FF 0F 52 [14:57:55]RasterBufferAndPrint [14:57:55]line Счет N : (3)18131 [14:57:55]line ИНН: 02508201610067 [14:57:55]line Контрольно-Кассовый Чек [14:57:55]line ПРОДАЖА [14:57:55]line Товар: 4700002086281 [14:57:55]line Водка Белое золото 0,24л [14:57:55]line 1.000 * 200.00 [14:57:55]line = 200.00 [14:57:55]line НДС 12% НСП 1% [14:57:55]line > о реализуемом товаре [14:57:55]line ИТОГО: 200.00 [14:57:55]line НСП 1% : 1.77 [14:57:55]line НДС 12% : 21.24 [14:57:55]line Наличными: 200.00 [14:57:55]line Безнал.: 0.00 [14:57:55]line Место: АЗС № 94 [14:57:55]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [14:57:55]line СНО: Общий режим [14:57:55]line Чек 24 20.08.2024 14:57 [14:57:55]line Смена: 216 ФФД: 1.0 [14:57:55]line ЗНМ: 0300000128 [14:57:55]line РНМ: 0000000000108878 [14:57:55]line Версия ККМ: 001 [14:57:55]line ФМ: 0000000000965619 [14:57:55]line ФД: 9144 [14:57:55]line ФПД: 108374455324756 [14:57:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T145757&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9144&fm=108374455324756&tin=02508201610067®Number=0000000000108878&sum=20000 [14:57:55]line 0 [14:57:55]OFD Sender: Processing packet 9144 [packets to send 4, broken 3] [14:57:55]ProducePacketName [14:57:55]name=ofd_packets/00009144 [14:57:55]OFD Sender: To server: pG, [14:57:55]CommunicateWithHost lk.salyk.kg:30040 [14:57:55]ConnectInit lk.salyk.kg [14:57:55]written 0, free lines is 4095 [14:57:56]Write to MH i2c: 01 00 00 5C 08 64 [14:57:56]Write i2c OK [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: 01 [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: 01 07 00 [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: 01 07 00 5C 08 00 00 00 00 00 FC 0C 73 [14:57:56]RasterBufferAndPrint [14:57:56]line [14:57:56]line [14:57:56]line [14:57:56]line [14:57:56]line [14:57:56]written 0, free lines is 3331 [14:57:56]MH_Cut [14:57:56]Write to MH i2c: D1 01 00 63 08 01 3D [14:57:56]Write i2c OK [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: D1 [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: D1 01 00 [14:57:56]MH_I2C_Read... [14:57:56]Read from MH i2c: D1 01 00 63 08 00 3C [14:57:56]Write to MH i2c: 01 00 00 64 08 6C [14:57:56]Write i2c OK [14:57:56]MH_I2C_Read... [14:57:56]*** Cut start [14:57:56]*** Partial cut [14:57:56]*** CUTSNS_PIN = 1 [14:57:56]*** CUTSNS_PIN = 0 [14:57:57]*** Brake cut motor [14:57:57]Read from MH i2c: 01 [14:57:57]MH_I2C_Read... [14:57:57]*** Stop cut motor [14:57:57]*** Cut end [14:57:57]Read from MH i2c: 01 07 00 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: 01 07 00 64 08 00 00 00 00 00 FF 0F 81 [14:57:57]process_action close_receipt done [14:57:57]requested_data is exist [14:57:57]produce_requested_data [14:57:57]requested_item fm.sn is exist - process it [14:57:57]wFMCommunicate request_size=4 [14:57:57]MH_SAM_APDU [14:57:57]CAPDU: 80 11 00 00 [14:57:57]Write to MH i2c: E2 08 00 65 08 80 11 00 00 00 00 00 00 E7 [14:57:57]Write i2c OK [14:57:57]MH_I2C_Read... [14:57:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:57]Read from MH i2c: E2 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 17 00 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 17 00 65 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3E [14:57:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [14:57:57]wFMCommunicate OK [14:57:57]requested_item fd.num is exist - process it [14:57:57]SAM_PROTO_GetFieldsCounters [14:57:57]wFMCommunicate request_size=4 [14:57:57]MH_SAM_APDU [14:57:57]CAPDU: 80 13 00 00 [14:57:57]Write to MH i2c: E2 08 00 66 08 80 13 00 00 00 00 00 00 EA [14:57:57]Write i2c OK [14:57:57]MH_I2C_Read... [14:57:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:57]Read from MH i2c: E2 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 62 00 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 62 00 66 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B8 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [14:57: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B8 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:57:57]wFMCommunicate OK [14:57:57]SAM_PROTO_GetFieldsCounters done [14:57:57]requested_item shift.num is exist - process it [14:57:57]requested_item shift.opened is exist - process it [14:57:57]req_shift_opened [14:57:57]FM_GetShiftState [14:57:57]SAM_PROTO_GetShiftState [14:57:57]wFMCommunicate request_size=4 [14:57:57]MH_SAM_APDU [14:57:57]CAPDU: 80 13 01 00 [14:57:57]Write to MH i2c: E2 08 00 67 08 80 13 01 00 00 00 00 00 EC [14:57:57]Write i2c OK [14:57:57]MH_I2C_Read... [14:57:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:57]Read from MH i2c: E2 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 0E 00 [14:57:57]MH_I2C_Read... [14:57:57]Read from MH i2c: E2 0E 00 67 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 C9 [14:57:57]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [14:57:57]wFMCommunicate OK [14:57:57]SAM_PROTO_GetShiftState done [14:57:57]FM_GetShiftState done [14:57:57]req_shift_opened done [14:57:57]requested_item shift.open_date is exist - process it [14:57:57]req_shift_open_date [14:57:57]req_shift_open_date done [14:57:57]produce_requested_data done [14:57:57]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9144,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [14:57:57]process_action_free close_receipt [14:57:57]json_value_free [14:57:57]json_value_free done [14:57:57]process_json_proto returns [14:57:57]Send response to host [14:57:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9144,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [14:57:57]free response buf [14:57:57]execute_script done [14:57:57]execute_script returns [14:57:57]free content buf [14:57:57]Sock 7.Close socket [14:57:57]Sock 7.Thread stoped [15:00:05]ConnectInit Can't connect to host [15:00:05]CommunicateWithHost connect error [15:00:05]CommunicateWithHost err = -1 [15:00:05]OFD Sender: Server communicate error [15:00:10]OFD Sender: Processing packet 9144 [packets to send 4, broken 3] [15:00:10]ProducePacketName [15:00:10]name=ofd_packets/00009144 [15:00:10]OFD Sender: To server: pG, [15:00:10]CommunicateWithHost lk.salyk.kg:30040 [15:00:10]ConnectInit lk.salyk.kg [15:00:10]Connected sock=7 [15:00:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2F 01 00 00 D3 A4 27 01 A8 C8 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 F5 AE C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B8 23 00 00 35 04 06 00 62 90 E4 E9 90 54 ED 66 15 E6 9A 17 A5 3F [15:00:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 6F 92 47 00 DC D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B8 23 00 00 F4 03 04 00 47 57 C4 66 B6 04 01 00 00 68 7A 83 AD CD BF 00 8B [15:00:11]CommunicateWithHost err = 0 [15:00:11]CheckOFDResponse [15:00:11]1017 (14) - 77093643461234 [15:00:11]1041 (16) - 0000000000965619 [15:00:11]1040 (4) - 9144 [15:00:11]1012 (4) - 20.08.2024 08:43 [15:00:11]1206 (1) - 0 [15:00:11]OFD Sender: Remove packet 9144 [15:00:11]ProducePacketName [15:00:11]name=ofd_packets/00009144 [15:00:11]NVStorageDeleteData [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:45]accept exits with 9 [15:01:45]New connection [15:01:45]New thread 3066830180 created [15:01:45]Thread 3066686820 joined [15:01:45]Waiting for new connection... [15:01:45] Sock 9.Parse request [15:01:45]Sock 9.Check first char [15:01:45]Sock 9.First char is OK [15:01:45]request: POST /json_proto HTTP/1.0 [15:01:45]Method: POST [15:01:45]URL: /json_proto [15:01:45]Method is POST - this is cgi request [15:01:45]url: /json_proto [15:01:45]query_string will be loaded in cgi processing [15:01:45]execute_cgi json_proto POST (null) [15:01:45]execute_cgi path=json_proto method=POST [15:01:45]POST find Content-Length [15:01:45]Host: 172.17.55.134:8080 [15:01:45]Content-Length: 626 [15:01:45]Content-Type: application/json [15:01:45] [15:01:45]POST finish read [15:01:45]Found Content-Length = 626 [15:01:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18132", "tax_sys" : 0, "items" : [ { "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:45]execute_script... [15:01: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)18132", "tax_sys" : 0, "items" : [ { "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:45]POST & json_proto [15:01:45]process_json_proto [15:01:45]json parsed OK: [15:01:45]protocol is kg_v1.0 [15:01:45]action value=close_receipt [15:01:45]process_action close_receipt [15:01:45]cmd_close_receipt [15:01:45]MH_GetDate [15:01:45]Write to MH i2c: F0 00 00 68 08 5F [15:01:45]Write i2c OK [15:01:45]MH_I2C_Read... [15:01:45]Read from MH i2c: F0 [15:01:45]MH_I2C_Read... [15:01:45]Read from MH i2c: F0 09 00 [15:01:45]MH_I2C_Read... [15:01:45]Read from MH i2c: F0 09 00 68 08 00 DD AF C4 66 13 35 D9 65 A4 [15:01:45]GetLastDocTimeStamp 1724165877 [15:01:45]current date 1724166109 [15:01:45]FM_GetShiftState [15:01:45]SAM_PROTO_GetShiftState [15:01:45]wFMCommunicate request_size=4 [15:01:45]MH_SAM_APDU [15:01:45]CAPDU: 80 13 01 00 [15:01:45]Write to MH i2c: E2 08 00 69 08 80 13 01 00 00 00 00 00 EE [15:01:45]Write i2c OK [15:01:45]MH_I2C_Read... [15:01:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:45]Read from MH i2c: E2 [15:01:45]MH_I2C_Read... [15:01:45]Read from MH i2c: E2 0E 00 [15:01:45]MH_I2C_Read... [15:01:45]Read from MH i2c: E2 0E 00 69 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 CB [15:01:45]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:01:45]wFMCommunicate OK [15:01:45]SAM_PROTO_GetShiftState done [15:01:45]FM_GetShiftState done [15:01:45]opened in 1724113861 [15:01:45]opened+sec_in_day 1724200261 [15:01:45]quantity*price = 3000 [15:01:45]sum+1 = 3001 [15:01:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 25 20.08.2024 15:01 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9145 ФПД: 25925146900698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T150149&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9145&fm=25925146900698&tin=02508201610067®Number=0000000000108878&sum=3000 0 [15:01:46]StoreToDocumentArchive [15:01:46]shift 216 fd 9145 [15:01:46]save to /storage/0216/doc_00009145 [15:01:46]save last doc name /storage/0216/doc_00009145 to /storage/kkm_last_doc_name [15:01:46]save OK [15:01:46]Clear old archive folders... [15:01:46]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:01:46]tlvbuf is 004593C0 [15:01:46]SAM_PROTO_ClearQueue [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 09 00 00 [15:01:46]Write to MH i2c: E2 08 00 76 08 80 09 00 00 00 00 00 00 F0 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 03 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 03 00 76 08 00 90 00 F2 [15:01:46]RAPDU: 90 00 [15:01:46]wFMCommunicate OK [15:01:46]SAM_PROTO_ClearQueue done [15:01:46]KKMCreateOFDPacket [15:01:46]OFDProtocolAddRootSTLVToBuf [15:01:46]FM_MakeSignedData [15:01:46]FM_MakeSignedData [15:01:46]SAM_PROTO_SignData [15:01:46]wFMCommunicate request_size=4 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 0D 01 02 [15:01:46]Write to MH i2c: E2 08 00 77 08 80 0D 01 02 00 00 00 00 F8 [15:01:46]Write i2c OK [15:01:46]MH_I2C_Read... [15:01:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:46]Read from MH i2c: E2 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 03 00 [15:01:46]MH_I2C_Read... [15:01:46]Read from MH i2c: E2 03 00 77 08 00 90 00 F3 [15:01:46]RAPDU: 90 00 [15:01:46]wFMCommunicate OK [15:01:46]wFMCommunicate request_size=255 [15:01:46]MH_SAM_APDU [15:01:46]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 DD AF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 [15:01:47]Write to MH i2c: E2 02 01 78 08 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 DD AF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 00 00 41 [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:47]Read from MH i2c: E2 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 03 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [15:01:47]RAPDU: 90 00 [15:01:47]wFMCommunicate OK [15:01:47]wFMCommunicate request_size=33 [15:01:47]MH_SAM_APDU [15:01:47]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B9 23 00 00 35 04 06 00 17 94 2B 2B F8 DA [15:01:47]Write to MH i2c: E2 24 00 79 08 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B9 23 00 00 35 04 06 00 17 94 2B 2B F8 DA 00 00 3D [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:47]Read from MH i2c: E2 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 03 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 03 00 79 08 00 90 00 F5 [15:01:47]RAPDU: 90 00 [15:01:47]wFMCommunicate OK [15:01:47]wFMCommunicate request_size=4 [15:01:47]MH_SAM_APDU [15:01:47]CAPDU: 80 0D 03 02 [15:01:47]Write to MH i2c: E2 08 00 7A 08 80 0D 03 02 00 00 00 00 FD [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:01:47]Read from MH i2c: E2 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 0B 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 0B 00 7A 08 00 43 C4 3C A4 90 66 BF 11 90 00 AB [15:01:47]RAPDU: 43 C4 3C A4 90 66 BF 11 90 00 [15:01:47]wFMCommunicate OK [15:01:47]SAM_PROTO_SignData done [15:01:47]FM_MakeSignedData done [15:01:47]CreateOFDProtocolMessage [15:01:47]wFMCommunicate request_size=4 [15:01:47]MH_SAM_APDU [15:01:47]CAPDU: 80 11 00 00 [15:01:47]Write to MH i2c: E2 08 00 7B 08 80 11 00 00 00 00 00 00 FD [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:47]Read from MH i2c: E2 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 17 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: E2 17 00 7B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 54 [15:01:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:01:47]wFMCommunicate OK [15:01:47]CreateOFDProtocolMessage done [15:01:47]OFDSenderStorePacket 9145 [15:01:47]StoreOFDPacket docnum=9145 [15:01:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 24 B8 1E 01 E9 B4 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 DD AF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B9 23 00 00 35 04 06 00 17 94 2B 2B F8 DA 43 C4 3C A4 90 66 BF 11 [15:01:47]CheckFolder [15:01:47]dirname=/storage/ofd_packets [15:01:47]CheckFolder done [15:01:47]ProducePacketName [15:01:47]name=ofd_packets/00009145 [15:01:47]NVStorageSaveData ofd_packets/00009145 [15:01:47]File name is /storage/ofd_packets/00009145 [15:01:47]Write 324 bytes [15:01:47]NVStorageSaveData done [15:01:47]OFDSenderStorePacket done [15:01:47]KKMCreateOFDPacket done [15:01:47]NVStorageSaveData kkm_last_timestamp [15:01:47]File name is /storage/kkm_last_timestamp [15:01:47]Write 4 bytes [15:01:47]NVStorageSaveData done [15:01:47]ExternCall_PrintAddStr [15:01:47]wPrintStart [15:01:47]Write to MH i2c: 01 00 00 7C 08 84 [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 07 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 07 00 7C 08 00 00 00 00 00 FF 0F 99 [15:01:47]RasterBufferAndPrint [15:01:47]line Счет N : (3)18132 [15:01:47]line ИНН: 02508201610067 [15:01:47]line Контрольно-Кассовый Чек [15:01:47]line ПРОДАЖА [15:01:47]line Товар: 4700007690018 [15:01:47]line Негаз вода Pamir 0,5 л [15:01:47]line 1.000 * 30.00 [15:01:47]line = 30.00 [15:01:47]line НДС 12% НСП 1% [15:01:47]line > о реализуемом товаре [15:01:47]line ИТОГО: 30.00 [15:01:47]line НСП 1% : 0.26 [15:01:47]line НДС 12% : 3.19 [15:01:47]line Наличными: 30.00 [15:01:47]line Безнал.: 0.00 [15:01:47]line Место: АЗС № 94 [15:01:47]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [15:01:47]line СНО: Общий режим [15:01:47]line Чек 25 20.08.2024 15:01 [15:01:47]line Смена: 216 ФФД: 1.0 [15:01:47]line ЗНМ: 0300000128 [15:01:47]line РНМ: 0000000000108878 [15:01:47]line Версия ККМ: 001 [15:01:47]line ФМ: 0000000000965619 [15:01:47]line ФД: 9145 [15:01:47]line ФПД: 25925146900698 [15:01:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T150149&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9145&fm=25925146900698&tin=02508201610067®Number=0000000000108878&sum=3000 [15:01:47]line 0 [15:01:47]written 0, free lines is 4095 [15:01:47]OFD Sender: Processing packet 9145 [packets to send 4, broken 3] [15:01:47]ProducePacketName [15:01:47]name=ofd_packets/00009145 [15:01:47]OFD Sender: To server: pG, [15:01:47]CommunicateWithHost lk.salyk.kg:30040 [15:01:47]ConnectInit lk.salyk.kg [15:01:47]Connected sock=10 [15:01:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 24 B8 1E 01 E9 B4 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 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 DD AF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B9 23 00 00 35 04 06 00 17 94 2B 2B F8 DA 43 C4 3C A4 90 66 BF 11 [15:01:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 E7 E6 47 00 3D FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 B9 23 00 00 F4 03 04 00 A8 57 C4 66 B6 04 01 00 00 C1 8E 08 A2 53 BC 65 A3 [15:01:47]CommunicateWithHost err = 0 [15:01:47]CheckOFDResponse [15:01:47]1017 (14) - 77093643461234 [15:01:47]1041 (16) - 0000000000965619 [15:01:47]1040 (4) - 9145 [15:01:47]1012 (4) - 20.08.2024 08:45 [15:01:47]1206 (1) - 0 [15:01:47]OFD Sender: Remove packet 9145 [15:01:47]ProducePacketName [15:01:47]name=ofd_packets/00009145 [15:01:47]NVStorageDeleteData [15:01:47]Write to MH i2c: 01 00 00 A3 08 AB [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 07 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: 01 07 00 A3 08 00 00 00 00 00 04 0D C3 [15:01:47]RasterBufferAndPrint [15:01:47]line [15:01:47]line [15:01:47]line [15:01:47]line [15:01:47]line [15:01:47]written 0, free lines is 3338 [15:01:47]MH_Cut [15:01:47]Write to MH i2c: D1 01 00 AA 08 01 84 [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: D1 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: D1 01 00 [15:01:47]MH_I2C_Read... [15:01:47]Read from MH i2c: D1 01 00 AA 08 00 83 [15:01:47]Write to MH i2c: 01 00 00 AB 08 B3 [15:01:47]Write i2c OK [15:01:47]MH_I2C_Read... [15:01:48]OFD Sender: No OFD packet to send [15:01:48]*** Cut start [15:01:48]*** Partial cut [15:01:48]*** CUTSNS_PIN = 1 [15:01:48]*** CUTSNS_PIN = 0 [15:01:48]*** Brake cut motor [15:01:49]Read from MH i2c: 01 [15:01:49]MH_I2C_Read... [15:01:49]*** Stop cut motor [15:01:49]*** Cut end [15:01:49]Read from MH i2c: 01 07 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: 01 07 00 AB 08 00 00 00 00 00 FF 0F C8 [15:01:49]process_action close_receipt done [15:01:49]requested_data is exist [15:01:49]produce_requested_data [15:01:49]requested_item fm.sn is exist - process it [15:01:49]wFMCommunicate request_size=4 [15:01:49]MH_SAM_APDU [15:01:49]CAPDU: 80 11 00 00 [15:01:49]Write to MH i2c: E2 08 00 AC 08 80 11 00 00 00 00 00 00 2E [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:49]Read from MH i2c: E2 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 17 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 17 00 AC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 85 [15:01:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:01:49]wFMCommunicate OK [15:01:49]requested_item fd.num is exist - process it [15:01:49]SAM_PROTO_GetFieldsCounters [15:01:49]wFMCommunicate request_size=4 [15:01:49]MH_SAM_APDU [15:01:49]CAPDU: 80 13 00 00 [15:01:49]Write to MH i2c: E2 08 00 AD 08 80 13 00 00 00 00 00 00 31 [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:01:49]Read from MH i2c: E2 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 62 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 62 00 AD 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B9 23 00 00 0E 04 04 00 D8 00 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 5C [15:01: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 B9 23 00 00 0E 04 04 00 D8 00 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:01:49]wFMCommunicate OK [15:01:49]SAM_PROTO_GetFieldsCounters done [15:01:49]requested_item shift.num is exist - process it [15:01:49]requested_item shift.opened is exist - process it [15:01:49]req_shift_opened [15:01:49]FM_GetShiftState [15:01:49]SAM_PROTO_GetShiftState [15:01:49]wFMCommunicate request_size=4 [15:01:49]MH_SAM_APDU [15:01:49]CAPDU: 80 13 01 00 [15:01:49]Write to MH i2c: E2 08 00 AE 08 80 13 01 00 00 00 00 00 33 [15:01:49]Write i2c OK [15:01:49]MH_I2C_Read... [15:01:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:49]Read from MH i2c: E2 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 0E 00 [15:01:49]MH_I2C_Read... [15:01:49]Read from MH i2c: E2 0E 00 AE 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 10 [15:01:49]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:01:49]wFMCommunicate OK [15:01:49]SAM_PROTO_GetShiftState done [15:01:49]FM_GetShiftState done [15:01:49]req_shift_opened done [15:01:49]requested_item shift.open_date is exist - process it [15:01:49]req_shift_open_date [15:01:49]req_shift_open_date done [15:01:49]produce_requested_data done [15:01:49]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9145,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [15:01:49]process_action_free close_receipt [15:01:49]json_value_free [15:01:49]json_value_free done [15:01:49]process_json_proto returns [15:01:49]Send response to host [15:01:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9145,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [15:01:49]free response buf [15:01:49]execute_script done [15:01:49]execute_script returns [15:01:49]free content buf [15:01:49]Sock 9.Close socket [15:01:49]Sock 9.Thread stoped [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:53]OFD Sender: No OFD packet to send [15:08:58]OFD Sender: No OFD packet to send [15:09:03]OFD Sender: No OFD packet to send [15:09:08]OFD Sender: No OFD packet to send [15:09:13]OFD Sender: No OFD packet to send [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]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:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:35]accept exits with 7 [15:34:35]New connection [15:34:35]New thread 3066686820 created [15:34:35]Thread 3066830180 joined [15:34:35]Waiting for new connection... [15:34:35] Sock 7.Parse request [15:34:35]Sock 7.Check first char [15:34:35]Sock 7.First char is OK [15:34:35]request: POST /json_proto HTTP/1.0 [15:34:35]Method: POST [15:34:35]URL: /json_proto [15:34:35]Method is POST - this is cgi request [15:34:35]url: /json_proto [15:34:35]query_string will be loaded in cgi processing [15:34:35]execute_cgi json_proto POST (null) [15:34:35]execute_cgi path=json_proto method=POST [15:34:35]POST find Content-Length [15:34:35]Host: 172.17.55.134:8080 [15:34:35]Content-Length: 621 [15:34:35]Content-Type: application/json [15:34:35] [15:34:35]POST finish read [15:34:35]Found Content-Length = 621 [15:34:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18133", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:35]execute_script... [15:34:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18133", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:34:35]POST & json_proto [15:34:35]process_json_proto [15:34:35]json parsed OK: [15:34:35]protocol is kg_v1.0 [15:34:35]action value=close_receipt [15:34:35]process_action close_receipt [15:34:35]cmd_close_receipt [15:34:35]MH_GetDate [15:34:35]Write to MH i2c: F0 00 00 AF 08 A6 [15:34:35]Write i2c OK [15:34:35]MH_I2C_Read... [15:34:35]Read from MH i2c: F0 [15:34:35]MH_I2C_Read... [15:34:35]Read from MH i2c: F0 09 00 [15:34:35]MH_I2C_Read... [15:34:35]Read from MH i2c: F0 09 00 AF 08 00 8F B7 C4 66 13 35 D9 65 A5 [15:34:35]GetLastDocTimeStamp 1724166109 [15:34:35]current date 1724168079 [15:34:35]FM_GetShiftState [15:34:35]SAM_PROTO_GetShiftState [15:34:35]wFMCommunicate request_size=4 [15:34:35]MH_SAM_APDU [15:34:35]CAPDU: 80 13 01 00 [15:34:35]Write to MH i2c: E2 08 00 B0 08 80 13 01 00 00 00 00 00 35 [15:34:35]Write i2c OK [15:34:35]MH_I2C_Read... [15:34:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:35]Read from MH i2c: E2 [15:34:35]MH_I2C_Read... [15:34:35]Read from MH i2c: E2 0E 00 [15:34:35]MH_I2C_Read... [15:34:35]Read from MH i2c: E2 0E 00 B0 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 12 [15:34:35]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:34:35]wFMCommunicate OK [15:34:35]SAM_PROTO_GetShiftState done [15:34:35]FM_GetShiftState done [15:34:35]opened in 1724113861 [15:34:35]opened+sec_in_day 1724200261 [15:34:35]quantity*price = 15100 [15:34:35]sum+1 = 15101 [15:34:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 26 20.08.2024 15:34 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9146 ФПД: 214251134102602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153439&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9146&fm=214251134102602&tin=02508201610067®Number=0000000000108878&sum=15100 0 [15:34:36]StoreToDocumentArchive [15:34:36]shift 216 fd 9146 [15:34:36]save to /storage/0216/doc_00009146 [15:34:36]save last doc name /storage/0216/doc_00009146 to /storage/kkm_last_doc_name [15:34:36]save OK [15:34:36]Clear old archive folders... [15:34:36]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:34:36]tlvbuf is 00459200 [15:34:36]SAM_PROTO_ClearQueue [15:34:36]wFMCommunicate request_size=4 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 09 00 00 [15:34:36]Write to MH i2c: E2 08 00 BD 08 80 09 00 00 00 00 00 00 37 [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:34:36]Read from MH i2c: E2 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 BD 08 00 90 00 39 [15:34:36]RAPDU: 90 00 [15:34:36]wFMCommunicate OK [15:34:36]SAM_PROTO_ClearQueue done [15:34:36]KKMCreateOFDPacket [15:34:36]OFDProtocolAddRootSTLVToBuf [15:34:36]FM_MakeSignedData [15:34:36]FM_MakeSignedData [15:34:36]SAM_PROTO_SignData [15:34:36]wFMCommunicate request_size=4 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 0D 01 02 [15:34:36]Write to MH i2c: E2 08 00 BE 08 80 0D 01 02 00 00 00 00 3F [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:34:36]Read from MH i2c: E2 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 BE 08 00 90 00 3A [15:34:36]RAPDU: 90 00 [15:34:36]wFMCommunicate OK [15:34:36]wFMCommunicate request_size=255 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8F B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 [15:34:36]Write to MH i2c: E2 02 01 BF 08 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8F B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 00 00 71 [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:36]Read from MH i2c: E2 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 BF 08 00 90 00 3B [15:34:36]RAPDU: 90 00 [15:34:36]wFMCommunicate OK [15:34:36]wFMCommunicate request_size=33 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BA 23 00 00 35 04 06 00 C2 DC 3A BD AC 4A [15:34:36]Write to MH i2c: E2 24 00 C0 08 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BA 23 00 00 35 04 06 00 C2 DC 3A BD AC 4A 00 00 3D [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:34:36]Read from MH i2c: E2 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 03 00 C0 08 00 90 00 3C [15:34:36]RAPDU: 90 00 [15:34:36]wFMCommunicate OK [15:34:36]wFMCommunicate request_size=4 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 0D 03 02 [15:34:36]Write to MH i2c: E2 08 00 C1 08 80 0D 03 02 00 00 00 00 44 [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:34:36]Read from MH i2c: E2 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 0B 00 [15:34:36]MH_I2C_Read... [15:34:36]Read from MH i2c: E2 0B 00 C1 08 00 64 8A 46 45 11 A7 B8 2A 90 00 58 [15:34:36]RAPDU: 64 8A 46 45 11 A7 B8 2A 90 00 [15:34:36]wFMCommunicate OK [15:34:36]SAM_PROTO_SignData done [15:34:36]FM_MakeSignedData done [15:34:36]CreateOFDProtocolMessage [15:34:36]wFMCommunicate request_size=4 [15:34:36]MH_SAM_APDU [15:34:36]CAPDU: 80 11 00 00 [15:34:36]Write to MH i2c: E2 08 00 C2 08 80 11 00 00 00 00 00 00 44 [15:34:36]Write i2c OK [15:34:36]MH_I2C_Read... [15:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:37]Read from MH i2c: E2 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: E2 17 00 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: E2 17 00 C2 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 9B [15:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:34:37]wFMCommunicate OK [15:34:37]CreateOFDProtocolMessage done [15:34:37]OFDSenderStorePacket 9146 [15:34:37]StoreOFDPacket docnum=9146 [15:34:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 D4 1B 1E 01 00 10 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8F B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BA 23 00 00 35 04 06 00 C2 DC 3A BD AC 4A 64 8A 46 45 11 A7 B8 2A [15:34:37]CheckFolder [15:34:37]dirname=/storage/ofd_packets [15:34:37]CheckFolder done [15:34:37]ProducePacketName [15:34:37]name=ofd_packets/00009146 [15:34:37]NVStorageSaveData ofd_packets/00009146 [15:34:37]File name is /storage/ofd_packets/00009146 [15:34:37]Write 324 bytes [15:34:37]NVStorageSaveData done [15:34:37]OFDSenderStorePacket done [15:34:37]KKMCreateOFDPacket done [15:34:37]NVStorageSaveData kkm_last_timestamp [15:34:37]File name is /storage/kkm_last_timestamp [15:34:37]Write 4 bytes [15:34:37]NVStorageSaveData done [15:34:37]ExternCall_PrintAddStr [15:34:37]wPrintStart [15:34:37]Write to MH i2c: 01 00 00 C3 08 CB [15:34:37]Write i2c OK [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 07 00 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 07 00 C3 08 00 00 00 00 00 FF 0F E0 [15:34:37]RasterBufferAndPrint [15:34:37]line Счет N : (3)18133 [15:34:37]line ИНН: 02508201610067 [15:34:37]line Контрольно-Кассовый Чек [15:34:37]line ПРОДАЖА [15:34:37]line Товар: 48741958 [15:34:37]line Сигареты Parliament Aqua Blue [15:34:37]line 1.000 * 151.00 [15:34:37]line = 151.00 [15:34:37]line НДС 12% НСП 1% [15:34:37]line > о реализуемом товаре [15:34:37]line ИТОГО: 151.00 [15:34:37]line НСП 1% : 1.34 [15:34:37]line НДС 12% : 16.03 [15:34:37]line Наличными: 151.00 [15:34:37]line Безнал.: 0.00 [15:34:37]line Место: АЗС № 94 [15:34:37]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [15:34:37]line СНО: Общий режим [15:34:37]line Чек 26 20.08.2024 15:34 [15:34:37]line Смена: 216 ФФД: 1.0 [15:34:37]line ЗНМ: 0300000128 [15:34:37]line РНМ: 0000000000108878 [15:34:37]line Версия ККМ: 001 [15:34:37]line ФМ: 0000000000965619 [15:34:37]line ФД: 9146 [15:34:37]line ФПД: 214251134102602 [15:34:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153439&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9146&fm=214251134102602&tin=02508201610067®Number=0000000000108878&sum=15100 [15:34:37]line 0 [15:34:37]OFD Sender: Processing packet 9146 [packets to send 4, broken 3] [15:34:37]ProducePacketName [15:34:37]name=ofd_packets/00009146 [15:34:37]OFD Sender: To server: pG, [15:34:37]CommunicateWithHost lk.salyk.kg:30040 [15:34:37]ConnectInit lk.salyk.kg [15:34:37]written 0, free lines is 4095 [15:34:37]Connected sock=10 [15:34:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 D4 1B 1E 01 00 10 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 8F B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BA 23 00 00 35 04 06 00 C2 DC 3A BD AC 4A 64 8A 46 45 11 A7 B8 2A [15:34:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 21 31 47 00 02 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BA 23 00 00 F4 03 04 00 59 5F C4 66 B6 04 01 00 00 CF 4C CB 92 74 29 29 DD [15:34:37]CommunicateWithHost err = 0 [15:34:37]CheckOFDResponse [15:34:37]1017 (14) - 77093643461234 [15:34:37]1041 (16) - 0000000000965619 [15:34:37]1040 (4) - 9146 [15:34:37]1012 (4) - 20.08.2024 09:18 [15:34:37]1206 (1) - 0 [15:34:37]OFD Sender: Remove packet 9146 [15:34:37]ProducePacketName [15:34:37]name=ofd_packets/00009146 [15:34:37]NVStorageDeleteData [15:34:37]Write to MH i2c: 01 00 00 EB 08 F3 [15:34:37]Write i2c OK [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 07 00 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: 01 07 00 EB 08 00 00 00 00 00 D1 0C D7 [15:34:37]RasterBufferAndPrint [15:34:37]line [15:34:37]line [15:34:37]line [15:34:37]line [15:34:37]line [15:34:37]written 0, free lines is 3285 [15:34:37]MH_Cut [15:34:37]Write to MH i2c: D1 01 00 F2 08 01 CC [15:34:37]Write i2c OK [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: D1 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: D1 01 00 [15:34:37]MH_I2C_Read... [15:34:37]Read from MH i2c: D1 01 00 F2 08 00 CB [15:34:37]Write to MH i2c: 01 00 00 F3 08 FB [15:34:37]Write i2c OK [15:34:37]MH_I2C_Read... [15:34:38]OFD Sender: No OFD packet to send [15:34:38]*** Cut start [15:34:38]*** Partial cut [15:34:38]*** CUTSNS_PIN = 1 [15:34:38]*** CUTSNS_PIN = 0 [15:34:38]*** Brake cut motor [15:34:39]Read from MH i2c: 01 [15:34:39]MH_I2C_Read... [15:34:39]*** Stop cut motor [15:34:39]*** Cut end [15:34:39]Read from MH i2c: 01 07 00 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: 01 07 00 F3 08 00 00 00 00 00 FF 0F 10 [15:34:39]process_action close_receipt done [15:34:39]requested_data is exist [15:34:39]produce_requested_data [15:34:39]requested_item fm.sn is exist - process it [15:34:39]wFMCommunicate request_size=4 [15:34:39]MH_SAM_APDU [15:34:39]CAPDU: 80 11 00 00 [15:34:39]Write to MH i2c: E2 08 00 F4 08 80 11 00 00 00 00 00 00 76 [15:34:39]Write i2c OK [15:34:39]MH_I2C_Read... [15:34:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:34:39]Read from MH i2c: E2 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 17 00 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 17 00 F4 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 CD [15:34:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:34:39]wFMCommunicate OK [15:34:39]requested_item fd.num is exist - process it [15:34:39]SAM_PROTO_GetFieldsCounters [15:34:39]wFMCommunicate request_size=4 [15:34:39]MH_SAM_APDU [15:34:39]CAPDU: 80 13 00 00 [15:34:39]Write to MH i2c: E2 08 00 F5 08 80 13 00 00 00 00 00 00 79 [15:34:39]Write i2c OK [15:34:39]MH_I2C_Read... [15:34:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:34:39]Read from MH i2c: E2 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 62 00 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 62 00 F5 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BA 23 00 00 0E 04 04 00 D8 00 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 A8 [15:34:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BA 23 00 00 0E 04 04 00 D8 00 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 [15:34:39]wFMCommunicate OK [15:34:39]SAM_PROTO_GetFieldsCounters done [15:34:39]requested_item shift.num is exist - process it [15:34:39]requested_item shift.opened is exist - process it [15:34:39]req_shift_opened [15:34:39]FM_GetShiftState [15:34:39]SAM_PROTO_GetShiftState [15:34:39]wFMCommunicate request_size=4 [15:34:39]MH_SAM_APDU [15:34:39]CAPDU: 80 13 01 00 [15:34:39]Write to MH i2c: E2 08 00 F6 08 80 13 01 00 00 00 00 00 7B [15:34:39]Write i2c OK [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 [15:34:39]MH_I2C_Read... [15:34:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:34:39]Read from MH i2c: E2 0E 00 [15:34:39]MH_I2C_Read... [15:34:39]Read from MH i2c: E2 0E 00 F6 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 58 [15:34:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:34:39]wFMCommunicate OK [15:34:39]SAM_PROTO_GetShiftState done [15:34:39]FM_GetShiftState done [15:34:39]req_shift_opened done [15:34:39]requested_item shift.open_date is exist - process it [15:34:39]req_shift_open_date [15:34:39]req_shift_open_date done [15:34:39]produce_requested_data done [15:34:39]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9146,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [15:34:39]process_action_free close_receipt [15:34:39]json_value_free [15:34:39]json_value_free done [15:34:39]process_json_proto returns [15:34:39]Send response to host [15:34:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9146,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [15:34:39]free response buf [15:34:39]execute_script done [15:34:39]execute_script returns [15:34:39]free content buf [15:34:39]Sock 7.Close socket [15:34:39]Sock 7.Thread stoped [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:02]accept exits with 9 [15:35:02]New connection [15:35:02]New thread 3066830180 created [15:35:02]Thread 3066686820 joined [15:35:02]Waiting for new connection... [15:35:02] Sock 9.Parse request [15:35:02]Sock 9.Check first char [15:35:02]Sock 9.First char is OK [15:35:02]request: POST /json_proto HTTP/1.0 [15:35:02]Method: POST [15:35:02]URL: /json_proto [15:35:02]Method is POST - this is cgi request [15:35:02]url: /json_proto [15:35:02]query_string will be loaded in cgi processing [15:35:02]execute_cgi json_proto POST (null) [15:35:02]execute_cgi path=json_proto method=POST [15:35:02]POST find Content-Length [15:35:02]Host: 172.17.55.134:8080 [15:35:02]Content-Length: 645 [15:35:02]Content-Type: application/json [15:35:02] [15:35:02]POST finish read [15:35:02]Found Content-Length = 645 [15:35:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18134", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 152.00, "quantity" : 1.000, "sum" : 152.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 152.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:02]execute_script... [15:35:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18134", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 152.00, "quantity" : 1.000, "sum" : 152.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 152.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:02]POST & json_proto [15:35:02]process_json_proto [15:35:02]json parsed OK: [15:35:02]protocol is kg_v1.0 [15:35:02]action value=close_receipt [15:35:02]process_action close_receipt [15:35:02]cmd_close_receipt [15:35:02]MH_GetDate [15:35:02]Write to MH i2c: F0 00 00 F7 08 EE [15:35:02]Write i2c OK [15:35:02]MH_I2C_Read... [15:35:02]Read from MH i2c: F0 [15:35:02]MH_I2C_Read... [15:35:02]Read from MH i2c: F0 09 00 [15:35:02]MH_I2C_Read... [15:35:02]Read from MH i2c: F0 09 00 F7 08 00 AA B7 C4 66 13 35 D9 65 08 [15:35:02]GetLastDocTimeStamp 1724168079 [15:35:02]current date 1724168106 [15:35:02]FM_GetShiftState [15:35:02]SAM_PROTO_GetShiftState [15:35:02]wFMCommunicate request_size=4 [15:35:02]MH_SAM_APDU [15:35:02]CAPDU: 80 13 01 00 [15:35:02]Write to MH i2c: E2 08 00 F8 08 80 13 01 00 00 00 00 00 7D [15:35:02]Write i2c OK [15:35:02]MH_I2C_Read... [15:35:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:02]Read from MH i2c: E2 [15:35:02]MH_I2C_Read... [15:35:02]Read from MH i2c: E2 0E 00 [15:35:02]MH_I2C_Read... [15:35:02]Read from MH i2c: E2 0E 00 F8 08 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 5A [15:35:02]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:35:02]wFMCommunicate OK [15:35:02]SAM_PROTO_GetShiftState done [15:35:02]FM_GetShiftState done [15:35:02]opened in 1724113861 [15:35:02]opened+sec_in_day 1724200261 [15:35:02]quantity*price = 15200 [15:35:02]sum+1 = 15201 [15:35:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 152.00 НСП 1% : 1.34 НДС 12% : 16.14 Наличными: 152.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 27 20.08.2024 15:35 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9147 ФПД: 161616985115148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153506&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9147&fm=161616985115148&tin=02508201610067®Number=0000000000108878&sum=15200 0 [15:35:03]StoreToDocumentArchive [15:35:03]shift 216 fd 9147 [15:35:03]save to /storage/0216/doc_00009147 [15:35:03]save last doc name /storage/0216/doc_00009147 to /storage/kkm_last_doc_name [15:35:03]save OK [15:35:03]Clear old archive folders... [15:35:03]ProcessDocumentItem done err = 0, tmpTLVsize=278 [15:35:03]tlvbuf is 00455080 [15:35:03]SAM_PROTO_ClearQueue [15:35:03]wFMCommunicate request_size=4 [15:35:03]MH_SAM_APDU [15:35:03]CAPDU: 80 09 00 00 [15:35:03]Write to MH i2c: E2 08 00 05 09 80 09 00 00 00 00 00 00 80 [15:35:03]Write i2c OK [15:35:03]MH_I2C_Read... [15:35:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:03]Read from MH i2c: E2 [15:35:03]MH_I2C_Read... [15:35:03]Read from MH i2c: E2 03 00 [15:35:03]MH_I2C_Read... [15:35:03]Read from MH i2c: E2 03 00 05 09 00 90 00 82 [15:35:03]RAPDU: 90 00 [15:35:03]wFMCommunicate OK [15:35:03]SAM_PROTO_ClearQueue done [15:35:03]KKMCreateOFDPacket [15:35:03]OFDProtocolAddRootSTLVToBuf [15:35:03]FM_MakeSignedData [15:35:03]FM_MakeSignedData [15:35:03]SAM_PROTO_SignData [15:35:03]wFMCommunicate request_size=4 [15:35:03]MH_SAM_APDU [15:35:03]CAPDU: 80 0D 01 02 [15:35:03]Write to MH i2c: E2 08 00 06 09 80 0D 01 02 00 00 00 00 88 [15:35:03]Write i2c OK [15:35:03]MH_I2C_Read... [15:35:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:03]Read from MH i2c: E2 [15:35:03]MH_I2C_Read... [15:35:03]Read from MH i2c: E2 03 00 [15:35:03]MH_I2C_Read... [15:35:03]Read from MH i2c: E2 03 00 06 09 00 90 00 83 [15:35:03]RAPDU: 90 00 [15:35:03]wFMCommunicate OK [15:35:03]wFMCommunicate request_size=255 [15:35:03]MH_SAM_APDU [15:35:03]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 3B 00 00 00 00 13 04 06 00 60 3B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 AA B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 [15:35:03]Write to MH i2c: E2 02 01 07 09 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 3B 00 00 00 00 13 04 06 00 60 3B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 AA B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 00 00 39 [15:35:03]Write i2c OK [15:35:03]MH_I2C_Read... [15:35:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:04]Read from MH i2c: E2 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 03 00 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 03 00 07 09 00 90 00 84 [15:35:04]RAPDU: 90 00 [15:35:04]wFMCommunicate OK [15:35:04]wFMCommunicate request_size=37 [15:35:04]MH_SAM_APDU [15:35:04]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BB 23 00 00 35 04 06 00 92 FD 62 FC CA 0C [15:35:04]Write to MH i2c: E2 28 00 08 09 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BB 23 00 00 35 04 06 00 92 FD 62 FC CA 0C 00 00 87 [15:35:04]Write i2c OK [15:35:04]MH_I2C_Read... [15:35:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:04]Read from MH i2c: E2 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 03 00 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 03 00 08 09 00 90 00 85 [15:35:04]RAPDU: 90 00 [15:35:04]wFMCommunicate OK [15:35:04]wFMCommunicate request_size=4 [15:35:04]MH_SAM_APDU [15:35:04]CAPDU: 80 0D 03 02 [15:35:04]Write to MH i2c: E2 08 00 09 09 80 0D 03 02 00 00 00 00 8D [15:35:04]Write i2c OK [15:35:04]MH_I2C_Read... [15:35:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:04]Read from MH i2c: E2 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 0B 00 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 0B 00 09 09 00 2D 21 3F EE F2 32 88 88 90 00 3D [15:35:04]RAPDU: 2D 21 3F EE F2 32 88 88 90 00 [15:35:04]wFMCommunicate OK [15:35:04]SAM_PROTO_SignData done [15:35:04]FM_MakeSignedData done [15:35:04]CreateOFDProtocolMessage [15:35:04]wFMCommunicate request_size=4 [15:35:04]MH_SAM_APDU [15:35:04]CAPDU: 80 11 00 00 [15:35:04]Write to MH i2c: E2 08 00 0A 09 80 11 00 00 00 00 00 00 8D [15:35:04]Write i2c OK [15:35:04]MH_I2C_Read... [15:35:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:04]Read from MH i2c: E2 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 17 00 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: E2 17 00 0A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 E4 [15:35:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:35:04]wFMCommunicate OK [15:35:04]CreateOFDProtocolMessage done [15:35:04]OFDSenderStorePacket 9147 [15:35:04]StoreOFDPacket docnum=9147 [15:35:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2A 01 00 00 0C 0F 22 01 A6 B3 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 3B 00 00 00 00 13 04 06 00 60 3B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 AA B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BB 23 00 00 35 04 06 00 92 FD 62 FC CA 0C 2D 21 3F EE F2 32 88 88 [15:35:04]CheckFolder [15:35:04]dirname=/storage/ofd_packets [15:35:04]CheckFolder done [15:35:04]ProducePacketName [15:35:04]name=ofd_packets/00009147 [15:35:04]NVStorageSaveData ofd_packets/00009147 [15:35:04]File name is /storage/ofd_packets/00009147 [15:35:04]Write 328 bytes [15:35:04]NVStorageSaveData done [15:35:04]OFDSenderStorePacket done [15:35:04]KKMCreateOFDPacket done [15:35:04]NVStorageSaveData kkm_last_timestamp [15:35:04]File name is /storage/kkm_last_timestamp [15:35:04]Write 4 bytes [15:35:04]NVStorageSaveData done [15:35:04]ExternCall_PrintAddStr [15:35:04]wPrintStart [15:35:04]Write to MH i2c: 01 00 00 0B 09 14 [15:35:04]Write i2c OK [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: 01 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: 01 07 00 [15:35:04]MH_I2C_Read... [15:35:04]Read from MH i2c: 01 07 00 0B 09 00 00 00 00 00 FF 0F 29 [15:35:04]RasterBufferAndPrint [15:35:04]line Счет N : (3)18134 [15:35:04]line ИНН: 02508201610067 [15:35:04]line Контрольно-Кассовый Чек [15:35:04]line ПРОДАЖА [15:35:04]line Товар: 90162602 [15:35:04]line Энерг напиток Red bull 0,25л [15:35:04]line 1.000 * 152.00 [15:35:04]line = 152.00 [15:35:04]line НДС 12% НСП 1% [15:35:04]line > о реализуемом товаре [15:35:04]line ИТОГО: 152.00 [15:35:04]line НСП 1% : 1.34 [15:35:04]line НДС 12% : 16.14 [15:35:04]line Наличными: 152.00 [15:35:04]line Безнал.: 0.00 [15:35:04]line Место: АЗС № 94 [15:35:04]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [15:35:04]line СНО: Общий режим [15:35:04]line Чек 27 20.08.2024 15:35 [15:35:04]line Смена: 216 ФФД: 1.0 [15:35:04]line ЗНМ: 0300000128 [15:35:04]line РНМ: 0000000000108878 [15:35:04]line Версия ККМ: 001 [15:35:04]line ФМ: 0000000000965619 [15:35:04]line ФД: 9147 [15:35:04]line ФПД: 161616985115148 [15:35:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153506&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9147&fm=161616985115148&tin=02508201610067®Number=0000000000108878&sum=15200 [15:35:04]line 0 [15:35:04]OFD Sender: Processing packet 9147 [packets to send 4, broken 3] [15:35:04]ProducePacketName [15:35:04]name=ofd_packets/00009147 [15:35:04]OFD Sender: To server: pG, [15:35:04]CommunicateWithHost lk.salyk.kg:30040 [15:35:04]ConnectInit lk.salyk.kg [15:35:04]written 0, free lines is 4095 [15:35:04]Connected sock=10 [15:35:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2A 01 00 00 0C 0F 22 01 A6 B3 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 3B 00 00 00 00 13 04 06 00 60 3B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 3B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 06 00 00 00 00 07 04 06 00 60 3B 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 AA B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BB 23 00 00 35 04 06 00 92 FD 62 FC CA 0C 2D 21 3F EE F2 32 88 88 [15:35:05]Write to MH i2c: 01 00 00 32 09 3B [15:35:05]Write i2c OK [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: 01 [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: 01 07 00 [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: 01 07 00 32 09 00 00 00 00 00 11 0D 60 [15:35:05]RasterBufferAndPrint [15:35:05]line [15:35:05]line [15:35:05]line [15:35:05]line [15:35:05]line [15:35:05]written 0, free lines is 3354 [15:35:05]MH_Cut [15:35:05]Write to MH i2c: D1 01 00 39 09 01 14 [15:35:05]Write i2c OK [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: D1 [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: D1 01 00 [15:35:05]MH_I2C_Read... [15:35:05]Read from MH i2c: D1 01 00 39 09 00 13 [15:35:05]Write to MH i2c: 01 00 00 3A 09 43 [15:35:05]Write i2c OK [15:35:05]MH_I2C_Read... [15:35:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 A8 AA 47 00 B4 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BB 23 00 00 F4 03 04 00 75 5F C4 66 B6 04 01 00 00 D3 68 1E 0C A7 F8 92 66 [15:35:05]CommunicateWithHost err = 0 [15:35:05]CheckOFDResponse [15:35:05]1017 (14) - 77093643461234 [15:35:05]1041 (16) - 0000000000965619 [15:35:05]1040 (4) - 9147 [15:35:05]1012 (4) - 20.08.2024 09:18 [15:35:05]1206 (1) - 0 [15:35:05]OFD Sender: Remove packet 9147 [15:35:05]ProducePacketName [15:35:05]name=ofd_packets/00009147 [15:35:05]NVStorageDeleteData [15:35:05]OFD Sender: No OFD packet to send [15:35:05]*** Cut start [15:35:05]*** Partial cut [15:35:05]*** CUTSNS_PIN = 1 [15:35:05]*** CUTSNS_PIN = 0 [15:35:06]*** Brake cut motor [15:35:06]Read from MH i2c: 01 [15:35:06]MH_I2C_Read... [15:35:06]*** Stop cut motor [15:35:06]*** Cut end [15:35:06]Read from MH i2c: 01 07 00 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: 01 07 00 3A 09 00 00 00 00 00 FF 0F 58 [15:35:06]process_action close_receipt done [15:35:06]requested_data is exist [15:35:06]produce_requested_data [15:35:06]requested_item fm.sn is exist - process it [15:35:06]wFMCommunicate request_size=4 [15:35:06]MH_SAM_APDU [15:35:06]CAPDU: 80 11 00 00 [15:35:06]Write to MH i2c: E2 08 00 3B 09 80 11 00 00 00 00 00 00 BE [15:35:06]Write i2c OK [15:35:06]MH_I2C_Read... [15:35:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:06]Read from MH i2c: E2 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 17 00 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 17 00 3B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 15 [15:35:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:35:06]wFMCommunicate OK [15:35:06]requested_item fd.num is exist - process it [15:35:06]SAM_PROTO_GetFieldsCounters [15:35:06]wFMCommunicate request_size=4 [15:35:06]MH_SAM_APDU [15:35:06]CAPDU: 80 13 00 00 [15:35:06]Write to MH i2c: E2 08 00 3C 09 80 13 00 00 00 00 00 00 C1 [15:35:06]Write i2c OK [15:35:06]MH_I2C_Read... [15:35:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:35:06]Read from MH i2c: E2 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 62 00 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 62 00 3C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BB 23 00 00 0E 04 04 00 D8 00 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 F4 [15:35:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BB 23 00 00 0E 04 04 00 D8 00 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 [15:35:06]wFMCommunicate OK [15:35:06]SAM_PROTO_GetFieldsCounters done [15:35:06]requested_item shift.num is exist - process it [15:35:06]requested_item shift.opened is exist - process it [15:35:06]req_shift_opened [15:35:06]FM_GetShiftState [15:35:06]SAM_PROTO_GetShiftState [15:35:06]wFMCommunicate request_size=4 [15:35:06]MH_SAM_APDU [15:35:06]CAPDU: 80 13 01 00 [15:35:06]Write to MH i2c: E2 08 00 3D 09 80 13 01 00 00 00 00 00 C3 [15:35:06]Write i2c OK [15:35:06]MH_I2C_Read... [15:35:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:06]Read from MH i2c: E2 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 0E 00 [15:35:06]MH_I2C_Read... [15:35:06]Read from MH i2c: E2 0E 00 3D 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A0 [15:35:06]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:35:06]wFMCommunicate OK [15:35:06]SAM_PROTO_GetShiftState done [15:35:06]FM_GetShiftState done [15:35:06]req_shift_opened done [15:35:06]requested_item shift.open_date is exist - process it [15:35:06]req_shift_open_date [15:35:06]req_shift_open_date done [15:35:06]produce_requested_data done [15:35:06]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9147,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [15:35:06]process_action_free close_receipt [15:35:06]json_value_free [15:35:06]json_value_free done [15:35:06]process_json_proto returns [15:35:06]Send response to host [15:35:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9147,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [15:35:06]free response buf [15:35:06]execute_script done [15:35:06]execute_script returns [15:35:06]free content buf [15:35:06]Sock 9.Close socket [15:35:06]Sock 9.Thread stoped [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:39]accept exits with 7 [15:35:39]New connection [15:35:39]New thread 3066686820 created [15:35:39]Thread 3066830180 joined [15:35:39]Waiting for new connection... [15:35:39] Sock 7.Parse request [15:35:39]Sock 7.Check first char [15:35:39]Sock 7.First char is OK [15:35:39]request: POST /json_proto HTTP/1.0 [15:35:39]Method: POST [15:35:39]URL: /json_proto [15:35:39]Method is POST - this is cgi request [15:35:39]url: /json_proto [15:35:39]query_string will be loaded in cgi processing [15:35:39]execute_cgi json_proto POST (null) [15:35:39]execute_cgi path=json_proto method=POST [15:35:39]POST find Content-Length [15:35:39]Host: 172.17.55.134:8080 [15:35:39]Content-Length: 660 [15:35:39]Content-Type: application/json [15:35:39] [15:35:39]POST finish read [15:35:39]Found Content-Length = 660 [15:35:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18135", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:39]execute_script... [15:35: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)18135", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:39]POST & json_proto [15:35:39]process_json_proto [15:35:39]json parsed OK: [15:35:39]protocol is kg_v1.0 [15:35:39]action value=close_receipt [15:35:39]process_action close_receipt [15:35:39]cmd_close_receipt [15:35:39]MH_GetDate [15:35:39]Write to MH i2c: F0 00 00 3E 09 36 [15:35:39]Write i2c OK [15:35:39]MH_I2C_Read... [15:35:39]Read from MH i2c: F0 [15:35:39]MH_I2C_Read... [15:35:39]Read from MH i2c: F0 09 00 [15:35:39]MH_I2C_Read... [15:35:39]Read from MH i2c: F0 09 00 3E 09 00 CF B7 C4 66 13 35 D9 65 75 [15:35:39]GetLastDocTimeStamp 1724168106 [15:35:39]current date 1724168143 [15:35:39]FM_GetShiftState [15:35:39]SAM_PROTO_GetShiftState [15:35:39]wFMCommunicate request_size=4 [15:35:39]MH_SAM_APDU [15:35:39]CAPDU: 80 13 01 00 [15:35:39]Write to MH i2c: E2 08 00 3F 09 80 13 01 00 00 00 00 00 C5 [15:35:39]Write i2c OK [15:35:39]MH_I2C_Read... [15:35:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:39]Read from MH i2c: E2 [15:35:39]MH_I2C_Read... [15:35:39]Read from MH i2c: E2 0E 00 [15:35:39]MH_I2C_Read... [15:35:39]Read from MH i2c: E2 0E 00 3F 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A2 [15:35:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:35:39]wFMCommunicate OK [15:35:39]SAM_PROTO_GetShiftState done [15:35:39]FM_GetShiftState done [15:35:39]opened in 1724113861 [15:35:39]opened+sec_in_day 1724200261 [15:35:39]quantity*price = 6700 [15:35:39]sum+1 = 6701 [15:35:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 28 20.08.2024 15:35 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9148 ФПД: 89811177965281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153543&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9148&fm=89811177965281&tin=02508201610067®Number=0000000000108878&sum=6700 0 [15:35:40]StoreToDocumentArchive [15:35:40]shift 216 fd 9148 [15:35:40]save to /storage/0216/doc_00009148 [15:35:40]save last doc name /storage/0216/doc_00009148 to /storage/kkm_last_doc_name [15:35:40]save OK [15:35:40]Clear old archive folders... [15:35:40]ProcessDocumentItem done err = 0, tmpTLVsize=284 [15:35:40]tlvbuf is 00454E00 [15:35:40]SAM_PROTO_ClearQueue [15:35:40]wFMCommunicate request_size=4 [15:35:40]MH_SAM_APDU [15:35:40]CAPDU: 80 09 00 00 [15:35:40]Write to MH i2c: E2 08 00 4C 09 80 09 00 00 00 00 00 00 C7 [15:35:40]Write i2c OK [15:35:40]MH_I2C_Read... [15:35:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:40]Read from MH i2c: E2 [15:35:40]MH_I2C_Read... [15:35:40]Read from MH i2c: E2 03 00 [15:35:40]MH_I2C_Read... [15:35:40]Read from MH i2c: E2 03 00 4C 09 00 90 00 C9 [15:35:40]RAPDU: 90 00 [15:35:40]wFMCommunicate OK [15:35:40]SAM_PROTO_ClearQueue done [15:35:40]KKMCreateOFDPacket [15:35:40]OFDProtocolAddRootSTLVToBuf [15:35:40]FM_MakeSignedData [15:35:40]FM_MakeSignedData [15:35:40]SAM_PROTO_SignData [15:35:40]wFMCommunicate request_size=4 [15:35:40]MH_SAM_APDU [15:35:40]CAPDU: 80 0D 01 02 [15:35:40]Write to MH i2c: E2 08 00 4D 09 80 0D 01 02 00 00 00 00 CF [15:35:40]Write i2c OK [15:35:40]MH_I2C_Read... [15:35:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:40]Read from MH i2c: E2 [15:35:40]MH_I2C_Read... [15:35:40]Read from MH i2c: E2 03 00 [15:35:40]MH_I2C_Read... [15:35:40]Read from MH i2c: E2 03 00 4D 09 00 90 00 CA [15:35:40]RAPDU: 90 00 [15:35:40]wFMCommunicate OK [15:35:40]wFMCommunicate request_size=255 [15:35:40]MH_SAM_APDU [15:35:40]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 CF B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 [15:35:40]Write to MH i2c: E2 02 01 4E 09 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 CF B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 00 00 9B [15:35:40]Write i2c OK [15:35:40]MH_I2C_Read... [15:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:41]Read from MH i2c: E2 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 03 00 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 03 00 4E 09 00 90 00 CB [15:35:41]RAPDU: 90 00 [15:35:41]wFMCommunicate OK [15:35:41]wFMCommunicate request_size=43 [15:35:41]MH_SAM_APDU [15:35:41]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BC 23 00 00 35 04 06 00 51 AE CB 5C 06 E1 [15:35:41]Write to MH i2c: E2 2E 00 4F 09 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BC 23 00 00 35 04 06 00 51 AE CB 5C 06 E1 00 00 AA [15:35:41]Write i2c OK [15:35:41]MH_I2C_Read... [15:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:41]Read from MH i2c: E2 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 03 00 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 03 00 4F 09 00 90 00 CC [15:35:41]RAPDU: 90 00 [15:35:41]wFMCommunicate OK [15:35:41]wFMCommunicate request_size=4 [15:35:41]MH_SAM_APDU [15:35:41]CAPDU: 80 0D 03 02 [15:35:41]Write to MH i2c: E2 08 00 50 09 80 0D 03 02 00 00 00 00 D4 [15:35:41]Write i2c OK [15:35:41]MH_I2C_Read... [15:35:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:41]Read from MH i2c: E2 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 0B 00 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 0B 00 50 09 00 F5 EF 3B C8 22 A6 AA D0 90 00 FE [15:35:41]RAPDU: F5 EF 3B C8 22 A6 AA D0 90 00 [15:35:41]wFMCommunicate OK [15:35:41]SAM_PROTO_SignData done [15:35:41]FM_MakeSignedData done [15:35:41]CreateOFDProtocolMessage [15:35:41]wFMCommunicate request_size=4 [15:35:41]MH_SAM_APDU [15:35:41]CAPDU: 80 11 00 00 [15:35:41]Write to MH i2c: E2 08 00 51 09 80 11 00 00 00 00 00 00 D4 [15:35:41]Write i2c OK [15:35:41]MH_I2C_Read... [15:35:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:41]Read from MH i2c: E2 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 17 00 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: E2 17 00 51 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 2B [15:35:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:35:41]wFMCommunicate OK [15:35:41]CreateOFDProtocolMessage done [15:35:41]OFDSenderStorePacket 9148 [15:35:41]StoreOFDPacket docnum=9148 [15:35:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 30 01 00 00 2C 2E 28 01 93 8C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 CF B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BC 23 00 00 35 04 06 00 51 AE CB 5C 06 E1 F5 EF 3B C8 22 A6 AA D0 [15:35:41]CheckFolder [15:35:41]dirname=/storage/ofd_packets [15:35:41]CheckFolder done [15:35:41]ProducePacketName [15:35:41]name=ofd_packets/00009148 [15:35:41]NVStorageSaveData ofd_packets/00009148 [15:35:41]File name is /storage/ofd_packets/00009148 [15:35:41]Write 334 bytes [15:35:41]NVStorageSaveData done [15:35:41]OFDSenderStorePacket done [15:35:41]KKMCreateOFDPacket done [15:35:41]NVStorageSaveData kkm_last_timestamp [15:35:41]File name is /storage/kkm_last_timestamp [15:35:41]Write 4 bytes [15:35:41]NVStorageSaveData done [15:35:41]ExternCall_PrintAddStr [15:35:41]wPrintStart [15:35:41]Write to MH i2c: 01 00 00 52 09 5B [15:35:41]Write i2c OK [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: 01 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: 01 07 00 [15:35:41]MH_I2C_Read... [15:35:41]Read from MH i2c: 01 07 00 52 09 00 00 00 00 00 FF 0F 70 [15:35:41]RasterBufferAndPrint [15:35:41]line Счет N : (3)18135 [15:35:41]line ИНН: 02508201610067 [15:35:41]line Контрольно-Кассовый Чек [15:35:41]line ПРОДАЖА [15:35:41]line Товар: 6931280300549 [15:35:41]line Зажигалка Cricket ПН пьезо [15:35:41]line 1.000 * 67.00 [15:35:41]line = 67.00 [15:35:41]line НДС 12% НСП 1% [15:35:41]line > о реализуемом товаре [15:35:41]line ИТОГО: 67.00 [15:35:41]line НСП 1% : 0.59 [15:35:41]line НДС 12% : 7.11 [15:35:41]line Наличными: 67.00 [15:35:41]line Безнал.: 0.00 [15:35:41]line Место: АЗС № 94 [15:35:41]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [15:35:41]line СНО: Общий режим [15:35:41]line Чек 28 20.08.2024 15:35 [15:35:41]line Смена: 216 ФФД: 1.0 [15:35:41]line ЗНМ: 0300000128 [15:35:41]line РНМ: 0000000000108878 [15:35:41]line Версия ККМ: 001 [15:35:41]line ФМ: 0000000000965619 [15:35:41]line ФД: 9148 [15:35:41]line ФПД: 89811177965281 [15:35:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T153543&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9148&fm=89811177965281&tin=02508201610067®Number=0000000000108878&sum=6700 [15:35:41]line 0 [15:35:41]OFD Sender: Processing packet 9148 [packets to send 4, broken 3] [15:35:41]ProducePacketName [15:35:41]name=ofd_packets/00009148 [15:35:41]OFD Sender: To server: pG, [15:35:41]CommunicateWithHost lk.salyk.kg:30040 [15:35:41]ConnectInit lk.salyk.kg [15:35:41]written 0, free lines is 4095 [15:35:41]Connected sock=10 [15:35: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 36 31 39 30 01 00 00 2C 2E 28 01 93 8C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 CF B7 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BC 23 00 00 35 04 06 00 51 AE CB 5C 06 E1 F5 EF 3B C8 22 A6 AA D0 [15:35:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 88 86 47 00 2B EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BC 23 00 00 F4 03 04 00 9A 5F C4 66 B6 04 01 00 00 92 C4 8C A7 67 2A 49 16 [15:35:42]CommunicateWithHost err = 0 [15:35:42]CheckOFDResponse [15:35:42]1017 (14) - 77093643461234 [15:35:42]1041 (16) - 0000000000965619 [15:35:42]1040 (4) - 9148 [15:35:42]1012 (4) - 20.08.2024 09:19 [15:35:42]1206 (1) - 0 [15:35:42]OFD Sender: Remove packet 9148 [15:35:42]ProducePacketName [15:35:42]name=ofd_packets/00009148 [15:35:42]NVStorageDeleteData [15:35:42]Write to MH i2c: 01 00 00 79 09 82 [15:35:42]Write i2c OK [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: 01 [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: 01 07 00 [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: 01 07 00 79 09 00 00 00 00 00 14 0D AA [15:35:42]RasterBufferAndPrint [15:35:42]line [15:35:42]line [15:35:42]line [15:35:42]line [15:35:42]line [15:35:42]written 0, free lines is 3357 [15:35:42]MH_Cut [15:35:42]Write to MH i2c: D1 01 00 80 09 01 5B [15:35:42]Write i2c OK [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: D1 [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: D1 01 00 [15:35:42]MH_I2C_Read... [15:35:42]Read from MH i2c: D1 01 00 80 09 00 5A [15:35:42]Write to MH i2c: 01 00 00 81 09 8A [15:35:42]Write i2c OK [15:35:42]MH_I2C_Read... [15:35:42]OFD Sender: No OFD packet to send [15:35:42]*** Cut start [15:35:42]*** Partial cut [15:35:42]*** CUTSNS_PIN = 1 [15:35:42]*** CUTSNS_PIN = 0 [15:35:43]*** Brake cut motor [15:35:43]Read from MH i2c: 01 [15:35:43]MH_I2C_Read... [15:35:43]*** Stop cut motor [15:35:43]*** Cut end [15:35:43]Read from MH i2c: 01 07 00 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: 01 07 00 81 09 00 00 00 00 00 FF 0F 9F [15:35:43]process_action close_receipt done [15:35:43]requested_data is exist [15:35:43]produce_requested_data [15:35:43]requested_item fm.sn is exist - process it [15:35:43]wFMCommunicate request_size=4 [15:35:43]MH_SAM_APDU [15:35:43]CAPDU: 80 11 00 00 [15:35:43]Write to MH i2c: E2 08 00 82 09 80 11 00 00 00 00 00 00 05 [15:35:43]Write i2c OK [15:35:43]MH_I2C_Read... [15:35:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:43]Read from MH i2c: E2 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 17 00 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 17 00 82 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 5C [15:35:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:35:43]wFMCommunicate OK [15:35:43]requested_item fd.num is exist - process it [15:35:43]SAM_PROTO_GetFieldsCounters [15:35:43]wFMCommunicate request_size=4 [15:35:43]MH_SAM_APDU [15:35:43]CAPDU: 80 13 00 00 [15:35:43]Write to MH i2c: E2 08 00 83 09 80 13 00 00 00 00 00 00 08 [15:35:43]Write i2c OK [15:35:43]MH_I2C_Read... [15:35:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:35:43]Read from MH i2c: E2 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 62 00 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 62 00 83 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BC 23 00 00 0E 04 04 00 D8 00 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 3F [15:35:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BC 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:35:43]wFMCommunicate OK [15:35:43]SAM_PROTO_GetFieldsCounters done [15:35:43]requested_item shift.num is exist - process it [15:35:43]requested_item shift.opened is exist - process it [15:35:43]req_shift_opened [15:35:43]FM_GetShiftState [15:35:43]SAM_PROTO_GetShiftState [15:35:43]wFMCommunicate request_size=4 [15:35:43]MH_SAM_APDU [15:35:43]CAPDU: 80 13 01 00 [15:35:43]Write to MH i2c: E2 08 00 84 09 80 13 01 00 00 00 00 00 0A [15:35:43]Write i2c OK [15:35:43]MH_I2C_Read... [15:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:43]Read from MH i2c: E2 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 0E 00 [15:35:43]MH_I2C_Read... [15:35:43]Read from MH i2c: E2 0E 00 84 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E7 [15:35:43]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:35:43]wFMCommunicate OK [15:35:43]SAM_PROTO_GetShiftState done [15:35:43]FM_GetShiftState done [15:35:43]req_shift_opened done [15:35:43]requested_item shift.open_date is exist - process it [15:35:43]req_shift_open_date [15:35:43]req_shift_open_date done [15:35:43]produce_requested_data done [15:35:43]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9148,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [15:35:43]process_action_free close_receipt [15:35:43]json_value_free [15:35:43]json_value_free done [15:35:43]process_json_proto returns [15:35:43]Send response to host [15:35:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9148,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [15:35:43]free response buf [15:35:43]execute_script done [15:35:43]execute_script returns [15:35:43]free content buf [15:35:43]Sock 7.Close socket [15:35:43]Sock 7.Thread stoped [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:27]OFD Sender: No OFD packet to send [15:42:32]OFD Sender: No OFD packet to send [15:42:37]OFD Sender: No OFD packet to send [15:42:42]OFD Sender: No OFD packet to send [15:42:47]OFD Sender: No OFD packet to send [15:42:52]OFD Sender: No OFD packet to send [15:42:57]OFD Sender: No OFD packet to send [15:43:02]OFD Sender: No OFD packet to send [15:43:07]OFD Sender: No OFD packet to send [15:43:12]OFD Sender: No OFD packet to send [15:43:17]OFD Sender: No OFD packet to send [15:43:22]OFD Sender: No OFD packet to send [15:43:27]OFD Sender: No OFD packet to send [15:43:32]OFD Sender: No OFD packet to send [15:43:37]OFD Sender: No OFD packet to send [15:43:42]OFD Sender: No OFD packet to send [15:43:47]OFD Sender: No OFD packet to send [15:43:52]OFD Sender: No OFD packet to send [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50:48]OFD Sender: No OFD packet to send [15:50:53]OFD Sender: No OFD packet to send [15:50:58]OFD Sender: No OFD packet to send [15:51:03]OFD Sender: No OFD packet to send [15:51:08]OFD Sender: No OFD packet to send [15:51:13]OFD Sender: No OFD packet to send [15:51:18]OFD Sender: No OFD packet to send [15:51:23]OFD Sender: No OFD packet to send [15:51:28]OFD Sender: No OFD packet to send [15:51:33]OFD Sender: No OFD packet to send [15:51:38]OFD Sender: No OFD packet to send [15:51:43]OFD Sender: No OFD packet to send [15:51:48]OFD Sender: No OFD packet to send [15:51:53]OFD Sender: No OFD packet to send [15:51:58]OFD Sender: No OFD packet to send [15:52:03]OFD Sender: No OFD packet to send [15:52:08]OFD Sender: No OFD packet to send [15:52:13]OFD Sender: No OFD packet to send [15:52:18]OFD Sender: No OFD packet to send [15:52:23]OFD Sender: No OFD packet to send [15:52:28]OFD Sender: No OFD packet to send [15:52:33]OFD Sender: No OFD packet to send [15:52:38]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:18]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:26]accept exits with 9 [15:57:26]New connection [15:57:26]New thread 3066830180 created [15:57:26]Thread 3066686820 joined [15:57:26]Waiting for new connection... [15:57:26] Sock 9.Parse request [15:57:26]Sock 9.Check first char [15:57:26]Sock 9.First char is OK [15:57:26]request: POST /json_proto HTTP/1.0 [15:57:26]Method: POST [15:57:26]URL: /json_proto [15:57:26]Method is POST - this is cgi request [15:57:26]url: /json_proto [15:57:26]query_string will be loaded in cgi processing [15:57:26]execute_cgi json_proto POST (null) [15:57:26]execute_cgi path=json_proto method=POST [15:57:26]POST find Content-Length [15:57:26]Host: 172.17.55.134:8080 [15:57:26]Content-Length: 618 [15:57:26]Content-Type: application/json [15:57:26] [15:57:26]POST finish read [15:57:26]Found Content-Length = 618 [15:57:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18136", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:26]execute_script... [15:57:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18136", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:26]POST & json_proto [15:57:26]process_json_proto [15:57:26]json parsed OK: [15:57:26]protocol is kg_v1.0 [15:57:26]action value=close_receipt [15:57:26]process_action close_receipt [15:57:26]cmd_close_receipt [15:57:26]MH_GetDate [15:57:26]Write to MH i2c: F0 00 00 85 09 7D [15:57:26]Write i2c OK [15:57:26]MH_I2C_Read... [15:57:26]Read from MH i2c: F0 [15:57:26]MH_I2C_Read... [15:57:26]Read from MH i2c: F0 09 00 [15:57:26]MH_I2C_Read... [15:57:26]Read from MH i2c: F0 09 00 85 09 00 EA BC C4 66 13 35 D9 65 DC [15:57:26]GetLastDocTimeStamp 1724168143 [15:57:26]current date 1724169450 [15:57:26]FM_GetShiftState [15:57:26]SAM_PROTO_GetShiftState [15:57:26]wFMCommunicate request_size=4 [15:57:26]MH_SAM_APDU [15:57:26]CAPDU: 80 13 01 00 [15:57:26]Write to MH i2c: E2 08 00 86 09 80 13 01 00 00 00 00 00 0C [15:57:26]Write i2c OK [15:57:26]MH_I2C_Read... [15:57:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:26]Read from MH i2c: E2 [15:57:26]MH_I2C_Read... [15:57:26]Read from MH i2c: E2 0E 00 [15:57:26]MH_I2C_Read... [15:57:26]Read from MH i2c: E2 0E 00 86 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E9 [15:57:26]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:57:26]wFMCommunicate OK [15:57:26]SAM_PROTO_GetShiftState done [15:57:26]FM_GetShiftState done [15:57:26]opened in 1724113861 [15:57:26]opened+sec_in_day 1724200261 [15:57:26]quantity*price = 14000 [15:57:26]sum+1 = 14001 [15:57:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 29 20.08.2024 15:57 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9149 ФПД: 154512904483895 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T155730&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9149&fm=154512904483895&tin=02508201610067®Number=0000000000108878&sum=14000 0 [15:57:27]StoreToDocumentArchive [15:57:27]shift 216 fd 9149 [15:57:27]save to /storage/0216/doc_00009149 [15:57:27]save last doc name /storage/0216/doc_00009149 to /storage/kkm_last_doc_name [15:57:27]save OK [15:57:27]Clear old archive folders... [15:57:27]ProcessDocumentItem done err = 0, tmpTLVsize=271 [15:57:27]tlvbuf is 00389240 [15:57:27]SAM_PROTO_ClearQueue [15:57:27]wFMCommunicate request_size=4 [15:57:27]MH_SAM_APDU [15:57:27]CAPDU: 80 09 00 00 [15:57:27]Write to MH i2c: E2 08 00 93 09 80 09 00 00 00 00 00 00 0E [15:57:27]Write i2c OK [15:57:27]MH_I2C_Read... [15:57:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:27]Read from MH i2c: E2 [15:57:27]MH_I2C_Read... [15:57:27]Read from MH i2c: E2 03 00 [15:57:27]MH_I2C_Read... [15:57:27]Read from MH i2c: E2 03 00 93 09 00 90 00 10 [15:57:27]RAPDU: 90 00 [15:57:27]wFMCommunicate OK [15:57:27]SAM_PROTO_ClearQueue done [15:57:27]KKMCreateOFDPacket [15:57:27]OFDProtocolAddRootSTLVToBuf [15:57:27]FM_MakeSignedData [15:57:27]FM_MakeSignedData [15:57:27]SAM_PROTO_SignData [15:57:27]wFMCommunicate request_size=4 [15:57:27]MH_SAM_APDU [15:57:27]CAPDU: 80 0D 01 02 [15:57:27]Write to MH i2c: E2 08 00 94 09 80 0D 01 02 00 00 00 00 16 [15:57:27]Write i2c OK [15:57:27]MH_I2C_Read... [15:57:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:27]Read from MH i2c: E2 [15:57:27]MH_I2C_Read... [15:57:27]Read from MH i2c: E2 03 00 [15:57:27]MH_I2C_Read... [15:57:27]Read from MH i2c: E2 03 00 94 09 00 90 00 11 [15:57:27]RAPDU: 90 00 [15:57:27]wFMCommunicate OK [15:57:27]wFMCommunicate request_size=255 [15:57:27]MH_SAM_APDU [15:57:27]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA BC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [15:57:27]Write to MH i2c: E2 02 01 95 09 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA BC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 66 [15:57:27]Write i2c OK [15:57:27]MH_I2C_Read... [15:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:28]Read from MH i2c: E2 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 03 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 03 00 95 09 00 90 00 12 [15:57:28]RAPDU: 90 00 [15:57:28]wFMCommunicate OK [15:57:28]wFMCommunicate request_size=30 [15:57:28]MH_SAM_APDU [15:57:28]CAPDU: 80 0D 02 02 19 30 39 36 35 36 31 39 10 04 04 00 BD 23 00 00 35 04 06 00 8C 87 56 C8 F4 37 [15:57:28]Write to MH i2c: E2 21 00 96 09 80 0D 02 02 19 00 30 39 36 35 36 31 39 10 04 04 00 BD 23 00 00 35 04 06 00 8C 87 56 C8 F4 37 00 00 52 [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:28]Read from MH i2c: E2 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 03 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 03 00 96 09 00 90 00 13 [15:57:28]RAPDU: 90 00 [15:57:28]wFMCommunicate OK [15:57:28]wFMCommunicate request_size=4 [15:57:28]MH_SAM_APDU [15:57:28]CAPDU: 80 0D 03 02 [15:57:28]Write to MH i2c: E2 08 00 97 09 80 0D 03 02 00 00 00 00 1B [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:28]Read from MH i2c: E2 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 0B 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 0B 00 97 09 00 40 AA 37 04 7B FC F6 E0 90 00 8E [15:57:28]RAPDU: 40 AA 37 04 7B FC F6 E0 90 00 [15:57:28]wFMCommunicate OK [15:57:28]SAM_PROTO_SignData done [15:57:28]FM_MakeSignedData done [15:57:28]CreateOFDProtocolMessage [15:57:28]wFMCommunicate request_size=4 [15:57:28]MH_SAM_APDU [15:57:28]CAPDU: 80 11 00 00 [15:57:28]Write to MH i2c: E2 08 00 98 09 80 11 00 00 00 00 00 00 1B [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:28]Read from MH i2c: E2 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 17 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: E2 17 00 98 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 72 [15:57:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:57:28]wFMCommunicate OK [15:57:28]CreateOFDProtocolMessage done [15:57:28]OFDSenderStorePacket 9149 [15:57:28]StoreOFDPacket docnum=9149 [15:57:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 B0 BF 1B 01 96 81 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA BC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BD 23 00 00 35 04 06 00 8C 87 56 C8 F4 37 40 AA 37 04 7B FC F6 E0 [15:57:28]CheckFolder [15:57:28]dirname=/storage/ofd_packets [15:57:28]CheckFolder done [15:57:28]ProducePacketName [15:57:28]name=ofd_packets/00009149 [15:57:28]NVStorageSaveData ofd_packets/00009149 [15:57:28]File name is /storage/ofd_packets/00009149 [15:57:28]Write 321 bytes [15:57:28]NVStorageSaveData done [15:57:28]OFDSenderStorePacket done [15:57:28]KKMCreateOFDPacket done [15:57:28]NVStorageSaveData kkm_last_timestamp [15:57:28]File name is /storage/kkm_last_timestamp [15:57:28]Write 4 bytes [15:57:28]NVStorageSaveData done [15:57:28]ExternCall_PrintAddStr [15:57:28]wPrintStart [15:57:28]Write to MH i2c: 01 00 00 99 09 A2 [15:57:28]Write i2c OK [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: 01 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: 01 07 00 [15:57:28]MH_I2C_Read... [15:57:28]Read from MH i2c: 01 07 00 99 09 00 00 00 00 00 FF 0F B7 [15:57:28]RasterBufferAndPrint [15:57:28]line Счет N : (3)18136 [15:57:28]line ИНН: 02508201610067 [15:57:28]line Контрольно-Кассовый Чек [15:57:28]line ПРОДАЖА [15:57:28]line Товар: 47802995 [15:57:28]line Сигареты Winston XS Silver [15:57:28]line 1.000 * 140.00 [15:57:28]line = 140.00 [15:57:28]line НДС 12% НСП 1% [15:57:28]line > о реализуемом товаре [15:57:28]line ИТОГО: 140.00 [15:57:28]line НСП 1% : 1.24 [15:57:28]line НДС 12% : 14.87 [15:57:28]line Наличными: 140.00 [15:57:28]line Безнал.: 0.00 [15:57:28]line Место: АЗС № 94 [15:57:28]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [15:57:28]line СНО: Общий режим [15:57:28]line Чек 29 20.08.2024 15:57 [15:57:28]line Смена: 216 ФФД: 1.0 [15:57:28]line ЗНМ: 0300000128 [15:57:28]line РНМ: 0000000000108878 [15:57:28]line Версия ККМ: 001 [15:57:28]line ФМ: 0000000000965619 [15:57:28]line ФД: 9149 [15:57:28]line ФПД: 154512904483895 [15:57:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T155730&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9149&fm=154512904483895&tin=02508201610067®Number=0000000000108878&sum=14000 [15:57:28]line 0 [15:57:28]OFD Sender: Processing packet 9149 [packets to send 4, broken 3] [15:57:28]ProducePacketName [15:57:28]name=ofd_packets/00009149 [15:57:28]OFD Sender: To server: pG, [15:57:28]CommunicateWithHost lk.salyk.kg:30040 [15:57:28]ConnectInit lk.salyk.kg [15:57:28]written 0, free lines is 4095 [15:57:28]Connected sock=10 [15:57:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 23 01 00 00 B0 BF 1B 01 96 81 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 EA BC C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BD 23 00 00 35 04 06 00 8C 87 56 C8 F4 37 40 AA 37 04 7B FC F6 E0 [15:57:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 F9 8C 47 00 B7 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BD 23 00 00 F4 03 04 00 B5 64 C4 66 B6 04 01 00 00 CF FA F9 6C AF 0A 31 5E [15:57:29]CommunicateWithHost err = 0 [15:57:29]CheckOFDResponse [15:57:29]1017 (14) - 77093643461234 [15:57:29]1041 (16) - 0000000000965619 [15:57:29]1040 (4) - 9149 [15:57:29]1012 (4) - 20.08.2024 09:41 [15:57:29]1206 (1) - 0 [15:57:29]OFD Sender: Remove packet 9149 [15:57:29]ProducePacketName [15:57:29]name=ofd_packets/00009149 [15:57:29]NVStorageDeleteData [15:57:29]Write to MH i2c: 01 00 00 C0 09 C9 [15:57:29]Write i2c OK [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: 01 [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: 01 07 00 [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: 01 07 00 C0 09 00 00 00 00 00 06 0D E3 [15:57:29]RasterBufferAndPrint [15:57:29]line [15:57:29]line [15:57:29]line [15:57:29]line [15:57:29]line [15:57:29]written 0, free lines is 3343 [15:57:29]MH_Cut [15:57:29]Write to MH i2c: D1 01 00 C7 09 01 A2 [15:57:29]Write i2c OK [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: D1 [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: D1 01 00 [15:57:29]MH_I2C_Read... [15:57:29]Read from MH i2c: D1 01 00 C7 09 00 A1 [15:57:29]Write to MH i2c: 01 00 00 C8 09 D1 [15:57:29]Write i2c OK [15:57:29]MH_I2C_Read... [15:57:29]OFD Sender: No OFD packet to send [15:57:29]*** Cut start [15:57:29]*** Partial cut [15:57:29]*** CUTSNS_PIN = 1 [15:57:29]*** CUTSNS_PIN = 0 [15:57:30]*** Brake cut motor [15:57:30]Read from MH i2c: 01 [15:57:30]MH_I2C_Read... [15:57:30]*** Stop cut motor [15:57:30]*** Cut end [15:57:30]Read from MH i2c: 01 07 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: 01 07 00 C8 09 00 00 00 00 00 FF 0F E6 [15:57:30]process_action close_receipt done [15:57:30]requested_data is exist [15:57:30]produce_requested_data [15:57:30]requested_item fm.sn is exist - process it [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 11 00 00 [15:57:30]Write to MH i2c: E2 08 00 C9 09 80 11 00 00 00 00 00 00 4C [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 17 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 17 00 C9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A3 [15:57:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [15:57:30]wFMCommunicate OK [15:57:30]requested_item fd.num is exist - process it [15:57:30]SAM_PROTO_GetFieldsCounters [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 13 00 00 [15:57:30]Write to MH i2c: E2 08 00 CA 09 80 13 00 00 00 00 00 00 4F [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 62 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 62 00 CA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BD 23 00 00 0E 04 04 00 D8 00 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 8A [15:57:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BD 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:57:30]wFMCommunicate OK [15:57:30]SAM_PROTO_GetFieldsCounters done [15:57:30]requested_item shift.num is exist - process it [15:57:30]requested_item shift.opened is exist - process it [15:57:30]req_shift_opened [15:57:30]FM_GetShiftState [15:57:30]SAM_PROTO_GetShiftState [15:57:30]wFMCommunicate request_size=4 [15:57:30]MH_SAM_APDU [15:57:30]CAPDU: 80 13 01 00 [15:57:30]Write to MH i2c: E2 08 00 CB 09 80 13 01 00 00 00 00 00 51 [15:57:30]Write i2c OK [15:57:30]MH_I2C_Read... [15:57:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:30]Read from MH i2c: E2 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 0E 00 [15:57:30]MH_I2C_Read... [15:57:30]Read from MH i2c: E2 0E 00 CB 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 2E [15:57:30]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [15:57:30]wFMCommunicate OK [15:57:30]SAM_PROTO_GetShiftState done [15:57:30]FM_GetShiftState done [15:57:30]req_shift_opened done [15:57:30]requested_item shift.open_date is exist - process it [15:57:30]req_shift_open_date [15:57:30]req_shift_open_date done [15:57:30]produce_requested_data done [15:57:30]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9149,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [15:57:30]process_action_free close_receipt [15:57:30]json_value_free [15:57:30]json_value_free done [15:57:30]process_json_proto returns [15:57:30]Send response to host [15:57:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9149,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [15:57:30]free response buf [15:57:30]execute_script done [15:57:30]execute_script returns [15:57:30]free content buf [15:57:30]Sock 9.Close socket [15:57:30]Sock 9.Thread stoped [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:31]OFD Sender: No OFD packet to send [16:30:36]OFD Sender: No OFD packet to send [16:30:41]OFD Sender: No OFD packet to send [16:30:46]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:41]accept exits with 7 [16:33:41]New connection [16:33:41]New thread 3066686820 created [16:33:41]Thread 3066830180 joined [16:33:41]Waiting for new connection... [16:33:41] Sock 7.Parse request [16:33:41]Sock 7.Check first char [16:33:41]Sock 7.First char is OK [16:33:41]request: POST /json_proto HTTP/1.0 [16:33:41]Method: POST [16:33:41]URL: /json_proto [16:33:41]Method is POST - this is cgi request [16:33:41]url: /json_proto [16:33:41]query_string will be loaded in cgi processing [16:33:41]execute_cgi json_proto POST (null) [16:33:41]execute_cgi path=json_proto method=POST [16:33:41]POST find Content-Length [16:33:41]Host: 172.17.55.134:8080 [16:33:41]Content-Length: 1898 [16:33:41]Content-Type: application/json [16:33:41] [16:33:41]POST finish read [16:33:41]Found Content-Length = 1898 [16:33:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18137", "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" : 65.00, "quantity" : 2.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" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90494406", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 615.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:41]execute_script... [16:33: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)18137", "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" : 65.00, "quantity" : 2.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" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90494406", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 2.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 615.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:41]POST & json_proto [16:33:41]process_json_proto [16:33:41]json parsed OK: [16:33:41]protocol is kg_v1.0 [16:33:41]action value=close_receipt [16:33:41]process_action close_receipt [16:33:41]cmd_close_receipt [16:33:41]MH_GetDate [16:33:41]Write to MH i2c: F0 00 00 CC 09 C4 [16:33:41]Write i2c OK [16:33:41]MH_I2C_Read... [16:33:41]Read from MH i2c: F0 [16:33:41]MH_I2C_Read... [16:33:41]Read from MH i2c: F0 09 00 [16:33:41]MH_I2C_Read... [16:33:41]Read from MH i2c: F0 09 00 CC 09 00 6A C5 C4 66 13 35 D9 65 AC [16:33:41]GetLastDocTimeStamp 1724169450 [16:33:41]current date 1724171626 [16:33:41]FM_GetShiftState [16:33:41]SAM_PROTO_GetShiftState [16:33:41]wFMCommunicate request_size=4 [16:33:41]MH_SAM_APDU [16:33:41]CAPDU: 80 13 01 00 [16:33:41]Write to MH i2c: E2 08 00 CD 09 80 13 01 00 00 00 00 00 53 [16:33:41]Write i2c OK [16:33:41]MH_I2C_Read... [16:33:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:42]Read from MH i2c: E2 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: E2 0E 00 [16:33:42]MH_I2C_Read... [16:33:42]Read from MH i2c: E2 0E 00 CD 09 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 30 [16:33:42]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [16:33:42]wFMCommunicate OK [16:33:42]SAM_PROTO_GetShiftState done [16:33:42]FM_GetShiftState done [16:33:42]opened in 1724113861 [16:33:42]opened+sec_in_day 1724200261 [16:33:42]quantity*price = 13000 [16:33:42]sum+1 = 13001 [16:33:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 90494406 Вода Бонаква 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000996 Напиток Кока-Кола 0,33л 2.000 * 85.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46141538 Р/ж Orbit Bubblemint 13,6г 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 615.00 НСП 1% : 5.44 НДС 12% : 65.31 Наличными: 615.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 30 20.08.2024 16:33 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9150 ФПД: 106864599849578 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T163346&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9150&fm=106864599849578&tin=02508201610067®Number=0000000000108878&sum=61500 0 [16:33:43]StoreToDocumentArchive [16:33:43]shift 216 fd 9150 [16:33:43]save to /storage/0216/doc_00009150 [16:33:43]save last doc name /storage/0216/doc_00009150 to /storage/kkm_last_doc_name [16:33:43]save OK [16:33:43]Clear old archive folders... [16:33:43]ProcessDocumentItem done err = 0, tmpTLVsize=801 [16:33:43]tlvbuf is 00445830 [16:33:43]SAM_PROTO_ClearQueue [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 09 00 00 [16:33:43]Write to MH i2c: E2 08 00 DA 09 80 09 00 00 00 00 00 00 55 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 DA 09 00 90 00 57 [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]SAM_PROTO_ClearQueue done [16:33:43]KKMCreateOFDPacket [16:33:43]OFDProtocolAddRootSTLVToBuf [16:33:43]FM_MakeSignedData [16:33:43]FM_MakeSignedData [16:33:43]SAM_PROTO_SignData [16:33:43]wFMCommunicate request_size=4 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 01 02 [16:33:43]Write to MH i2c: E2 08 00 DB 09 80 0D 01 02 00 00 00 00 5D [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 DB 09 00 90 00 58 [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]wFMCommunicate request_size=255 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 02 02 FA 03 00 21 03 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 [16:33:43]Write to MH i2c: E2 02 01 DC 09 80 0D 02 02 FA 00 03 00 21 03 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 00 00 B3 [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:43]Read from MH i2c: E2 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 [16:33:43]MH_I2C_Read... [16:33:43]Read from MH i2c: E2 03 00 DC 09 00 90 00 59 [16:33:43]RAPDU: 90 00 [16:33:43]wFMCommunicate OK [16:33:43]wFMCommunicate request_size=255 [16:33:43]MH_SAM_APDU [16:33:43]CAPDU: 80 0D 02 02 FA 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 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 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 [16:33:43]Write to MH i2c: E2 02 01 DD 09 80 0D 02 02 FA 00 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 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 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 BB [16:33:43]Write i2c OK [16:33:43]MH_I2C_Read... [16:33:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:44]Read from MH i2c: E2 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 DD 09 00 90 00 5A [16:33:44]RAPDU: 90 00 [16:33:44]wFMCommunicate OK [16:33:44]wFMCommunicate request_size=255 [16:33:44]MH_SAM_APDU [16:33:44]CAPDU: 80 0D 02 02 FA 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 3C F0 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 6A C5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 [16:33:44]Write to MH i2c: E2 02 01 DE 09 80 0D 02 02 FA 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 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 3C F0 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 6A C5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 00 4A [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:44]Read from MH i2c: E2 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 DE 09 00 90 00 5B [16:33:44]RAPDU: 90 00 [16:33:44]wFMCommunicate OK [16:33:44]wFMCommunicate request_size=60 [16:33:44]MH_SAM_APDU [16:33:44]CAPDU: 80 0D 02 02 37 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BE 23 00 00 35 04 06 00 61 31 5A 83 5A 6A [16:33:44]Write to MH i2c: E2 3F 00 DF 09 80 0D 02 02 37 00 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BE 23 00 00 35 04 06 00 61 31 5A 83 5A 6A 00 00 A4 [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:44]Read from MH i2c: E2 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 03 00 DF 09 00 90 00 5C [16:33:44]RAPDU: 90 00 [16:33:44]wFMCommunicate OK [16:33:44]wFMCommunicate request_size=4 [16:33:44]MH_SAM_APDU [16:33:44]CAPDU: 80 0D 03 02 [16:33:44]Write to MH i2c: E2 08 00 E0 09 80 0D 03 02 00 00 00 00 64 [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:33:44]Read from MH i2c: E2 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 0B 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 0B 00 E0 09 00 DE 39 26 E3 D3 12 59 5B 90 00 1E [16:33:44]RAPDU: DE 39 26 E3 D3 12 59 5B 90 00 [16:33:44]wFMCommunicate OK [16:33:44]SAM_PROTO_SignData done [16:33:44]FM_MakeSignedData done [16:33:44]CreateOFDProtocolMessage [16:33:44]wFMCommunicate request_size=4 [16:33:44]MH_SAM_APDU [16:33:44]CAPDU: 80 11 00 00 [16:33:44]Write to MH i2c: E2 08 00 E1 09 80 11 00 00 00 00 00 00 64 [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:44]Read from MH i2c: E2 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 17 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: E2 17 00 E1 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 BB [16:33:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [16:33:44]wFMCommunicate OK [16:33:44]CreateOFDProtocolMessage done [16:33:44]OFDSenderStorePacket 9150 [16:33:44]StoreOFDPacket docnum=9150 [16:33:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 03 00 00 02 DA 2D 03 C8 5E 5A 03 01 00 03 00 21 03 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 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 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 3C F0 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 6A C5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BE 23 00 00 35 04 06 00 61 31 5A 83 5A 6A DE 39 26 E3 D3 12 59 5B [16:33:44]CheckFolder [16:33:44]dirname=/storage/ofd_packets [16:33:44]CheckFolder done [16:33:44]ProducePacketName [16:33:44]name=ofd_packets/00009150 [16:33:44]NVStorageSaveData ofd_packets/00009150 [16:33:44]File name is /storage/ofd_packets/00009150 [16:33:44]Write 851 bytes [16:33:44]NVStorageSaveData done [16:33:44]OFDSenderStorePacket done [16:33:44]KKMCreateOFDPacket done [16:33:44]NVStorageSaveData kkm_last_timestamp [16:33:44]File name is /storage/kkm_last_timestamp [16:33:44]Write 4 bytes [16:33:44]NVStorageSaveData done [16:33:44]ExternCall_PrintAddStr [16:33:44]wPrintStart [16:33:44]Write to MH i2c: 01 00 00 E2 09 EB [16:33:44]Write i2c OK [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 07 00 [16:33:44]MH_I2C_Read... [16:33:44]Read from MH i2c: 01 07 00 E2 09 00 00 00 00 00 FF 0F 00 [16:33:44]RasterBufferAndPrint [16:33:44]line Счет N : (3)18137 [16:33:44]line ИНН: 02508201610067 [16:33:44]line Контрольно-Кассовый Чек [16:33:44]line ПРОДАЖА [16:33:44]line Товар: 5449000027450 [16:33:44]line Напиток FuzeTea чай манго,ром 0,5л [16:33:44]line 2.000 * 65.00 [16:33:44]line = 130.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line Товар: 4700000160211 [16:33:44]line Вода Легенда 0,5л [16:33:44]line 2.000 * 40.00 [16:33:44]line = 80.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line Товар: 90494406 [16:33:44]line Вода Бонаква 0,5л [16:33:44]line 1.000 * 40.00 [16:33:44]line = 40.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line Товар: 5449000000996 [16:33:44]line Напиток Кока-Кола 0,33л [16:33:44]line 2.000 * 85.00 [16:33:44]line = 170.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line Товар: 46141538 [16:33:44]line Р/ж Orbit Bubblemint 13,6г [16:33:44]line 1.000 * 45.00 [16:33:44]line = 45.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line Товар: 4640030091607 [16:33:44]line Сигареты ESSE Exchange [16:33:44]line 1.000 * 150.00 [16:33:44]line = 150.00 [16:33:44]line НДС 12% НСП 1% [16:33:44]line > о реализуемом товаре [16:33:44]line ИТОГО: 615.00 [16:33:44]line НСП 1% : 5.44 [16:33:44]line НДС 12% : 65.31 [16:33:44]line Наличными: 615.00 [16:33:44]line Безнал.: 0.00 [16:33:44]line Место: АЗС № 94 [16:33:44]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [16:33:44]line СНО: Общий режим [16:33:44]line Чек 30 20.08.2024 16:33 [16:33:44]line Смена: 216 ФФД: 1.0 [16:33:44]line ЗНМ: 0300000128 [16:33:44]line РНМ: 0000000000108878 [16:33:44]line Версия ККМ: 001 [16:33:44]line ФМ: 0000000000965619 [16:33:44]line ФД: 9150 [16:33:44]line ФПД: 106864599849578 [16:33:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T163346&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9150&fm=106864599849578&tin=02508201610067®Number=0000000000108878&sum=61500 [16:33:44]OFD Sender: Processing packet 9150 [packets to send 4, broken 3] [16:33:44]ProducePacketName [16:33:44]name=ofd_packets/00009150 [16:33:44]OFD Sender: To server: pG, [16:33:44]CommunicateWithHost lk.salyk.kg:30040 [16:33:44]ConnectInit lk.salyk.kg [16:33:44]line 0 [16:33:44]written 0, free lines is 4095 [16:33:45]Connected sock=10 [16:33:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 03 00 00 02 DA 2D 03 C8 5E 5A 03 01 00 03 00 21 03 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 39 30 34 39 34 34 30 36 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 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 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 21 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 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 3C F0 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 6A C5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BE 23 00 00 35 04 06 00 61 31 5A 83 5A 6A DE 39 26 E3 D3 12 59 5B [16:33:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 05 AB 47 00 95 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BE 23 00 00 F4 03 04 00 35 6D C4 66 B6 04 01 00 00 21 4D D4 2A E3 2C 21 4D [16:33:45]CommunicateWithHost err = 0 [16:33:45]CheckOFDResponse [16:33:45]1017 (14) - 77093643461234 [16:33:45]1041 (16) - 0000000000965619 [16:33:45]1040 (4) - 9150 [16:33:45]1012 (4) - 20.08.2024 10:17 [16:33:45]1206 (1) - 0 [16:33:45]OFD Sender: Remove packet 9150 [16:33:45]ProducePacketName [16:33:45]name=ofd_packets/00009150 [16:33:45]NVStorageDeleteData [16:33:45]Write to MH i2c: 01 00 00 28 0A 32 [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: 01 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: 01 07 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: 01 07 00 28 0A 00 00 00 00 00 42 0B 86 [16:33:45]RasterBufferAndPrint [16:33:45]line [16:33:45]line [16:33:45]line [16:33:45]line [16:33:45]line [16:33:45]written 0, free lines is 2892 [16:33:45]MH_Cut [16:33:45]Write to MH i2c: D1 01 00 2F 0A 01 0B [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: D1 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: D1 01 00 [16:33:45]MH_I2C_Read... [16:33:45]Read from MH i2c: D1 01 00 2F 0A 00 0A [16:33:45]Write to MH i2c: 01 00 00 30 0A 3A [16:33:45]Write i2c OK [16:33:45]MH_I2C_Read... [16:33:45]OFD Sender: No OFD packet to send [16:33:46]*** Cut start [16:33:46]*** Partial cut [16:33:46]*** CUTSNS_PIN = 1 [16:33:46]*** CUTSNS_PIN = 0 [16:33:47]*** Brake cut motor [16:33:47]Read from MH i2c: 01 [16:33:47]MH_I2C_Read... [16:33:47]*** Stop cut motor [16:33:47]*** Cut end [16:33:47]Read from MH i2c: 01 07 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: 01 07 00 30 0A 00 00 00 00 00 FF 0F 4F [16:33:47]process_action close_receipt done [16:33:47]requested_data is exist [16:33:47]produce_requested_data [16:33:47]requested_item fm.sn is exist - process it [16:33:47]wFMCommunicate request_size=4 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 11 00 00 [16:33:47]Write to MH i2c: E2 08 00 31 0A 80 11 00 00 00 00 00 00 B5 [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:47]Read from MH i2c: E2 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 17 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 17 00 31 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0C [16:33:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [16:33:47]wFMCommunicate OK [16:33:47]requested_item fd.num is exist - process it [16:33:47]SAM_PROTO_GetFieldsCounters [16:33:47]wFMCommunicate request_size=4 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 13 00 00 [16:33:47]Write to MH i2c: E2 08 00 32 0A 80 13 00 00 00 00 00 00 B8 [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:47]Read from MH i2c: E2 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 62 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 62 00 32 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BE 23 00 00 0E 04 04 00 D8 00 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 F7 [16:33:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BE 23 00 00 0E 04 04 00 D8 00 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 [16:33:47]wFMCommunicate OK [16:33:47]SAM_PROTO_GetFieldsCounters done [16:33:47]requested_item shift.num is exist - process it [16:33:47]requested_item shift.opened is exist - process it [16:33:47]req_shift_opened [16:33:47]FM_GetShiftState [16:33:47]SAM_PROTO_GetShiftState [16:33:47]wFMCommunicate request_size=4 [16:33:47]MH_SAM_APDU [16:33:47]CAPDU: 80 13 01 00 [16:33:47]Write to MH i2c: E2 08 00 33 0A 80 13 01 00 00 00 00 00 BA [16:33:47]Write i2c OK [16:33:47]MH_I2C_Read... [16:33:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:47]Read from MH i2c: E2 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 0E 00 [16:33:47]MH_I2C_Read... [16:33:47]Read from MH i2c: E2 0E 00 33 0A 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 97 [16:33:47]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [16:33:47]wFMCommunicate OK [16:33:47]SAM_PROTO_GetShiftState done [16:33:47]FM_GetShiftState done [16:33:47]req_shift_opened done [16:33:47]requested_item shift.open_date is exist - process it [16:33:47]req_shift_open_date [16:33:47]req_shift_open_date done [16:33:47]produce_requested_data done [16:33:47]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9150,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [16:33:47]process_action_free close_receipt [16:33:47]json_value_free [16:33:47]json_value_free done [16:33:47]process_json_proto returns [16:33:47]Send response to host [16:33:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9150,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [16:33:47]free response buf [16:33:47]execute_script done [16:33:47]execute_script returns [16:33:47]free content buf [16:33:47]Sock 7.Close socket [16:33:47]Sock 7.Thread stoped [16:33:50]OFD Sender: No OFD packet to send [16:33:55]OFD Sender: No OFD packet to send [16:34:00]OFD Sender: No OFD packet to send [16:34:05]OFD Sender: No OFD packet to send [16:34:10]OFD Sender: No OFD packet to send [16:34:15]OFD Sender: No OFD packet to send [16:34:20]OFD Sender: No OFD packet to send [16:34:25]OFD Sender: No OFD packet to send [16:34:30]OFD Sender: No OFD packet to send [16:34:35]OFD Sender: No OFD packet to send [16:34:40]OFD Sender: No OFD packet to send [16:34:45]OFD Sender: No OFD packet to send [16:34:50]OFD Sender: No OFD packet to send [16:34:55]OFD Sender: No OFD packet to send [16:35:00]OFD Sender: No OFD packet to send [16:35:05]OFD Sender: No OFD packet to send [16:35:10]OFD Sender: No OFD packet to send [16:35:15]OFD Sender: No OFD packet to send [16:35:20]OFD Sender: No OFD packet to send [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]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:13]accept exits with 9 [16:49:13]New connection [16:49:13]New thread 3066830180 created [16:49:13]Thread 3066686820 joined [16:49:13]Waiting for new connection... [16:49:13] Sock 9.Parse request [16:49:13]Sock 9.Check first char [16:49:13]Sock 9.First char is OK [16:49:13]request: POST /json_proto HTTP/1.0 [16:49:13]Method: POST [16:49:13]URL: /json_proto [16:49:13]Method is POST - this is cgi request [16:49:13]url: /json_proto [16:49:13]query_string will be loaded in cgi processing [16:49:13]execute_cgi json_proto POST (null) [16:49:13]execute_cgi path=json_proto method=POST [16:49:13]POST find Content-Length [16:49:13]Host: 172.17.55.134:8080 [16:49:13]Content-Length: 648 [16:49:13]Content-Type: application/json [16:49:13] [16:49:13]POST finish read [16:49:13]Found Content-Length = 648 [16:49:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18138", "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 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:49:13]execute_script... [16:49:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18138", "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 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:49:13]POST & json_proto [16:49:13]process_json_proto [16:49:13]json parsed OK: [16:49:13]protocol is kg_v1.0 [16:49:13]action value=close_receipt [16:49:13]process_action close_receipt [16:49:13]cmd_close_receipt [16:49:13]MH_GetDate [16:49:13]Write to MH i2c: F0 00 00 34 0A 2D [16:49:13]Write i2c OK [16:49:13]MH_I2C_Read... [16:49:13]Read from MH i2c: F0 [16:49:13]MH_I2C_Read... [16:49:13]Read from MH i2c: F0 09 00 [16:49:13]MH_I2C_Read... [16:49:13]Read from MH i2c: F0 09 00 34 0A 00 0D C9 C4 66 13 35 D9 65 BC [16:49:13]GetLastDocTimeStamp 1724171626 [16:49:13]current date 1724172557 [16:49:13]FM_GetShiftState [16:49:13]SAM_PROTO_GetShiftState [16:49:13]wFMCommunicate request_size=4 [16:49:13]MH_SAM_APDU [16:49:13]CAPDU: 80 13 01 00 [16:49:13]Write to MH i2c: E2 08 00 35 0A 80 13 01 00 00 00 00 00 BC [16:49:13]Write i2c OK [16:49:13]MH_I2C_Read... [16:49:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:49:13]Read from MH i2c: E2 [16:49:13]MH_I2C_Read... [16:49:13]Read from MH i2c: E2 0E 00 [16:49:13]MH_I2C_Read... [16:49:13]Read from MH i2c: E2 0E 00 35 0A 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 99 [16:49:13]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [16:49:13]wFMCommunicate OK [16:49:13]SAM_PROTO_GetShiftState done [16:49:13]FM_GetShiftState done [16:49:13]opened in 1724113861 [16:49:13]opened+sec_in_day 1724200261 [16:49:13]quantity*price = 17000 [16:49:13]sum+1 = 17001 [16:49:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 31 20.08.2024 16:49 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9151 ФПД: 22128223593031 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T164917&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9151&fm=22128223593031&tin=02508201610067®Number=0000000000108878&sum=17000 0 [16:49:14]StoreToDocumentArchive [16:49:14]shift 216 fd 9151 [16:49:14]save to /storage/0216/doc_00009151 [16:49:14]save last doc name /storage/0216/doc_00009151 to /storage/kkm_last_doc_name [16:49:14]save OK [16:49:14]Clear old archive folders... [16:49:14]ProcessDocumentItem done err = 0, tmpTLVsize=277 [16:49:14]tlvbuf is 00466AB0 [16:49:14]SAM_PROTO_ClearQueue [16:49:14]wFMCommunicate request_size=4 [16:49:14]MH_SAM_APDU [16:49:14]CAPDU: 80 09 00 00 [16:49:14]Write to MH i2c: E2 08 00 42 0A 80 09 00 00 00 00 00 00 BE [16:49:14]Write i2c OK [16:49:14]MH_I2C_Read... [16:49:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:49:14]Read from MH i2c: E2 [16:49:14]MH_I2C_Read... [16:49:14]Read from MH i2c: E2 03 00 [16:49:14]MH_I2C_Read... [16:49:14]Read from MH i2c: E2 03 00 42 0A 00 90 00 C0 [16:49:14]RAPDU: 90 00 [16:49:14]wFMCommunicate OK [16:49:14]SAM_PROTO_ClearQueue done [16:49:14]KKMCreateOFDPacket [16:49:14]OFDProtocolAddRootSTLVToBuf [16:49:14]FM_MakeSignedData [16:49:14]FM_MakeSignedData [16:49:14]SAM_PROTO_SignData [16:49:14]wFMCommunicate request_size=4 [16:49:14]MH_SAM_APDU [16:49:14]CAPDU: 80 0D 01 02 [16:49:14]Write to MH i2c: E2 08 00 43 0A 80 0D 01 02 00 00 00 00 C6 [16:49:14]Write i2c OK [16:49:14]MH_I2C_Read... [16:49:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:49:14]Read from MH i2c: E2 [16:49:14]MH_I2C_Read... [16:49:14]Read from MH i2c: E2 03 00 [16:49:14]MH_I2C_Read... [16:49:14]Read from MH i2c: E2 03 00 43 0A 00 90 00 C1 [16:49:14]RAPDU: 90 00 [16:49:14]wFMCommunicate OK [16:49:14]wFMCommunicate request_size=255 [16:49:14]MH_SAM_APDU [16:49:14]CAPDU: 80 0D 02 02 FA 03 00 15 01 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 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 1F 00 00 00 F4 03 04 00 0D C9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 [16:49:14]Write to MH i2c: E2 02 01 44 0A 80 0D 02 02 FA 00 03 00 15 01 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 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 1F 00 00 00 F4 03 04 00 0D C9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 00 00 F3 [16:49:14]Write i2c OK [16:49:14]MH_I2C_Read... [16:49:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:49:15]Read from MH i2c: E2 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 03 00 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 03 00 44 0A 00 90 00 C2 [16:49:15]RAPDU: 90 00 [16:49:15]wFMCommunicate OK [16:49:15]wFMCommunicate request_size=36 [16:49:15]MH_SAM_APDU [16:49:15]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BF 23 00 00 35 04 06 00 14 20 20 E8 22 47 [16:49:15]Write to MH i2c: E2 27 00 45 0A 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BF 23 00 00 35 04 06 00 14 20 20 E8 22 47 00 00 79 [16:49:15]Write i2c OK [16:49:15]MH_I2C_Read... [16:49:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:49:15]Read from MH i2c: E2 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 03 00 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 03 00 45 0A 00 90 00 C3 [16:49:15]RAPDU: 90 00 [16:49:15]wFMCommunicate OK [16:49:15]wFMCommunicate request_size=4 [16:49:15]MH_SAM_APDU [16:49:15]CAPDU: 80 0D 03 02 [16:49:15]Write to MH i2c: E2 08 00 46 0A 80 0D 03 02 00 00 00 00 CB [16:49:15]Write i2c OK [16:49:15]MH_I2C_Read... [16:49:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:49:15]Read from MH i2c: E2 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 0B 00 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 0B 00 46 0A 00 23 29 DB 44 94 DE 38 7E 90 00 5F [16:49:15]RAPDU: 23 29 DB 44 94 DE 38 7E 90 00 [16:49:15]wFMCommunicate OK [16:49:15]SAM_PROTO_SignData done [16:49:15]FM_MakeSignedData done [16:49:15]CreateOFDProtocolMessage [16:49:15]wFMCommunicate request_size=4 [16:49:15]MH_SAM_APDU [16:49:15]CAPDU: 80 11 00 00 [16:49:15]Write to MH i2c: E2 08 00 47 0A 80 11 00 00 00 00 00 00 CB [16:49:15]Write i2c OK [16:49:15]MH_I2C_Read... [16:49:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:49:15]Read from MH i2c: E2 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 17 00 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: E2 17 00 47 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 22 [16:49:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [16:49:15]wFMCommunicate OK [16:49:15]CreateOFDProtocolMessage done [16:49:15]OFDSenderStorePacket 9151 [16:49:15]StoreOFDPacket docnum=9151 [16:49:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 29 01 00 00 0E 20 21 01 D4 DA 5A 03 01 00 03 00 15 01 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 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 1F 00 00 00 F4 03 04 00 0D C9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BF 23 00 00 35 04 06 00 14 20 20 E8 22 47 23 29 DB 44 94 DE 38 7E [16:49:15]CheckFolder [16:49:15]dirname=/storage/ofd_packets [16:49:15]CheckFolder done [16:49:15]ProducePacketName [16:49:15]name=ofd_packets/00009151 [16:49:15]NVStorageSaveData ofd_packets/00009151 [16:49:15]File name is /storage/ofd_packets/00009151 [16:49:15]Write 327 bytes [16:49:15]NVStorageSaveData done [16:49:15]OFDSenderStorePacket done [16:49:15]KKMCreateOFDPacket done [16:49:15]NVStorageSaveData kkm_last_timestamp [16:49:15]File name is /storage/kkm_last_timestamp [16:49:15]Write 4 bytes [16:49:15]NVStorageSaveData done [16:49:15]ExternCall_PrintAddStr [16:49:15]wPrintStart [16:49:15]Write to MH i2c: 01 00 00 48 0A 52 [16:49:15]Write i2c OK [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: 01 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: 01 07 00 [16:49:15]MH_I2C_Read... [16:49:15]Read from MH i2c: 01 07 00 48 0A 00 00 00 00 00 FF 0F 67 [16:49:15]RasterBufferAndPrint [16:49:15]line Счет N : (3)18138 [16:49:15]line ИНН: 02508201610067 [16:49:15]line Контрольно-Кассовый Чек [16:49:15]line ПРОДАЖА [16:49:15]line Товар: 8901086040008 [16:49:15]line Жид/ст ПН летняя 4,5л [16:49:15]line 1.000 * 170.00 [16:49:15]line = 170.00 [16:49:15]line НДС 12% НСП 1% [16:49:15]line > о реализуемом товаре [16:49:15]line ИТОГО: 170.00 [16:49:15]line НСП 1% : 1.50 [16:49:15]line НДС 12% : 18.05 [16:49:15]line Наличными: 170.00 [16:49:15]line Безнал.: 0.00 [16:49:15]line Место: АЗС № 94 [16:49:15]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [16:49:15]line СНО: Общий режим [16:49:15]line Чек 31 20.08.2024 16:49 [16:49:15]line Смена: 216 ФФД: 1.0 [16:49:15]line ЗНМ: 0300000128 [16:49:15]line РНМ: 0000000000108878 [16:49:15]line Версия ККМ: 001 [16:49:15]line ФМ: 0000000000965619 [16:49:15]line ФД: 9151 [16:49:15]line ФПД: 22128223593031 [16:49:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T164917&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9151&fm=22128223593031&tin=02508201610067®Number=0000000000108878&sum=17000 [16:49:15]line 0 [16:49:15]OFD Sender: Processing packet 9151 [packets to send 4, broken 3] [16:49:15]ProducePacketName [16:49:15]name=ofd_packets/00009151 [16:49:15]OFD Sender: To server: pG, [16:49:15]CommunicateWithHost lk.salyk.kg:30040 [16:49:15]ConnectInit lk.salyk.kg [16:49:15]written 0, free lines is 4095 [16:49:15]Connected sock=10 [16:49:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 29 01 00 00 0E 20 21 01 D4 DA 5A 03 01 00 03 00 15 01 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 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 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 1F 00 00 00 F4 03 04 00 0D C9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BF 23 00 00 35 04 06 00 14 20 20 E8 22 47 23 29 DB 44 94 DE 38 7E [16:49:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 10 B7 47 00 92 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 BF 23 00 00 F4 03 04 00 D8 70 C4 66 B6 04 01 00 00 40 8F BF 6D 9E 55 93 6F [16:49:15]CommunicateWithHost err = 0 [16:49:15]CheckOFDResponse [16:49:15]1017 (14) - 77093643461234 [16:49:15]1041 (16) - 0000000000965619 [16:49:15]1040 (4) - 9151 [16:49:15]1012 (4) - 20.08.2024 10:32 [16:49:15]1206 (1) - 0 [16:49:15]OFD Sender: Remove packet 9151 [16:49:15]ProducePacketName [16:49:15]name=ofd_packets/00009151 [16:49:15]NVStorageDeleteData [16:49:16]Write to MH i2c: 01 00 00 6F 0A 79 [16:49:16]Write i2c OK [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: 01 [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: 01 07 00 [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: 01 07 00 6F 0A 00 00 00 00 00 00 0D 8D [16:49:16]RasterBufferAndPrint [16:49:16]line [16:49:16]line [16:49:16]line [16:49:16]line [16:49:16]line [16:49:16]written 0, free lines is 3334 [16:49:16]MH_Cut [16:49:16]Write to MH i2c: D1 01 00 76 0A 01 52 [16:49:16]Write i2c OK [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: D1 [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: D1 01 00 [16:49:16]MH_I2C_Read... [16:49:16]Read from MH i2c: D1 01 00 76 0A 00 51 [16:49:16]Write to MH i2c: 01 00 00 77 0A 81 [16:49:16]Write i2c OK [16:49:16]MH_I2C_Read... [16:49:16]OFD Sender: No OFD packet to send [16:49:16]*** Cut start [16:49:16]*** Partial cut [16:49:16]*** CUTSNS_PIN = 1 [16:49:16]*** CUTSNS_PIN = 0 [16:49:17]*** Brake cut motor [16:49:17]Read from MH i2c: 01 [16:49:17]MH_I2C_Read... [16:49:17]*** Stop cut motor [16:49:17]*** Cut end [16:49:17]Read from MH i2c: 01 07 00 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: 01 07 00 77 0A 00 00 00 00 00 FF 0F 96 [16:49:17]process_action close_receipt done [16:49:17]requested_data is exist [16:49:17]produce_requested_data [16:49:17]requested_item fm.sn is exist - process it [16:49:17]wFMCommunicate request_size=4 [16:49:17]MH_SAM_APDU [16:49:17]CAPDU: 80 11 00 00 [16:49:17]Write to MH i2c: E2 08 00 78 0A 80 11 00 00 00 00 00 00 FC [16:49:17]Write i2c OK [16:49:17]MH_I2C_Read... [16:49:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:49:17]Read from MH i2c: E2 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 17 00 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 17 00 78 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 53 [16:49:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [16:49:17]wFMCommunicate OK [16:49:17]requested_item fd.num is exist - process it [16:49:17]SAM_PROTO_GetFieldsCounters [16:49:17]wFMCommunicate request_size=4 [16:49:17]MH_SAM_APDU [16:49:17]CAPDU: 80 13 00 00 [16:49:17]Write to MH i2c: E2 08 00 79 0A 80 13 00 00 00 00 00 00 FF [16:49:17]Write i2c OK [16:49:17]MH_I2C_Read... [16:49:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:49:17]Read from MH i2c: E2 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 62 00 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 62 00 79 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BF 23 00 00 0E 04 04 00 D8 00 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 42 [16:49:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 BF 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:49:17]wFMCommunicate OK [16:49:17]SAM_PROTO_GetFieldsCounters done [16:49:17]requested_item shift.num is exist - process it [16:49:17]requested_item shift.opened is exist - process it [16:49:17]req_shift_opened [16:49:17]FM_GetShiftState [16:49:17]SAM_PROTO_GetShiftState [16:49:17]wFMCommunicate request_size=4 [16:49:17]MH_SAM_APDU [16:49:17]CAPDU: 80 13 01 00 [16:49:17]Write to MH i2c: E2 08 00 7A 0A 80 13 01 00 00 00 00 00 01 [16:49:17]Write i2c OK [16:49:17]MH_I2C_Read... [16:49:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:49:17]Read from MH i2c: E2 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 0E 00 [16:49:17]MH_I2C_Read... [16:49:17]Read from MH i2c: E2 0E 00 7A 0A 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 DE [16:49:17]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [16:49:17]wFMCommunicate OK [16:49:17]SAM_PROTO_GetShiftState done [16:49:17]FM_GetShiftState done [16:49:17]req_shift_opened done [16:49:17]requested_item shift.open_date is exist - process it [16:49:17]req_shift_open_date [16:49:17]req_shift_open_date done [16:49:17]produce_requested_data done [16:49:17]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9151,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [16:49:17]process_action_free close_receipt [16:49:17]json_value_free [16:49:17]json_value_free done [16:49:17]process_json_proto returns [16:49:17]Send response to host [16:49:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9151,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [16:49:17]free response buf [16:49:17]execute_script done [16:49:17]execute_script returns [16:49:17]free content buf [16:49:17]Sock 9.Close socket [16:49:17]Sock 9.Thread stoped [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:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [18:19:17]ConnectInit Can't take IP for lk.salyk.kg [18:19:17]CommunicateWithHost connect error [18:19:17]CommunicateWithHost err = -1 [18:19:17]OFD Sender: Server communicate error [18:19:22]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:19:22]ProducePacketName [18:19:22]name=ofd_packets/00009152 [18:19:22]OFD Sender: To server: pG, [18:19:22]CommunicateWithHost lk.salyk.kg:30040 [18:19:22]ConnectInit lk.salyk.kg [18:19:27]ConnectInit Can't take IP for lk.salyk.kg [18:19:27]CommunicateWithHost connect error [18:19:27]CommunicateWithHost err = -1 [18:19:27]OFD Sender: Server communicate error [18:19:32]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:19:32]ProducePacketName [18:19:32]name=ofd_packets/00009152 [18:19:32]OFD Sender: To server: pG, [18:19:32]CommunicateWithHost lk.salyk.kg:30040 [18:19:32]ConnectInit lk.salyk.kg [18:19:37]ConnectInit Can't take IP for lk.salyk.kg [18:19:37]CommunicateWithHost connect error [18:19:37]CommunicateWithHost err = -1 [18:19:37]OFD Sender: Server communicate error [18:19:42]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:19:42]ProducePacketName [18:19:42]name=ofd_packets/00009152 [18:19:42]OFD Sender: To server: pG, [18:19:42]CommunicateWithHost lk.salyk.kg:30040 [18:19:42]ConnectInit lk.salyk.kg [18:19:47]ConnectInit Can't take IP for lk.salyk.kg [18:19:47]CommunicateWithHost connect error [18:19:47]CommunicateWithHost err = -1 [18:19:47]OFD Sender: Server communicate error [18:19:52]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:19:52]ProducePacketName [18:19:52]name=ofd_packets/00009152 [18:19:52]OFD Sender: To server: pG, [18:19:52]CommunicateWithHost lk.salyk.kg:30040 [18:19:52]ConnectInit lk.salyk.kg [18:19:57]ConnectInit Can't take IP for lk.salyk.kg [18:19:57]CommunicateWithHost connect error [18:19:57]CommunicateWithHost err = -1 [18:19:57]OFD Sender: Server communicate error [18:20:02]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:02]ProducePacketName [18:20:02]name=ofd_packets/00009152 [18:20:02]OFD Sender: To server: pG, [18:20:02]CommunicateWithHost lk.salyk.kg:30040 [18:20:02]ConnectInit lk.salyk.kg [18:20:07]ConnectInit Can't take IP for lk.salyk.kg [18:20:07]CommunicateWithHost connect error [18:20:07]CommunicateWithHost err = -1 [18:20:07]OFD Sender: Server communicate error [18:20:12]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:12]ProducePacketName [18:20:12]name=ofd_packets/00009152 [18:20:12]OFD Sender: To server: pG, [18:20:12]CommunicateWithHost lk.salyk.kg:30040 [18:20:12]ConnectInit lk.salyk.kg [18:20:17]ConnectInit Can't take IP for lk.salyk.kg [18:20:17]CommunicateWithHost connect error [18:20:17]CommunicateWithHost err = -1 [18:20:17]OFD Sender: Server communicate error [18:20:22]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:22]ProducePacketName [18:20:22]name=ofd_packets/00009152 [18:20:22]OFD Sender: To server: pG, [18:20:22]CommunicateWithHost lk.salyk.kg:30040 [18:20:22]ConnectInit lk.salyk.kg [18:20:27]ConnectInit Can't take IP for lk.salyk.kg [18:20:27]CommunicateWithHost connect error [18:20:27]CommunicateWithHost err = -1 [18:20:27]OFD Sender: Server communicate error [18:20:32]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:32]ProducePacketName [18:20:32]name=ofd_packets/00009152 [18:20:32]OFD Sender: To server: pG, [18:20:32]CommunicateWithHost lk.salyk.kg:30040 [18:20:32]ConnectInit lk.salyk.kg [18:20:37]ConnectInit Can't take IP for lk.salyk.kg [18:20:37]CommunicateWithHost connect error [18:20:37]CommunicateWithHost err = -1 [18:20:37]OFD Sender: Server communicate error [18:20:42]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:42]ProducePacketName [18:20:42]name=ofd_packets/00009152 [18:20:42]OFD Sender: To server: pG, [18:20:42]CommunicateWithHost lk.salyk.kg:30040 [18:20:42]ConnectInit lk.salyk.kg [18:20:47]ConnectInit Can't take IP for lk.salyk.kg [18:20:47]CommunicateWithHost connect error [18:20:47]CommunicateWithHost err = -1 [18:20:47]OFD Sender: Server communicate error [18:20:52]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:20:52]ProducePacketName [18:20:52]name=ofd_packets/00009152 [18:20:52]OFD Sender: To server: pG, [18:20:52]CommunicateWithHost lk.salyk.kg:30040 [18:20:52]ConnectInit lk.salyk.kg [18:20:57]ConnectInit Can't take IP for lk.salyk.kg [18:20:57]CommunicateWithHost connect error [18:20:57]CommunicateWithHost err = -1 [18:20:57]OFD Sender: Server communicate error [18:21:02]OFD Sender: Processing packet 9152 [packets to send 7, broken 3] [18:21:02]ProducePacketName [18:21:02]name=ofd_packets/00009152 [18:21:02]OFD Sender: To server: pG, [18:21:02]CommunicateWithHost lk.salyk.kg:30040 [18:21:02]ConnectInit lk.salyk.kg [18:21:03]Connected sock=7 [18:21:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2C 01 00 00 E1 59 24 01 3B 81 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 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 20 00 00 00 F4 03 04 00 7B CB C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C0 23 00 00 35 04 06 00 6D F7 B7 98 5B 7E 07 03 D9 96 D3 4B 55 D0 [18:21:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 13 5A 47 00 86 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C0 23 00 00 F4 03 04 00 5C 86 C4 66 B6 04 01 00 00 E6 A9 7B BC B3 D7 6D F2 [18:21:03]CommunicateWithHost err = 0 [18:21:03]CheckOFDResponse [18:21:03]1017 (14) - 77093643461234 [18:21:03]1041 (16) - 0000000000965619 [18:21:03]1040 (4) - 9152 [18:21:03]1012 (4) - 20.08.2024 12:04 [18:21:03]1206 (1) - 0 [18:21:03]OFD Sender: Remove packet 9152 [18:21:03]ProducePacketName [18:21:03]name=ofd_packets/00009152 [18:21:03]NVStorageDeleteData [18:21:04]OFD Sender: Processing packet 9153 [packets to send 6, broken 3] [18:21:04]ProducePacketName [18:21:04]name=ofd_packets/00009153 [18:21:04]OFD Sender: To server: pG, [18:21:04]CommunicateWithHost lk.salyk.kg:30040 [18:21:04]ConnectInit lk.salyk.kg [18:21:04]Connected sock=7 [18:21:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 03 BB 1E 01 E5 94 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 A1 D1 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C1 23 00 00 35 04 06 00 2C F9 30 EF 70 79 26 91 19 F2 45 B4 FE A8 [18:21:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 32 30 47 00 44 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C1 23 00 00 F4 03 04 00 5D 86 C4 66 B6 04 01 00 00 51 63 AF 54 F8 A5 0E 54 [18:21:04]CommunicateWithHost err = 0 [18:21:04]CheckOFDResponse [18:21:04]1017 (14) - 77093643461234 [18:21:04]1041 (16) - 0000000000965619 [18:21:04]1040 (4) - 9153 [18:21:04]1012 (4) - 20.08.2024 12:04 [18:21:04]1206 (1) - 0 [18:21:04]OFD Sender: Remove packet 9153 [18:21:04]ProducePacketName [18:21:04]name=ofd_packets/00009153 [18:21:04]NVStorageDeleteData [18:21:05]OFD Sender: Processing packet 9154 [packets to send 5, broken 3] [18:21:05]ProducePacketName [18:21:05]name=ofd_packets/00009154 [18:21:05]OFD Sender: To server: pG, [18:21:05]CommunicateWithHost lk.salyk.kg:30040 [18:21:05]ConnectInit lk.salyk.kg [18:21:05]Connected sock=7 [18:21:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 E0 CF 1F 01 8F B7 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 8A D2 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C2 23 00 00 35 04 06 00 1F 90 48 A7 E2 1A 6A 20 AD 25 A7 DE C4 FF [18:21:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 81 DA 47 00 DA F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C2 23 00 00 F4 03 04 00 5E 86 C4 66 B6 04 01 00 00 D0 A8 19 0A F2 40 84 FC [18:21:06]CommunicateWithHost err = 0 [18:21:06]CheckOFDResponse [18:21:06]1017 (14) - 77093643461234 [18:21:06]1041 (16) - 0000000000965619 [18:21:06]1040 (4) - 9154 [18:21:06]1012 (4) - 20.08.2024 12:04 [18:21:06]1206 (1) - 0 [18:21:06]OFD Sender: Remove packet 9154 [18:21:06]ProducePacketName [18:21:06]name=ofd_packets/00009154 [18:21:06]NVStorageDeleteData [18:21:06]OFD Sender: Processing packet 9155 [packets to send 4, broken 3] [18:21:06]ProducePacketName [18:21:06]name=ofd_packets/00009155 [18:21:06]OFD Sender: To server: pG, [18:21:06]CommunicateWithHost lk.salyk.kg:30040 [18:21:06]ConnectInit lk.salyk.kg [18:21:07]Connected sock=7 [18:21:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 38 E0 1D 01 8C 8E 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 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 B1 D5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C3 23 00 00 35 04 06 00 E4 8D 5A F3 93 2A 23 7E 12 54 0D 21 30 CA [18:21:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 7A 0C 47 00 7F AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C3 23 00 00 F4 03 04 00 5F 86 C4 66 B6 04 01 00 00 E8 73 B3 7F 01 31 4A E0 [18:21:07]CommunicateWithHost err = 0 [18:21:07]CheckOFDResponse [18:21:07]1017 (14) - 77093643461234 [18:21:07]1041 (16) - 0000000000965619 [18:21:07]1040 (4) - 9155 [18:21:07]1012 (4) - 20.08.2024 12:04 [18:21:07]1206 (1) - 0 [18:21:07]OFD Sender: Remove packet 9155 [18:21:07]ProducePacketName [18:21:07]name=ofd_packets/00009155 [18:21:07]NVStorageDeleteData [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:29]ConnectInit Can't connect to host [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:10]recv_with_timeout no data received [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:25]accept exits with 12 [18:23:25]New connection [18:23:25]New thread 3066686820 created [18:23:25]Thread 3066830180 joined [18:23:25]Waiting for new connection... [18:23:25] Sock 12.Parse request [18:23:25]Sock 12.Check first char [18:23:25]Sock 12.First char is OK [18:23:25]request: POST /json_proto HTTP/1.0 [18:23:25]Method: POST [18:23:25]URL: /json_proto [18:23:25]Method is POST - this is cgi request [18:23:25]url: /json_proto [18:23:25]query_string will be loaded in cgi processing [18:23:25]execute_cgi json_proto POST (null) [18:23:25]execute_cgi path=json_proto method=POST [18:23:25]POST find Content-Length [18:23:25]Host: 172.17.55.134:8080 [18:23:25]Content-Length: 698 [18:23:25]Content-Type: application/json [18:23:25] [18:23:25]POST finish read [18:23:25]Found Content-Length = 698 [18:23:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18143", "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" ] } } [18:23:25]execute_script... [18:23: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)18143", "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" ] } } [18:23:25]POST & json_proto [18:23:25]process_json_proto [18:23:25]json parsed OK: [18:23:25]protocol is kg_v1.0 [18:23:25]action value=close_receipt [18:23:25]process_action close_receipt [18:23:25]cmd_close_receipt [18:23:25]MH_GetDate [18:23:25]Write to MH i2c: F0 00 00 9A 0B 94 [18:23:25]Write i2c OK [18:23:25]MH_I2C_Read... [18:23:25]Read from MH i2c: F0 [18:23:25]MH_I2C_Read... [18:23:25]Read from MH i2c: F0 09 00 [18:23:25]MH_I2C_Read... [18:23:25]Read from MH i2c: F0 09 00 9A 0B 00 22 DF C4 66 13 35 D9 65 4E [18:23:25]GetLastDocTimeStamp 1724175793 [18:23:25]current date 1724178210 [18:23:25]FM_GetShiftState [18:23:25]SAM_PROTO_GetShiftState [18:23:25]wFMCommunicate request_size=4 [18:23:25]MH_SAM_APDU [18:23:25]CAPDU: 80 13 01 00 [18:23:25]Write to MH i2c: E2 08 00 9B 0B 80 13 01 00 00 00 00 00 23 [18:23:25]Write i2c OK [18:23:25]MH_I2C_Read... [18:23:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:23:25]Read from MH i2c: E2 [18:23:25]MH_I2C_Read... [18:23:25]Read from MH i2c: E2 0E 00 [18:23:25]MH_I2C_Read... [18:23:25]Read from MH i2c: E2 0E 00 9B 0B 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 00 [18:23:25]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [18:23:25]wFMCommunicate OK [18:23:25]SAM_PROTO_GetShiftState done [18:23:25]FM_GetShiftState done [18:23:25]opened in 1724113861 [18:23:25]opened+sec_in_day 1724200261 [18:23:25]quantity*price = 9500 [18:23:25]sum+1 = 9501 [18:23:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 36 20.08.2024 18:23 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9156 ФПД: 38239261270105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T182330&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9156&fm=38239261270105&tin=02508201610067®Number=0000000000108878&sum=9500 0 [18:23:26]StoreToDocumentArchive [18:23:26]shift 216 fd 9156 [18:23:26]save to /storage/0216/doc_00009156 [18:23:26]save last doc name /storage/0216/doc_00009156 to /storage/kkm_last_doc_name [18:23:26]save OK [18:23:26]Clear old archive folders... [18:23:26]ProcessDocumentItem done err = 0, tmpTLVsize=302 [18:23:26]tlvbuf is 004B62B0 [18:23:26]SAM_PROTO_ClearQueue [18:23:26]wFMCommunicate request_size=4 [18:23:26]MH_SAM_APDU [18:23:26]CAPDU: 80 09 00 00 [18:23:26]Write to MH i2c: E2 08 00 A8 0B 80 09 00 00 00 00 00 00 25 [18:23:26]Write i2c OK [18:23:26]MH_I2C_Read... [18:23:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:23:26]Read from MH i2c: E2 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 03 00 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 03 00 A8 0B 00 90 00 27 [18:23:26]RAPDU: 90 00 [18:23:26]wFMCommunicate OK [18:23:26]SAM_PROTO_ClearQueue done [18:23:26]KKMCreateOFDPacket [18:23:26]OFDProtocolAddRootSTLVToBuf [18:23:26]FM_MakeSignedData [18:23:26]FM_MakeSignedData [18:23:26]SAM_PROTO_SignData [18:23:26]wFMCommunicate request_size=4 [18:23:26]MH_SAM_APDU [18:23:26]CAPDU: 80 0D 01 02 [18:23:26]Write to MH i2c: E2 08 00 A9 0B 80 0D 01 02 00 00 00 00 2D [18:23:26]Write i2c OK [18:23:26]MH_I2C_Read... [18:23:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:23:26]Read from MH i2c: E2 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 03 00 [18:23:26]MH_I2C_Read... [18:23:26]Read from MH i2c: E2 03 00 A9 0B 00 90 00 28 [18:23:26]RAPDU: 90 00 [18:23:26]wFMCommunicate OK [18:23:26]wFMCommunicate request_size=255 [18:23:26]MH_SAM_APDU [18:23:26]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 24 00 00 00 F4 03 04 00 22 DF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 [18:23:26]Write to MH i2c: E2 02 01 AA 0B 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 24 00 00 00 F4 03 04 00 22 DF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 00 00 76 [18:23:26]Write i2c OK [18:23:26]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 AA 0B 00 90 00 29 [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]wFMCommunicate request_size=61 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C4 23 00 00 35 04 06 00 22 C7 45 95 A0 59 [18:23:27]Write to MH i2c: E2 40 00 AB 0B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C4 23 00 00 35 04 06 00 22 C7 45 95 A0 59 00 00 13 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 03 00 AB 0B 00 90 00 2A [18:23:27]RAPDU: 90 00 [18:23:27]wFMCommunicate OK [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 0D 03 02 [18:23:27]Write to MH i2c: E2 08 00 AC 0B 80 0D 03 02 00 00 00 00 32 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 0B 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 0B 00 AC 0B 00 EB 1B 1B 94 76 66 DC 90 90 00 30 [18:23:27]RAPDU: EB 1B 1B 94 76 66 DC 90 90 00 [18:23:27]wFMCommunicate OK [18:23:27]SAM_PROTO_SignData done [18:23:27]FM_MakeSignedData done [18:23:27]CreateOFDProtocolMessage [18:23:27]wFMCommunicate request_size=4 [18:23:27]MH_SAM_APDU [18:23:27]CAPDU: 80 11 00 00 [18:23:27]Write to MH i2c: E2 08 00 AD 0B 80 11 00 00 00 00 00 00 32 [18:23:27]Write i2c OK [18:23:27]MH_I2C_Read... [18:23:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:23:27]Read from MH i2c: E2 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 17 00 [18:23:27]MH_I2C_Read... [18:23:27]Read from MH i2c: E2 17 00 AD 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 89 [18:23:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [18:23:27]wFMCommunicate OK [18:23:27]CreateOFDProtocolMessage done [18:23:27]OFDSenderStorePacket 9156 [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 45 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725A0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 15444793+1708733715=1724178508 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 A0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 46 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 4D E0 C4 66 13 35 D9 65 DC [18:28:29]Current date/time: 20.08.2024 18:28 [18:28:29]FM_Init [18:28:29]wFMConnect [18:28:29]MH_SAM_On [18:28:29]Write to MH i2c: E0 00 00 08 00 E7 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_init finished! [18:28:29]*** atr: [18:28:29]*** 0F 3B D5 18 FF 81 91 FE [18:28:29]*** 1F C3 80 73 C8 21 10 0A [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]*** 00 00 00 00 00 00 00 00 [18:28:29]Read from MH i2c: E0 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E0 10 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [18:28:29]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [18:28:29]wFMCommunicate request_size=10 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [18:28:29]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [18:28:29]RAPDU: 90 00 [18:28:29]wFMCommunicate OK [18:28:29]wFMCommunicate request_size=4 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 80 11 00 00 [18:28:29]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 17 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 DB [18:28:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [18:28:29]wFMCommunicate OK [18:28:29]Detected FM SN is 0000000000965619 [18:28:29]Stored FM SN is 0000000000965619 [18:28:29]wFMCommunicate request_size=9 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 80 16 00 00 04 FD 21 00 00 [18:28:29]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 FD 21 00 00 00 00 B0 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [18:28:29]RAPDU: 90 00 [18:28:29]wFMCommunicate OK [18:28:29]FM PIN OK [18:28:29]wFMCommunicate request_size=8 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 80 14 04 00 03 02 00 01 [18:28:29]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [18:28:29]RAPDU: 90 00 [18:28:29]wFMCommunicate OK [18:28:29]wFMCommunicate request_size=13 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [18:28:29]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [18:28:29]RAPDU: 90 00 [18:28:29]wFMCommunicate OK [18:28:29]wFMCommunicate request_size=4 [18:28:29]MH_SAM_APDU [18:28:29]CAPDU: 80 11 00 00 [18:28:29]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:28:29]Read from MH i2c: E2 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 17 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 DF [18:28:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [18:28:29]wFMCommunicate OK [18:28:29]DocumentArchiveInit [18:28:29]Start Httpd... [18:28:29]Httpd thread 3067215204 created [18:28:29]Write to MH i2c: 01 00 00 0F 00 0F [18:28:29]Write i2c OK [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: 01 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: 01 07 00 [18:28:29]MH_I2C_Read... [18:28:29]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [18:28:29]MH Int Process started [18:28:29]Allocated Socket 8 [18:28:29]Bind OK [18:28:29]Listen OK [18:28:29]httpd running on port 8080 [18:28:29]Waiting for new connection... [18:28:29]OFD Sender: Processing packet 9156 [packets to send 4, broken 3] [18:28:29]ProducePacketName [18:28:29]name=ofd_packets/00009156 [18:28:29]OFD Sender: To server: pG, [18:28:29]CommunicateWithHost lk.salyk.kg:30040 [18:28:29]ConnectInit lk.salyk.kg [18:28:29]Connected sock=7 [18:28: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 36 31 39 42 01 00 00 FE 8E 3A 01 12 0B 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 24 00 00 00 F4 03 04 00 22 DF C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C4 23 00 00 35 04 06 00 22 C7 45 95 A0 59 EB 1B 1B 94 76 66 DC 90 [18:28:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 7A 99 47 00 67 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 36 31 39 10 04 04 00 C4 23 00 00 F4 03 04 00 16 88 C4 66 B6 04 01 00 00 16 B9 0C F8 D2 91 E7 1F [18:28:29]CommunicateWithHost err = 0 [18:28:29]CheckOFDResponse [18:28:29]1017 (14) - 77093643461234 [18:28:29]1041 (16) - 0000000000965619 [18:28:29]1040 (4) - 9156 [18:28:29]1012 (4) - 20.08.2024 12:12 [18:28:29]1206 (1) - 0 [18:28:29]OFD Sender: Remove packet 9156 [18:28:29]ProducePacketName [18:28:29]name=ofd_packets/00009156 [18:28:29]NVStorageDeleteData [18:28:30]OFD Sender: No OFD packet to send [18:28:35]OFD Sender: No OFD packet to send [18:28:40]OFD Sender: No OFD packet to send [18:28:45]OFD Sender: No OFD packet to send [18:28:50]OFD Sender: No OFD packet to send [18:28:55]OFD Sender: No OFD packet to send [18:29:00]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:55]OFD Sender: No OFD packet to send [18:31:00]OFD Sender: No OFD packet to send [18:31:05]OFD Sender: No OFD packet to send [18:31:10]OFD Sender: No OFD packet to send [18:31:15]OFD Sender: No OFD packet to send [18:31:20]OFD Sender: No OFD packet to send [18:31:25]OFD Sender: No OFD packet to send [18:31:30]OFD Sender: No OFD packet to send [18:31:35]OFD Sender: No OFD packet to send [18:31:40]OFD Sender: No OFD packet to send [18:31:45]OFD Sender: No OFD packet to send [18:31:50]OFD Sender: No OFD packet to send [18:31:55]OFD Sender: No OFD packet to send [18:32:00]OFD Sender: No OFD packet to send [18:32:05]OFD Sender: No OFD packet to send [18:32:10]OFD Sender: No OFD packet to send [18:32:15]OFD Sender: No OFD packet to send [18:32:20]OFD Sender: No OFD packet to send [18:32:25]OFD Sender: No OFD packet to send [18:32:30]OFD Sender: No OFD packet to send [18:32:35]OFD Sender: No OFD packet to send [18:32:40]OFD Sender: No OFD packet to send [18:32:45]OFD Sender: No OFD packet to send [18:32:50]OFD Sender: No OFD packet to send [18:32:55]OFD Sender: No OFD packet to send [18:33:00]OFD Sender: No OFD packet to send [18:33:05]OFD Sender: No OFD packet to send [18:33:10]OFD Sender: No OFD packet to send [18:33:15]OFD Sender: No OFD packet to send [18:33:20]OFD Sender: No OFD packet to send [18:33:25]OFD Sender: No OFD packet to send [18:33:30]OFD Sender: No OFD packet to send [18:33:35]OFD Sender: No OFD packet to send [18:33:40]OFD Sender: No OFD packet to send [18:33:45]OFD Sender: No OFD packet to send [18:33:50]OFD Sender: No OFD packet to send [18:33:55]OFD Sender: No OFD packet to send [18:34:00]OFD Sender: No OFD packet to send [18:34:05]OFD Sender: No OFD packet to send [18:34:10]OFD Sender: No OFD packet to send [18:34:15]OFD Sender: No OFD packet to send [18:34:20]OFD Sender: No OFD packet to send [18:34:25]OFD Sender: No OFD packet to send [18:34:30]OFD Sender: No OFD packet to send [18:34:35]OFD Sender: No OFD packet to send [18:34:40]OFD Sender: No OFD packet to send [18:34:45]OFD Sender: No OFD packet to send [18:34:50]OFD Sender: No OFD packet to send [18:34:55]OFD Sender: No OFD packet to send [18:35:00]OFD Sender: No OFD packet to send [18:35:05]OFD Sender: No OFD packet to send [18:35:10]OFD Sender: No OFD packet to send [18:35:15]OFD Sender: No OFD packet to send [18:35:20]OFD Sender: No OFD packet to send [18:35:25]OFD Sender: No OFD packet to send [18:35:30]OFD Sender: No OFD packet to send [18:35:35]OFD Sender: No OFD packet to send [18:35:40]OFD Sender: No OFD packet to send [18:35:45]OFD Sender: No OFD packet to send [18:35:50]OFD Sender: No OFD packet to send [18:35:55]OFD Sender: No OFD packet to send [18:36:00]OFD Sender: No OFD packet to send [18:36:05]OFD Sender: No OFD packet to send [18:36:10]OFD Sender: No OFD packet to send [18:36:15]OFD Sender: No OFD packet to send [18:36:20]OFD Sender: No OFD packet to send [18:36:25]OFD Sender: No OFD packet to send [18:36:30]OFD Sender: No OFD packet to send [18:36:35]OFD Sender: No OFD packet to send [18:36:40]OFD Sender: No OFD packet to send [18:36:45]OFD Sender: No OFD packet to send [18:36:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:30]OFD Sender: No OFD packet to send [18:37:35]OFD Sender: No OFD packet to send [18:37:40]OFD Sender: No OFD packet to send [18:37:45]OFD Sender: No OFD packet to send [18:37:50]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]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:21]OFD Sender: No OFD packet to send [18:46:26]OFD Sender: No OFD packet to send [18:46:31]OFD Sender: No OFD packet to send [18:46:36]OFD Sender: No OFD packet to send [18:46:41]OFD Sender: No OFD packet to send [18:46:46]OFD Sender: No OFD packet to send [18:46:51]OFD Sender: No OFD packet to send [18:46:56]OFD Sender: No OFD packet to send [18:47:01]OFD Sender: No OFD packet to send [18:47:06]OFD Sender: No OFD packet to send [18:47:11]OFD Sender: No OFD packet to send [18:47:16]OFD Sender: No OFD packet to send [18:47:21]OFD Sender: No OFD packet to send [18:47:26]OFD Sender: No OFD packet to send [18:47:31]OFD Sender: No OFD packet to send [18:47:36]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:21]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:06]OFD Sender: No OFD packet to send [18:49:11]OFD Sender: No OFD packet to send [18:49:16]OFD Sender: No OFD packet to send [18:49:21]OFD Sender: No OFD packet to send [18:49:26]OFD Sender: No OFD packet to send [18:49:31]OFD Sender: No OFD packet to send [18:49:36]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:16]OFD Sender: No OFD packet to send [18:50:21]OFD Sender: No OFD packet to send [18:50:26]OFD Sender: No OFD packet to send [18:50:31]OFD Sender: No OFD packet to send [18:50:36]OFD Sender: No OFD packet to send [18:50:41]OFD Sender: No OFD packet to send [18:50:46]OFD Sender: No OFD packet to send [18:50:51]OFD Sender: No OFD packet to send [18:50:56]OFD Sender: No OFD packet to send [18:51:01]OFD Sender: No OFD packet to send [18:51:06]OFD Sender: No OFD packet to send [18:51:11]OFD Sender: No OFD packet to send [18:51:16]OFD Sender: No OFD packet to send [18:51:21]OFD Sender: No OFD packet to send [18:51:26]OFD Sender: No OFD packet to send [18:51:31]OFD Sender: No OFD packet to send [18:51:36]OFD Sender: No OFD packet to send [18:51:41]OFD Sender: No OFD packet to send [18:51:46]OFD Sender: No OFD packet to send [18:51:51]OFD Sender: No OFD packet to send [18:51:56]OFD Sender: No OFD packet to send [18:52:01]OFD Sender: No OFD packet to send [18:52:06]OFD Sender: No OFD packet to send [18:52:11]OFD Sender: No OFD packet to send [18:52:16]OFD Sender: No OFD packet to send [18:52:21]OFD Sender: No OFD packet to send [18:52:26]OFD Sender: No OFD packet to send [18:52:31]OFD Sender: No OFD packet to send [18:52:36]OFD Sender: No OFD packet to send [18:52:41]OFD Sender: No OFD packet to send [18:52:46]OFD Sender: No OFD packet to send [18:52:51]OFD Sender: No OFD packet to send [18:52:56]OFD Sender: No OFD packet to send [18:53:01]OFD Sender: No OFD packet to send [18:53:06]OFD Sender: No OFD packet to send [18:53:11]OFD Sender: No OFD packet to send [18:53:16]OFD Sender: No OFD packet to send [18:53:21]OFD Sender: No OFD packet to send [18:53:26]OFD Sender: No OFD packet to send [18:53:31]OFD Sender: No OFD packet to send [18:53:36]OFD Sender: No OFD packet to send [18:53:41]OFD Sender: No OFD packet to send [18:53:46]OFD Sender: No OFD packet to send [18:53:51]OFD Sender: No OFD packet to send [18:53:56]OFD Sender: No OFD packet to send [18:54:01]OFD Sender: No OFD packet to send [18:54:06]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:16]OFD Sender: No OFD packet to send [18:55:21]OFD Sender: No OFD packet to send [18:55:26]OFD Sender: No OFD packet to send [18:55:31]OFD Sender: No OFD packet to send [18:55:36]OFD Sender: No OFD packet to send [18:55:41]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:01]OFD Sender: No OFD packet to send [18:56:06]OFD Sender: No OFD packet to send [18:56:11]OFD Sender: No OFD packet to send [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]OFD Sender: No OFD packet to send [19:03:26]OFD Sender: No OFD packet to send [19:03:31]OFD Sender: No OFD packet to send [19:03:36]OFD Sender: No OFD packet to send [19:03:41]OFD Sender: No OFD packet to send [19:03:46]OFD Sender: No OFD packet to send [19:03:51]OFD Sender: No OFD packet to send [19:03:56]OFD Sender: No OFD packet to send [19:04:01]OFD Sender: No OFD packet to send [19:04:06]OFD Sender: No OFD packet to send [19:04:11]OFD Sender: No OFD packet to send [19:04:16]OFD Sender: No OFD packet to send [19:04:21]OFD Sender: No OFD packet to send [19:04:26]OFD Sender: No OFD packet to send [19:04:31]OFD Sender: No OFD packet to send [19:04:36]OFD Sender: No OFD packet to send [19:04:41]OFD Sender: No OFD packet to send [19:04:46]OFD Sender: No OFD packet to send [19:04:51]OFD Sender: No OFD packet to send [19:04:56]OFD Sender: No OFD packet to send [19:05:01]OFD Sender: No OFD packet to send [19:05:06]OFD Sender: No OFD packet to send [19:05:11]OFD Sender: No OFD packet to send [19:05:16]OFD Sender: No OFD packet to send [19:05:21]OFD Sender: No OFD packet to send [19:05:26]OFD Sender: No OFD packet to send [19:05:31]OFD Sender: No OFD packet to send [19:05:36]OFD Sender: No OFD packet to send [19:05:41]OFD Sender: No OFD packet to send [19:05:46]OFD Sender: No OFD packet to send [19:05:51]OFD Sender: No OFD packet to send [19:05:56]OFD Sender: No OFD packet to send [19:06:01]OFD Sender: No OFD packet to send [19:06:06]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:26]OFD Sender: No OFD packet to send [19:07:31]OFD Sender: No OFD packet to send [19:07:36]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]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:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]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:21]int [19:36:21]Write to MH i2c: 01 00 00 10 00 10 [19:36:21]*** FLAG_PRN_PAP1 set [19:36:21]Write i2c OK [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 10 00 00 01 00 00 00 FF 0F 26 [19:36:21]state=0 [19:36:21]No paper [19:36:21]int [19:36:21]Write to MH i2c: 01 00 00 11 00 11 [19:36:21]*** FLAG_PRN_PAP2 set [19:36:21]Write i2c OK [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 11 00 00 03 00 00 00 FF 0F 29 [19:36:21]state=0 [19:36:21]No paper [19:36:21]Cover opened [19:36:21]int [19:36:21]Write to MH i2c: 01 00 00 12 00 12 [19:36:21]*** FLAG_PRN_PAP2 reset [19:36:21]Write i2c OK [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 [19:36:21]MH_I2C_Read... [19:36:21]Read from MH i2c: 01 07 00 12 00 00 01 00 00 00 FF 0F 28 [19:36:21]state=3 [19:36:21]No paper [19:36:21]Cover closed [19:36:23]OFD Sender: No OFD packet to send [19:36:23]int [19:36:23]Write to MH i2c: 01 00 00 13 00 13 [19:36:23]*** FLAG_PRN_PAP2 set [19:36:23]Write i2c OK [19:36:23]MH_I2C_Read... [19:36:23]Read from MH i2c: 01 [19:36:23]MH_I2C_Read... [19:36:23]Read from MH i2c: 01 07 00 [19:36:23]MH_I2C_Read... [19:36:23]Read from MH i2c: 01 07 00 13 00 00 03 00 00 00 FF 0F 2B [19:36:23]state=0 [19:36:23]No paper [19:36:23]Cover opened [19:36:27]int [19:36:27]Write to MH i2c: 01 00 00 14 00 14 [19:36:27]Write i2c OK [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 [19:36:27]MH_I2C_Read... [19:36:27]*** FLAG_PRN_PAP2 reset [19:36:27]*** FLAG_PRN_PAP1 reset [19:36:27]Read from MH i2c: 01 07 00 14 00 00 00 00 00 00 FF 0F 29 [19:36:27]state=3 [19:36:27]Cover closed [19:36:27]int [19:36:27]Write to MH i2c: 01 00 00 15 00 15 [19:36:27]*** FLAG_PRN_PAP1 set [19:36:27]Write i2c OK [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 15 00 00 01 00 00 00 FF 0F 2B [19:36:27]state=0 [19:36:27]No paper [19:36:27]int [19:36:27]Write to MH i2c: 01 00 00 16 00 16 [19:36:27]*** FLAG_PRN_PAP1 reset [19:36:27]Write i2c OK [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 16 00 00 00 00 00 00 FF 0F 2B [19:36:27]state=0 [19:36:27]int [19:36:27]Write to MH i2c: 01 00 00 17 00 17 [19:36:27]Write i2c OK [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 [19:36:27]MH_I2C_Read... [19:36:27]Read from MH i2c: 01 07 00 [19:36:27]MH_I2C_Read... [19:36:27]*** FLAG_PRN_PAP1 set [19:36:27]*** FLAG_PRN_PAP1 reset [19:36:27]Read from MH i2c: 01 07 00 17 00 00 00 00 00 00 FF 0F 2C [19:36:27]state=0 [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:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51: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:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:17]accept exits with 9 [19:59:17]New connection [19:59:17]New thread 3066928484 created [19:59:17]Waiting for new connection... [19:59:17] Sock 9.Parse request [19:59:17]Sock 9.Check first char [19:59:17]Sock 9.First char is OK [19:59:17]request: POST /json_proto HTTP/1.0 [19:59:17]Method: POST [19:59:17]URL: /json_proto [19:59:17]Method is POST - this is cgi request [19:59:17]url: /json_proto [19:59:17]query_string will be loaded in cgi processing [19:59:17]execute_cgi json_proto POST (null) [19:59:17]execute_cgi path=json_proto method=POST [19:59:17]POST find Content-Length [19:59:17]Host: 172.17.55.134:8080 [19:59:17]Content-Length: 215 [19:59:17]Content-Type: application/json [19:59:17] [19:59:17]POST finish read [19:59:17]Found Content-Length = 215 [19:59:17]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" ] } } [19:59:17]execute_script... [19:59:17]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" ] } } [19:59:17]POST & json_proto [19:59:17]process_json_proto [19:59:17]json parsed OK: [19:59:17]protocol is kg_v1.0 [19:59:17]action value=get_value [19:59:17]process_action get_value [19:59:17]cmd_get_value [19:59:17]process_action get_value done [19:59:17]requested_data is exist [19:59:17]produce_requested_data [19:59:17]requested_item kkm.sn is exist - process it [19:59:17]requested_item kkm.ver is exist - process it [19:59:17]requested_item fm.sn is exist - process it [19:59:17]wFMCommunicate request_size=4 [19:59:17]MH_SAM_APDU [19:59:17]CAPDU: 80 11 00 00 [19:59:17]Write to MH i2c: E2 08 00 18 00 80 11 00 00 00 00 00 00 92 [19:59:17]Write i2c OK [19:59:17]MH_I2C_Read... [19:59:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:17]Read from MH i2c: E2 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 17 00 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 17 00 18 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 E9 [19:59:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:17]wFMCommunicate OK [19:59:17]requested_item fd.num is exist - process it [19:59:17]SAM_PROTO_GetFieldsCounters [19:59:17]wFMCommunicate request_size=4 [19:59:17]MH_SAM_APDU [19:59:17]CAPDU: 80 13 00 00 [19:59:17]Write to MH i2c: E2 08 00 19 00 80 13 00 00 00 00 00 00 95 [19:59:17]Write i2c OK [19:59:17]MH_I2C_Read... [19:59:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:17]Read from MH i2c: E2 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 62 00 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 62 00 19 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C4 23 00 00 0E 04 04 00 D8 00 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 EC [19:59:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C4 23 00 00 0E 04 04 00 D8 00 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 [19:59:17]wFMCommunicate OK [19:59:17]SAM_PROTO_GetFieldsCounters done [19:59:17]requested_item shift.num is exist - process it [19:59:17]requested_item shift.opened is exist - process it [19:59:17]req_shift_opened [19:59:17]FM_GetShiftState [19:59:17]SAM_PROTO_GetShiftState [19:59:17]wFMCommunicate request_size=4 [19:59:17]MH_SAM_APDU [19:59:17]CAPDU: 80 13 01 00 [19:59:17]Write to MH i2c: E2 08 00 1A 00 80 13 01 00 00 00 00 00 97 [19:59:17]Write i2c OK [19:59:17]MH_I2C_Read... [19:59:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:17]Read from MH i2c: E2 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 0E 00 [19:59:17]MH_I2C_Read... [19:59:17]Read from MH i2c: E2 0E 00 1A 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 74 [19:59:17]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:17]wFMCommunicate OK [19:59:17]SAM_PROTO_GetShiftState done [19:59:17]FM_GetShiftState done [19:59:17]req_shift_opened done [19:59:17]requested_item shift.open_date is exist - process it [19:59:17]req_shift_open_date [19:59:17]req_shift_open_date done [19:59:17]produce_requested_data done [19:59:17]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9156,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:17]process_action_free get_value [19:59:17]json_value_free [19:59:17]json_value_free done [19:59:17]process_json_proto returns [19:59:17]Send response to host [19:59:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9156,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:17]free response buf [19:59:17]execute_script done [19:59:17]execute_script returns [19:59:17]free content buf [19:59:17]Sock 9.Close socket [19:59:17]Sock 9.Thread stoped [19:59:17]accept exits with 7 [19:59:17]New connection [19:59:17]New thread 3066785124 created [19:59:17]Thread 3066928484 joined [19:59:17]Waiting for new connection... [19:59:17] Sock 7.Parse request [19:59:17]Sock 7.Check first char [19:59:17]Sock 7.First char is OK [19:59:17]request: POST /json_proto HTTP/1.0 [19:59:17]Method: POST [19:59:17]URL: /json_proto [19:59:17]Method is POST - this is cgi request [19:59:17]url: /json_proto [19:59:17]query_string will be loaded in cgi processing [19:59:17]execute_cgi json_proto POST (null) [19:59:17]execute_cgi path=json_proto method=POST [19:59:17]POST find Content-Length [19:59:17]Host: 172.17.55.134:8080 [19:59:17]Content-Length: 331 [19:59:17]Content-Type: application/json [19:59:17] [19:59:17]POST finish read [19:59:17]Found Content-Length = 331 [19:59:17]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" ] } } [19:59:17]execute_script... [19:59:17]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" ] } } [19:59:17]POST & json_proto [19:59:17]process_json_proto [19:59:17]json parsed OK: [19:59:17]protocol is kg_v1.0 [19:59:17]action value=get_value [19:59:17]process_action get_value [19:59:17]cmd_get_value [19:59:17]process_action get_value done [19:59:17]requested_data is exist [19:59:17]produce_requested_data [19:59:17]requested_item fm.sale.total is exist - process it [19:59:17]SAM_PROTO_GetFMData [19:59:17]wFMCommunicate request_size=4 [19:59:17]MH_SAM_APDU [19:59:17]CAPDU: 80 13 03 00 [19:59:17]Write to MH i2c: E2 08 00 1B 00 80 13 03 00 00 00 00 00 9A [19:59:17]Write i2c OK [19:59:17]MH_I2C_Read... [19:59:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:59:18]Read from MH i2c: E2 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 1B 00 00 BC 04 85 04 B8 04 6E 04 04 00 14 22 00 00 69 04 A0 00 6F 04 04 00 12 22 00 00 B1 04 04 00 4B EF 2C 0C 70 04 04 00 FC DB 22 0A 72 04 04 00 4F 13 0A 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 31 00 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AD 91 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 94 [19:59:18]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 14 22 00 00 69 04 A0 00 6F 04 04 00 12 22 00 00 B1 04 04 00 4B EF 2C 0C 70 04 04 00 FC DB 22 0A 72 04 04 00 4F 13 0A 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 31 00 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AD 91 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [19:59:18]wFMCommunicate OK [19:59:18]wFMCommunicate request_size=4 [19:59:18]MH_SAM_APDU [19:59:18]CAPDU: 80 17 00 00 [19:59:18]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [19:59:18]Write i2c OK [19:59:18]MH_I2C_Read... [19:59:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:18]Read from MH i2c: E2 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 1C 00 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 41 [19:59:18]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [19:59:18]wFMCommunicate OK [19:59:18]wFMCommunicate request_size=4 [19:59:18]MH_SAM_APDU [19:59:18]CAPDU: 80 17 00 00 [19:59:18]Write to MH i2c: E2 08 00 1D 00 80 17 00 00 00 00 00 00 9D [19:59:18]Write i2c OK [19:59:18]MH_I2C_Read... [19:59:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:18]Read from MH i2c: E2 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 1D 00 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 C6 [19:59:18]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [19:59:18]wFMCommunicate OK [19:59:18]wFMCommunicate request_size=4 [19:59:18]MH_SAM_APDU [19:59:18]CAPDU: 80 17 00 00 [19:59:18]Write to MH i2c: E2 08 00 1E 00 80 17 00 00 00 00 00 00 9E [19:59:18]Write i2c OK [19:59:18]MH_I2C_Read... [19:59:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:18]Read from MH i2c: E2 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 [19:59:18]MH_I2C_Read... [19:59:18]Read from MH i2c: E2 FD 00 1E 00 00 03 00 00 EF 03 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 90 00 1F [19:59:18]RAPDU: 03 00 00 EF 03 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 90 00 [19:59:18]wFMCommunicate OK [19:59:18]wFMCommunicate request_size=4 [19:59:18]MH_SAM_APDU [19:59:18]CAPDU: 80 17 00 00 [19:59:18]Write to MH i2c: E2 08 00 1F 00 80 17 00 00 00 00 00 00 9F [19:59:18]Write i2c OK [19:59:18]MH_I2C_Read... [19:59:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [19:59:19]Read from MH i2c: E2 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 D9 00 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 D9 00 1F 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7E [19:59:19]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:59:19]wFMCommunicate OK [19:59:19]SAM_PROTO_GetFMData done [19:59:19]requested_item fm.sale_refund.total is exist - process it [19:59:19]requested_item fm.buy.total is exist - process it [19:59:19]requested_item shift.sale.total is exist - process it [19:59:19]SAM_PROTO_GetShiftData [19:59:19]wFMCommunicate request_size=4 [19:59:19]MH_SAM_APDU [19:59:19]CAPDU: 80 13 02 00 [19:59:19]Write to MH i2c: E2 08 00 20 00 80 13 02 00 00 00 00 00 9E [19:59:19]Write i2c OK [19:59:19]MH_I2C_Read... [19:59:19]OFD Sender: No OFD packet to send [19:59:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:59:19]Read from MH i2c: E2 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 FD 00 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 FD 00 20 00 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 1C AB 0B 70 04 03 00 34 B3 09 72 04 03 00 E8 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3A 3D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 48 [19:59:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 1C AB 0B 70 04 03 00 34 B3 09 72 04 03 00 E8 F7 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 3A 3D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6D 1A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [19:59:19]wFMCommunicate OK [19:59:19]wFMCommunicate request_size=4 [19:59:19]MH_SAM_APDU [19:59:19]CAPDU: 80 17 00 00 [19:59:19]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [19:59:19]Write i2c OK [19:59:19]MH_I2C_Read... [19:59:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:19]Read from MH i2c: E2 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 FD 00 [19:59:19]MH_I2C_Read... [19:59:19]Read from MH i2c: E2 FD 00 21 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C3 [19:59:19]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 [19:59:19]wFMCommunicate OK [19:59:19]wFMCommunicate request_size=4 [19:59:19]MH_SAM_APDU [19:59:19]CAPDU: 80 17 00 00 [19:59:19]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [19:59:19]Write i2c OK [19:59:19]MH_I2C_Read... [19:59:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:20]Read from MH i2c: E2 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 FD 00 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 FD 00 22 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 59 [19:59:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [19:59:20]wFMCommunicate OK [19:59:20]wFMCommunicate request_size=4 [19:59:20]MH_SAM_APDU [19:59:20]CAPDU: 80 17 00 00 [19:59:20]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [19:59:20]Write i2c OK [19:59:20]MH_I2C_Read... [19:59:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:59:20]Read from MH i2c: E2 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 FD 00 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 FD 00 23 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 15 [19:59:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [19:59:20]wFMCommunicate OK [19:59:20]wFMCommunicate request_size=4 [19:59:20]MH_SAM_APDU [19:59:20]CAPDU: 80 17 00 00 [19:59:20]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [19:59:20]Write i2c OK [19:59:20]MH_I2C_Read... [19:59:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:59:20]Read from MH i2c: E2 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 CB 00 [19:59:20]MH_I2C_Read... [19:59:20]Read from MH i2c: E2 CB 00 24 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8D [19:59:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:59:20]wFMCommunicate OK [19:59:20]SAM_PROTO_GetShiftData done [19:59:20]requested_item shift.sale.total_cash is exist - process it [19:59:20]requested_item shift.sale_refund.total is exist - process it [19:59:20]requested_item shift.sale_refund.total_cash is exist - process it [19:59:20]requested_item shift.buy.total is exist - process it [19:59:20]requested_item shift.buy.total_cash is exist - process it [19:59:20]produce_requested_data done [19:59:20]produce_requested_data return {"fm.sale.total":2042714.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":7647.00,"shift.sale.total_cash":6357.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} [19:59:20]process_action_free get_value [19:59:20]json_value_free [19:59:20]json_value_free done [19:59:20]process_json_proto returns [19:59:20]Send response to host [19:59:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2042714.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":7647.00,"shift.sale.total_cash":6357.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}}} [19:59:20]free response buf [19:59:20]execute_script done [19:59:20]execute_script returns [19:59:20]free content buf [19:59:20]Sock 7.Close socket [19:59:20]Sock 7.Thread stoped [19:59:21]accept exits with 9 [19:59:21]New connection [19:59:21]New thread 3066928484 created [19:59:21]Thread 3066785124 joined [19:59:21]Waiting for new connection... [19:59:21] Sock 9.Parse request [19:59:21]Sock 9.Check first char [19:59:21]Sock 9.First char is OK [19:59:21]request: POST /json_proto HTTP/1.0 [19:59:21]Method: POST [19:59:21]URL: /json_proto [19:59:21]Method is POST - this is cgi request [19:59:21]url: /json_proto [19:59:21]query_string will be loaded in cgi processing [19:59:21]execute_cgi json_proto POST (null) [19:59:21]execute_cgi path=json_proto method=POST [19:59:21]POST find Content-Length [19:59:21]Host: 172.17.55.134:8080 [19:59:21]Content-Length: 608 [19:59:21]Content-Type: application/json [19:59:21] [19:59:21]POST finish read [19:59:21]Found Content-Length = 608 [19:59:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18144", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:21]execute_script... [19:59:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18144", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:21]POST & json_proto [19:59:21]process_json_proto [19:59:21]json parsed OK: [19:59:21]protocol is kg_v1.0 [19:59:21]action value=close_receipt [19:59:21]process_action close_receipt [19:59:21]cmd_close_receipt [19:59:21]MH_GetDate [19:59:21]Write to MH i2c: F0 00 00 25 00 14 [19:59:21]Write i2c OK [19:59:21]MH_I2C_Read... [19:59:21]Read from MH i2c: F0 [19:59:21]MH_I2C_Read... [19:59:21]Read from MH i2c: F0 09 00 [19:59:21]MH_I2C_Read... [19:59:21]Read from MH i2c: F0 09 00 25 00 00 9A F5 C4 66 13 35 D9 65 5C [19:59:21]GetLastDocTimeStamp 1724178210 [19:59:21]current date 1724183962 [19:59:21]FM_GetShiftState [19:59:21]SAM_PROTO_GetShiftState [19:59:21]wFMCommunicate request_size=4 [19:59:21]MH_SAM_APDU [19:59:21]CAPDU: 80 13 01 00 [19:59:21]Write to MH i2c: E2 08 00 26 00 80 13 01 00 00 00 00 00 A3 [19:59:21]Write i2c OK [19:59:21]MH_I2C_Read... [19:59:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:21]Read from MH i2c: E2 [19:59:21]MH_I2C_Read... [19:59:21]Read from MH i2c: E2 0E 00 [19:59:21]MH_I2C_Read... [19:59:21]Read from MH i2c: E2 0E 00 26 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 80 [19:59:21]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:21]wFMCommunicate OK [19:59:21]SAM_PROTO_GetShiftState done [19:59:21]FM_GetShiftState done [19:59:21]opened in 1724113861 [19:59:21]opened+sec_in_day 1724200261 [19:59:21]quantity*price = 13000 [19:59:21]sum+1 = 13001 [19:59:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 37 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9157 ФПД: 11578905573200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195922&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9157&fm=11578905573200&tin=02508201610067®Number=0000000000108878&sum=13000 0 [19:59:22]StoreToDocumentArchive [19:59:22]shift 216 fd 9157 [19:59:22]save to /storage/0216/doc_00009157 [19:59:22]save last doc name /storage/0216/doc_00009157 to /storage/kkm_last_doc_name [19:59:22]save OK [19:59:22]Clear old archive folders... [19:59:22]ProcessDocumentItem done err = 0, tmpTLVsize=261 [19:59:22]tlvbuf is 00507600 [19:59:22]SAM_PROTO_ClearQueue [19:59:22]wFMCommunicate request_size=4 [19:59:22]MH_SAM_APDU [19:59:22]CAPDU: 80 09 00 00 [19:59:22]Write to MH i2c: E2 08 00 33 00 80 09 00 00 00 00 00 00 A5 [19:59:22]Write i2c OK [19:59:22]MH_I2C_Read... [19:59:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:22]Read from MH i2c: E2 [19:59:22]MH_I2C_Read... [19:59:22]Read from MH i2c: E2 03 00 [19:59:22]MH_I2C_Read... [19:59:22]Read from MH i2c: E2 03 00 33 00 00 90 00 A7 [19:59:22]RAPDU: 90 00 [19:59:22]wFMCommunicate OK [19:59:22]SAM_PROTO_ClearQueue done [19:59:22]KKMCreateOFDPacket [19:59:22]OFDProtocolAddRootSTLVToBuf [19:59:22]FM_MakeSignedData [19:59:22]FM_MakeSignedData [19:59:22]SAM_PROTO_SignData [19:59:22]wFMCommunicate request_size=4 [19:59:22]MH_SAM_APDU [19:59:22]CAPDU: 80 0D 01 02 [19:59:22]Write to MH i2c: E2 08 00 34 00 80 0D 01 02 00 00 00 00 AD [19:59:22]Write i2c OK [19:59:22]MH_I2C_Read... [19:59:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:22]Read from MH i2c: E2 [19:59:22]MH_I2C_Read... [19:59:22]Read from MH i2c: E2 03 00 [19:59:22]MH_I2C_Read... [19:59:22]Read from MH i2c: E2 03 00 34 00 00 90 00 A8 [19:59:22]RAPDU: 90 00 [19:59:22]wFMCommunicate OK [19:59:22]wFMCommunicate request_size=255 [19:59:22]MH_SAM_APDU [19:59:22]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 9A F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 [19:59:22]Write to MH i2c: E2 02 01 35 00 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 9A F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 00 16 [19:59:22]Write i2c OK [19:59:22]MH_I2C_Read... [19:59:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:23]Read from MH i2c: E2 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 03 00 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 03 00 35 00 00 90 00 A9 [19:59:23]RAPDU: 90 00 [19:59:23]wFMCommunicate OK [19:59:23]wFMCommunicate request_size=20 [19:59:23]MH_SAM_APDU [19:59:23]CAPDU: 80 0D 02 02 0F 00 C5 23 00 00 35 04 06 00 0A 87 EC 8D B7 50 [19:59:23]Write to MH i2c: E2 17 00 36 00 80 0D 02 02 0F 00 00 C5 23 00 00 35 04 06 00 0A 87 EC 8D B7 50 00 00 06 [19:59:23]Write i2c OK [19:59:23]MH_I2C_Read... [19:59:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:23]Read from MH i2c: E2 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 03 00 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 03 00 36 00 00 90 00 AA [19:59:23]RAPDU: 90 00 [19:59:23]wFMCommunicate OK [19:59:23]wFMCommunicate request_size=4 [19:59:23]MH_SAM_APDU [19:59:23]CAPDU: 80 0D 03 02 [19:59:23]Write to MH i2c: E2 08 00 37 00 80 0D 03 02 00 00 00 00 B2 [19:59:23]Write i2c OK [19:59:23]MH_I2C_Read... [19:59:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:23]Read from MH i2c: E2 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 0B 00 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 0B 00 37 00 00 30 46 1C 4E 9C 49 EB 3D 90 00 A0 [19:59:23]RAPDU: 30 46 1C 4E 9C 49 EB 3D 90 00 [19:59:23]wFMCommunicate OK [19:59:23]SAM_PROTO_SignData done [19:59:23]FM_MakeSignedData done [19:59:23]CreateOFDProtocolMessage [19:59:23]wFMCommunicate request_size=4 [19:59:23]MH_SAM_APDU [19:59:23]CAPDU: 80 11 00 00 [19:59:23]Write to MH i2c: E2 08 00 38 00 80 11 00 00 00 00 00 00 B2 [19:59:23]Write i2c OK [19:59:23]MH_I2C_Read... [19:59:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:23]Read from MH i2c: E2 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 17 00 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: E2 17 00 38 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 09 [19:59:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:23]wFMCommunicate OK [19:59:23]CreateOFDProtocolMessage done [19:59:23]OFDSenderStorePacket 9157 [19:59:23]StoreOFDPacket docnum=9157 [19:59:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 19 01 00 00 35 F9 11 01 82 ED 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 9A F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C5 23 00 00 35 04 06 00 0A 87 EC 8D B7 50 30 46 1C 4E 9C 49 EB 3D [19:59:23]CheckFolder [19:59:23]dirname=/storage/ofd_packets [19:59:23]CheckFolder done [19:59:23]ProducePacketName [19:59:23]name=ofd_packets/00009157 [19:59:23]NVStorageSaveData ofd_packets/00009157 [19:59:23]File name is /storage/ofd_packets/00009157 [19:59:23]Write 311 bytes [19:59:23]NVStorageSaveData done [19:59:23]OFDSenderStorePacket done [19:59:23]KKMCreateOFDPacket done [19:59:23]NVStorageSaveData kkm_last_timestamp [19:59:23]File name is /storage/kkm_last_timestamp [19:59:23]Write 4 bytes [19:59:23]NVStorageSaveData done [19:59:23]ExternCall_PrintAddStr [19:59:23]wPrintStart [19:59:23]Write to MH i2c: 01 00 00 39 00 39 [19:59:23]Write i2c OK [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: 01 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: 01 07 00 [19:59:23]MH_I2C_Read... [19:59:23]Read from MH i2c: 01 07 00 39 00 00 00 00 00 00 FF 0F 4E [19:59:23]RasterBufferAndPrint [19:59:23]line Счет N : (3)18144 [19:59:23]line ИНН: 02508201610067 [19:59:23]line Контрольно-Кассовый Чек [19:59:23]line ПРОДАЖА [19:59:23]line Товар: 48741156 [19:59:23]line Сигареты LD Blue [19:59:23]line 1.000 * 130.00 [19:59:23]line = 130.00 [19:59:23]line НДС 12% НСП 1% [19:59:23]line > о реализуемом товаре [19:59:23]line ИТОГО: 130.00 [19:59:23]line НСП 1% : 1.15 [19:59:23]line НДС 12% : 13.80 [19:59:23]line Наличными: 130.00 [19:59:23]line Безнал.: 0.00 [19:59:23]line Место: АЗС № 94 [19:59:23]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:23]line СНО: Общий режим [19:59:23]line Чек 37 20.08.2024 19:59 [19:59:23]line Смена: 216 ФФД: 1.0 [19:59:23]line ЗНМ: 0300000128 [19:59:23]line РНМ: 0000000000108878 [19:59:23]line Версия ККМ: 001 [19:59:23]line ФМ: 0000000000965619 [19:59:23]line ФД: 9157 [19:59:23]line ФПД: 11578905573200 [19:59:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195922&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9157&fm=11578905573200&tin=02508201610067®Number=0000000000108878&sum=13000 [19:59:23]OFD Sender: Processing packet 9157 [packets to send 4, broken 3] [19:59:23]ProducePacketName [19:59:23]name=ofd_packets/00009157 [19:59:23]OFD Sender: To server: pG, [19:59:23]CommunicateWithHost lk.salyk.kg:30040 [19:59:23]ConnectInit lk.salyk.kg [19:59:23]line 0 [19:59:23]written 0, free lines is 4095 [19:59:23]Connected sock=10 [19:59:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 19 01 00 00 35 F9 11 01 82 ED 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 9A F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C5 23 00 00 35 04 06 00 0A 87 EC 8D B7 50 30 46 1C 4E 9C 49 EB 3D [19:59:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 16 30 47 00 41 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C5 23 00 00 F4 03 04 00 64 9D C4 66 B6 04 01 00 00 0A A5 CF 39 28 9B 38 8F [19:59:24]CommunicateWithHost err = 0 [19:59:24]CheckOFDResponse [19:59:24]1017 (14) - 77093643461234 [19:59:24]1041 (16) - 0000000000965619 [19:59:24]1040 (4) - 9157 [19:59:24]1012 (4) - 20.08.2024 13:43 [19:59:24]1206 (1) - 0 [19:59:24]OFD Sender: Remove packet 9157 [19:59:24]ProducePacketName [19:59:24]name=ofd_packets/00009157 [19:59:24]NVStorageDeleteData [19:59:24]Write to MH i2c: 01 00 00 60 00 60 [19:59:24]Write i2c OK [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: 01 [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: 01 07 00 [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 43 0D B7 [19:59:24]RasterBufferAndPrint [19:59:24]line [19:59:24]line [19:59:24]line [19:59:24]line [19:59:24]line [19:59:24]written 0, free lines is 3414 [19:59:24]MH_Cut [19:59:24]Write to MH i2c: D1 01 00 67 00 01 39 [19:59:24]Write i2c OK [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: D1 [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: D1 01 00 [19:59:24]MH_I2C_Read... [19:59:24]Read from MH i2c: D1 01 00 67 00 00 38 [19:59:24]Write to MH i2c: 01 00 00 68 00 68 [19:59:24]Write i2c OK [19:59:24]MH_I2C_Read... [19:59:24]OFD Sender: No OFD packet to send [19:59:24]*** Cut start [19:59:24]*** Partial cut [19:59:24]*** CUTSNS_PIN = 1 [19:59:24]*** CUTSNS_PIN = 0 [19:59:25]*** Brake cut motor [19:59:25]Read from MH i2c: 01 [19:59:25]MH_I2C_Read... [19:59:25]*** Stop cut motor [19:59:25]*** Cut end [19:59:25]Read from MH i2c: 01 07 00 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: 01 07 00 68 00 00 00 00 00 00 FF 0F 7D [19:59:25]process_action close_receipt done [19:59:25]requested_data is exist [19:59:25]produce_requested_data [19:59:25]requested_item fm.sn is exist - process it [19:59:25]wFMCommunicate request_size=4 [19:59:25]MH_SAM_APDU [19:59:25]CAPDU: 80 11 00 00 [19:59:25]Write to MH i2c: E2 08 00 69 00 80 11 00 00 00 00 00 00 E3 [19:59:25]Write i2c OK [19:59:25]MH_I2C_Read... [19:59:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:25]Read from MH i2c: E2 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 17 00 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 17 00 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3A [19:59:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:25]wFMCommunicate OK [19:59:25]requested_item fd.num is exist - process it [19:59:25]SAM_PROTO_GetFieldsCounters [19:59:25]wFMCommunicate request_size=4 [19:59:25]MH_SAM_APDU [19:59:25]CAPDU: 80 13 00 00 [19:59:25]Write to MH i2c: E2 08 00 6A 00 80 13 00 00 00 00 00 00 E6 [19:59:25]Write i2c OK [19:59:25]MH_I2C_Read... [19:59:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:25]Read from MH i2c: E2 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 62 00 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 62 00 6A 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C5 23 00 00 0E 04 04 00 D8 00 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 41 [19:59:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C5 23 00 00 0E 04 04 00 D8 00 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 [19:59:25]wFMCommunicate OK [19:59:25]SAM_PROTO_GetFieldsCounters done [19:59:25]requested_item shift.num is exist - process it [19:59:25]requested_item shift.opened is exist - process it [19:59:25]req_shift_opened [19:59:25]FM_GetShiftState [19:59:25]SAM_PROTO_GetShiftState [19:59:25]wFMCommunicate request_size=4 [19:59:25]MH_SAM_APDU [19:59:25]CAPDU: 80 13 01 00 [19:59:25]Write to MH i2c: E2 08 00 6B 00 80 13 01 00 00 00 00 00 E8 [19:59:25]Write i2c OK [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 [19:59:25]MH_I2C_Read... [19:59:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:25]Read from MH i2c: E2 0E 00 [19:59:25]MH_I2C_Read... [19:59:25]Read from MH i2c: E2 0E 00 6B 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 C5 [19:59:25]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:25]wFMCommunicate OK [19:59:25]SAM_PROTO_GetShiftState done [19:59:25]FM_GetShiftState done [19:59:25]req_shift_opened done [19:59:25]requested_item shift.open_date is exist - process it [19:59:25]req_shift_open_date [19:59:25]req_shift_open_date done [19:59:25]produce_requested_data done [19:59:25]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9157,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:25]process_action_free close_receipt [19:59:25]json_value_free [19:59:25]json_value_free done [19:59:25]process_json_proto returns [19:59:25]Send response to host [19:59:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9157,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:25]free response buf [19:59:25]execute_script done [19:59:25]execute_script returns [19:59:25]free content buf [19:59:25]Sock 9.Close socket [19:59:25]Sock 9.Thread stoped [19:59:29]OFD Sender: No OFD packet to send [19:59:31]accept exits with 7 [19:59:31]New connection [19:59:31]New thread 3066785124 created [19:59:31]Thread 3066928484 joined [19:59:31]Waiting for new connection... [19:59:31] Sock 7.Parse request [19:59:31]Sock 7.Check first char [19:59:31]Sock 7.First char is OK [19:59:31]request: POST /json_proto HTTP/1.0 [19:59:31]Method: POST [19:59:31]URL: /json_proto [19:59:31]Method is POST - this is cgi request [19:59:31]url: /json_proto [19:59:31]query_string will be loaded in cgi processing [19:59:31]execute_cgi json_proto POST (null) [19:59:31]execute_cgi path=json_proto method=POST [19:59:31]POST find Content-Length [19:59:31]Host: 172.17.55.134:8080 [19:59:31]Content-Length: 620 [19:59:31]Content-Type: application/json [19:59:31] [19:59:31]POST finish read [19:59:31]Found Content-Length = 620 [19:59:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18145", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:31]execute_script... [19:59:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18145", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:31]POST & json_proto [19:59:31]process_json_proto [19:59:31]json parsed OK: [19:59:31]protocol is kg_v1.0 [19:59:31]action value=close_receipt [19:59:31]process_action close_receipt [19:59:31]cmd_close_receipt [19:59:31]MH_GetDate [19:59:31]Write to MH i2c: F0 00 00 6C 00 5B [19:59:31]Write i2c OK [19:59:31]MH_I2C_Read... [19:59:31]Read from MH i2c: F0 [19:59:31]MH_I2C_Read... [19:59:31]Read from MH i2c: F0 09 00 [19:59:31]MH_I2C_Read... [19:59:31]Read from MH i2c: F0 09 00 6C 00 00 A4 F5 C4 66 13 35 D9 65 AD [19:59:31]GetLastDocTimeStamp 1724183962 [19:59:31]current date 1724183972 [19:59:31]FM_GetShiftState [19:59:31]SAM_PROTO_GetShiftState [19:59:31]wFMCommunicate request_size=4 [19:59:31]MH_SAM_APDU [19:59:31]CAPDU: 80 13 01 00 [19:59:31]Write to MH i2c: E2 08 00 6D 00 80 13 01 00 00 00 00 00 EA [19:59:31]Write i2c OK [19:59:31]MH_I2C_Read... [19:59:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:31]Read from MH i2c: E2 [19:59:31]MH_I2C_Read... [19:59:31]Read from MH i2c: E2 0E 00 [19:59:31]MH_I2C_Read... [19:59:31]Read from MH i2c: E2 0E 00 6D 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 C7 [19:59:31]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:31]wFMCommunicate OK [19:59:31]SAM_PROTO_GetShiftState done [19:59:31]FM_GetShiftState done [19:59:31]opened in 1724113861 [19:59:31]opened+sec_in_day 1724200261 [19:59:31]quantity*price = 14000 [19:59:31]sum+1 = 14001 [19:59:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 38 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9158 ФПД: 22477836941963 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195932&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9158&fm=22477836941963&tin=02508201610067®Number=0000000000108878&sum=14000 0 [19:59:32]StoreToDocumentArchive [19:59:32]shift 216 fd 9158 [19:59:32]save to /storage/0216/doc_00009158 [19:59:32]save last doc name /storage/0216/doc_00009158 to /storage/kkm_last_doc_name [19:59:32]save OK [19:59:32]Clear old archive folders... [19:59:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:59:32]tlvbuf is 0051F130 [19:59:32]SAM_PROTO_ClearQueue [19:59:32]wFMCommunicate request_size=4 [19:59:32]MH_SAM_APDU [19:59:32]CAPDU: 80 09 00 00 [19:59:32]Write to MH i2c: E2 08 00 7A 00 80 09 00 00 00 00 00 00 EC [19:59:32]Write i2c OK [19:59:32]MH_I2C_Read... [19:59:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:32]Read from MH i2c: E2 [19:59:32]MH_I2C_Read... [19:59:32]Read from MH i2c: E2 03 00 [19:59:32]MH_I2C_Read... [19:59:32]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [19:59:32]RAPDU: 90 00 [19:59:32]wFMCommunicate OK [19:59:32]SAM_PROTO_ClearQueue done [19:59:32]KKMCreateOFDPacket [19:59:32]OFDProtocolAddRootSTLVToBuf [19:59:32]FM_MakeSignedData [19:59:32]FM_MakeSignedData [19:59:32]SAM_PROTO_SignData [19:59:32]wFMCommunicate request_size=4 [19:59:32]MH_SAM_APDU [19:59:32]CAPDU: 80 0D 01 02 [19:59:32]Write to MH i2c: E2 08 00 7B 00 80 0D 01 02 00 00 00 00 F4 [19:59:32]Write i2c OK [19:59:32]MH_I2C_Read... [19:59:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:32]Read from MH i2c: E2 [19:59:32]MH_I2C_Read... [19:59:32]Read from MH i2c: E2 03 00 [19:59:32]MH_I2C_Read... [19:59:32]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [19:59:32]RAPDU: 90 00 [19:59:32]wFMCommunicate OK [19:59:32]wFMCommunicate request_size=255 [19:59:32]MH_SAM_APDU [19:59:32]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 A4 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 [19:59:32]Write to MH i2c: E2 02 01 7C 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 A4 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 00 00 B1 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:33]Read from MH i2c: E2 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 03 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [19:59:33]RAPDU: 90 00 [19:59:33]wFMCommunicate OK [19:59:33]wFMCommunicate request_size=32 [19:59:33]MH_SAM_APDU [19:59:33]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 31 39 10 04 04 00 C6 23 00 00 35 04 06 00 14 71 87 7C 7A 8B [19:59:33]Write to MH i2c: E2 23 00 7D 00 80 0D 02 02 1B 00 30 30 30 39 36 35 36 31 39 10 04 04 00 C6 23 00 00 35 04 06 00 14 71 87 7C 7A 8B 00 00 CE [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:33]Read from MH i2c: E2 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 03 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 03 00 7D 00 00 90 00 F1 [19:59:33]RAPDU: 90 00 [19:59:33]wFMCommunicate OK [19:59:33]wFMCommunicate request_size=4 [19:59:33]MH_SAM_APDU [19:59:33]CAPDU: 80 0D 03 02 [19:59:33]Write to MH i2c: E2 08 00 7E 00 80 0D 03 02 00 00 00 00 F9 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:33]Read from MH i2c: E2 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 0B 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 0B 00 7E 00 00 B7 65 84 7C 8F 8E 98 97 90 00 62 [19:59:33]RAPDU: B7 65 84 7C 8F 8E 98 97 90 00 [19:59:33]wFMCommunicate OK [19:59:33]SAM_PROTO_SignData done [19:59:33]FM_MakeSignedData done [19:59:33]CreateOFDProtocolMessage [19:59:33]wFMCommunicate request_size=4 [19:59:33]MH_SAM_APDU [19:59:33]CAPDU: 80 11 00 00 [19:59:33]Write to MH i2c: E2 08 00 7F 00 80 11 00 00 00 00 00 00 F9 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:33]Read from MH i2c: E2 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 17 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: E2 17 00 7F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 50 [19:59:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:33]wFMCommunicate OK [19:59:33]CreateOFDProtocolMessage done [19:59:33]OFDSenderStorePacket 9158 [19:59:33]StoreOFDPacket docnum=9158 [19:59:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 AF EB 1D 01 CD D8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 A4 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C6 23 00 00 35 04 06 00 14 71 87 7C 7A 8B B7 65 84 7C 8F 8E 98 97 [19:59:33]CheckFolder [19:59:33]dirname=/storage/ofd_packets [19:59:33]CheckFolder done [19:59:33]ProducePacketName [19:59:33]name=ofd_packets/00009158 [19:59:33]NVStorageSaveData ofd_packets/00009158 [19:59:33]File name is /storage/ofd_packets/00009158 [19:59:33]Write 323 bytes [19:59:33]NVStorageSaveData done [19:59:33]OFDSenderStorePacket done [19:59:33]KKMCreateOFDPacket done [19:59:33]NVStorageSaveData kkm_last_timestamp [19:59:33]File name is /storage/kkm_last_timestamp [19:59:33]Write 4 bytes [19:59:33]NVStorageSaveData done [19:59:33]ExternCall_PrintAddStr [19:59:33]wPrintStart [19:59:33]Write to MH i2c: 01 00 00 80 00 80 [19:59:33]Write i2c OK [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: 01 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: 01 07 00 [19:59:33]MH_I2C_Read... [19:59:33]Read from MH i2c: 01 07 00 80 00 00 00 00 00 00 FF 0F 95 [19:59:33]RasterBufferAndPrint [19:59:33]line Счет N : (3)18145 [19:59:33]line ИНН: 02508201610067 [19:59:33]line Контрольно-Кассовый Чек [19:59:33]line ПРОДАЖА [19:59:33]line Товар: 48743570 [19:59:33]line Сигареты Winston XStyle Blue [19:59:33]line 1.000 * 140.00 [19:59:33]line = 140.00 [19:59:33]line НДС 12% НСП 1% [19:59:33]line > о реализуемом товаре [19:59:33]line ИТОГО: 140.00 [19:59:33]line НСП 1% : 1.24 [19:59:33]line НДС 12% : 14.87 [19:59:33]line Наличными: 140.00 [19:59:33]line Безнал.: 0.00 [19:59:33]line Место: АЗС № 94 [19:59:33]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:33]line СНО: Общий режим [19:59:33]line Чек 38 20.08.2024 19:59 [19:59:33]line Смена: 216 ФФД: 1.0 [19:59:33]line ЗНМ: 0300000128 [19:59:33]line РНМ: 0000000000108878 [19:59:33]line Версия ККМ: 001 [19:59:33]line ФМ: 0000000000965619 [19:59:33]line ФД: 9158 [19:59:33]line ФПД: 22477836941963 [19:59:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195932&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9158&fm=22477836941963&tin=02508201610067®Number=0000000000108878&sum=14000 [19:59:33]line 0 [19:59:33]written 0, free lines is 4095 [19:59:33]OFD Sender: Processing packet 9158 [packets to send 4, broken 3] [19:59:33]ProducePacketName [19:59:33]name=ofd_packets/00009158 [19:59:33]OFD Sender: To server: pG, [19:59:33]CommunicateWithHost lk.salyk.kg:30040 [19:59:33]ConnectInit lk.salyk.kg [19:59:33]Connected sock=10 [19:59:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 AF EB 1D 01 CD D8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 A4 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C6 23 00 00 35 04 06 00 14 71 87 7C 7A 8B B7 65 84 7C 8F 8E 98 97 [19:59:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 AA DC 47 00 44 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C6 23 00 00 F4 03 04 00 6E 9D C4 66 B6 04 01 00 00 E6 7F E6 D6 E1 CA A2 17 [19:59:34]CommunicateWithHost err = 0 [19:59:34]CheckOFDResponse [19:59:34]1017 (14) - 77093643461234 [19:59:34]1041 (16) - 0000000000965619 [19:59:34]1040 (4) - 9158 [19:59:34]1012 (4) - 20.08.2024 13:43 [19:59:34]1206 (1) - 0 [19:59:34]OFD Sender: Remove packet 9158 [19:59:34]ProducePacketName [19:59:34]name=ofd_packets/00009158 [19:59:34]NVStorageDeleteData [19:59:34]Write to MH i2c: 01 00 00 A7 00 A7 [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 07 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 4A 0D 05 [19:59:34]RasterBufferAndPrint [19:59:34]line [19:59:34]line [19:59:34]line [19:59:34]line [19:59:34]line [19:59:34]written 0, free lines is 3418 [19:59:34]MH_Cut [19:59:34]Write to MH i2c: D1 01 00 AE 00 01 80 [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: D1 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: D1 01 00 [19:59:34]MH_I2C_Read... [19:59:34]Read from MH i2c: D1 01 00 AE 00 00 7F [19:59:34]Write to MH i2c: 01 00 00 AF 00 AF [19:59:34]Write i2c OK [19:59:34]MH_I2C_Read... [19:59:34]OFD Sender: No OFD packet to send [19:59:34]*** Cut start [19:59:34]*** Partial cut [19:59:34]*** CUTSNS_PIN = 1 [19:59:34]*** CUTSNS_PIN = 0 [19:59:35]*** Brake cut motor [19:59:35]Read from MH i2c: 01 [19:59:35]MH_I2C_Read... [19:59:35]*** Stop cut motor [19:59:35]*** Cut end [19:59:35]Read from MH i2c: 01 07 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [19:59:35]process_action close_receipt done [19:59:35]requested_data is exist [19:59:35]produce_requested_data [19:59:35]requested_item fm.sn is exist - process it [19:59:35]wFMCommunicate request_size=4 [19:59:35]MH_SAM_APDU [19:59:35]CAPDU: 80 11 00 00 [19:59:35]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:35]Read from MH i2c: E2 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 17 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 81 [19:59:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:35]wFMCommunicate OK [19:59:35]requested_item fd.num is exist - process it [19:59:35]SAM_PROTO_GetFieldsCounters [19:59:35]wFMCommunicate request_size=4 [19:59:35]MH_SAM_APDU [19:59:35]CAPDU: 80 13 00 00 [19:59:35]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:35]Read from MH i2c: E2 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 62 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C6 23 00 00 0E 04 04 00 D8 00 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 8C [19:59:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C6 23 00 00 0E 04 04 00 D8 00 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 [19:59:35]wFMCommunicate OK [19:59:35]SAM_PROTO_GetFieldsCounters done [19:59:35]requested_item shift.num is exist - process it [19:59:35]requested_item shift.opened is exist - process it [19:59:35]req_shift_opened [19:59:35]FM_GetShiftState [19:59:35]SAM_PROTO_GetShiftState [19:59:35]wFMCommunicate request_size=4 [19:59:35]MH_SAM_APDU [19:59:35]CAPDU: 80 13 01 00 [19:59:35]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [19:59:35]Write i2c OK [19:59:35]MH_I2C_Read... [19:59:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:35]Read from MH i2c: E2 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 0E 00 [19:59:35]MH_I2C_Read... [19:59:35]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 0C [19:59:35]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:35]wFMCommunicate OK [19:59:35]SAM_PROTO_GetShiftState done [19:59:35]FM_GetShiftState done [19:59:35]req_shift_opened done [19:59:35]requested_item shift.open_date is exist - process it [19:59:35]req_shift_open_date [19:59:35]req_shift_open_date done [19:59:35]produce_requested_data done [19:59:35]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9158,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:35]process_action_free close_receipt [19:59:35]json_value_free [19:59:35]json_value_free done [19:59:35]process_json_proto returns [19:59:35]Send response to host [19:59:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9158,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:35]free response buf [19:59:35]execute_script done [19:59:35]execute_script returns [19:59:35]free content buf [19:59:35]Sock 7.Close socket [19:59:35]Sock 7.Thread stoped [19:59:36]accept exits with 9 [19:59:36]New connection [19:59:36]New thread 3066928484 created [19:59:36]Thread 3066785124 joined [19:59:36]Waiting for new connection... [19:59:36] Sock 9.Parse request [19:59:36]Sock 9.Check first char [19:59:36]Sock 9.First char is OK [19:59:36]request: POST /json_proto HTTP/1.0 [19:59:36]Method: POST [19:59:36]URL: /json_proto [19:59:36]Method is POST - this is cgi request [19:59:36]url: /json_proto [19:59:36]query_string will be loaded in cgi processing [19:59:36]execute_cgi json_proto POST (null) [19:59:36]execute_cgi path=json_proto method=POST [19:59:36]POST find Content-Length [19:59:36]Host: 172.17.55.134:8080 [19:59:36]Content-Length: 855 [19:59:36]Content-Type: application/json [19:59:36] [19:59:36]POST finish read [19:59:36]Found Content-Length = 855 [19:59:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18146", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:36]execute_script... [19:59:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18146", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:36]POST & json_proto [19:59:36]process_json_proto [19:59:36]json parsed OK: [19:59:36]protocol is kg_v1.0 [19:59:36]action value=close_receipt [19:59:36]process_action close_receipt [19:59:36]cmd_close_receipt [19:59:36]MH_GetDate [19:59:36]Write to MH i2c: F0 00 00 B3 00 A2 [19:59:36]Write i2c OK [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: F0 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: F0 09 00 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: F0 09 00 B3 00 00 A9 F5 C4 66 13 35 D9 65 F9 [19:59:36]GetLastDocTimeStamp 1724183972 [19:59:36]current date 1724183977 [19:59:36]FM_GetShiftState [19:59:36]SAM_PROTO_GetShiftState [19:59:36]wFMCommunicate request_size=4 [19:59:36]MH_SAM_APDU [19:59:36]CAPDU: 80 13 01 00 [19:59:36]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [19:59:36]Write i2c OK [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: E2 [19:59:36]MH_I2C_Read... [19:59:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:36]Read from MH i2c: E2 0E 00 [19:59:36]MH_I2C_Read... [19:59:36]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 0E [19:59:36]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:36]wFMCommunicate OK [19:59:36]SAM_PROTO_GetShiftState done [19:59:36]FM_GetShiftState done [19:59:36]opened in 1724113861 [19:59:36]opened+sec_in_day 1724200261 [19:59:36]quantity*price = 8000 [19:59:36]sum+1 = 8001 [19:59:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 39 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965619 ФД: 9159 ФПД: 58999806381065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195937&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9159&fm=58999806381065&tin=02508201610067®Number=0000000000108878&sum=8000 0 [19:59:38]StoreToDocumentArchive [19:59:38]shift 216 fd 9159 [19:59:38]save to /storage/0216/doc_00009159 [19:59:38]save last doc name /storage/0216/doc_00009159 to /storage/kkm_last_doc_name [19:59:38]save OK [19:59:38]Clear old archive folders... [19:59:38]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:59:38]tlvbuf is 004C7E20 [19:59:38]SAM_PROTO_ClearQueue [19:59:38]wFMCommunicate request_size=4 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 09 00 00 [19:59:38]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [19:59:38]RAPDU: 90 00 [19:59:38]wFMCommunicate OK [19:59:38]SAM_PROTO_ClearQueue done [19:59:38]KKMCreateOFDPacket [19:59:38]OFDProtocolAddRootSTLVToBuf [19:59:38]FM_MakeSignedData [19:59:38]FM_MakeSignedData [19:59:38]SAM_PROTO_SignData [19:59:38]wFMCommunicate request_size=4 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 0D 01 02 [19:59:38]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [19:59:38]RAPDU: 90 00 [19:59:38]wFMCommunicate OK [19:59:38]wFMCommunicate request_size=255 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 A9 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:59:38]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 A9 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 04 [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [19:59:38]RAPDU: 90 00 [19:59:38]wFMCommunicate OK [19:59:38]wFMCommunicate request_size=53 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 0D 02 02 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C7 23 00 00 35 04 06 00 35 A8 F6 80 4C 09 [19:59:38]Write to MH i2c: E2 38 00 C4 00 80 0D 02 02 30 00 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C7 23 00 00 35 04 06 00 35 A8 F6 80 4C 09 00 00 D0 [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [19:59:38]RAPDU: 90 00 [19:59:38]wFMCommunicate OK [19:59:38]wFMCommunicate request_size=4 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 0D 03 02 [19:59:38]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 0B 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 0B 00 C5 00 00 28 E8 40 3B 26 38 F0 14 90 00 2E [19:59:38]RAPDU: 28 E8 40 3B 26 38 F0 14 90 00 [19:59:38]wFMCommunicate OK [19:59:38]SAM_PROTO_SignData done [19:59:38]FM_MakeSignedData done [19:59:38]CreateOFDProtocolMessage [19:59:38]wFMCommunicate request_size=4 [19:59:38]MH_SAM_APDU [19:59:38]CAPDU: 80 11 00 00 [19:59:38]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:38]Read from MH i2c: E2 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 17 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 97 [19:59:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:38]wFMCommunicate OK [19:59:38]CreateOFDProtocolMessage done [19:59:38]OFDSenderStorePacket 9159 [19:59:38]StoreOFDPacket docnum=9159 [19:59:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3A 01 00 00 BE DF 32 01 5D CE 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 A9 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C7 23 00 00 35 04 06 00 35 A8 F6 80 4C 09 28 E8 40 3B 26 38 F0 14 [19:59:38]CheckFolder [19:59:38]dirname=/storage/ofd_packets [19:59:38]CheckFolder done [19:59:38]ProducePacketName [19:59:38]name=ofd_packets/00009159 [19:59:38]NVStorageSaveData ofd_packets/00009159 [19:59:38]File name is /storage/ofd_packets/00009159 [19:59:38]Write 344 bytes [19:59:38]NVStorageSaveData done [19:59:38]OFDSenderStorePacket done [19:59:38]KKMCreateOFDPacket done [19:59:38]NVStorageSaveData kkm_last_timestamp [19:59:38]File name is /storage/kkm_last_timestamp [19:59:38]Write 4 bytes [19:59:38]NVStorageSaveData done [19:59:38]ExternCall_PrintAddStr [19:59:38]wPrintStart [19:59:38]Write to MH i2c: 01 00 00 C7 00 C7 [19:59:38]OFD Sender: Processing packet 9159 [packets to send 4, broken 3] [19:59:38]ProducePacketName [19:59:38]name=ofd_packets/00009159 [19:59:38]OFD Sender: To server: pG, [19:59:38]CommunicateWithHost lk.salyk.kg:30040 [19:59:38]ConnectInit lk.salyk.kg [19:59:38]Write i2c OK [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: 01 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: 01 07 00 [19:59:38]MH_I2C_Read... [19:59:38]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [19:59:38]RasterBufferAndPrint [19:59:38]line Счет N : (3)18146 [19:59:38]line ИНН: 02508201610067 [19:59:38]line Контрольно-Кассовый Чек [19:59:38]line ПРОДАЖА [19:59:38]line Товар: 4700003010353 [19:59:38]line Напиток Let`s Go! с/с груша ПЭТ 1л [19:59:38]line 1.000 * 80.00 [19:59:38]line = 80.00 [19:59:38]line НДС 12% НСП 1% [19:59:38]line > о реализуемом товаре [19:59:38]line ИТОГО: 80.00 [19:59:38]line НСП 1% : 0.71 [19:59:38]line НДС 12% : 8.50 [19:59:38]line Наличными: 0.00 [19:59:38]line Безнал.: 80.00 [19:59:38]line Место: АЗС № 94 [19:59:38]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:38]line СНО: Общий режим [19:59:38]line Чек 39 20.08.2024 19:59 [19:59:38]line Смена: 216 ФФД: 1.0 [19:59:38]line ЗНМ: 0300000128 [19:59:38]line РНМ: 0000000000108878 [19:59:38]line Версия ККМ: 001 [19:59:38]line Платежная система: Бакай Банк [19:59:38]line ФМ: 0000000000965619 [19:59:39]line ФД: 9159 [19:59:39]line ФПД: 58999806381065 [19:59:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195937&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9159&fm=58999806381065&tin=02508201610067®Number=0000000000108878&sum=8000 [19:59:39]line 0 [19:59:39]written 0, free lines is 4095 [19:59:39]Connected sock=10 [19:59:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3A 01 00 00 BE DF 32 01 5D CE 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 A9 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C7 23 00 00 35 04 06 00 35 A8 F6 80 4C 09 28 E8 40 3B 26 38 F0 14 [19:59:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 C5 49 47 00 92 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C7 23 00 00 F4 03 04 00 74 9D C4 66 B6 04 01 00 00 33 67 19 9D 8C CB FD 01 [19:59:39]CommunicateWithHost err = 0 [19:59:39]CheckOFDResponse [19:59:39]1017 (14) - 77093643461234 [19:59:39]1041 (16) - 0000000000965619 [19:59:39]1040 (4) - 9159 [19:59:39]1012 (4) - 20.08.2024 13:43 [19:59:39]1206 (1) - 0 [19:59:39]OFD Sender: Remove packet 9159 [19:59:39]ProducePacketName [19:59:39]name=ofd_packets/00009159 [19:59:39]NVStorageDeleteData [19:59:39]Write to MH i2c: 01 00 00 F1 00 F1 [19:59:39]Write i2c OK [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: 01 [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: 01 07 00 [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: 01 07 00 F1 00 00 00 00 00 00 0D 0D 12 [19:59:39]RasterBufferAndPrint [19:59:39]line [19:59:39]line [19:59:39]line [19:59:39]line [19:59:39]line [19:59:39]written 0, free lines is 3366 [19:59:39]MH_Cut [19:59:39]Write to MH i2c: D1 01 00 F8 00 01 CA [19:59:39]Write i2c OK [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: D1 [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: D1 01 00 [19:59:39]MH_I2C_Read... [19:59:39]Read from MH i2c: D1 01 00 F8 00 00 C9 [19:59:39]Write to MH i2c: 01 00 00 F9 00 F9 [19:59:39]Write i2c OK [19:59:39]MH_I2C_Read... [19:59:39]OFD Sender: No OFD packet to send [19:59:40]*** Cut start [19:59:40]*** Partial cut [19:59:40]*** CUTSNS_PIN = 1 [19:59:40]*** CUTSNS_PIN = 0 [19:59:40]*** Brake cut motor [19:59:40]Read from MH i2c: 01 [19:59:40]MH_I2C_Read... [19:59:40]*** Stop cut motor [19:59:40]*** Cut end [19:59:40]Read from MH i2c: 01 07 00 [19:59:40]MH_I2C_Read... [19:59:40]Read from MH i2c: 01 07 00 F9 00 00 00 00 00 00 FF 0F 0E [19:59:40]process_action close_receipt done [19:59:40]requested_data is exist [19:59:40]produce_requested_data [19:59:40]requested_item fm.sn is exist - process it [19:59:40]wFMCommunicate request_size=4 [19:59:40]MH_SAM_APDU [19:59:40]CAPDU: 80 11 00 00 [19:59:40]Write to MH i2c: E2 08 00 FA 00 80 11 00 00 00 00 00 00 74 [19:59:40]Write i2c OK [19:59:40]MH_I2C_Read... [19:59:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:40]Read from MH i2c: E2 [19:59:40]MH_I2C_Read... [19:59:40]Read from MH i2c: E2 17 00 [19:59:40]MH_I2C_Read... [19:59:40]Read from MH i2c: E2 17 00 FA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 CB [19:59:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:40]wFMCommunicate OK [19:59:40]requested_item fd.num is exist - process it [19:59:40]SAM_PROTO_GetFieldsCounters [19:59:40]wFMCommunicate request_size=4 [19:59:40]MH_SAM_APDU [19:59:40]CAPDU: 80 13 00 00 [19:59:40]Write to MH i2c: E2 08 00 FB 00 80 13 00 00 00 00 00 00 77 [19:59:40]Write i2c OK [19:59:40]MH_I2C_Read... [19:59:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:41]Read from MH i2c: E2 [19:59:41]MH_I2C_Read... [19:59:41]Read from MH i2c: E2 62 00 [19:59:41]MH_I2C_Read... [19:59:41]Read from MH i2c: E2 62 00 FB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C7 23 00 00 0E 04 04 00 D8 00 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 DA [19:59: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C7 23 00 00 0E 04 04 00 D8 00 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 [19:59:41]wFMCommunicate OK [19:59:41]SAM_PROTO_GetFieldsCounters done [19:59:41]requested_item shift.num is exist - process it [19:59:41]requested_item shift.opened is exist - process it [19:59:41]req_shift_opened [19:59:41]FM_GetShiftState [19:59:41]SAM_PROTO_GetShiftState [19:59:41]wFMCommunicate request_size=4 [19:59:41]MH_SAM_APDU [19:59:41]CAPDU: 80 13 01 00 [19:59:41]Write to MH i2c: E2 08 00 FC 00 80 13 01 00 00 00 00 00 79 [19:59:41]Write i2c OK [19:59:41]MH_I2C_Read... [19:59:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:41]Read from MH i2c: E2 [19:59:41]MH_I2C_Read... [19:59:41]Read from MH i2c: E2 0E 00 [19:59:41]MH_I2C_Read... [19:59:41]Read from MH i2c: E2 0E 00 FC 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 56 [19:59:41]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:41]wFMCommunicate OK [19:59:41]SAM_PROTO_GetShiftState done [19:59:41]FM_GetShiftState done [19:59:41]req_shift_opened done [19:59:41]requested_item shift.open_date is exist - process it [19:59:41]req_shift_open_date [19:59:41]req_shift_open_date done [19:59:41]produce_requested_data done [19:59:41]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9159,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:41]process_action_free close_receipt [19:59:41]json_value_free [19:59:41]json_value_free done [19:59:41]process_json_proto returns [19:59:41]Send response to host [19:59:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9159,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:41]free response buf [19:59:41]execute_script done [19:59:41]execute_script returns [19:59:41]free content buf [19:59:41]Sock 9.Close socket [19:59:41]Sock 9.Thread stoped [19:59:42]accept exits with 7 [19:59:42]New connection [19:59:42]New thread 3066785124 created [19:59:42]Thread 3066928484 joined [19:59:42]Waiting for new connection... [19:59:42] Sock 7.Parse request [19:59:42]Sock 7.Check first char [19:59:42]Sock 7.First char is OK [19:59:42]request: POST /json_proto HTTP/1.0 [19:59:42]Method: POST [19:59:42]URL: /json_proto [19:59:42]Method is POST - this is cgi request [19:59:42]url: /json_proto [19:59:42]query_string will be loaded in cgi processing [19:59:42]execute_cgi json_proto POST (null) [19:59:42]execute_cgi path=json_proto method=POST [19:59:42]POST find Content-Length [19:59:42]Host: 172.17.55.134:8080 [19:59:42]Content-Length: 855 [19:59:42]Content-Type: application/json [19:59:42] [19:59:42]POST finish read [19:59:42]Found Content-Length = 855 [19:59:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18147", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:42]execute_script... [19:59:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18147", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:42]POST & json_proto [19:59:42]process_json_proto [19:59:42]json parsed OK: [19:59:42]protocol is kg_v1.0 [19:59:42]action value=close_receipt [19:59:42]process_action close_receipt [19:59:42]cmd_close_receipt [19:59:42]MH_GetDate [19:59:42]Write to MH i2c: F0 00 00 FD 00 EC [19:59:42]Write i2c OK [19:59:42]MH_I2C_Read... [19:59:42]Read from MH i2c: F0 [19:59:42]MH_I2C_Read... [19:59:42]Read from MH i2c: F0 09 00 [19:59:42]MH_I2C_Read... [19:59:42]Read from MH i2c: F0 09 00 FD 00 00 AF F5 C4 66 13 35 D9 65 49 [19:59:42]GetLastDocTimeStamp 1724183977 [19:59:42]current date 1724183983 [19:59:42]FM_GetShiftState [19:59:42]SAM_PROTO_GetShiftState [19:59:42]wFMCommunicate request_size=4 [19:59:42]MH_SAM_APDU [19:59:42]CAPDU: 80 13 01 00 [19:59:42]Write to MH i2c: E2 08 00 FE 00 80 13 01 00 00 00 00 00 7B [19:59:42]Write i2c OK [19:59:42]MH_I2C_Read... [19:59:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:42]Read from MH i2c: E2 [19:59:42]MH_I2C_Read... [19:59:42]Read from MH i2c: E2 0E 00 [19:59:42]MH_I2C_Read... [19:59:42]Read from MH i2c: E2 0E 00 FE 00 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 58 [19:59:42]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:42]wFMCommunicate OK [19:59:42]SAM_PROTO_GetShiftState done [19:59:42]FM_GetShiftState done [19:59:42]opened in 1724113861 [19:59:42]opened+sec_in_day 1724200261 [19:59:42]quantity*price = 8000 [19:59:42]sum+1 = 8001 [19:59:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 40 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965619 ФД: 9160 ФПД: 89036801453449 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195943&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9160&fm=89036801453449&tin=02508201610067®Number=0000000000108878&sum=8000 0 [19:59:44]StoreToDocumentArchive [19:59:44]shift 216 fd 9160 [19:59:44]save to /storage/0216/doc_00009160 [19:59:44]save last doc name /storage/0216/doc_00009160 to /storage/kkm_last_doc_name [19:59:44]save OK [19:59:44]Clear old archive folders... [19:59:44]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:59:44]tlvbuf is 00548220 [19:59:44]SAM_PROTO_ClearQueue [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 09 00 00 [19:59:44]Write to MH i2c: E2 08 00 0B 01 80 09 00 00 00 00 00 00 7E [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 0B 01 00 90 00 80 [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]SAM_PROTO_ClearQueue done [19:59:44]KKMCreateOFDPacket [19:59:44]OFDProtocolAddRootSTLVToBuf [19:59:44]FM_MakeSignedData [19:59:44]FM_MakeSignedData [19:59:44]SAM_PROTO_SignData [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 01 02 [19:59:44]Write to MH i2c: E2 08 00 0C 01 80 0D 01 02 00 00 00 00 86 [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]wFMCommunicate request_size=255 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AF F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:59:44]Write to MH i2c: E2 02 01 0D 01 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AF F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 56 [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]wFMCommunicate request_size=53 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 02 02 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C8 23 00 00 35 04 06 00 50 FA 7E EC 2D 89 [19:59:44]Write to MH i2c: E2 38 00 0E 01 80 0D 02 02 30 00 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C8 23 00 00 35 04 06 00 50 FA 7E EC 2D 89 00 00 DE [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [19:59:44]RAPDU: 90 00 [19:59:44]wFMCommunicate OK [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 0D 03 02 [19:59:44]Write to MH i2c: E2 08 00 0F 01 80 0D 03 02 00 00 00 00 8B [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 0B 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 0B 00 0F 01 00 59 67 3C 03 A8 6D 4B CD 90 00 B8 [19:59:44]RAPDU: 59 67 3C 03 A8 6D 4B CD 90 00 [19:59:44]wFMCommunicate OK [19:59:44]SAM_PROTO_SignData done [19:59:44]FM_MakeSignedData done [19:59:44]CreateOFDProtocolMessage [19:59:44]wFMCommunicate request_size=4 [19:59:44]MH_SAM_APDU [19:59:44]CAPDU: 80 11 00 00 [19:59:44]Write to MH i2c: E2 08 00 10 01 80 11 00 00 00 00 00 00 8B [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:44]Read from MH i2c: E2 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 17 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: E2 17 00 10 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 E2 [19:59:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:44]wFMCommunicate OK [19:59:44]CreateOFDProtocolMessage done [19:59:44]OFDSenderStorePacket 9160 [19:59:44]StoreOFDPacket docnum=9160 [19:59:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3A 01 00 00 BD C7 32 01 59 5D 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AF F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C8 23 00 00 35 04 06 00 50 FA 7E EC 2D 89 59 67 3C 03 A8 6D 4B CD [19:59:44]CheckFolder [19:59:44]dirname=/storage/ofd_packets [19:59:44]CheckFolder done [19:59:44]ProducePacketName [19:59:44]name=ofd_packets/00009160 [19:59:44]NVStorageSaveData ofd_packets/00009160 [19:59:44]File name is /storage/ofd_packets/00009160 [19:59:44]Write 344 bytes [19:59:44]NVStorageSaveData done [19:59:44]OFDSenderStorePacket done [19:59:44]KKMCreateOFDPacket done [19:59:44]NVStorageSaveData kkm_last_timestamp [19:59:44]File name is /storage/kkm_last_timestamp [19:59:44]Write 4 bytes [19:59:44]NVStorageSaveData done [19:59:44]ExternCall_PrintAddStr [19:59:44]wPrintStart [19:59:44]Write to MH i2c: 01 00 00 11 01 12 [19:59:44]Write i2c OK [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: 01 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: 01 07 00 [19:59:44]MH_I2C_Read... [19:59:44]Read from MH i2c: 01 07 00 11 01 00 00 00 00 00 FF 0F 27 [19:59:45]RasterBufferAndPrint [19:59:45]line Счет N : (3)18147 [19:59:45]line ИНН: 02508201610067 [19:59:45]line Контрольно-Кассовый Чек [19:59:45]line ПРОДАЖА [19:59:45]line Товар: 4700003010353 [19:59:45]line Напиток Let`s Go! с/с груша ПЭТ 1л [19:59:45]line 1.000 * 80.00 [19:59:45]line = 80.00 [19:59:45]line НДС 12% НСП 1% [19:59:45]line > о реализуемом товаре [19:59:45]line ИТОГО: 80.00 [19:59:45]line НСП 1% : 0.71 [19:59:45]line НДС 12% : 8.50 [19:59:45]line Наличными: 0.00 [19:59:45]line Безнал.: 80.00 [19:59:45]line Место: АЗС № 94 [19:59:45]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:45]line СНО: Общий режим [19:59:45]line Чек 40 20.08.2024 19:59 [19:59:45]line Смена: 216 ФФД: 1.0 [19:59:45]line ЗНМ: 0300000128 [19:59:45]line РНМ: 0000000000108878 [19:59:45]line Версия ККМ: 001 [19:59:45]line Платежная система: Бакай Банк [19:59:45]line ФМ: 0000000000965619 [19:59:45]line ФД: 9160 [19:59:45]line ФПД: 89036801453449 [19:59:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195943&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9160&fm=89036801453449&tin=02508201610067®Number=0000000000108878&sum=8000 [19:59:45]line 0 [19:59:45]written 0, free lines is 4095 [19:59:45]OFD Sender: Processing packet 9160 [packets to send 4, broken 3] [19:59:45]ProducePacketName [19:59:45]name=ofd_packets/00009160 [19:59:45]OFD Sender: To server: pG, [19:59:45]CommunicateWithHost lk.salyk.kg:30040 [19:59:45]ConnectInit lk.salyk.kg [19:59:45]Connected sock=10 [19:59:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 3A 01 00 00 BD C7 32 01 59 5D 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AF F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C8 23 00 00 35 04 06 00 50 FA 7E EC 2D 89 59 67 3C 03 A8 6D 4B CD [19:59:45]Write to MH i2c: 01 00 00 3B 01 3C [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FB 0C 4A [19:59:45]RasterBufferAndPrint [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]line [19:59:45]written 0, free lines is 3352 [19:59:45]MH_Cut [19:59:45]Write to MH i2c: D1 01 00 42 01 01 15 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 01 00 [19:59:45]MH_I2C_Read... [19:59:45]Read from MH i2c: D1 01 00 42 01 00 14 [19:59:45]Write to MH i2c: 01 00 00 43 01 44 [19:59:45]Write i2c OK [19:59:45]MH_I2C_Read... [19:59:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 65 89 47 00 A2 D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C8 23 00 00 F4 03 04 00 7A 9D C4 66 B6 04 01 00 00 17 9D 1E 56 1D B8 17 F2 [19:59:45]CommunicateWithHost err = 0 [19:59:45]CheckOFDResponse [19:59:45]1017 (14) - 77093643461234 [19:59:45]1041 (16) - 0000000000965619 [19:59:45]1040 (4) - 9160 [19:59:45]1012 (4) - 20.08.2024 13:43 [19:59:45]1206 (1) - 0 [19:59:45]OFD Sender: Remove packet 9160 [19:59:45]ProducePacketName [19:59:45]name=ofd_packets/00009160 [19:59:45]NVStorageDeleteData [19:59:46]OFD Sender: No OFD packet to send [19:59:46]*** Cut start [19:59:46]*** Partial cut [19:59:46]*** CUTSNS_PIN = 1 [19:59:46]*** CUTSNS_PIN = 0 [19:59:46]*** Brake cut motor [19:59:46]Read from MH i2c: 01 [19:59:46]MH_I2C_Read... [19:59:46]*** Stop cut motor [19:59:46]*** Cut end [19:59:46]Read from MH i2c: 01 07 00 [19:59:46]MH_I2C_Read... [19:59:46]Read from MH i2c: 01 07 00 43 01 00 00 00 00 00 FF 0F 59 [19:59:46]process_action close_receipt done [19:59:46]requested_data is exist [19:59:46]produce_requested_data [19:59:46]requested_item fm.sn is exist - process it [19:59:46]wFMCommunicate request_size=4 [19:59:46]MH_SAM_APDU [19:59:46]CAPDU: 80 11 00 00 [19:59:46]Write to MH i2c: E2 08 00 44 01 80 11 00 00 00 00 00 00 BF [19:59:46]Write i2c OK [19:59:46]MH_I2C_Read... [19:59:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:46]Read from MH i2c: E2 [19:59:46]MH_I2C_Read... [19:59:46]Read from MH i2c: E2 17 00 [19:59:46]MH_I2C_Read... [19:59:46]Read from MH i2c: E2 17 00 44 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 16 [19:59:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:47]wFMCommunicate OK [19:59:47]requested_item fd.num is exist - process it [19:59:47]SAM_PROTO_GetFieldsCounters [19:59:47]wFMCommunicate request_size=4 [19:59:47]MH_SAM_APDU [19:59:47]CAPDU: 80 13 00 00 [19:59:47]Write to MH i2c: E2 08 00 45 01 80 13 00 00 00 00 00 00 C2 [19:59:47]Write i2c OK [19:59:47]MH_I2C_Read... [19:59:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:47]Read from MH i2c: E2 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 62 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 62 00 45 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C8 23 00 00 0E 04 04 00 D8 00 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 29 [19:59:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C8 23 00 00 0E 04 04 00 D8 00 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 [19:59:47]wFMCommunicate OK [19:59:47]SAM_PROTO_GetFieldsCounters done [19:59:47]requested_item shift.num is exist - process it [19:59:47]requested_item shift.opened is exist - process it [19:59:47]req_shift_opened [19:59:47]FM_GetShiftState [19:59:47]SAM_PROTO_GetShiftState [19:59:47]wFMCommunicate request_size=4 [19:59:47]MH_SAM_APDU [19:59:47]CAPDU: 80 13 01 00 [19:59:47]Write to MH i2c: E2 08 00 46 01 80 13 01 00 00 00 00 00 C4 [19:59:47]Write i2c OK [19:59:47]MH_I2C_Read... [19:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:47]Read from MH i2c: E2 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 0E 00 [19:59:47]MH_I2C_Read... [19:59:47]Read from MH i2c: E2 0E 00 46 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A1 [19:59:47]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:47]wFMCommunicate OK [19:59:47]SAM_PROTO_GetShiftState done [19:59:47]FM_GetShiftState done [19:59:47]req_shift_opened done [19:59:47]requested_item shift.open_date is exist - process it [19:59:47]req_shift_open_date [19:59:47]req_shift_open_date done [19:59:47]produce_requested_data done [19:59:47]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9160,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:47]process_action_free close_receipt [19:59:47]json_value_free [19:59:47]json_value_free done [19:59:47]process_json_proto returns [19:59:47]Send response to host [19:59:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9160,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:47]free response buf [19:59:47]execute_script done [19:59:47]execute_script returns [19:59:47]free content buf [19:59:47]Sock 7.Close socket [19:59:47]Sock 7.Thread stoped [19:59:48]accept exits with 9 [19:59:48]New connection [19:59:48]New thread 3066928484 created [19:59:48]Thread 3066785124 joined [19:59:48]Waiting for new connection... [19:59:48] Sock 9.Parse request [19:59:48]Sock 9.Check first char [19:59:48]Sock 9.First char is OK [19:59:48]request: POST /json_proto HTTP/1.0 [19:59:48]Method: POST [19:59:48]URL: /json_proto [19:59:48]Method is POST - this is cgi request [19:59:48]url: /json_proto [19:59:48]query_string will be loaded in cgi processing [19:59:48]execute_cgi json_proto POST (null) [19:59:48]execute_cgi path=json_proto method=POST [19:59:48]POST find Content-Length [19:59:48]Host: 172.17.55.134:8080 [19:59:48]Content-Length: 1061 [19:59:48]Content-Type: application/json [19:59:48] [19:59:48]POST finish read [19:59:48]Found Content-Length = 1061 [19:59:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18148", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:48]execute_script... [19:59: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)18148", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:48]POST & json_proto [19:59:48]process_json_proto [19:59:48]json parsed OK: [19:59:48]protocol is kg_v1.0 [19:59:48]action value=close_receipt [19:59:48]process_action close_receipt [19:59:48]cmd_close_receipt [19:59:48]MH_GetDate [19:59:48]Write to MH i2c: F0 00 00 47 01 37 [19:59:48]Write i2c OK [19:59:48]MH_I2C_Read... [19:59:48]Read from MH i2c: F0 [19:59:48]MH_I2C_Read... [19:59:48]Read from MH i2c: F0 09 00 [19:59:48]MH_I2C_Read... [19:59:48]Read from MH i2c: F0 09 00 47 01 00 B5 F5 C4 66 13 35 D9 65 9A [19:59:48]GetLastDocTimeStamp 1724183983 [19:59:48]current date 1724183989 [19:59:48]FM_GetShiftState [19:59:48]SAM_PROTO_GetShiftState [19:59:48]wFMCommunicate request_size=4 [19:59:48]MH_SAM_APDU [19:59:48]CAPDU: 80 13 01 00 [19:59:48]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [19:59:48]Write i2c OK [19:59:48]MH_I2C_Read... [19:59:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:48]Read from MH i2c: E2 [19:59:48]MH_I2C_Read... [19:59:48]Read from MH i2c: E2 0E 00 [19:59:48]MH_I2C_Read... [19:59:48]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 A3 [19:59:48]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:48]wFMCommunicate OK [19:59:48]SAM_PROTO_GetShiftState done [19:59:48]FM_GetShiftState done [19:59:48]opened in 1724113861 [19:59:48]opened+sec_in_day 1724200261 [19:59:48]quantity*price = 14000 [19:59:48]sum+1 = 14001 [19:59:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 207.00 НСП 1% : 1.83 НДС 12% : 21.98 Наличными: 0.00 Безнал.: 207.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 41 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9161 ФПД: 160592543500853 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195949&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9161&fm=160592543500853&tin=02508201610067®Number=0000000000108878&sum=20700 0 [19:59:50]StoreToDocumentArchive [19:59:50]shift 216 fd 9161 [19:59:50]save to /storage/0216/doc_00009161 [19:59:50]save last doc name /storage/0216/doc_00009161 to /storage/kkm_last_doc_name [19:59:50]save OK [19:59:50]Clear old archive folders... [19:59:50]ProcessDocumentItem done err = 0, tmpTLVsize=389 [19:59:50]tlvbuf is 004E4700 [19:59:50]SAM_PROTO_ClearQueue [19:59:50]wFMCommunicate request_size=4 [19:59:50]MH_SAM_APDU [19:59:50]CAPDU: 80 09 00 00 [19:59:50]Write to MH i2c: E2 08 00 55 01 80 09 00 00 00 00 00 00 C8 [19:59:50]Write i2c OK [19:59:50]MH_I2C_Read... [19:59:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:50]Read from MH i2c: E2 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 03 00 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 03 00 55 01 00 90 00 CA [19:59:50]RAPDU: 90 00 [19:59:50]wFMCommunicate OK [19:59:50]SAM_PROTO_ClearQueue done [19:59:50]KKMCreateOFDPacket [19:59:50]OFDProtocolAddRootSTLVToBuf [19:59:50]FM_MakeSignedData [19:59:50]FM_MakeSignedData [19:59:50]SAM_PROTO_SignData [19:59:50]wFMCommunicate request_size=4 [19:59:50]MH_SAM_APDU [19:59:50]CAPDU: 80 0D 01 02 [19:59:50]Write to MH i2c: E2 08 00 56 01 80 0D 01 02 00 00 00 00 D0 [19:59:50]Write i2c OK [19:59:50]MH_I2C_Read... [19:59:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:50]Read from MH i2c: E2 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 03 00 [19:59:50]MH_I2C_Read... [19:59:50]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [19:59:50]RAPDU: 90 00 [19:59:50]wFMCommunicate OK [19:59:50]wFMCommunicate request_size=255 [19:59:50]MH_SAM_APDU [19:59:50]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [19:59:50]Write to MH i2c: E2 02 01 57 01 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 EB [19:59:51]Write i2c OK [19:59:51]MH_I2C_Read... [19:59:51]OFD Sender: No OFD packet to send [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 57 01 00 90 00 CC [19:59:51]RAPDU: 90 00 [19:59:51]wFMCommunicate OK [19:59:51]wFMCommunicate request_size=148 [19:59:51]MH_SAM_APDU [19:59:51]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 B5 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C9 23 00 00 35 04 06 00 92 0E DD 82 4A 35 [19:59:51]Write to MH i2c: E2 97 00 58 01 80 0D 02 02 8F 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 B5 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C9 23 00 00 35 04 06 00 92 0E DD 82 4A 35 00 00 EA [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 58 01 00 90 00 CD [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 59 01 80 0D 03 02 00 00 00 00 D5 [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 59 01 00 C5 5D 1F BB B3 B4 7F 32 90 00 EA [19:59:51]RAPDU: C5 5D 1F BB B3 B4 7F 32 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 5A 01 80 11 00 00 00 00 00 00 D5 [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 5A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 2C [19:59:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:51]wFMCommunicate OK [19:59:51]CreateOFDProtocolMessage done [19:59:51]OFDSenderStorePacket 9161 [19:59:51]StoreOFDPacket docnum=9161 [19:59:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 99 01 00 00 89 93 91 01 0C 1D 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 B5 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C9 23 00 00 35 04 06 00 92 0E DD 82 4A 35 C5 5D 1F BB B3 B4 7F 32 [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/00009161 [19:59:51]NVStorageSaveData ofd_packets/00009161 [19:59:51]File name is /storage/ofd_packets/00009161 [19:59:51]Write 439 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 5B 01 5C [19:59:51]OFD Sender: Processing packet 9161 [packets to send 4, broken 3] [19:59:51]ProducePacketName [19:59:51]name=ofd_packets/00009161 [19:59:51]OFD Sender: To server: pG, [19:59:51]CommunicateWithHost lk.salyk.kg:30040 [19:59:51]ConnectInit lk.salyk.kg [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 5B 01 00 00 00 00 00 FF 0F 71 [19:59:51]RasterBufferAndPrint [19:59:51]line Счет N : (3)18148 [19:59:51]line ИНН: 02508201610067 [19:59:51]line Контрольно-Кассовый Чек [19:59:51]line ПРОДАЖА [19:59:51]line Товар: 48743587 [19:59:51]line Сигареты Winston XStyle Silver [19:59:51]line 1.000 * 140.00 [19:59:51]line = 140.00 [19:59:51]line НДС 12% НСП 1% [19:59:51]line > о реализуемом товаре [19:59:51]line Товар: 6931280300549 [19:59:51]line Зажигалка Cricket ПН пьезо [19:59:51]line 1.000 * 67.00 [19:59:51]line = 67.00 [19:59:51]line НДС 12% НСП 1% [19:59:51]line > о реализуемом товаре [19:59:51]line ИТОГО: 207.00 [19:59:51]line НСП 1% : 1.83 [19:59:51]line НДС 12% : 21.98 [19:59:51]line Наличными: 0.00 [19:59:51]line Безнал.: 207.00 [19:59:51]line Место: АЗС № 94 [19:59:51]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:51]line СНО: Общий режим [19:59:51]line Чек 41 20.08.2024 19:59 [19:59:51]line Смена: 216 ФФД: 1.0 [19:59:51]line ЗНМ: 0300000128 [19:59:51]line РНМ: 0000000000108878 [19:59:51]line Версия ККМ: 001 [19:59:51]line Платежная система: O! деньги [19:59:51]line ФМ: 0000000000965619 [19:59:51]line ФД: 9161 [19:59:51]line ФПД: 160592543500853 [19:59:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195949&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9161&fm=160592543500853&tin=02508201610067®Number=0000000000108878&sum=20700 [19:59:51]line 0 [19:59:51]written 0, free lines is 4095 [19:59:51]Connected sock=10 [19:59:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 99 01 00 00 89 93 91 01 0C 1D 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 B5 F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C9 23 00 00 35 04 06 00 92 0E DD 82 4A 35 C5 5D 1F BB B3 B4 7F 32 [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 36 31 39 4F 00 00 00 E3 E1 47 00 09 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 C9 23 00 00 F4 03 04 00 80 9D C4 66 B6 04 01 00 00 EC DA 54 4F 64 9F 03 40 [19:59:52]CommunicateWithHost err = 0 [19:59:52]CheckOFDResponse [19:59:52]1017 (14) - 77093643461234 [19:59:52]1041 (16) - 0000000000965619 [19:59:52]1040 (4) - 9161 [19:59:52]1012 (4) - 20.08.2024 13:43 [19:59:52]1206 (1) - 0 [19:59:52]OFD Sender: Remove packet 9161 [19:59:52]ProducePacketName [19:59:52]name=ofd_packets/00009161 [19:59:52]NVStorageDeleteData [19:59:52]Write to MH i2c: 01 00 00 8B 01 8C [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 8B 01 00 00 00 00 00 04 0D A4 [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 3369 [19:59:52]MH_Cut [19:59:52]Write to MH i2c: D1 01 00 92 01 01 65 [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: D1 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: D1 01 00 [19:59:52]MH_I2C_Read... [19:59:52]Read from MH i2c: D1 01 00 92 01 00 64 [19:59:52]Write to MH i2c: 01 00 00 93 01 94 [19:59:52]Write i2c OK [19:59:52]MH_I2C_Read... [19:59:52]OFD Sender: No OFD packet to send [19:59:53]*** Cut start [19:59:53]*** Partial cut [19:59:53]*** CUTSNS_PIN = 1 [19:59:53]*** CUTSNS_PIN = 0 [19:59:53]*** Brake cut motor [19:59:53]Read from MH i2c: 01 [19:59:53]MH_I2C_Read... [19:59:53]*** Stop cut motor [19:59:53]*** Cut end [19:59:53]Read from MH i2c: 01 07 00 [19:59:53]MH_I2C_Read... [19:59:53]Read from MH i2c: 01 07 00 93 01 00 00 00 00 00 FF 0F A9 [19:59:53]process_action close_receipt done [19:59:53]requested_data is exist [19:59:53]produce_requested_data [19:59:53]requested_item fm.sn is exist - process it [19:59:53]wFMCommunicate request_size=4 [19:59:53]MH_SAM_APDU [19:59:53]CAPDU: 80 11 00 00 [19:59:53]Write to MH i2c: E2 08 00 94 01 80 11 00 00 00 00 00 00 0F [19:59:53]Write i2c OK [19:59:53]MH_I2C_Read... [19:59:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:53]Read from MH i2c: E2 [19:59:53]MH_I2C_Read... [19:59:53]Read from MH i2c: E2 17 00 [19:59:53]MH_I2C_Read... [19:59:53]Read from MH i2c: E2 17 00 94 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 66 [19:59:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:53]wFMCommunicate OK [19:59:53]requested_item fd.num is exist - process it [19:59:53]SAM_PROTO_GetFieldsCounters [19:59:53]wFMCommunicate request_size=4 [19:59:53]MH_SAM_APDU [19:59:53]CAPDU: 80 13 00 00 [19:59:53]Write to MH i2c: E2 08 00 95 01 80 13 00 00 00 00 00 00 12 [19:59:53]Write i2c OK [19:59:53]MH_I2C_Read... [19:59:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:54]Read from MH i2c: E2 [19:59:54]MH_I2C_Read... [19:59:54]Read from MH i2c: E2 62 00 [19:59:54]MH_I2C_Read... [19:59:54]Read from MH i2c: E2 62 00 95 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C9 23 00 00 0E 04 04 00 D8 00 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 7D [19:59:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 C9 23 00 00 0E 04 04 00 D8 00 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 [19:59:54]wFMCommunicate OK [19:59:54]SAM_PROTO_GetFieldsCounters done [19:59:54]requested_item shift.num is exist - process it [19:59:54]requested_item shift.opened is exist - process it [19:59:54]req_shift_opened [19:59:54]FM_GetShiftState [19:59:54]SAM_PROTO_GetShiftState [19:59:54]wFMCommunicate request_size=4 [19:59:54]MH_SAM_APDU [19:59:54]CAPDU: 80 13 01 00 [19:59:54]Write to MH i2c: E2 08 00 96 01 80 13 01 00 00 00 00 00 14 [19:59:54]Write i2c OK [19:59:54]MH_I2C_Read... [19:59:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:54]Read from MH i2c: E2 [19:59:54]MH_I2C_Read... [19:59:54]Read from MH i2c: E2 0E 00 [19:59:54]MH_I2C_Read... [19:59:54]Read from MH i2c: E2 0E 00 96 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F1 [19:59:54]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:54]wFMCommunicate OK [19:59:54]SAM_PROTO_GetShiftState done [19:59:54]FM_GetShiftState done [19:59:54]req_shift_opened done [19:59:54]requested_item shift.open_date is exist - process it [19:59:54]req_shift_open_date [19:59:54]req_shift_open_date done [19:59:54]produce_requested_data done [19:59:54]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9161,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [19:59:54]process_action_free close_receipt [19:59:54]json_value_free [19:59:54]json_value_free done [19:59:54]process_json_proto returns [19:59:54]Send response to host [19:59:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9161,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [19:59:54]free response buf [19:59:54]execute_script done [19:59:54]execute_script returns [19:59:54]free content buf [19:59:54]Sock 9.Close socket [19:59:54]Sock 9.Thread stoped [19:59:55]accept exits with 7 [19:59:55]New connection [19:59:55]New thread 3066785124 created [19:59:55]Thread 3066928484 joined [19:59:55]Waiting for new connection... [19:59:55] Sock 7.Parse request [19:59:55]Sock 7.Check first char [19:59:55]Sock 7.First char is OK [19:59:55]request: POST /json_proto HTTP/1.0 [19:59:55]Method: POST [19:59:55]URL: /json_proto [19:59:55]Method is POST - this is cgi request [19:59:55]url: /json_proto [19:59:55]query_string will be loaded in cgi processing [19:59:55]execute_cgi json_proto POST (null) [19:59:55]execute_cgi path=json_proto method=POST [19:59:55]POST find Content-Length [19:59:55]Host: 172.17.55.134:8080 [19:59:55]Content-Length: 812 [19:59:55]Content-Type: application/json [19:59:55] [19:59:55]POST finish read [19:59:55]Found Content-Length = 812 [19:59:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18149", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:55]execute_script... [19:59: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)18149", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:55]POST & json_proto [19:59:55]process_json_proto [19:59:55]json parsed OK: [19:59:55]protocol is kg_v1.0 [19:59:55]action value=close_receipt [19:59:55]process_action close_receipt [19:59:55]cmd_close_receipt [19:59:55]MH_GetDate [19:59:55]Write to MH i2c: F0 00 00 97 01 87 [19:59:55]Write i2c OK [19:59:55]MH_I2C_Read... [19:59:55]Read from MH i2c: F0 [19:59:55]MH_I2C_Read... [19:59:55]Read from MH i2c: F0 09 00 [19:59:55]MH_I2C_Read... [19:59:55]Read from MH i2c: F0 09 00 97 01 00 BC F5 C4 66 13 35 D9 65 F1 [19:59:55]GetLastDocTimeStamp 1724183989 [19:59:55]current date 1724183996 [19:59:55]FM_GetShiftState [19:59:55]SAM_PROTO_GetShiftState [19:59:55]wFMCommunicate request_size=4 [19:59:55]MH_SAM_APDU [19:59:55]CAPDU: 80 13 01 00 [19:59:55]Write to MH i2c: E2 08 00 98 01 80 13 01 00 00 00 00 00 16 [19:59:55]Write i2c OK [19:59:55]MH_I2C_Read... [19:59:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:55]Read from MH i2c: E2 [19:59:55]MH_I2C_Read... [19:59:55]Read from MH i2c: E2 0E 00 [19:59:55]MH_I2C_Read... [19:59:55]Read from MH i2c: E2 0E 00 98 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F3 [19:59:55]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [19:59:55]wFMCommunicate OK [19:59:55]SAM_PROTO_GetShiftState done [19:59:55]FM_GetShiftState done [19:59:55]opened in 1724113861 [19:59:55]opened+sec_in_day 1724200261 [19:59:55]quantity*price = 7500 [19:59:55]sum+1 = 7501 [19:59:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 0.00 Безнал.: 75.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 42 20.08.2024 19:59 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9162 ФПД: 55379329945371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195956&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9162&fm=55379329945371&tin=02508201610067®Number=0000000000108878&sum=7500 0 [19:59:57]StoreToDocumentArchive [19:59:57]shift 216 fd 9162 [19:59:57]save to /storage/0216/doc_00009162 [19:59:57]save last doc name /storage/0216/doc_00009162 to /storage/kkm_last_doc_name [19:59:57]save OK [19:59:57]Clear old archive folders... [19:59:57]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:59:57]tlvbuf is 00572200 [19:59:57]SAM_PROTO_ClearQueue [19:59:57]wFMCommunicate request_size=4 [19:59:57]MH_SAM_APDU [19:59:57]CAPDU: 80 09 00 00 [19:59:57]Write to MH i2c: E2 08 00 A5 01 80 09 00 00 00 00 00 00 18 [19:59:57]Write i2c OK [19:59:57]MH_I2C_Read... [19:59:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:57]Read from MH i2c: E2 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 A5 01 00 90 00 1A [19:59:57]RAPDU: 90 00 [19:59:57]wFMCommunicate OK [19:59:57]SAM_PROTO_ClearQueue done [19:59:57]KKMCreateOFDPacket [19:59:57]OFDProtocolAddRootSTLVToBuf [19:59:57]FM_MakeSignedData [19:59:57]FM_MakeSignedData [19:59:57]SAM_PROTO_SignData [19:59:57]wFMCommunicate request_size=4 [19:59:57]MH_SAM_APDU [19:59:57]CAPDU: 80 0D 01 02 [19:59:57]Write to MH i2c: E2 08 00 A6 01 80 0D 01 02 00 00 00 00 20 [19:59:57]Write i2c OK [19:59:57]MH_I2C_Read... [19:59:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:57]Read from MH i2c: E2 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 A6 01 00 90 00 1B [19:59:57]RAPDU: 90 00 [19:59:57]wFMCommunicate OK [19:59:57]wFMCommunicate request_size=255 [19:59:57]MH_SAM_APDU [19:59:57]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 [19:59:57]Write to MH i2c: E2 02 01 A7 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 00 00 F3 [19:59:57]Write i2c OK [19:59:57]MH_I2C_Read... [19:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:57]Read from MH i2c: E2 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 [19:59:57]MH_I2C_Read... [19:59:57]Read from MH i2c: E2 03 00 A7 01 00 90 00 1C [19:59:57]RAPDU: 90 00 [19:59:57]wFMCommunicate OK [19:59:57]wFMCommunicate request_size=34 [19:59:57]MH_SAM_APDU [19:59:57]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CA 23 00 00 35 04 06 00 32 5E 01 4A 0F 1B [19:59:57]Write to MH i2c: E2 25 00 A8 01 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CA 23 00 00 35 04 06 00 32 5E 01 4A 0F 1B 00 00 DA [19:59:57]Write i2c OK [19:59:57]MH_I2C_Read... [19:59:57]OFD Sender: No OFD packet to send [19:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:58]Read from MH i2c: E2 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 03 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 03 00 A8 01 00 90 00 1D [19:59:58]RAPDU: 90 00 [19:59:58]wFMCommunicate OK [19:59:58]wFMCommunicate request_size=4 [19:59:58]MH_SAM_APDU [19:59:58]CAPDU: 80 0D 03 02 [19:59:58]Write to MH i2c: E2 08 00 A9 01 80 0D 03 02 00 00 00 00 25 [19:59:58]Write i2c OK [19:59:58]MH_I2C_Read... [19:59:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:58]Read from MH i2c: E2 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 0B 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 0B 00 A9 01 00 E7 60 BC D6 74 1F 4C 20 90 00 FE [19:59:58]RAPDU: E7 60 BC D6 74 1F 4C 20 90 00 [19:59:58]wFMCommunicate OK [19:59:58]SAM_PROTO_SignData done [19:59:58]FM_MakeSignedData done [19:59:58]CreateOFDProtocolMessage [19:59:58]wFMCommunicate request_size=4 [19:59:58]MH_SAM_APDU [19:59:58]CAPDU: 80 11 00 00 [19:59:58]Write to MH i2c: E2 08 00 AA 01 80 11 00 00 00 00 00 00 25 [19:59:58]Write i2c OK [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 [19:59:58]MH_I2C_Read... [19:59:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:58]Read from MH i2c: E2 17 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: E2 17 00 AA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 7C [19:59:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [19:59:58]wFMCommunicate OK [19:59:58]CreateOFDProtocolMessage done [19:59:58]OFDSenderStorePacket 9162 [19:59:58]StoreOFDPacket docnum=9162 [19:59:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 4F 39 1F 01 4C 59 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CA 23 00 00 35 04 06 00 32 5E 01 4A 0F 1B E7 60 BC D6 74 1F 4C 20 [19:59:58]CheckFolder [19:59:58]dirname=/storage/ofd_packets [19:59:58]CheckFolder done [19:59:58]ProducePacketName [19:59:58]name=ofd_packets/00009162 [19:59:58]NVStorageSaveData ofd_packets/00009162 [19:59:58]File name is /storage/ofd_packets/00009162 [19:59:58]Write 325 bytes [19:59:58]NVStorageSaveData done [19:59:58]OFDSenderStorePacket done [19:59:58]KKMCreateOFDPacket done [19:59:58]NVStorageSaveData kkm_last_timestamp [19:59:58]File name is /storage/kkm_last_timestamp [19:59:58]Write 4 bytes [19:59:58]NVStorageSaveData done [19:59:58]ExternCall_PrintAddStr [19:59:58]wPrintStart [19:59:58]Write to MH i2c: 01 00 00 AB 01 AC [19:59:58]Write i2c OK [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 07 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 07 00 AB 01 00 00 00 00 00 FF 0F C1 [19:59:58]RasterBufferAndPrint [19:59:58]line Счет N : (3)18149 [19:59:58]line ИНН: 02508201610067 [19:59:58]line Контрольно-Кассовый Чек [19:59:58]line ПРОДАЖА [19:59:58]line Товар: 54491472 [19:59:58]line Напиток Кока-Кола 0,5л [19:59:58]line 1.000 * 75.00 [19:59:58]line = 75.00 [19:59:58]line НДС 12% НСП 1% [19:59:58]line > о реализуемом товаре [19:59:58]line ИТОГО: 75.00 [19:59:58]line НСП 1% : 0.66 [19:59:58]line НДС 12% : 7.96 [19:59:58]line Наличными: 0.00 [19:59:58]line Безнал.: 75.00 [19:59:58]line Место: АЗС № 94 [19:59:58]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [19:59:58]line СНО: Общий режим [19:59:58]line Чек 42 20.08.2024 19:59 [19:59:58]line Смена: 216 ФФД: 1.0 [19:59:58]line ЗНМ: 0300000128 [19:59:58]line РНМ: 0000000000108878 [19:59:58]line Версия ККМ: 001 [19:59:58]line Платежная система: O! деньги [19:59:58]line ФМ: 0000000000965619 [19:59:58]line ФД: 9162 [19:59:58]line ФПД: 55379329945371 [19:59:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T195956&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9162&fm=55379329945371&tin=02508201610067®Number=0000000000108878&sum=7500 [19:59:58]OFD Sender: Processing packet 9162 [packets to send 4, broken 3] [19:59:58]ProducePacketName [19:59:58]name=ofd_packets/00009162 [19:59:58]OFD Sender: To server: pG, [19:59:58]CommunicateWithHost lk.salyk.kg:30040 [19:59:58]ConnectInit lk.salyk.kg [19:59:58]line 0 [19:59:58]written 0, free lines is 4095 [19:59:58]Connected sock=10 [19:59: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 36 31 39 27 01 00 00 4F 39 1F 01 4C 59 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC F5 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CA 23 00 00 35 04 06 00 32 5E 01 4A 0F 1B E7 60 BC D6 74 1F 4C 20 [19:59:58]Write to MH i2c: 01 00 00 D4 01 D5 [19:59:58]Write i2c OK [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 07 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: 01 07 00 D4 01 00 00 00 00 00 07 0D F0 [19:59:58]RasterBufferAndPrint [19:59:58]line [19:59:58]line [19:59:58]line [19:59:58]line [19:59:58]line [19:59:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 01 39 47 00 9A E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CA 23 00 00 F4 03 04 00 87 9D C4 66 B6 04 01 00 00 F0 43 44 E6 B7 70 84 AE [19:59:58]CommunicateWithHost err = 0 [19:59:58]CheckOFDResponse [19:59:58]1017 (14) - 77093643461234 [19:59:58]1041 (16) - 0000000000965619 [19:59:58]1040 (4) - 9162 [19:59:58]1012 (4) - 20.08.2024 13:43 [19:59:58]1206 (1) - 0 [19:59:58]OFD Sender: Remove packet 9162 [19:59:58]ProducePacketName [19:59:58]name=ofd_packets/00009162 [19:59:58]NVStorageDeleteData [19:59:58]written 0, free lines is 3391 [19:59:58]MH_Cut [19:59:58]Write to MH i2c: D1 01 00 DB 01 01 AE [19:59:58]Write i2c OK [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: D1 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: D1 01 00 [19:59:58]MH_I2C_Read... [19:59:58]Read from MH i2c: D1 01 00 DB 01 00 AD [19:59:59]Write to MH i2c: 01 00 00 DC 01 DD [19:59:59]Write i2c OK [19:59:59]MH_I2C_Read... [19:59:59]OFD Sender: No OFD packet to send [19:59:59]*** Cut start [19:59:59]*** Partial cut [19:59:59]*** CUTSNS_PIN = 1 [19:59:59]*** CUTSNS_PIN = 0 [19:59:59]*** Brake cut motor [20:00:00]Read from MH i2c: 01 [20:00:00]MH_I2C_Read... [20:00:00]*** Stop cut motor [20:00:00]*** Cut end [20:00:00]Read from MH i2c: 01 07 00 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: 01 07 00 DC 01 00 00 00 00 00 FF 0F F2 [20:00:00]process_action close_receipt done [20:00:00]requested_data is exist [20:00:00]produce_requested_data [20:00:00]requested_item fm.sn is exist - process it [20:00:00]wFMCommunicate request_size=4 [20:00:00]MH_SAM_APDU [20:00:00]CAPDU: 80 11 00 00 [20:00:00]Write to MH i2c: E2 08 00 DD 01 80 11 00 00 00 00 00 00 58 [20:00:00]Write i2c OK [20:00:00]MH_I2C_Read... [20:00:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:00]Read from MH i2c: E2 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 17 00 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 17 00 DD 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 AF [20:00:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [20:00:00]wFMCommunicate OK [20:00:00]requested_item fd.num is exist - process it [20:00:00]SAM_PROTO_GetFieldsCounters [20:00:00]wFMCommunicate request_size=4 [20:00:00]MH_SAM_APDU [20:00:00]CAPDU: 80 13 00 00 [20:00:00]Write to MH i2c: E2 08 00 DE 01 80 13 00 00 00 00 00 00 5B [20:00:00]Write i2c OK [20:00:00]MH_I2C_Read... [20:00:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:00]Read from MH i2c: E2 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 62 00 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 62 00 DE 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CA 23 00 00 0E 04 04 00 D8 00 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 CA [20:00:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CA 23 00 00 0E 04 04 00 D8 00 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 [20:00:00]wFMCommunicate OK [20:00:00]SAM_PROTO_GetFieldsCounters done [20:00:00]requested_item shift.num is exist - process it [20:00:00]requested_item shift.opened is exist - process it [20:00:00]req_shift_opened [20:00:00]FM_GetShiftState [20:00:00]SAM_PROTO_GetShiftState [20:00:00]wFMCommunicate request_size=4 [20:00:00]MH_SAM_APDU [20:00:00]CAPDU: 80 13 01 00 [20:00:00]Write to MH i2c: E2 08 00 DF 01 80 13 01 00 00 00 00 00 5D [20:00:00]Write i2c OK [20:00:00]MH_I2C_Read... [20:00:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:00]Read from MH i2c: E2 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 0E 00 [20:00:00]MH_I2C_Read... [20:00:00]Read from MH i2c: E2 0E 00 DF 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 3A [20:00:00]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [20:00:00]wFMCommunicate OK [20:00:00]SAM_PROTO_GetShiftState done [20:00:00]FM_GetShiftState done [20:00:00]req_shift_opened done [20:00:00]requested_item shift.open_date is exist - process it [20:00:00]req_shift_open_date [20:00:00]req_shift_open_date done [20:00:00]produce_requested_data done [20:00:00]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9162,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [20:00:00]process_action_free close_receipt [20:00:00]json_value_free [20:00:00]json_value_free done [20:00:00]process_json_proto returns [20:00:00]Send response to host [20:00:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9162,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [20:00:00]free response buf [20:00:00]execute_script done [20:00:00]execute_script returns [20:00:00]free content buf [20:00:00]Sock 7.Close socket [20:00:00]Sock 7.Thread stoped [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]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:06]accept exits with 9 [20:12:06]New connection [20:12:06]New thread 3066928484 created [20:12:06]Thread 3066785124 joined [20:12:06]Waiting for new connection... [20:12:06] Sock 9.Parse request [20:12:06]Sock 9.Check first char [20:12:06]Sock 9.First char is OK [20:12:06]request: POST /json_proto HTTP/1.0 [20:12:06]Method: POST [20:12:06]URL: /json_proto [20:12:06]Method is POST - this is cgi request [20:12:06]url: /json_proto [20:12:06]query_string will be loaded in cgi processing [20:12:06]execute_cgi json_proto POST (null) [20:12:06]execute_cgi path=json_proto method=POST [20:12:06]POST find Content-Length [20:12:06]Host: 172.17.55.134:8080 [20:12:06]Content-Length: 722 [20:12:06]Content-Type: application/json [20:12:06] [20:12:06]POST finish read [20:12:06]Found Content-Length = 722 [20:12:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18150", "tax_sys" : 0, "items" : [ { "code": "4700000480081", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 \u0411\u0410\u0417\u0410\u041B\u041A\u041E\u0413\u041E\u041B\u042C\u041D\u041E\u0415 URBAN 312 0,", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:06]execute_script... [20:12: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)18150", "tax_sys" : 0, "items" : [ { "code": "4700000480081", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 \u0411\u0410\u0417\u0410\u041B\u041A\u041E\u0413\u041E\u041B\u042C\u041D\u041E\u0415 URBAN 312 0,", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:06]POST & json_proto [20:12:06]process_json_proto [20:12:06]json parsed OK: [20:12:06]protocol is kg_v1.0 [20:12:06]action value=close_receipt [20:12:06]process_action close_receipt [20:12:06]cmd_close_receipt [20:12:06]MH_GetDate [20:12:06]Write to MH i2c: F0 00 00 E0 01 D0 [20:12:06]Write i2c OK [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: F0 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: F0 09 00 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: F0 09 00 E0 01 00 97 F8 C4 66 13 35 D9 65 18 [20:12:06]GetLastDocTimeStamp 1724183996 [20:12:06]current date 1724184727 [20:12:06]FM_GetShiftState [20:12:06]SAM_PROTO_GetShiftState [20:12:06]wFMCommunicate request_size=4 [20:12:06]MH_SAM_APDU [20:12:06]CAPDU: 80 13 01 00 [20:12:06]Write to MH i2c: E2 08 00 E1 01 80 13 01 00 00 00 00 00 5F [20:12:06]Write i2c OK [20:12:06]MH_I2C_Read... [20:12:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:06]Read from MH i2c: E2 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 0E 00 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 0E 00 E1 01 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 3C [20:12:06]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [20:12:06]wFMCommunicate OK [20:12:06]SAM_PROTO_GetShiftState done [20:12:06]FM_GetShiftState done [20:12:06]opened in 1724113861 [20:12:06]opened+sec_in_day 1724200261 [20:12:06]quantity*price = 10700 [20:12:06]sum+1 = 10701 [20:12:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 43 20.08.2024 20:12 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9163 ФПД: 27655136534500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T201207&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9163&fm=27655136534500&tin=02508201610067®Number=0000000000108878&sum=10700 0 [20:12:07]StoreToDocumentArchive [20:12:07]shift 216 fd 9163 [20:12:07]save to /storage/0216/doc_00009163 [20:12:07]save last doc name /storage/0216/doc_00009163 to /storage/kkm_last_doc_name [20:12:07]save OK [20:12:07]Clear old archive folders... [20:12:07]ProcessDocumentItem done err = 0, tmpTLVsize=307 [20:12:07]tlvbuf is 00535F00 [20:12:07]SAM_PROTO_ClearQueue [20:12:07]wFMCommunicate request_size=4 [20:12:07]MH_SAM_APDU [20:12:07]CAPDU: 80 09 00 00 [20:12:07]Write to MH i2c: E2 08 00 EE 01 80 09 00 00 00 00 00 00 61 [20:12:07]Write i2c OK [20:12:07]MH_I2C_Read... [20:12:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:12:07]Read from MH i2c: E2 [20:12:07]MH_I2C_Read... [20:12:07]Read from MH i2c: E2 03 00 [20:12:07]MH_I2C_Read... [20:12:07]Read from MH i2c: E2 03 00 EE 01 00 90 00 63 [20:12:07]RAPDU: 90 00 [20:12:07]wFMCommunicate OK [20:12:07]SAM_PROTO_ClearQueue done [20:12:07]KKMCreateOFDPacket [20:12:07]OFDProtocolAddRootSTLVToBuf [20:12:07]FM_MakeSignedData [20:12:07]FM_MakeSignedData [20:12:07]SAM_PROTO_SignData [20:12:07]wFMCommunicate request_size=4 [20:12:07]MH_SAM_APDU [20:12:07]CAPDU: 80 0D 01 02 [20:12:07]Write to MH i2c: E2 08 00 EF 01 80 0D 01 02 00 00 00 00 69 [20:12:07]Write i2c OK [20:12:07]MH_I2C_Read... [20:12:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:12:07]Read from MH i2c: E2 [20:12:07]MH_I2C_Read... [20:12:07]Read from MH i2c: E2 03 00 [20:12:07]MH_I2C_Read... [20:12:07]Read from MH i2c: E2 03 00 EF 01 00 90 00 64 [20:12:07]RAPDU: 90 00 [20:12:07]wFMCommunicate OK [20:12:07]wFMCommunicate request_size=255 [20:12:07]MH_SAM_APDU [20:12:07]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 97 F8 C4 66 0E 04 04 00 D8 00 00 00 B9 04 [20:12:07]Write to MH i2c: E2 02 01 F0 01 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 97 F8 C4 66 0E 04 04 00 D8 00 00 00 B9 04 00 00 10 [20:12:07]Write i2c OK [20:12:07]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 03 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 03 00 F0 01 00 90 00 65 [20:12:08]RAPDU: 90 00 [20:12:08]wFMCommunicate OK [20:12:08]wFMCommunicate request_size=66 [20:12:08]MH_SAM_APDU [20:12:08]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CB 23 00 00 35 04 06 00 19 26 F6 96 DF E4 [20:12:08]Write to MH i2c: E2 45 00 F1 01 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CB 23 00 00 35 04 06 00 19 26 F6 96 DF E4 00 00 45 [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 03 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 03 00 F1 01 00 90 00 66 [20:12:08]RAPDU: 90 00 [20:12:08]wFMCommunicate OK [20:12:08]wFMCommunicate request_size=4 [20:12:08]MH_SAM_APDU [20:12:08]CAPDU: 80 0D 03 02 [20:12:08]Write to MH i2c: E2 08 00 F2 01 80 0D 03 02 00 00 00 00 6E [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0B 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0B 00 F2 01 00 A3 1F BB 48 F3 6F 14 C8 90 00 72 [20:12:08]RAPDU: A3 1F BB 48 F3 6F 14 C8 90 00 [20:12:08]wFMCommunicate OK [20:12:08]SAM_PROTO_SignData done [20:12:08]FM_MakeSignedData done [20:12:08]CreateOFDProtocolMessage [20:12:08]wFMCommunicate request_size=4 [20:12:08]MH_SAM_APDU [20:12:08]CAPDU: 80 11 00 00 [20:12:08]Write to MH i2c: E2 08 00 F3 01 80 11 00 00 00 00 00 00 6E [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 17 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 17 00 F3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 C5 [20:12:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [20:12:08]wFMCommunicate OK [20:12:08]CreateOFDProtocolMessage done [20:12:08]OFDSenderStorePacket 9163 [20:12:08]StoreOFDPacket docnum=9163 [20:12:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 47 01 00 00 9B D4 3F 01 B0 D6 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 97 F8 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CB 23 00 00 35 04 06 00 19 26 F6 96 DF E4 A3 1F BB 48 F3 6F 14 C8 [20:12:08]CheckFolder [20:12:08]dirname=/storage/ofd_packets [20:12:08]CheckFolder done [20:12:08]ProducePacketName [20:12:08]name=ofd_packets/00009163 [20:12:08]NVStorageSaveData ofd_packets/00009163 [20:12:08]File name is /storage/ofd_packets/00009163 [20:12:08]Write 357 bytes [20:12:08]NVStorageSaveData done [20:12:08]OFDSenderStorePacket done [20:12:08]KKMCreateOFDPacket done [20:12:08]NVStorageSaveData kkm_last_timestamp [20:12:08]File name is /storage/kkm_last_timestamp [20:12:08]Write 4 bytes [20:12:08]NVStorageSaveData done [20:12:08]ExternCall_PrintAddStr [20:12:08]wPrintStart [20:12:08]Write to MH i2c: 01 00 00 F4 01 F5 [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: 01 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: 01 07 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: 01 07 00 F4 01 00 00 00 00 00 FF 0F 0A [20:12:08]RasterBufferAndPrint [20:12:08]line Счет N : (3)18150 [20:12:08]line ИНН: 02508201610067 [20:12:08]line Контрольно-Кассовый Чек [20:12:08]line ПРОДАЖА [20:12:08]line Товар: 4700000480081 [20:12:08]line ПИВО СВЕТЛОЕ БАЗАЛКОГОЛЬНОЕ URBAN 312 0, [20:12:08]line 1.000 * 107.00 [20:12:08]line = 107.00 [20:12:08]line НДС 12% НСП 1% [20:12:08]line > о реализуемом товаре [20:12:08]line ИТОГО: 107.00 [20:12:08]line НСП 1% : 0.95 [20:12:08]line НДС 12% : 11.36 [20:12:08]line Наличными: 107.00 [20:12:08]line Безнал.: 0.00 [20:12:08]line Место: АЗС № 94 [20:12:08]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [20:12:08]line СНО: Общий режим [20:12:08]line Чек 43 20.08.2024 20:12 [20:12:08]line Смена: 216 ФФД: 1.0 [20:12:08]line ЗНМ: 0300000128 [20:12:08]line РНМ: 0000000000108878 [20:12:08]line Версия ККМ: 001 [20:12:08]line ФМ: 0000000000965619 [20:12:08]line ФД: 9163 [20:12:08]line ФПД: 27655136534500 [20:12:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T201207&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9163&fm=27655136534500&tin=02508201610067®Number=0000000000108878&sum=10700 [20:12:08]line 0 [20:12:08]OFD Sender: Processing packet 9163 [packets to send 4, broken 3] [20:12:08]ProducePacketName [20:12:08]name=ofd_packets/00009163 [20:12:08]OFD Sender: To server: pG, [20:12:08]CommunicateWithHost lk.salyk.kg:30040 [20:12:08]ConnectInit lk.salyk.kg [20:12:08]written 0, free lines is 4095 [20:12:08]Connected sock=10 [20:12:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 47 01 00 00 9B D4 3F 01 B0 D6 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 97 F8 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CB 23 00 00 35 04 06 00 19 26 F6 96 DF E4 A3 1F BB 48 F3 6F 14 C8 [20:12:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 7D D9 47 00 B9 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CB 23 00 00 F4 03 04 00 61 A0 C4 66 B6 04 01 00 00 87 F3 FE F6 B3 84 30 EC [20:12:09]CommunicateWithHost err = 0 [20:12:09]CheckOFDResponse [20:12:09]1017 (14) - 77093643461234 [20:12:09]1041 (16) - 0000000000965619 [20:12:09]1040 (4) - 9163 [20:12:09]1012 (4) - 20.08.2024 13:55 [20:12:09]1206 (1) - 0 [20:12:09]OFD Sender: Remove packet 9163 [20:12:09]ProducePacketName [20:12:09]name=ofd_packets/00009163 [20:12:09]NVStorageDeleteData [20:12:09]Write to MH i2c: 01 00 00 1C 02 1E [20:12:09]Write i2c OK [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: 01 [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: 01 07 00 [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: 01 07 00 1C 02 00 00 00 00 00 E7 0C 18 [20:12:09]RasterBufferAndPrint [20:12:09]line [20:12:09]line [20:12:09]line [20:12:09]line [20:12:09]line [20:12:09]written 0, free lines is 3308 [20:12:09]MH_Cut [20:12:09]Write to MH i2c: D1 01 00 23 02 01 F7 [20:12:09]Write i2c OK [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: D1 [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: D1 01 00 [20:12:09]MH_I2C_Read... [20:12:09]Read from MH i2c: D1 01 00 23 02 00 F6 [20:12:09]Write to MH i2c: 01 00 00 24 02 26 [20:12:09]Write i2c OK [20:12:09]MH_I2C_Read... [20:12:09]OFD Sender: No OFD packet to send [20:12:09]*** Cut start [20:12:09]*** Partial cut [20:12:09]*** CUTSNS_PIN = 1 [20:12:09]*** CUTSNS_PIN = 0 [20:12:10]*** Brake cut motor [20:12:10]Read from MH i2c: 01 [20:12:10]MH_I2C_Read... [20:12:10]*** Stop cut motor [20:12:10]*** Cut end [20:12:10]Read from MH i2c: 01 07 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 07 00 24 02 00 00 00 00 00 FF 0F 3B [20:12:10]process_action close_receipt done [20:12:10]requested_data is exist [20:12:10]produce_requested_data [20:12:10]requested_item fm.sn is exist - process it [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 11 00 00 [20:12:10]Write to MH i2c: E2 08 00 25 02 80 11 00 00 00 00 00 00 A1 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 25 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F8 [20:12:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [20:12:10]wFMCommunicate OK [20:12:10]requested_item fd.num is exist - process it [20:12:10]SAM_PROTO_GetFieldsCounters [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 13 00 00 [20:12:10]Write to MH i2c: E2 08 00 26 02 80 13 00 00 00 00 00 00 A4 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 62 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 62 00 26 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CB 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [20:12:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CB 23 00 00 0E 04 04 00 D8 00 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 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_GetFieldsCounters done [20:12:10]requested_item shift.num is exist - process it [20:12:10]requested_item shift.opened is exist - process it [20:12:10]req_shift_opened [20:12:10]FM_GetShiftState [20:12:10]SAM_PROTO_GetShiftState [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 13 01 00 [20:12:10]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0E 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 83 [20:12:10]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_GetShiftState done [20:12:10]FM_GetShiftState done [20:12:10]req_shift_opened done [20:12:10]requested_item shift.open_date is exist - process it [20:12:10]req_shift_open_date [20:12:10]req_shift_open_date done [20:12:10]produce_requested_data done [20:12:10]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9163,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [20:12:10]process_action_free close_receipt [20:12:10]json_value_free [20:12:10]json_value_free done [20:12:10]process_json_proto returns [20:12:10]Send response to host [20:12:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9163,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [20:12:10]free response buf [20:12:10]execute_script done [20:12:10]execute_script returns [20:12:10]free content buf [20:12:10]Sock 9.Close socket [20:12:10]Sock 9.Thread stoped [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:21]accept exits with 7 [20:14:21]New connection [20:14:21]New thread 3066785124 created [20:14:21]Thread 3066928484 joined [20:14:21]Waiting for new connection... [20:14:21] Sock 7.Parse request [20:14:21]Sock 7.Check first char [20:14:21]Sock 7.First char is OK [20:14:21]request: POST /json_proto HTTP/1.0 [20:14:21]Method: POST [20:14:21]URL: /json_proto [20:14:21]Method is POST - this is cgi request [20:14:21]url: /json_proto [20:14:21]query_string will be loaded in cgi processing [20:14:21]execute_cgi json_proto POST (null) [20:14:21]execute_cgi path=json_proto method=POST [20:14:21]POST find Content-Length [20:14:21]Host: 172.17.55.134:8080 [20:14:21]Content-Length: 683 [20:14:21]Content-Type: application/json [20:14:21] [20:14:21]POST finish read [20:14:21]Found Content-Length = 683 [20:14:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18151", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 2.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" ] } } [20:14:21]execute_script... [20:14: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)18151", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 2.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" ] } } [20:14:21]POST & json_proto [20:14:21]process_json_proto [20:14:21]json parsed OK: [20:14:21]protocol is kg_v1.0 [20:14:21]action value=close_receipt [20:14:21]process_action close_receipt [20:14:21]cmd_close_receipt [20:14:21]MH_GetDate [20:14:21]Write to MH i2c: F0 00 00 28 02 19 [20:14:21]Write i2c OK [20:14:21]MH_I2C_Read... [20:14:21]Read from MH i2c: F0 [20:14:21]MH_I2C_Read... [20:14:21]Read from MH i2c: F0 09 00 [20:14:21]MH_I2C_Read... [20:14:21]Read from MH i2c: F0 09 00 28 02 00 1E F9 C4 66 13 35 D9 65 E9 [20:14:21]GetLastDocTimeStamp 1724184727 [20:14:21]current date 1724184862 [20:14:21]FM_GetShiftState [20:14:21]SAM_PROTO_GetShiftState [20:14:21]wFMCommunicate request_size=4 [20:14:21]MH_SAM_APDU [20:14:21]CAPDU: 80 13 01 00 [20:14:21]Write to MH i2c: E2 08 00 29 02 80 13 01 00 00 00 00 00 A8 [20:14:21]Write i2c OK [20:14:21]MH_I2C_Read... [20:14:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:21]Read from MH i2c: E2 [20:14:21]MH_I2C_Read... [20:14:21]Read from MH i2c: E2 0E 00 [20:14:21]MH_I2C_Read... [20:14:21]Read from MH i2c: E2 0E 00 29 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 85 [20:14:21]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [20:14:21]wFMCommunicate OK [20:14:21]SAM_PROTO_GetShiftState done [20:14:21]FM_GetShiftState done [20:14:21]opened in 1724113861 [20:14:21]opened+sec_in_day 1724200261 [20:14:21]quantity*price = 13000 [20:14:21]sum+1 = 13001 [20:14:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 44 20.08.2024 20:14 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9164 ФПД: 118176690699614 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T201422&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9164&fm=118176690699614&tin=02508201610067®Number=0000000000108878&sum=13000 0 [20:14:22]StoreToDocumentArchive [20:14:22]shift 216 fd 9164 [20:14:22]save to /storage/0216/doc_00009164 [20:14:22]save last doc name /storage/0216/doc_00009164 to /storage/kkm_last_doc_name [20:14:22]save OK [20:14:22]Clear old archive folders... [20:14:22]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:14:22]tlvbuf is 00558420 [20:14:22]SAM_PROTO_ClearQueue [20:14:22]wFMCommunicate request_size=4 [20:14:22]MH_SAM_APDU [20:14:22]CAPDU: 80 09 00 00 [20:14:22]Write to MH i2c: E2 08 00 36 02 80 09 00 00 00 00 00 00 AA [20:14:22]Write i2c OK [20:14:22]MH_I2C_Read... [20:14:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:14:22]Read from MH i2c: E2 [20:14:22]MH_I2C_Read... [20:14:22]Read from MH i2c: E2 03 00 [20:14:22]MH_I2C_Read... [20:14:22]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [20:14:22]RAPDU: 90 00 [20:14:22]wFMCommunicate OK [20:14:22]SAM_PROTO_ClearQueue done [20:14:22]KKMCreateOFDPacket [20:14:22]OFDProtocolAddRootSTLVToBuf [20:14:22]FM_MakeSignedData [20:14:22]FM_MakeSignedData [20:14:22]SAM_PROTO_SignData [20:14:22]wFMCommunicate request_size=4 [20:14:22]MH_SAM_APDU [20:14:22]CAPDU: 80 0D 01 02 [20:14:22]Write to MH i2c: E2 08 00 37 02 80 0D 01 02 00 00 00 00 B2 [20:14:22]Write i2c OK [20:14:22]MH_I2C_Read... [20:14:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:14:22]Read from MH i2c: E2 [20:14:22]MH_I2C_Read... [20:14:22]Read from MH i2c: E2 03 00 [20:14:22]MH_I2C_Read... [20:14:22]Read from MH i2c: E2 03 00 37 02 00 90 00 AD [20:14:22]RAPDU: 90 00 [20:14:22]wFMCommunicate OK [20:14:22]wFMCommunicate request_size=255 [20:14:22]MH_SAM_APDU [20:14:22]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2C 00 00 00 F4 03 04 00 1E F9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:14:22]Write to MH i2c: E2 02 01 38 02 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2C 00 00 00 F4 03 04 00 1E F9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 EA [20:14:23]Write i2c OK [20:14:23]MH_I2C_Read... [20:14:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:23]Read from MH i2c: E2 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 03 00 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 03 00 38 02 00 90 00 AE [20:14:23]RAPDU: 90 00 [20:14:23]wFMCommunicate OK [20:14:23]wFMCommunicate request_size=52 [20:14:23]MH_SAM_APDU [20:14:23]CAPDU: 80 0D 02 02 2F 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CC 23 00 00 35 04 06 00 6B 7B 27 AB 7D 5E [20:14:23]Write to MH i2c: E2 37 00 39 02 80 0D 02 02 2F 00 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CC 23 00 00 35 04 06 00 6B 7B 27 AB 7D 5E 00 00 05 [20:14:23]Write i2c OK [20:14:23]MH_I2C_Read... [20:14:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:23]Read from MH i2c: E2 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 03 00 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 03 00 39 02 00 90 00 AF [20:14:23]RAPDU: 90 00 [20:14:23]wFMCommunicate OK [20:14:23]wFMCommunicate request_size=4 [20:14:23]MH_SAM_APDU [20:14:23]CAPDU: 80 0D 03 02 [20:14:23]Write to MH i2c: E2 08 00 3A 02 80 0D 03 02 00 00 00 00 B7 [20:14:23]Write i2c OK [20:14:23]MH_I2C_Read... [20:14:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:14:23]Read from MH i2c: E2 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 0B 00 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 0B 00 3A 02 00 2A 92 66 0B 3B 08 79 63 90 00 04 [20:14:23]RAPDU: 2A 92 66 0B 3B 08 79 63 90 00 [20:14:23]wFMCommunicate OK [20:14:23]SAM_PROTO_SignData done [20:14:23]FM_MakeSignedData done [20:14:23]CreateOFDProtocolMessage [20:14:23]wFMCommunicate request_size=4 [20:14:23]MH_SAM_APDU [20:14:23]CAPDU: 80 11 00 00 [20:14:23]Write to MH i2c: E2 08 00 3B 02 80 11 00 00 00 00 00 00 B7 [20:14:23]Write i2c OK [20:14:23]MH_I2C_Read... [20:14:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:23]Read from MH i2c: E2 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 17 00 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: E2 17 00 3B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0E [20:14:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [20:14:23]wFMCommunicate OK [20:14:23]CreateOFDProtocolMessage done [20:14:23]OFDSenderStorePacket 9164 [20:14:23]StoreOFDPacket docnum=9164 [20:14:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 39 01 00 00 48 80 31 01 C7 BF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2C 00 00 00 F4 03 04 00 1E F9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CC 23 00 00 35 04 06 00 6B 7B 27 AB 7D 5E 2A 92 66 0B 3B 08 79 63 [20:14:23]CheckFolder [20:14:23]dirname=/storage/ofd_packets [20:14:23]CheckFolder done [20:14:23]ProducePacketName [20:14:23]name=ofd_packets/00009164 [20:14:23]NVStorageSaveData ofd_packets/00009164 [20:14:23]File name is /storage/ofd_packets/00009164 [20:14:23]Write 343 bytes [20:14:23]NVStorageSaveData done [20:14:23]OFDSenderStorePacket done [20:14:23]KKMCreateOFDPacket done [20:14:23]NVStorageSaveData kkm_last_timestamp [20:14:23]File name is /storage/kkm_last_timestamp [20:14:23]Write 4 bytes [20:14:23]NVStorageSaveData done [20:14:23]ExternCall_PrintAddStr [20:14:23]wPrintStart [20:14:23]Write to MH i2c: 01 00 00 3C 02 3E [20:14:23]OFD Sender: Processing packet 9164 [packets to send 4, broken 3] [20:14:23]ProducePacketName [20:14:23]name=ofd_packets/00009164 [20:14:23]OFD Sender: To server: pG, [20:14:23]CommunicateWithHost lk.salyk.kg:30040 [20:14:23]ConnectInit lk.salyk.kg [20:14:23]Write i2c OK [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: 01 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: 01 07 00 [20:14:23]MH_I2C_Read... [20:14:23]Read from MH i2c: 01 07 00 3C 02 00 00 00 00 00 FF 0F 53 [20:14:23]RasterBufferAndPrint [20:14:23]line Счет N : (3)18151 [20:14:23]line ИНН: 02508201610067 [20:14:23]line Контрольно-Кассовый Чек [20:14:23]line ПРОДАЖА [20:14:23]line Товар: 4870002328404 [20:14:23]line Вода ASU пит н.газ мята ПЭТ 0,5л [20:14:23]line 2.000 * 65.00 [20:14:23]line = 130.00 [20:14:23]line НДС 12% НСП 1% [20:14:23]line > о реализуемом товаре [20:14:23]line ИТОГО: 130.00 [20:14:23]line НСП 1% : 1.15 [20:14:23]line НДС 12% : 13.80 [20:14:23]line Наличными: 130.00 [20:14:23]line Безнал.: 0.00 [20:14:23]line Место: АЗС № 94 [20:14:23]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [20:14:23]line СНО: Общий режим [20:14:23]line Чек 44 20.08.2024 20:14 [20:14:23]line Смена: 216 ФФД: 1.0 [20:14:23]line ЗНМ: 0300000128 [20:14:23]line РНМ: 0000000000108878 [20:14:23]line Версия ККМ: 001 [20:14:23]line ФМ: 0000000000965619 [20:14:23]line ФД: 9164 [20:14:23]line ФПД: 118176690699614 [20:14:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T201422&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9164&fm=118176690699614&tin=02508201610067®Number=0000000000108878&sum=13000 [20:14:23]Connected sock=10 [20:14:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 39 01 00 00 48 80 31 01 C7 BF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 2C 00 00 00 F4 03 04 00 1E F9 C4 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CC 23 00 00 35 04 06 00 6B 7B 27 AB 7D 5E 2A 92 66 0B 3B 08 79 63 [20:14:23]line 0 [20:14:23]written 0, free lines is 4095 [20:14:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 52 C0 47 00 40 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CC 23 00 00 F4 03 04 00 E8 A0 C4 66 B6 04 01 00 00 E4 23 24 06 FB DA 43 FA [20:14:24]CommunicateWithHost err = 0 [20:14:24]CheckOFDResponse [20:14:24]1017 (14) - 77093643461234 [20:14:24]1041 (16) - 0000000000965619 [20:14:24]1040 (4) - 9164 [20:14:24]1012 (4) - 20.08.2024 13:58 [20:14:24]1206 (1) - 0 [20:14:24]OFD Sender: Remove packet 9164 [20:14:24]ProducePacketName [20:14:24]name=ofd_packets/00009164 [20:14:24]NVStorageDeleteData [20:14:24]Write to MH i2c: 01 00 00 64 02 66 [20:14:24]Write i2c OK [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: 01 [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: 01 07 00 [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: 01 07 00 64 02 00 00 00 00 00 EC 0C 65 [20:14:24]RasterBufferAndPrint [20:14:24]line [20:14:24]line [20:14:24]line [20:14:24]line [20:14:24]line [20:14:24]written 0, free lines is 3316 [20:14:24]MH_Cut [20:14:24]Write to MH i2c: D1 01 00 6B 02 01 3F [20:14:24]Write i2c OK [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: D1 [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: D1 01 00 [20:14:24]MH_I2C_Read... [20:14:24]Read from MH i2c: D1 01 00 6B 02 00 3E [20:14:24]Write to MH i2c: 01 00 00 6C 02 6E [20:14:24]Write i2c OK [20:14:24]MH_I2C_Read... [20:14:24]OFD Sender: No OFD packet to send [20:14:24]*** Cut start [20:14:24]*** Partial cut [20:14:24]*** CUTSNS_PIN = 1 [20:14:25]*** CUTSNS_PIN = 0 [20:14:25]*** Brake cut motor [20:14:25]Read from MH i2c: 01 [20:14:25]MH_I2C_Read... [20:14:25]*** Stop cut motor [20:14:25]*** Cut end [20:14:25]Read from MH i2c: 01 07 00 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: 01 07 00 6C 02 00 00 00 00 00 FF 0F 83 [20:14:25]process_action close_receipt done [20:14:25]requested_data is exist [20:14:25]produce_requested_data [20:14:25]requested_item fm.sn is exist - process it [20:14:25]wFMCommunicate request_size=4 [20:14:25]MH_SAM_APDU [20:14:25]CAPDU: 80 11 00 00 [20:14:25]Write to MH i2c: E2 08 00 6D 02 80 11 00 00 00 00 00 00 E9 [20:14:25]Write i2c OK [20:14:25]MH_I2C_Read... [20:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:25]Read from MH i2c: E2 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 17 00 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 17 00 6D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 40 [20:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [20:14:25]wFMCommunicate OK [20:14:25]requested_item fd.num is exist - process it [20:14:25]SAM_PROTO_GetFieldsCounters [20:14:25]wFMCommunicate request_size=4 [20:14:25]MH_SAM_APDU [20:14:25]CAPDU: 80 13 00 00 [20:14:25]Write to MH i2c: E2 08 00 6E 02 80 13 00 00 00 00 00 00 EC [20:14:25]Write i2c OK [20:14:25]MH_I2C_Read... [20:14:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:14:25]Read from MH i2c: E2 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 62 00 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 62 00 6E 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CC 23 00 00 0E 04 04 00 D8 00 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 63 [20:14:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CC 23 00 00 0E 04 04 00 D8 00 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 [20:14:25]wFMCommunicate OK [20:14:25]SAM_PROTO_GetFieldsCounters done [20:14:25]requested_item shift.num is exist - process it [20:14:25]requested_item shift.opened is exist - process it [20:14:25]req_shift_opened [20:14:25]FM_GetShiftState [20:14:25]SAM_PROTO_GetShiftState [20:14:25]wFMCommunicate request_size=4 [20:14:25]MH_SAM_APDU [20:14:25]CAPDU: 80 13 01 00 [20:14:25]Write to MH i2c: E2 08 00 6F 02 80 13 01 00 00 00 00 00 EE [20:14:25]Write i2c OK [20:14:25]MH_I2C_Read... [20:14:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:25]Read from MH i2c: E2 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 0E 00 [20:14:25]MH_I2C_Read... [20:14:25]Read from MH i2c: E2 0E 00 6F 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 CB [20:14:25]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [20:14:25]wFMCommunicate OK [20:14:25]SAM_PROTO_GetShiftState done [20:14:25]FM_GetShiftState done [20:14:25]req_shift_opened done [20:14:25]requested_item shift.open_date is exist - process it [20:14:25]req_shift_open_date [20:14:25]req_shift_open_date done [20:14:25]produce_requested_data done [20:14:25]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9164,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [20:14:25]process_action_free close_receipt [20:14:25]json_value_free [20:14:25]json_value_free done [20:14:25]process_json_proto returns [20:14:25]Send response to host [20:14:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9164,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [20:14:25]free response buf [20:14:25]execute_script done [20:14:25]execute_script returns [20:14:25]free content buf [20:14:25]Sock 7.Close socket [20:14:25]Sock 7.Thread stoped [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04: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:35]accept exits with 9 [21:06:35]New connection [21:06:35]New thread 3066928484 created [21:06:35]Thread 3066785124 joined [21:06:35]Waiting for new connection... [21:06:35] Sock 9.Parse request [21:06:35]Sock 9.Check first char [21:06:35]Sock 9.First char is OK [21:06:35]request: POST /json_proto HTTP/1.0 [21:06:35]Method: POST [21:06:35]URL: /json_proto [21:06:35]Method is POST - this is cgi request [21:06:35]url: /json_proto [21:06:35]query_string will be loaded in cgi processing [21:06:35]execute_cgi json_proto POST (null) [21:06:35]execute_cgi path=json_proto method=POST [21:06:35]POST find Content-Length [21:06:35]Host: 172.17.55.134:8080 [21:06:35]Content-Length: 823 [21:06:35]Content-Type: application/json [21:06:35] [21:06:35]POST finish read [21:06:35]Found Content-Length = 823 [21:06:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18152", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:35]execute_script... [21:06:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18152", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:35]POST & json_proto [21:06:35]process_json_proto [21:06:35]json parsed OK: [21:06:35]protocol is kg_v1.0 [21:06:35]action value=close_receipt [21:06:35]process_action close_receipt [21:06:35]cmd_close_receipt [21:06:35]MH_GetDate [21:06:35]Write to MH i2c: F0 00 00 70 02 61 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 09 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 09 00 70 02 00 5C 05 C5 66 13 35 D9 65 7C [21:06:35]GetLastDocTimeStamp 1724184862 [21:06:35]current date 1724187996 [21:06:35]FM_GetShiftState [21:06:35]SAM_PROTO_GetShiftState [21:06:35]wFMCommunicate request_size=4 [21:06:35]MH_SAM_APDU [21:06:35]CAPDU: 80 13 01 00 [21:06:35]Write to MH i2c: E2 08 00 71 02 80 13 01 00 00 00 00 00 F0 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:35]Read from MH i2c: E2 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: E2 0E 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: E2 0E 00 71 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 CD [21:06:35]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:06:35]wFMCommunicate OK [21:06:35]SAM_PROTO_GetShiftState done [21:06:35]FM_GetShiftState done [21:06:35]opened in 1724113861 [21:06:35]opened+sec_in_day 1724200261 [21:06:35]quantity*price = 15500 [21:06:35]sum+1 = 15501 [21:06:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 0.00 Безнал.: 155.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 45 20.08.2024 21:06 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9165 ФПД: 101895182431443 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T210636&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9165&fm=101895182431443&tin=02508201610067®Number=0000000000108878&sum=15500 0 [21:06:36]StoreToDocumentArchive [21:06:36]shift 216 fd 9165 [21:06:36]save to /storage/0216/doc_00009165 [21:06:36]save last doc name /storage/0216/doc_00009165 to /storage/kkm_last_doc_name [21:06:36]save OK [21:06:36]Clear old archive folders... [21:06:36]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:06:36]tlvbuf is 0052AE50 [21:06:36]SAM_PROTO_ClearQueue [21:06:36]wFMCommunicate request_size=4 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 09 00 00 [21:06:36]Write to MH i2c: E2 08 00 7E 02 80 09 00 00 00 00 00 00 F2 [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:36]Read from MH i2c: E2 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 03 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 03 00 7E 02 00 90 00 F4 [21:06:36]RAPDU: 90 00 [21:06:36]wFMCommunicate OK [21:06:36]SAM_PROTO_ClearQueue done [21:06:36]KKMCreateOFDPacket [21:06:36]OFDProtocolAddRootSTLVToBuf [21:06:36]FM_MakeSignedData [21:06:36]FM_MakeSignedData [21:06:36]SAM_PROTO_SignData [21:06:36]wFMCommunicate request_size=4 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 0D 01 02 [21:06:36]Write to MH i2c: E2 08 00 7F 02 80 0D 01 02 00 00 00 00 FA [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:36]Read from MH i2c: E2 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 03 00 [21:06:36]MH_I2C_Read... [21:06:36]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [21:06:36]RAPDU: 90 00 [21:06:36]wFMCommunicate OK [21:06:36]wFMCommunicate request_size=255 [21:06:36]MH_SAM_APDU [21:06:36]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 05 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 [21:06:36]Write to MH i2c: E2 02 01 80 02 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 05 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 00 00 D7 [21:06:36]Write i2c OK [21:06:36]MH_I2C_Read... [21:06:36]OFD Sender: No OFD packet to send [21:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 80 02 00 90 00 F6 [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]wFMCommunicate request_size=46 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 02 02 29 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CD 23 00 00 35 04 06 00 5C AC 52 27 34 D3 [21:06:37]Write to MH i2c: E2 31 00 81 02 80 0D 02 02 29 00 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CD 23 00 00 35 04 06 00 5C AC 52 27 34 D3 00 00 0E [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 81 02 00 90 00 F7 [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 03 02 [21:06:37]Write to MH i2c: E2 08 00 82 02 80 0D 03 02 00 00 00 00 FF [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 0B 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 0B 00 82 02 00 A4 E0 B8 36 F1 F1 57 05 90 00 B0 [21:06:37]RAPDU: A4 E0 B8 36 F1 F1 57 05 90 00 [21:06:37]wFMCommunicate OK [21:06:37]SAM_PROTO_SignData done [21:06:37]FM_MakeSignedData done [21:06:37]CreateOFDProtocolMessage [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 11 00 00 [21:06:37]Write to MH i2c: E2 08 00 83 02 80 11 00 00 00 00 00 00 FF [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 17 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 17 00 83 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 56 [21:06:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:06:37]wFMCommunicate OK [21:06:37]CreateOFDProtocolMessage done [21:06:37]OFDSenderStorePacket 9165 [21:06:37]StoreOFDPacket docnum=9165 [21:06:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 33 01 00 00 2F D2 2B 01 F8 76 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 05 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CD 23 00 00 35 04 06 00 5C AC 52 27 34 D3 A4 E0 B8 36 F1 F1 57 05 [21:06:37]CheckFolder [21:06:37]dirname=/storage/ofd_packets [21:06:37]CheckFolder done [21:06:37]ProducePacketName [21:06:37]name=ofd_packets/00009165 [21:06:37]NVStorageSaveData ofd_packets/00009165 [21:06:37]File name is /storage/ofd_packets/00009165 [21:06:37]Write 337 bytes [21:06:37]NVStorageSaveData done [21:06:37]OFDSenderStorePacket done [21:06:37]KKMCreateOFDPacket done [21:06:37]NVStorageSaveData kkm_last_timestamp [21:06:37]File name is /storage/kkm_last_timestamp [21:06:37]Write 4 bytes [21:06:37]NVStorageSaveData done [21:06:37]ExternCall_PrintAddStr [21:06:37]wPrintStart [21:06:37]Write to MH i2c: 01 00 00 84 02 86 [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 07 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 07 00 84 02 00 00 00 00 00 FF 0F 9B [21:06:37]RasterBufferAndPrint [21:06:37]line Счет N : (3)18152 [21:06:37]line ИНН: 02508201610067 [21:06:37]line Контрольно-Кассовый Чек [21:06:37]line ПРОДАЖА [21:06:37]line Товар: 5449000176448 [21:06:37]line Сок Piko Pulpy апельсин ПЭТ 1л [21:06:37]line 1.000 * 155.00 [21:06:37]line = 155.00 [21:06:37]line НДС 12% НСП 1% [21:06:37]line > о реализуемом товаре [21:06:37]line ИТОГО: 155.00 [21:06:37]line НСП 1% : 1.37 [21:06:37]line НДС 12% : 16.46 [21:06:37]line Наличными: 0.00 [21:06:37]line Безнал.: 155.00 [21:06:37]line Место: АЗС № 94 [21:06:37]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [21:06:37]line СНО: Общий режим [21:06:37]line Чек 45 20.08.2024 21:06 [21:06:37]line Смена: 216 ФФД: 1.0 [21:06:37]line ЗНМ: 0300000128 [21:06:37]line РНМ: 0000000000108878 [21:06:37]line Версия ККМ: 001 [21:06:37]line Платежная система: O! деньги [21:06:37]line ФМ: 0000000000965619 [21:06:37]line ФД: 9165 [21:06:37]line ФПД: 101895182431443 [21:06:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T210636&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9165&fm=101895182431443&tin=02508201610067®Number=0000000000108878&sum=15500 [21:06:37]line 0 [21:06:37]OFD Sender: Processing packet 9165 [packets to send 4, broken 3] [21:06:37]ProducePacketName [21:06:37]name=ofd_packets/00009165 [21:06:37]OFD Sender: To server: pG, [21:06:37]CommunicateWithHost lk.salyk.kg:30040 [21:06:37]ConnectInit lk.salyk.kg [21:06:37]written 0, free lines is 4095 [21:06:37]Connected sock=10 [21:06:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 33 01 00 00 2F D2 2B 01 F8 76 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 3C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5C 05 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CD 23 00 00 35 04 06 00 5C AC 52 27 34 D3 A4 E0 B8 36 F1 F1 57 05 [21:06:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 37 E4 47 00 16 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CD 23 00 00 F4 03 04 00 26 AD C4 66 B6 04 01 00 00 A7 06 17 E8 8D E1 9E 0B [21:06:37]CommunicateWithHost err = 0 [21:06:37]CheckOFDResponse [21:06:37]1017 (14) - 77093643461234 [21:06:37]1041 (16) - 0000000000965619 [21:06:37]1040 (4) - 9165 [21:06:37]1012 (4) - 20.08.2024 14:50 [21:06:37]1206 (1) - 0 [21:06:37]OFD Sender: Remove packet 9165 [21:06:37]ProducePacketName [21:06:37]name=ofd_packets/00009165 [21:06:37]NVStorageDeleteData [21:06:38]Write to MH i2c: 01 00 00 AE 02 B0 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 07 00 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 07 00 AE 02 00 00 00 00 00 C4 0C 87 [21:06:38]RasterBufferAndPrint [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]written 0, free lines is 3274 [21:06:38]MH_Cut [21:06:38]Write to MH i2c: D1 01 00 B5 02 01 89 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 01 00 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 01 00 B5 02 00 88 [21:06:38]Write to MH i2c: 01 00 00 B6 02 B8 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]OFD Sender: No OFD packet to send [21:06:38]*** Cut start [21:06:38]*** Partial cut [21:06:38]*** CUTSNS_PIN = 1 [21:06:38]*** CUTSNS_PIN = 0 [21:06:39]*** Brake cut motor [21:06:39]Read from MH i2c: 01 [21:06:39]MH_I2C_Read... [21:06:39]*** Stop cut motor [21:06:39]*** Cut end [21:06:39]Read from MH i2c: 01 07 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: 01 07 00 B6 02 00 00 00 00 00 FF 0F CD [21:06:39]process_action close_receipt done [21:06:39]requested_data is exist [21:06:39]produce_requested_data [21:06:39]requested_item fm.sn is exist - process it [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 11 00 00 [21:06:39]Write to MH i2c: E2 08 00 B7 02 80 11 00 00 00 00 00 00 33 [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 17 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 17 00 B7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 8A [21:06:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:06:39]wFMCommunicate OK [21:06:39]requested_item fd.num is exist - process it [21:06:39]SAM_PROTO_GetFieldsCounters [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 13 00 00 [21:06:39]Write to MH i2c: E2 08 00 B8 02 80 13 00 00 00 00 00 00 36 [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 62 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 62 00 B8 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CD 23 00 00 0E 04 04 00 D8 00 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 B1 [21:06:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CD 23 00 00 0E 04 04 00 D8 00 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 [21:06:39]wFMCommunicate OK [21:06:39]SAM_PROTO_GetFieldsCounters done [21:06:39]requested_item shift.num is exist - process it [21:06:39]requested_item shift.opened is exist - process it [21:06:39]req_shift_opened [21:06:39]FM_GetShiftState [21:06:39]SAM_PROTO_GetShiftState [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 13 01 00 [21:06:39]Write to MH i2c: E2 08 00 B9 02 80 13 01 00 00 00 00 00 38 [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 0E 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 0E 00 B9 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 15 [21:06:39]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:06:39]wFMCommunicate OK [21:06:39]SAM_PROTO_GetShiftState done [21:06:39]FM_GetShiftState done [21:06:39]req_shift_opened done [21:06:39]requested_item shift.open_date is exist - process it [21:06:39]req_shift_open_date [21:06:39]req_shift_open_date done [21:06:39]produce_requested_data done [21:06:39]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9165,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [21:06:39]process_action_free close_receipt [21:06:39]json_value_free [21:06:39]json_value_free done [21:06:39]process_json_proto returns [21:06:39]Send response to host [21:06:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9165,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [21:06:39]free response buf [21:06:39]execute_script done [21:06:39]execute_script returns [21:06:39]free content buf [21:06:39]Sock 9.Close socket [21:06:39]Sock 9.Thread stoped [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:17]accept exits with 7 [21:37:17]New connection [21:37:17]New thread 3066785124 created [21:37:17]Thread 3066928484 joined [21:37:17]Waiting for new connection... [21:37:17] Sock 7.Parse request [21:37:17]Sock 7.Check first char [21:37:17]Sock 7.First char is OK [21:37:17]request: POST /json_proto HTTP/1.0 [21:37:17]Method: POST [21:37:17]URL: /json_proto [21:37:17]Method is POST - this is cgi request [21:37:17]url: /json_proto [21:37:17]query_string will be loaded in cgi processing [21:37:17]execute_cgi json_proto POST (null) [21:37:17]execute_cgi path=json_proto method=POST [21:37:17]POST find Content-Length [21:37:17]Host: 172.17.55.134:8080 [21:37:17]Content-Length: 893 [21:37:17]Content-Type: application/json [21:37:17] [21:37:17]POST finish read [21:37:17]Found Content-Length = 893 [21:37:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18153", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:17]execute_script... [21:37:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18153", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:17]POST & json_proto [21:37:17]process_json_proto [21:37:17]json parsed OK: [21:37:17]protocol is kg_v1.0 [21:37:17]action value=close_receipt [21:37:17]process_action close_receipt [21:37:17]cmd_close_receipt [21:37:17]MH_GetDate [21:37:17]Write to MH i2c: F0 00 00 BA 02 AB [21:37:17]Write i2c OK [21:37:17]MH_I2C_Read... [21:37:17]Read from MH i2c: F0 [21:37:17]MH_I2C_Read... [21:37:17]Read from MH i2c: F0 09 00 [21:37:17]MH_I2C_Read... [21:37:17]Read from MH i2c: F0 09 00 BA 02 00 8E 0C C5 66 13 35 D9 65 FF [21:37:17]GetLastDocTimeStamp 1724187996 [21:37:17]current date 1724189838 [21:37:17]FM_GetShiftState [21:37:17]SAM_PROTO_GetShiftState [21:37:17]wFMCommunicate request_size=4 [21:37:17]MH_SAM_APDU [21:37:17]CAPDU: 80 13 01 00 [21:37:17]Write to MH i2c: E2 08 00 BB 02 80 13 01 00 00 00 00 00 3A [21:37:17]Write i2c OK [21:37:17]MH_I2C_Read... [21:37:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:17]Read from MH i2c: E2 [21:37:17]MH_I2C_Read... [21:37:17]Read from MH i2c: E2 0E 00 [21:37:17]MH_I2C_Read... [21:37:17]Read from MH i2c: E2 0E 00 BB 02 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 17 [21:37:17]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:37:17]wFMCommunicate OK [21:37:17]SAM_PROTO_GetShiftState done [21:37:17]FM_GetShiftState done [21:37:17]opened in 1724113861 [21:37:17]opened+sec_in_day 1724200261 [21:37:17]quantity*price = 10000 [21:37:17]sum+1 = 10001 [21:37:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226617 Mentos ПВ Нежная Мята 6*100*2г 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 46 20.08.2024 21:37 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9166 ФПД: 278725283707430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T213719&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9166&fm=278725283707430&tin=02508201610067®Number=0000000000108878&sum=12000 0 [21:37:18]StoreToDocumentArchive [21:37:18]shift 216 fd 9166 [21:37:18]save to /storage/0216/doc_00009166 [21:37:18]save last doc name /storage/0216/doc_00009166 to /storage/kkm_last_doc_name [21:37:18]save OK [21:37:18]Clear old archive folders... [21:37:18]ProcessDocumentItem done err = 0, tmpTLVsize=379 [21:37:18]tlvbuf is 0055EBE0 [21:37:18]SAM_PROTO_ClearQueue [21:37:18]wFMCommunicate request_size=4 [21:37:18]MH_SAM_APDU [21:37:18]CAPDU: 80 09 00 00 [21:37:18]Write to MH i2c: E2 08 00 C8 02 80 09 00 00 00 00 00 00 3C [21:37:18]Write i2c OK [21:37:18]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 C8 02 00 90 00 3E [21:37:19]RAPDU: 90 00 [21:37:19]wFMCommunicate OK [21:37:19]SAM_PROTO_ClearQueue done [21:37:19]KKMCreateOFDPacket [21:37:19]OFDProtocolAddRootSTLVToBuf [21:37:19]FM_MakeSignedData [21:37:19]FM_MakeSignedData [21:37:19]SAM_PROTO_SignData [21:37:19]wFMCommunicate request_size=4 [21:37:19]MH_SAM_APDU [21:37:19]CAPDU: 80 0D 01 02 [21:37:19]Write to MH i2c: E2 08 00 C9 02 80 0D 01 02 00 00 00 00 44 [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 C9 02 00 90 00 3F [21:37:19]RAPDU: 90 00 [21:37:19]wFMCommunicate OK [21:37:19]wFMCommunicate request_size=255 [21:37:19]MH_SAM_APDU [21:37:19]CAPDU: 80 0D 02 02 FA 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [21:37:19]Write to MH i2c: E2 02 01 CA 02 80 0D 02 02 FA 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 55 [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 CA 02 00 90 00 40 [21:37:19]RAPDU: 90 00 [21:37:19]wFMCommunicate OK [21:37:19]wFMCommunicate request_size=138 [21:37:19]MH_SAM_APDU [21:37:19]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 8F 0C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CE 23 00 00 35 04 06 00 FD 7F C9 86 7A 26 [21:37:19]Write to MH i2c: E2 8D 00 CB 02 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 8F 0C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CE 23 00 00 35 04 06 00 FD 7F C9 86 7A 26 00 00 BD [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 03 00 CB 02 00 90 00 41 [21:37:19]RAPDU: 90 00 [21:37:19]wFMCommunicate OK [21:37:19]wFMCommunicate request_size=4 [21:37:19]MH_SAM_APDU [21:37:19]CAPDU: 80 0D 03 02 [21:37:19]Write to MH i2c: E2 08 00 CC 02 80 0D 03 02 00 00 00 00 49 [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 0B 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 0B 00 CC 02 00 1F 66 EA 1D 05 DD 0C 5A 90 00 1E [21:37:19]RAPDU: 1F 66 EA 1D 05 DD 0C 5A 90 00 [21:37:19]wFMCommunicate OK [21:37:19]SAM_PROTO_SignData done [21:37:19]FM_MakeSignedData done [21:37:19]CreateOFDProtocolMessage [21:37:19]wFMCommunicate request_size=4 [21:37:19]MH_SAM_APDU [21:37:19]CAPDU: 80 11 00 00 [21:37:19]Write to MH i2c: E2 08 00 CD 02 80 11 00 00 00 00 00 00 49 [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:19]Read from MH i2c: E2 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 17 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: E2 17 00 CD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A0 [21:37:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:37:19]wFMCommunicate OK [21:37:19]CreateOFDProtocolMessage done [21:37:19]OFDSenderStorePacket 9166 [21:37:19]StoreOFDPacket docnum=9166 [21:37:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 8F 01 00 00 0A AC 87 01 EA 86 5A 03 01 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 8F 0C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CE 23 00 00 35 04 06 00 FD 7F C9 86 7A 26 1F 66 EA 1D 05 DD 0C 5A [21:37:19]CheckFolder [21:37:19]dirname=/storage/ofd_packets [21:37:19]CheckFolder done [21:37:19]ProducePacketName [21:37:19]name=ofd_packets/00009166 [21:37:19]NVStorageSaveData ofd_packets/00009166 [21:37:19]File name is /storage/ofd_packets/00009166 [21:37:19]Write 429 bytes [21:37:19]NVStorageSaveData done [21:37:19]OFDSenderStorePacket done [21:37:19]KKMCreateOFDPacket done [21:37:19]NVStorageSaveData kkm_last_timestamp [21:37:19]File name is /storage/kkm_last_timestamp [21:37:19]Write 4 bytes [21:37:19]NVStorageSaveData done [21:37:19]ExternCall_PrintAddStr [21:37:19]wPrintStart [21:37:19]Write to MH i2c: 01 00 00 CE 02 D0 [21:37:19]Write i2c OK [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: 01 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: 01 07 00 [21:37:19]MH_I2C_Read... [21:37:19]Read from MH i2c: 01 07 00 CE 02 00 00 00 00 00 FF 0F E5 [21:37:19]RasterBufferAndPrint [21:37:19]line Счет N : (3)18153 [21:37:19]line ИНН: 02508201610067 [21:37:19]line Контрольно-Кассовый Чек [21:37:19]line ПРОДАЖА [21:37:19]line Товар: 4700000160358 [21:37:19]line Вода Легенда 1л [21:37:19]line 2.000 * 50.00 [21:37:19]line = 100.00 [21:37:19]line НДС 12% НСП 1% [21:37:19]line > о реализуемом товаре [21:37:19]line Товар: 46226617 [21:37:19]line Mentos ПВ Нежная Мята 6*100*2г [21:37:19]line 2.000 * 10.00 [21:37:19]line = 20.00 [21:37:19]line НДС 12% НСП 1% [21:37:19]line > о реализуемом товаре [21:37:19]line ИТОГО: 120.00 [21:37:19]line НСП 1% : 1.06 [21:37:19]line НДС 12% : 12.74 [21:37:19]line Наличными: 120.00 [21:37:19]line Безнал.: 0.00 [21:37:19]line Место: АЗС № 94 [21:37:19]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [21:37:19]line СНО: Общий режим [21:37:19]line Чек 46 20.08.2024 21:37 [21:37:19]line Смена: 216 ФФД: 1.0 [21:37:19]line ЗНМ: 0300000128 [21:37:19]line РНМ: 0000000000108878 [21:37:19]line Версия ККМ: 001 [21:37:19]line ФМ: 0000000000965619 [21:37:19]line ФД: 9166 [21:37:19]line ФПД: 278725283707430 [21:37:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T213719&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9166&fm=278725283707430&tin=02508201610067®Number=0000000000108878&sum=12000 [21:37:19]line 0 [21:37:19]OFD Sender: Processing packet 9166 [packets to send 4, broken 3] [21:37:19]ProducePacketName [21:37:19]name=ofd_packets/00009166 [21:37:19]OFD Sender: To server: pG, [21:37:19]CommunicateWithHost lk.salyk.kg:30040 [21:37:19]ConnectInit lk.salyk.kg [21:37:19]written 0, free lines is 4095 [21:37:20]Connected sock=9 [21:37:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 8F 01 00 00 0A AC 87 01 EA 86 5A 03 01 00 03 00 7B 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 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 8F 0C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CE 23 00 00 35 04 06 00 FD 7F C9 86 7A 26 1F 66 EA 1D 05 DD 0C 5A [21:37:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 8C 18 47 00 1C 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CE 23 00 00 F4 03 04 00 59 B4 C4 66 B6 04 01 00 00 EA 45 70 6C FC E5 3D 17 [21:37:20]CommunicateWithHost err = 0 [21:37:20]CheckOFDResponse [21:37:20]1017 (14) - 77093643461234 [21:37:20]1041 (16) - 0000000000965619 [21:37:20]1040 (4) - 9166 [21:37:20]1012 (4) - 20.08.2024 15:20 [21:37:20]1206 (1) - 0 [21:37:20]OFD Sender: Remove packet 9166 [21:37:20]ProducePacketName [21:37:20]name=ofd_packets/00009166 [21:37:20]NVStorageDeleteData [21:37:20]Write to MH i2c: 01 00 00 FC 02 FE [21:37:20]Write i2c OK [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: 01 [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: 01 07 00 [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: 01 07 00 FC 02 00 00 00 00 00 8F 0C A0 [21:37:20]RasterBufferAndPrint [21:37:20]line [21:37:20]line [21:37:20]line [21:37:20]line [21:37:20]line [21:37:20]written 0, free lines is 3222 [21:37:20]MH_Cut [21:37:20]Write to MH i2c: D1 01 00 03 03 01 D8 [21:37:20]Write i2c OK [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: D1 [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: D1 01 00 [21:37:20]MH_I2C_Read... [21:37:20]Read from MH i2c: D1 01 00 03 03 00 D7 [21:37:20]Write to MH i2c: 01 00 00 04 03 07 [21:37:20]Write i2c OK [21:37:20]MH_I2C_Read... [21:37:20]OFD Sender: No OFD packet to send [21:37:21]*** Cut start [21:37:21]*** Partial cut [21:37:21]*** CUTSNS_PIN = 1 [21:37:21]*** CUTSNS_PIN = 0 [21:37:21]*** Brake cut motor [21:37:21]Read from MH i2c: 01 [21:37:21]MH_I2C_Read... [21:37:21]*** Stop cut motor [21:37:21]*** Cut end [21:37:21]Read from MH i2c: 01 07 00 [21:37:21]MH_I2C_Read... [21:37:21]Read from MH i2c: 01 07 00 04 03 00 00 00 00 00 FF 0F 1C [21:37:21]process_action close_receipt done [21:37:21]requested_data is exist [21:37:21]produce_requested_data [21:37:21]requested_item fm.sn is exist - process it [21:37:21]wFMCommunicate request_size=4 [21:37:21]MH_SAM_APDU [21:37:21]CAPDU: 80 11 00 00 [21:37:21]Write to MH i2c: E2 08 00 05 03 80 11 00 00 00 00 00 00 82 [21:37:21]Write i2c OK [21:37:21]MH_I2C_Read... [21:37:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:21]Read from MH i2c: E2 [21:37:21]MH_I2C_Read... [21:37:21]Read from MH i2c: E2 17 00 [21:37:21]MH_I2C_Read... [21:37:21]Read from MH i2c: E2 17 00 05 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 D9 [21:37:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:37:21]wFMCommunicate OK [21:37:21]requested_item fd.num is exist - process it [21:37:21]SAM_PROTO_GetFieldsCounters [21:37:21]wFMCommunicate request_size=4 [21:37:21]MH_SAM_APDU [21:37:21]CAPDU: 80 13 00 00 [21:37:21]Write to MH i2c: E2 08 00 06 03 80 13 00 00 00 00 00 00 85 [21:37:21]Write i2c OK [21:37:21]MH_I2C_Read... [21:37:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:37:22]Read from MH i2c: E2 [21:37:22]MH_I2C_Read... [21:37:22]Read from MH i2c: E2 62 00 [21:37:22]MH_I2C_Read... [21:37:22]Read from MH i2c: E2 62 00 06 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CE 23 00 00 0E 04 04 00 D8 00 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 04 [21:37:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CE 23 00 00 0E 04 04 00 D8 00 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 [21:37:22]wFMCommunicate OK [21:37:22]SAM_PROTO_GetFieldsCounters done [21:37:22]requested_item shift.num is exist - process it [21:37:22]requested_item shift.opened is exist - process it [21:37:22]req_shift_opened [21:37:22]FM_GetShiftState [21:37:22]SAM_PROTO_GetShiftState [21:37:22]wFMCommunicate request_size=4 [21:37:22]MH_SAM_APDU [21:37:22]CAPDU: 80 13 01 00 [21:37:22]Write to MH i2c: E2 08 00 07 03 80 13 01 00 00 00 00 00 87 [21:37:22]Write i2c OK [21:37:22]MH_I2C_Read... [21:37:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:22]Read from MH i2c: E2 [21:37:22]MH_I2C_Read... [21:37:22]Read from MH i2c: E2 0E 00 [21:37:22]MH_I2C_Read... [21:37:22]Read from MH i2c: E2 0E 00 07 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 64 [21:37:22]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:37:22]wFMCommunicate OK [21:37:22]SAM_PROTO_GetShiftState done [21:37:22]FM_GetShiftState done [21:37:22]req_shift_opened done [21:37:22]requested_item shift.open_date is exist - process it [21:37:22]req_shift_open_date [21:37:22]req_shift_open_date done [21:37:22]produce_requested_data done [21:37:22]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9166,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [21:37:22]process_action_free close_receipt [21:37:22]json_value_free [21:37:22]json_value_free done [21:37:22]process_json_proto returns [21:37:22]Send response to host [21:37:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9166,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [21:37:22]free response buf [21:37:22]execute_script done [21:37:22]execute_script returns [21:37:22]free content buf [21:37:22]Sock 7.Close socket [21:37:22]Sock 7.Thread stoped [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:36]OFD Sender: No OFD packet to send [21:44:41]OFD Sender: No OFD packet to send [21:44:46]OFD Sender: No OFD packet to send [21:44:51]OFD Sender: No OFD packet to send [21:44:56]OFD Sender: No OFD packet to send [21:45:01]OFD Sender: No OFD packet to send [21:45:06]OFD Sender: No OFD packet to send [21:45:11]OFD Sender: No OFD packet to send [21:45:16]OFD Sender: No OFD packet to send [21:45:21]OFD Sender: No OFD packet to send [21:45:26]OFD Sender: No OFD packet to send [21:45:31]OFD Sender: No OFD packet to send [21:45:36]OFD Sender: No OFD packet to send [21:45:41]OFD Sender: No OFD packet to send [21:45:46]OFD Sender: No OFD packet to send [21:45:51]OFD Sender: No OFD packet to send [21:45:56]OFD Sender: No OFD packet to send [21:46:01]OFD Sender: No OFD packet to send [21:46:06]OFD Sender: No OFD packet to send [21:46:11]OFD Sender: No OFD packet to send [21:46:16]OFD Sender: No OFD packet to send [21:46:21]OFD Sender: No OFD packet to send [21:46:26]OFD Sender: No OFD packet to send [21:46:31]OFD Sender: No OFD packet to send [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:31]OFD Sender: No OFD packet to send [21:47:36]OFD Sender: No OFD packet to send [21:47:41]OFD Sender: No OFD packet to send [21:47:46]OFD Sender: No OFD packet to send [21:47:51]OFD Sender: No OFD packet to send [21:47:56]OFD Sender: No OFD packet to send [21:48:01]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:01]OFD Sender: No OFD packet to send [21:49:06]OFD Sender: No OFD packet to send [21:49:11]OFD Sender: No OFD packet to send [21:49:16]OFD Sender: No OFD packet to send [21:49:21]OFD Sender: No OFD packet to send [21:49:26]OFD Sender: No OFD packet to send [21:49:31]OFD Sender: No OFD packet to send [21:49:36]OFD Sender: No OFD packet to send [21:49:41]OFD Sender: No OFD packet to send [21:49:46]OFD Sender: No OFD packet to send [21:49:51]OFD Sender: No OFD packet to send [21:49:56]OFD Sender: No OFD packet to send [21:50:01]OFD Sender: No OFD packet to send [21:50:06]OFD Sender: No OFD packet to send [21:50:11]OFD Sender: No OFD packet to send [21:50:16]OFD Sender: No OFD packet to send [21:50:21]OFD Sender: No OFD packet to send [21:50:26]OFD Sender: No OFD packet to send [21:50:31]OFD Sender: No OFD packet to send [21:50:36]OFD Sender: No OFD packet to send [21:50:41]OFD Sender: No OFD packet to send [21:50:46]OFD Sender: No OFD packet to send [21:50:51]OFD Sender: No OFD packet to send [21:50:56]OFD Sender: No OFD packet to send [21:51:01]OFD Sender: No OFD packet to send [21:51:06]OFD Sender: No OFD packet to send [21:51:11]OFD Sender: No OFD packet to send [21:51:16]OFD Sender: No OFD packet to send [21:51:21]OFD Sender: No OFD packet to send [21:51:26]OFD Sender: No OFD packet to send [21:51:31]OFD Sender: No OFD packet to send [21:51:36]OFD Sender: No OFD packet to send [21:51:41]OFD Sender: No OFD packet to send [21:51:46]OFD Sender: No OFD packet to send [21:51:51]OFD Sender: No OFD packet to send [21:51:56]OFD Sender: No OFD packet to send [21:52:01]OFD Sender: No OFD packet to send [21:52:06]OFD Sender: No OFD packet to send [21:52:11]OFD Sender: No OFD packet to send [21:52:16]OFD Sender: No OFD packet to send [21:52:21]OFD Sender: No OFD packet to send [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:53]accept exits with 10 [21:52:53]New connection [21:52:53]New thread 3066928484 created [21:52:53]Thread 3066785124 joined [21:52:53]Waiting for new connection... [21:52:53] Sock 10.Parse request [21:52:53]Sock 10.Check first char [21:52:53]Sock 10.First char is OK [21:52:53]request: POST /json_proto HTTP/1.0 [21:52:53]Method: POST [21:52:53]URL: /json_proto [21:52:53]Method is POST - this is cgi request [21:52:53]url: /json_proto [21:52:53]query_string will be loaded in cgi processing [21:52:53]execute_cgi json_proto POST (null) [21:52:53]execute_cgi path=json_proto method=POST [21:52:53]POST find Content-Length [21:52:53]Host: 172.17.55.134:8080 [21:52:53]Content-Length: 900 [21:52:53]Content-Type: application/json [21:52:53] [21:52:53]POST finish read [21:52:53]Found Content-Length = 900 [21:52:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18154", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:53]execute_script... [21:52:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18154", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 207.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:53]POST & json_proto [21:52:53]process_json_proto [21:52:53]json parsed OK: [21:52:53]protocol is kg_v1.0 [21:52:53]action value=close_receipt [21:52:53]process_action close_receipt [21:52:53]cmd_close_receipt [21:52:53]MH_GetDate [21:52:53]Write to MH i2c: F0 00 00 08 03 FA [21:52:53]Write i2c OK [21:52:53]MH_I2C_Read... [21:52:53]Read from MH i2c: F0 [21:52:53]MH_I2C_Read... [21:52:53]Read from MH i2c: F0 09 00 [21:52:53]MH_I2C_Read... [21:52:53]Read from MH i2c: F0 09 00 08 03 00 36 10 C5 66 13 35 D9 65 FA [21:52:53]GetLastDocTimeStamp 1724189839 [21:52:53]current date 1724190774 [21:52:53]FM_GetShiftState [21:52:53]SAM_PROTO_GetShiftState [21:52:53]wFMCommunicate request_size=4 [21:52:53]MH_SAM_APDU [21:52:53]CAPDU: 80 13 01 00 [21:52:53]Write to MH i2c: E2 08 00 09 03 80 13 01 00 00 00 00 00 89 [21:52:53]Write i2c OK [21:52:53]MH_I2C_Read... [21:52:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:53]Read from MH i2c: E2 [21:52:53]MH_I2C_Read... [21:52:53]Read from MH i2c: E2 0E 00 [21:52:53]MH_I2C_Read... [21:52:53]Read from MH i2c: E2 0E 00 09 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 66 [21:52:53]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:52:53]wFMCommunicate OK [21:52:53]SAM_PROTO_GetShiftState done [21:52:53]FM_GetShiftState done [21:52:53]opened in 1724113861 [21:52:53]opened+sec_in_day 1724200261 [21:52:53]quantity*price = 14000 [21:52:53]sum+1 = 14001 [21:52:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 207.00 НСП 1% : 1.83 НДС 12% : 21.98 Наличными: 207.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 47 20.08.2024 21:52 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9167 ФПД: 247689656385496 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T215255&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9167&fm=247689656385496&tin=02508201610067®Number=0000000000108878&sum=20700 0 [21:52:54]StoreToDocumentArchive [21:52:54]shift 216 fd 9167 [21:52:54]save to /storage/0216/doc_00009167 [21:52:54]save last doc name /storage/0216/doc_00009167 to /storage/kkm_last_doc_name [21:52:54]save OK [21:52:54]Clear old archive folders... [21:52:54]ProcessDocumentItem done err = 0, tmpTLVsize=389 [21:52:54]tlvbuf is 00533030 [21:52:54]SAM_PROTO_ClearQueue [21:52:54]wFMCommunicate request_size=4 [21:52:54]MH_SAM_APDU [21:52:54]CAPDU: 80 09 00 00 [21:52:54]Write to MH i2c: E2 08 00 16 03 80 09 00 00 00 00 00 00 8B [21:52:54]Write i2c OK [21:52:54]MH_I2C_Read... [21:52:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:52:54]Read from MH i2c: E2 [21:52:54]MH_I2C_Read... [21:52:54]Read from MH i2c: E2 03 00 [21:52:54]MH_I2C_Read... [21:52:54]Read from MH i2c: E2 03 00 16 03 00 90 00 8D [21:52:54]RAPDU: 90 00 [21:52:54]wFMCommunicate OK [21:52:54]SAM_PROTO_ClearQueue done [21:52:54]KKMCreateOFDPacket [21:52:54]OFDProtocolAddRootSTLVToBuf [21:52:54]FM_MakeSignedData [21:52:54]FM_MakeSignedData [21:52:54]SAM_PROTO_SignData [21:52:54]wFMCommunicate request_size=4 [21:52:54]MH_SAM_APDU [21:52:54]CAPDU: 80 0D 01 02 [21:52:54]Write to MH i2c: E2 08 00 17 03 80 0D 01 02 00 00 00 00 93 [21:52:54]Write i2c OK [21:52:54]MH_I2C_Read... [21:52:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:52:54]Read from MH i2c: E2 [21:52:54]MH_I2C_Read... [21:52:54]Read from MH i2c: E2 03 00 [21:52:54]MH_I2C_Read... [21:52:54]Read from MH i2c: E2 03 00 17 03 00 90 00 8E [21:52:54]RAPDU: 90 00 [21:52:54]wFMCommunicate OK [21:52:54]wFMCommunicate request_size=255 [21:52:54]MH_SAM_APDU [21:52:54]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [21:52:54]Write to MH i2c: E2 02 01 18 03 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 AE [21:52:55]Write i2c OK [21:52:55]MH_I2C_Read... [21:52:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:55]Read from MH i2c: E2 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 03 00 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 03 00 18 03 00 90 00 8F [21:52:55]RAPDU: 90 00 [21:52:55]wFMCommunicate OK [21:52:55]wFMCommunicate request_size=148 [21:52:55]MH_SAM_APDU [21:52:55]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 37 10 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CF 23 00 00 35 04 06 00 E1 45 BD FB BF D8 [21:52:55]Write to MH i2c: E2 97 00 19 03 80 0D 02 02 8F 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 37 10 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CF 23 00 00 35 04 06 00 E1 45 BD FB BF D8 00 00 4E [21:52:55]Write i2c OK [21:52:55]MH_I2C_Read... [21:52:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:55]Read from MH i2c: E2 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 03 00 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 03 00 19 03 00 90 00 90 [21:52:55]RAPDU: 90 00 [21:52:55]wFMCommunicate OK [21:52:55]wFMCommunicate request_size=4 [21:52:55]MH_SAM_APDU [21:52:55]CAPDU: 80 0D 03 02 [21:52:55]Write to MH i2c: E2 08 00 1A 03 80 0D 03 02 00 00 00 00 98 [21:52:55]Write i2c OK [21:52:55]MH_I2C_Read... [21:52:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:52:55]Read from MH i2c: E2 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 0B 00 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 0B 00 1A 03 00 F3 E3 CE FB FD 10 83 C8 90 00 90 [21:52:55]RAPDU: F3 E3 CE FB FD 10 83 C8 90 00 [21:52:55]wFMCommunicate OK [21:52:55]SAM_PROTO_SignData done [21:52:55]FM_MakeSignedData done [21:52:55]CreateOFDProtocolMessage [21:52:55]wFMCommunicate request_size=4 [21:52:55]MH_SAM_APDU [21:52:55]CAPDU: 80 11 00 00 [21:52:55]Write to MH i2c: E2 08 00 1B 03 80 11 00 00 00 00 00 00 98 [21:52:55]Write i2c OK [21:52:55]MH_I2C_Read... [21:52:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:55]Read from MH i2c: E2 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 17 00 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: E2 17 00 1B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 EF [21:52:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:52:55]wFMCommunicate OK [21:52:55]CreateOFDProtocolMessage done [21:52:55]OFDSenderStorePacket 9167 [21:52:55]StoreOFDPacket docnum=9167 [21:52:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 99 01 00 00 6F 94 91 01 5B B3 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 37 10 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CF 23 00 00 35 04 06 00 E1 45 BD FB BF D8 F3 E3 CE FB FD 10 83 C8 [21:52:55]CheckFolder [21:52:55]dirname=/storage/ofd_packets [21:52:55]CheckFolder done [21:52:55]ProducePacketName [21:52:55]name=ofd_packets/00009167 [21:52:55]NVStorageSaveData ofd_packets/00009167 [21:52:55]File name is /storage/ofd_packets/00009167 [21:52:55]Write 439 bytes [21:52:55]NVStorageSaveData done [21:52:55]OFDSenderStorePacket done [21:52:55]KKMCreateOFDPacket done [21:52:55]NVStorageSaveData kkm_last_timestamp [21:52:55]File name is /storage/kkm_last_timestamp [21:52:55]Write 4 bytes [21:52:55]NVStorageSaveData done [21:52:55]ExternCall_PrintAddStr [21:52:55]wPrintStart [21:52:55]Write to MH i2c: 01 00 00 1C 03 1F [21:52:55]Write i2c OK [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: 01 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: 01 07 00 [21:52:55]MH_I2C_Read... [21:52:55]Read from MH i2c: 01 07 00 1C 03 00 00 00 00 00 FF 0F 34 [21:52:55]RasterBufferAndPrint [21:52:55]line Счет N : (3)18154 [21:52:55]line ИНН: 02508201610067 [21:52:55]line Контрольно-Кассовый Чек [21:52:55]line ПРОДАЖА [21:52:55]line Товар: 48743587 [21:52:55]line Сигареты Winston XStyle Silver [21:52:55]line 1.000 * 140.00 [21:52:55]line = 140.00 [21:52:55]line НДС 12% НСП 1% [21:52:55]line > о реализуемом товаре [21:52:55]line Товар: 6931280300549 [21:52:55]line Зажигалка Cricket ПН пьезо [21:52:55]line 1.000 * 67.00 [21:52:55]line = 67.00 [21:52:55]line НДС 12% НСП 1% [21:52:55]line > о реализуемом товаре [21:52:55]line ИТОГО: 207.00 [21:52:55]line НСП 1% : 1.83 [21:52:55]line НДС 12% : 21.98 [21:52:55]line Наличными: 207.00 [21:52:55]line Безнал.: 0.00 [21:52:55]line Место: АЗС № 94 [21:52:55]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [21:52:55]line СНО: Общий режим [21:52:55]line Чек 47 20.08.2024 21:52 [21:52:55]line Смена: 216 ФФД: 1.0 [21:52:55]line ЗНМ: 0300000128 [21:52:55]line РНМ: 0000000000108878 [21:52:55]line Версия ККМ: 001 [21:52:55]line ФМ: 0000000000965619 [21:52:55]line ФД: 9167 [21:52:55]line ФПД: 247689656385496 [21:52:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T215255&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9167&fm=247689656385496&tin=02508201610067®Number=0000000000108878&sum=20700 [21:52:55]line 0 [21:52:55]OFD Sender: Processing packet 9167 [packets to send 4, broken 3] [21:52:55]ProducePacketName [21:52:55]name=ofd_packets/00009167 [21:52:55]OFD Sender: To server: pG, [21:52:55]CommunicateWithHost lk.salyk.kg:30040 [21:52:55]ConnectInit lk.salyk.kg [21:52:55]written 0, free lines is 4095 [21:52:55]Connected sock=9 [21:52: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 36 31 39 99 01 00 00 6F 94 91 01 5B B3 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 96 08 00 00 00 00 07 04 06 00 DC 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 37 10 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CF 23 00 00 35 04 06 00 E1 45 BD FB BF D8 F3 E3 CE FB FD 10 83 C8 [21:52:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 1F 3C 47 00 27 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 CF 23 00 00 F4 03 04 00 01 B8 C4 66 B6 04 01 00 00 FB 18 19 C1 AD 83 AA 94 [21:52:56]CommunicateWithHost err = 0 [21:52:56]CheckOFDResponse [21:52:56]1017 (14) - 77093643461234 [21:52:56]1041 (16) - 0000000000965619 [21:52:56]1040 (4) - 9167 [21:52:56]1012 (4) - 20.08.2024 15:36 [21:52:56]1206 (1) - 0 [21:52:56]OFD Sender: Remove packet 9167 [21:52:56]ProducePacketName [21:52:56]name=ofd_packets/00009167 [21:52:56]NVStorageDeleteData [21:52:56]Write to MH i2c: 01 00 00 4A 03 4D [21:52:56]Write i2c OK [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: 01 [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: 01 07 00 [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: 01 07 00 4A 03 00 00 00 00 00 99 0C F9 [21:52:56]RasterBufferAndPrint [21:52:56]line [21:52:56]line [21:52:56]line [21:52:56]line [21:52:56]line [21:52:56]written 0, free lines is 3231 [21:52:56]MH_Cut [21:52:56]Write to MH i2c: D1 01 00 51 03 01 26 [21:52:56]Write i2c OK [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: D1 [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: D1 01 00 [21:52:56]MH_I2C_Read... [21:52:56]Read from MH i2c: D1 01 00 51 03 00 25 [21:52:56]Write to MH i2c: 01 00 00 52 03 55 [21:52:56]Write i2c OK [21:52:56]MH_I2C_Read... [21:52:56]OFD Sender: No OFD packet to send [21:52:57]*** Cut start [21:52:57]*** Partial cut [21:52:57]*** CUTSNS_PIN = 1 [21:52:57]*** CUTSNS_PIN = 0 [21:52:57]*** Brake cut motor [21:52:57]Read from MH i2c: 01 [21:52:57]MH_I2C_Read... [21:52:57]*** Stop cut motor [21:52:57]*** Cut end [21:52:57]Read from MH i2c: 01 07 00 [21:52:57]MH_I2C_Read... [21:52:57]Read from MH i2c: 01 07 00 52 03 00 00 00 00 00 FF 0F 6A [21:52:57]process_action close_receipt done [21:52:57]requested_data is exist [21:52:57]produce_requested_data [21:52:57]requested_item fm.sn is exist - process it [21:52:57]wFMCommunicate request_size=4 [21:52:57]MH_SAM_APDU [21:52:57]CAPDU: 80 11 00 00 [21:52:57]Write to MH i2c: E2 08 00 53 03 80 11 00 00 00 00 00 00 D0 [21:52:57]Write i2c OK [21:52:57]MH_I2C_Read... [21:52:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:57]Read from MH i2c: E2 [21:52:57]MH_I2C_Read... [21:52:57]Read from MH i2c: E2 17 00 [21:52:57]MH_I2C_Read... [21:52:57]Read from MH i2c: E2 17 00 53 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 27 [21:52:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [21:52:57]wFMCommunicate OK [21:52:57]requested_item fd.num is exist - process it [21:52:57]SAM_PROTO_GetFieldsCounters [21:52:57]wFMCommunicate request_size=4 [21:52:57]MH_SAM_APDU [21:52:57]CAPDU: 80 13 00 00 [21:52:57]Write to MH i2c: E2 08 00 54 03 80 13 00 00 00 00 00 00 D3 [21:52:57]Write i2c OK [21:52:57]MH_I2C_Read... [21:52:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:52:58]Read from MH i2c: E2 [21:52:58]MH_I2C_Read... [21:52:58]Read from MH i2c: E2 62 00 [21:52:58]MH_I2C_Read... [21:52:58]Read from MH i2c: E2 62 00 54 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CF 23 00 00 0E 04 04 00 D8 00 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 56 [21:52:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 CF 23 00 00 0E 04 04 00 D8 00 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 [21:52:58]wFMCommunicate OK [21:52:58]SAM_PROTO_GetFieldsCounters done [21:52:58]requested_item shift.num is exist - process it [21:52:58]requested_item shift.opened is exist - process it [21:52:58]req_shift_opened [21:52:58]FM_GetShiftState [21:52:58]SAM_PROTO_GetShiftState [21:52:58]wFMCommunicate request_size=4 [21:52:58]MH_SAM_APDU [21:52:58]CAPDU: 80 13 01 00 [21:52:58]Write to MH i2c: E2 08 00 55 03 80 13 01 00 00 00 00 00 D5 [21:52:58]Write i2c OK [21:52:58]MH_I2C_Read... [21:52:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:58]Read from MH i2c: E2 [21:52:58]MH_I2C_Read... [21:52:58]Read from MH i2c: E2 0E 00 [21:52:58]MH_I2C_Read... [21:52:58]Read from MH i2c: E2 0E 00 55 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 B2 [21:52:58]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [21:52:58]wFMCommunicate OK [21:52:58]SAM_PROTO_GetShiftState done [21:52:58]FM_GetShiftState done [21:52:58]req_shift_opened done [21:52:58]requested_item shift.open_date is exist - process it [21:52:58]req_shift_open_date [21:52:58]req_shift_open_date done [21:52:58]produce_requested_data done [21:52:58]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9167,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [21:52:58]process_action_free close_receipt [21:52:58]json_value_free [21:52:58]json_value_free done [21:52:58]process_json_proto returns [21:52:58]Send response to host [21:52:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9167,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [21:52:58]free response buf [21:52:58]execute_script done [21:52:58]execute_script returns [21:52:58]free content buf [21:52:58]Sock 10.Close socket [21:52:58]Sock 10.Thread stoped [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09: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:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21: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:38]accept exits with 7 [22:23:38]New connection [22:23:38]New thread 3066785124 created [22:23:38]Thread 3066928484 joined [22:23:38]Waiting for new connection... [22:23:38] Sock 7.Parse request [22:23:38]Sock 7.Check first char [22:23:38]Sock 7.First char is OK [22:23:38]request: POST /json_proto HTTP/1.0 [22:23:38]Method: POST [22:23:38]URL: /json_proto [22:23:38]Method is POST - this is cgi request [22:23:38]url: /json_proto [22:23:38]query_string will be loaded in cgi processing [22:23:38]execute_cgi json_proto POST (null) [22:23:38]execute_cgi path=json_proto method=POST [22:23:38]POST find Content-Length [22:23:38]Host: 172.17.55.134:8080 [22:23:38]Content-Length: 621 [22:23:38]Content-Type: application/json [22:23:38] [22:23:38]POST finish read [22:23:38]Found Content-Length = 621 [22:23:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18155", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "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" ] } } [22:23:38]execute_script... [22:23:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18155", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "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" ] } } [22:23:38]POST & json_proto [22:23:38]process_json_proto [22:23:38]json parsed OK: [22:23:38]protocol is kg_v1.0 [22:23:38]action value=close_receipt [22:23:38]process_action close_receipt [22:23:38]cmd_close_receipt [22:23:38]MH_GetDate [22:23:38]Write to MH i2c: F0 00 00 56 03 48 [22:23:38]Write i2c OK [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: F0 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: F0 09 00 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: F0 09 00 56 03 00 6B 17 C5 66 13 35 D9 65 84 [22:23:38]GetLastDocTimeStamp 1724190775 [22:23:38]current date 1724192619 [22:23:38]FM_GetShiftState [22:23:38]SAM_PROTO_GetShiftState [22:23:38]wFMCommunicate request_size=4 [22:23:38]MH_SAM_APDU [22:23:38]CAPDU: 80 13 01 00 [22:23:38]Write to MH i2c: E2 08 00 57 03 80 13 01 00 00 00 00 00 D7 [22:23:38]Write i2c OK [22:23:38]MH_I2C_Read... [22:23:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:38]Read from MH i2c: E2 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 0E 00 [22:23:38]MH_I2C_Read... [22:23:38]Read from MH i2c: E2 0E 00 57 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 B4 [22:23:38]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:23:38]wFMCommunicate OK [22:23:38]SAM_PROTO_GetShiftState done [22:23:38]FM_GetShiftState done [22:23:38]opened in 1724113861 [22:23:38]opened+sec_in_day 1724200261 [22:23:38]quantity*price = 15000 [22:23:38]sum+1 = 15001 [22:23:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 48 20.08.2024 22:23 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9168 ФПД: 219196868186063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T222339&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9168&fm=219196868186063&tin=02508201610067®Number=0000000000108878&sum=15000 0 [22:23:39]StoreToDocumentArchive [22:23:39]shift 216 fd 9168 [22:23:39]save to /storage/0216/doc_00009168 [22:23:39]save last doc name /storage/0216/doc_00009168 to /storage/kkm_last_doc_name [22:23:39]save OK [22:23:39]Clear old archive folders... [22:23:39]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:23:39]tlvbuf is 00524020 [22:23:39]SAM_PROTO_ClearQueue [22:23:39]wFMCommunicate request_size=4 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 09 00 00 [22:23:39]Write to MH i2c: E2 08 00 64 03 80 09 00 00 00 00 00 00 D9 [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [22:23:39]RAPDU: 90 00 [22:23:39]wFMCommunicate OK [22:23:39]SAM_PROTO_ClearQueue done [22:23:39]KKMCreateOFDPacket [22:23:39]OFDProtocolAddRootSTLVToBuf [22:23:39]FM_MakeSignedData [22:23:39]FM_MakeSignedData [22:23:39]SAM_PROTO_SignData [22:23:39]wFMCommunicate request_size=4 [22:23:39]MH_SAM_APDU [22:23:39]CAPDU: 80 0D 01 02 [22:23:39]Write to MH i2c: E2 08 00 65 03 80 0D 01 02 00 00 00 00 E1 [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 65 03 00 90 00 DC [22:23:39]RAPDU: 90 00 [22:23:39]wFMCommunicate OK [22:23:39]wFMCommunicate request_size=255 [22:23:39]MH_SAM_APDU [22:23:39]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 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 30 00 00 00 F4 03 04 00 6B 17 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 [22:23:39]Write to MH i2c: E2 02 01 66 03 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 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 30 00 00 00 F4 03 04 00 6B 17 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 00 00 46 [22:23:39]Write i2c OK [22:23:39]MH_I2C_Read... [22:23:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:39]Read from MH i2c: E2 [22:23:39]MH_I2C_Read... [22:23:39]Read from MH i2c: E2 03 00 [22:23:39]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [22:23:40]RAPDU: 90 00 [22:23:40]wFMCommunicate OK [22:23:40]wFMCommunicate request_size=33 [22:23:40]MH_SAM_APDU [22:23:40]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D0 23 00 00 35 04 06 00 C7 5B BF 76 CF CF [22:23:40]Write to MH i2c: E2 24 00 67 03 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D0 23 00 00 35 04 06 00 C7 5B BF 76 CF CF 00 00 5F [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:40]Read from MH i2c: E2 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 03 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 03 00 67 03 00 90 00 DE [22:23:40]RAPDU: 90 00 [22:23:40]wFMCommunicate OK [22:23:40]wFMCommunicate request_size=4 [22:23:40]MH_SAM_APDU [22:23:40]CAPDU: 80 0D 03 02 [22:23:40]Write to MH i2c: E2 08 00 68 03 80 0D 03 02 00 00 00 00 E6 [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:40]Read from MH i2c: E2 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 0B 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 0B 00 68 03 00 41 41 DB EE 03 57 08 54 90 00 E8 [22:23:40]RAPDU: 41 41 DB EE 03 57 08 54 90 00 [22:23:40]wFMCommunicate OK [22:23:40]SAM_PROTO_SignData done [22:23:40]FM_MakeSignedData done [22:23:40]CreateOFDProtocolMessage [22:23:40]wFMCommunicate request_size=4 [22:23:40]MH_SAM_APDU [22:23:40]CAPDU: 80 11 00 00 [22:23:40]Write to MH i2c: E2 08 00 69 03 80 11 00 00 00 00 00 00 E6 [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:40]Read from MH i2c: E2 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 17 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: E2 17 00 69 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3D [22:23:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:23:40]wFMCommunicate OK [22:23:40]CreateOFDProtocolMessage done [22:23:40]OFDSenderStorePacket 9168 [22:23:40]StoreOFDPacket docnum=9168 [22:23:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 51 57 1E 01 EA C5 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 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 30 00 00 00 F4 03 04 00 6B 17 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D0 23 00 00 35 04 06 00 C7 5B BF 76 CF CF 41 41 DB EE 03 57 08 54 [22:23:40]CheckFolder [22:23:40]dirname=/storage/ofd_packets [22:23:40]CheckFolder done [22:23:40]ProducePacketName [22:23:40]name=ofd_packets/00009168 [22:23:40]NVStorageSaveData ofd_packets/00009168 [22:23:40]File name is /storage/ofd_packets/00009168 [22:23:40]Write 324 bytes [22:23:40]NVStorageSaveData done [22:23:40]OFDSenderStorePacket done [22:23:40]KKMCreateOFDPacket done [22:23:40]NVStorageSaveData kkm_last_timestamp [22:23:40]File name is /storage/kkm_last_timestamp [22:23:40]Write 4 bytes [22:23:40]NVStorageSaveData done [22:23:40]ExternCall_PrintAddStr [22:23:40]wPrintStart [22:23:40]Write to MH i2c: 01 00 00 6A 03 6D [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 6A 03 00 00 00 00 00 FF 0F 82 [22:23:40]RasterBufferAndPrint [22:23:40]line Счет N : (3)18155 [22:23:40]line ИНН: 02508201610067 [22:23:40]line Контрольно-Кассовый Чек [22:23:40]line ПРОДАЖА [22:23:40]line Товар: 4640030091669 [22:23:40]line Сигареты ESSE Exchange S [22:23:40]line 1.000 * 150.00 [22:23:40]line = 150.00 [22:23:40]line НДС 12% НСП 1% [22:23:40]line > о реализуемом товаре [22:23:40]line ИТОГО: 150.00 [22:23:40]line НСП 1% : 1.33 [22:23:40]line НДС 12% : 15.93 [22:23:40]line Наличными: 150.00 [22:23:40]line Безнал.: 0.00 [22:23:40]line Место: АЗС № 94 [22:23:40]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [22:23:40]line СНО: Общий режим [22:23:40]line Чек 48 20.08.2024 22:23 [22:23:40]line Смена: 216 ФФД: 1.0 [22:23:40]line ЗНМ: 0300000128 [22:23:40]line РНМ: 0000000000108878 [22:23:40]line Версия ККМ: 001 [22:23:40]line ФМ: 0000000000965619 [22:23:40]line ФД: 9168 [22:23:40]line ФПД: 219196868186063 [22:23:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T222339&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9168&fm=219196868186063&tin=02508201610067®Number=0000000000108878&sum=15000 [22:23:40]line 0 [22:23:40]OFD Sender: Processing packet 9168 [packets to send 4, broken 3] [22:23:40]ProducePacketName [22:23:40]name=ofd_packets/00009168 [22:23:40]OFD Sender: To server: pG, [22:23:40]CommunicateWithHost lk.salyk.kg:30040 [22:23:40]ConnectInit lk.salyk.kg [22:23:40]written 0, free lines is 4095 [22:23:40]Connected sock=9 [22:23:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 26 01 00 00 51 57 1E 01 EA C5 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 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 30 00 00 00 F4 03 04 00 6B 17 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D0 23 00 00 35 04 06 00 C7 5B BF 76 CF CF 41 41 DB EE 03 57 08 54 [22:23:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 5C 8C 47 00 F8 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D0 23 00 00 F4 03 04 00 35 BF C4 66 B6 04 01 00 00 71 CB 10 43 DE A1 6E 8A [22:23:40]CommunicateWithHost err = 0 [22:23:40]CheckOFDResponse [22:23:40]1017 (14) - 77093643461234 [22:23:40]1041 (16) - 0000000000965619 [22:23:40]1040 (4) - 9168 [22:23:40]1012 (4) - 20.08.2024 16:07 [22:23:40]1206 (1) - 0 [22:23:40]OFD Sender: Remove packet 9168 [22:23:40]ProducePacketName [22:23:40]name=ofd_packets/00009168 [22:23:40]NVStorageDeleteData [22:23:40]Write to MH i2c: 01 00 00 91 03 94 [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: 01 07 00 91 03 00 00 00 00 00 F2 0C 99 [22:23:40]RasterBufferAndPrint [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]line [22:23:40]written 0, free lines is 3320 [22:23:40]MH_Cut [22:23:40]Write to MH i2c: D1 01 00 98 03 01 6D [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 01 00 [22:23:40]MH_I2C_Read... [22:23:40]Read from MH i2c: D1 01 00 98 03 00 6C [22:23:40]Write to MH i2c: 01 00 00 99 03 9C [22:23:40]Write i2c OK [22:23:40]MH_I2C_Read... [22:23:41]OFD Sender: No OFD packet to send [22:23:41]*** Cut start [22:23:41]*** Partial cut [22:23:41]*** CUTSNS_PIN = 1 [22:23:41]*** CUTSNS_PIN = 0 [22:23:41]*** Brake cut motor [22:23:42]Read from MH i2c: 01 [22:23:42]MH_I2C_Read... [22:23:42]*** Stop cut motor [22:23:42]*** Cut end [22:23:42]Read from MH i2c: 01 07 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: 01 07 00 99 03 00 00 00 00 00 FF 0F B1 [22:23:42]process_action close_receipt done [22:23:42]requested_data is exist [22:23:42]produce_requested_data [22:23:42]requested_item fm.sn is exist - process it [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 11 00 00 [22:23:42]Write to MH i2c: E2 08 00 9A 03 80 11 00 00 00 00 00 00 17 [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 17 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 17 00 9A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 6E [22:23:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:23:42]wFMCommunicate OK [22:23:42]requested_item fd.num is exist - process it [22:23:42]SAM_PROTO_GetFieldsCounters [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 13 00 00 [22:23:42]Write to MH i2c: E2 08 00 9B 03 80 13 00 00 00 00 00 00 1A [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 62 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 62 00 9B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D0 23 00 00 0E 04 04 00 D8 00 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 A1 [22:23:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D0 23 00 00 0E 04 04 00 D8 00 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 [22:23:42]wFMCommunicate OK [22:23:42]SAM_PROTO_GetFieldsCounters done [22:23:42]requested_item shift.num is exist - process it [22:23:42]requested_item shift.opened is exist - process it [22:23:42]req_shift_opened [22:23:42]FM_GetShiftState [22:23:42]SAM_PROTO_GetShiftState [22:23:42]wFMCommunicate request_size=4 [22:23:42]MH_SAM_APDU [22:23:42]CAPDU: 80 13 01 00 [22:23:42]Write to MH i2c: E2 08 00 9C 03 80 13 01 00 00 00 00 00 1C [22:23:42]Write i2c OK [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 [22:23:42]MH_I2C_Read... [22:23:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:42]Read from MH i2c: E2 0E 00 [22:23:42]MH_I2C_Read... [22:23:42]Read from MH i2c: E2 0E 00 9C 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 F9 [22:23:42]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:23:42]wFMCommunicate OK [22:23:42]SAM_PROTO_GetShiftState done [22:23:42]FM_GetShiftState done [22:23:42]req_shift_opened done [22:23:42]requested_item shift.open_date is exist - process it [22:23:42]req_shift_open_date [22:23:42]req_shift_open_date done [22:23:42]produce_requested_data done [22:23:42]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9168,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [22:23:42]process_action_free close_receipt [22:23:42]json_value_free [22:23:42]json_value_free done [22:23:42]process_json_proto returns [22:23:42]Send response to host [22:23:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9168,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [22:23:42]free response buf [22:23:42]execute_script done [22:23:42]execute_script returns [22:23:42]free content buf [22:23:42]Sock 7.Close socket [22:23:42]Sock 7.Thread stoped [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38: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:39:59]accept exits with 10 [22:39:59]New connection [22:39:59]New thread 3066928484 created [22:39:59]Thread 3066785124 joined [22:39:59]Waiting for new connection... [22:39:59] Sock 10.Parse request [22:39:59]Sock 10.Check first char [22:39:59]Sock 10.First char is OK [22:39:59]request: POST /json_proto HTTP/1.0 [22:39:59]Method: POST [22:39:59]URL: /json_proto [22:39:59]Method is POST - this is cgi request [22:39:59]url: /json_proto [22:39:59]query_string will be loaded in cgi processing [22:39:59]execute_cgi json_proto POST (null) [22:39:59]execute_cgi path=json_proto method=POST [22:39:59]POST find Content-Length [22:39:59]Host: 172.17.55.134:8080 [22:39:59]Content-Length: 1322 [22:39:59]Content-Type: application/json [22:39:59] [22:39:59]POST finish read [22:39:59]Found Content-Length = 1322 [22:39:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18156", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 212.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:59]execute_script... [22:39:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18156", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 212.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:59]POST & json_proto [22:39:59]process_json_proto [22:39:59]json parsed OK: [22:39:59]protocol is kg_v1.0 [22:39:59]action value=close_receipt [22:39:59]process_action close_receipt [22:39:59]cmd_close_receipt [22:39:59]MH_GetDate [22:39:59]Write to MH i2c: F0 00 00 9D 03 8F [22:39:59]Write i2c OK [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: F0 [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: F0 09 00 [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: F0 09 00 9D 03 00 41 1B C5 66 13 35 D9 65 A5 [22:39:59]GetLastDocTimeStamp 1724192619 [22:39:59]current date 1724193601 [22:39:59]FM_GetShiftState [22:39:59]SAM_PROTO_GetShiftState [22:39:59]wFMCommunicate request_size=4 [22:39:59]MH_SAM_APDU [22:39:59]CAPDU: 80 13 01 00 [22:39:59]Write to MH i2c: E2 08 00 9E 03 80 13 01 00 00 00 00 00 1E [22:39:59]Write i2c OK [22:39:59]MH_I2C_Read... [22:39:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:59]Read from MH i2c: E2 [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: E2 0E 00 [22:39:59]MH_I2C_Read... [22:39:59]Read from MH i2c: E2 0E 00 9E 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 FB [22:39:59]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:39:59]wFMCommunicate OK [22:39:59]SAM_PROTO_GetShiftState done [22:39:59]FM_GetShiftState done [22:39:59]opened in 1724113861 [22:39:59]opened+sec_in_day 1724200261 [22:39:59]quantity*price = 4200 [22:39:59]sum+1 = 4201 [22:39:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 40822426 Вода Бонаква 0,5л б/г 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400389 Семечки ДЖИНН 140г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 212.00 НСП 1% : 1.87 НДС 12% : 22.51 Наличными: 0.00 Безнал.: 212.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 49 20.08.2024 22:40 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965619 ФД: 9169 ФПД: 14565755687256 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T224001&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9169&fm=14565755687256&tin=02508201610067®Number=0000000000108878&sum=21200 0 [22:40:01]StoreToDocumentArchive [22:40:01]shift 216 fd 9169 [22:40:01]save to /storage/0216/doc_00009169 [22:40:01]save last doc name /storage/0216/doc_00009169 to /storage/kkm_last_doc_name [22:40:01]save OK [22:40:01]Clear old archive folders... [22:40:01]ProcessDocumentItem done err = 0, tmpTLVsize=474 [22:40:01]tlvbuf is 00522DF0 [22:40:01]SAM_PROTO_ClearQueue [22:40:01]wFMCommunicate request_size=4 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 09 00 00 [22:40:01]Write to MH i2c: E2 08 00 AB 03 80 09 00 00 00 00 00 00 20 [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:40:01]Read from MH i2c: E2 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 AB 03 00 90 00 22 [22:40:01]RAPDU: 90 00 [22:40:01]wFMCommunicate OK [22:40:01]SAM_PROTO_ClearQueue done [22:40:01]KKMCreateOFDPacket [22:40:01]OFDProtocolAddRootSTLVToBuf [22:40:01]FM_MakeSignedData [22:40:01]FM_MakeSignedData [22:40:01]SAM_PROTO_SignData [22:40:01]wFMCommunicate request_size=4 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 0D 01 02 [22:40:01]Write to MH i2c: E2 08 00 AC 03 80 0D 01 02 00 00 00 00 28 [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:40:01]Read from MH i2c: E2 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 AC 03 00 90 00 23 [22:40:01]RAPDU: 90 00 [22:40:01]wFMCommunicate OK [22:40:01]wFMCommunicate request_size=255 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 0D 02 02 FA 03 00 DA 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 [22:40:01]Write to MH i2c: E2 02 01 AD 03 80 0D 02 02 FA 00 03 00 DA 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 00 00 6F [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:40:01]Read from MH i2c: E2 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 AD 03 00 90 00 24 [22:40:01]RAPDU: 90 00 [22:40:01]wFMCommunicate OK [22:40:01]wFMCommunicate request_size=233 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 0D 02 02 E4 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 41 1B C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D1 23 00 00 35 04 06 00 0D 3F 5A B1 91 58 [22:40:01]Write to MH i2c: E2 EC 00 AE 03 80 0D 02 02 E4 00 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 41 1B C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D1 23 00 00 35 04 06 00 0D 3F 5A B1 91 58 00 00 18 [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:40:01]Read from MH i2c: E2 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 03 00 AE 03 00 90 00 25 [22:40:01]RAPDU: 90 00 [22:40:01]wFMCommunicate OK [22:40:01]wFMCommunicate request_size=4 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 0D 03 02 [22:40:01]Write to MH i2c: E2 08 00 AF 03 80 0D 03 02 00 00 00 00 2D [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:40:01]Read from MH i2c: E2 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 0B 00 [22:40:01]MH_I2C_Read... [22:40:01]Read from MH i2c: E2 0B 00 AF 03 00 02 F7 C3 97 17 74 4B 69 90 00 C0 [22:40:01]RAPDU: 02 F7 C3 97 17 74 4B 69 90 00 [22:40:01]wFMCommunicate OK [22:40:01]SAM_PROTO_SignData done [22:40:01]FM_MakeSignedData done [22:40:01]CreateOFDProtocolMessage [22:40:01]wFMCommunicate request_size=4 [22:40:01]MH_SAM_APDU [22:40:01]CAPDU: 80 11 00 00 [22:40:01]Write to MH i2c: E2 08 00 B0 03 80 11 00 00 00 00 00 00 2D [22:40:01]Write i2c OK [22:40:01]MH_I2C_Read... [22:40:02]Read from MH i2c: E2 [22:40:02]MH_I2C_Read... [22:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:40:02]Read from MH i2c: E2 17 00 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: E2 17 00 B0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 84 [22:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:40:02]wFMCommunicate OK [22:40:02]CreateOFDProtocolMessage done [22:40:02]OFDSenderStorePacket 9169 [22:40:02]StoreOFDPacket docnum=9169 [22:40:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 EE 01 00 00 BE 15 E6 01 3B 8D 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 41 1B C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D1 23 00 00 35 04 06 00 0D 3F 5A B1 91 58 02 F7 C3 97 17 74 4B 69 [22:40:02]CheckFolder [22:40:02]dirname=/storage/ofd_packets [22:40:02]CheckFolder done [22:40:02]ProducePacketName [22:40:02]name=ofd_packets/00009169 [22:40:02]NVStorageSaveData ofd_packets/00009169 [22:40:02]File name is /storage/ofd_packets/00009169 [22:40:02]Write 524 bytes [22:40:02]NVStorageSaveData done [22:40:02]OFDSenderStorePacket done [22:40:02]KKMCreateOFDPacket done [22:40:02]NVStorageSaveData kkm_last_timestamp [22:40:02]File name is /storage/kkm_last_timestamp [22:40:02]Write 4 bytes [22:40:02]NVStorageSaveData done [22:40:02]ExternCall_PrintAddStr [22:40:02]wPrintStart [22:40:02]Write to MH i2c: 01 00 00 B1 03 B4 [22:40:02]Write i2c OK [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 07 00 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 07 00 B1 03 00 00 00 00 00 FF 0F C9 [22:40:02]RasterBufferAndPrint [22:40:02]line Счет N : (3)18156 [22:40:02]line ИНН: 02508201610067 [22:40:02]line Контрольно-Кассовый Чек [22:40:02]line ПРОДАЖА [22:40:02]line Товар: 5449000066473 [22:40:02]line Вода Бонаква 1л [22:40:02]line 1.000 * 42.00 [22:40:02]line = 42.00 [22:40:02]line НДС 12% НСП 1% [22:40:02]line > о реализуемом товаре [22:40:02]line Товар: 40822426 [22:40:02]line Вода Бонаква 0,5л б/г [22:40:02]line 1.000 * 40.00 [22:40:02]line = 40.00 [22:40:02]line НДС 12% НСП 1% [22:40:02]line > о реализуемом товаре [22:40:02]line Товар: 4630007400389 [22:40:02]line Семечки ДЖИНН 140г [22:40:02]line 1.000 * 130.00 [22:40:02]line = 130.00 [22:40:02]line НДС 12% НСП 1% [22:40:02]line > о реализуемом товаре [22:40:02]line ИТОГО: 212.00 [22:40:02]line НСП 1% : 1.87 [22:40:02]line НДС 12% : 22.51 [22:40:02]line Наличными: 0.00 [22:40:02]line Безнал.: 212.00 [22:40:02]line Место: АЗС № 94 [22:40:02]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [22:40:02]line СНО: Общий режим [22:40:02]line Чек 49 20.08.2024 22:40 [22:40:02]line Смена: 216 ФФД: 1.0 [22:40:02]line ЗНМ: 0300000128 [22:40:02]line РНМ: 0000000000108878 [22:40:02]line Версия ККМ: 001 [22:40:02]line Платежная система: Бакай Банк [22:40:02]line ФМ: 0000000000965619 [22:40:02]line ФД: 9169 [22:40:02]line ФПД: 14565755687256 [22:40:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T224001&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9169&fm=14565755687256&tin=02508201610067®Number=0000000000108878&sum=21200 [22:40:02]line 0 [22:40:02]written 0, free lines is 4095 [22:40:02]OFD Sender: Processing packet 9169 [packets to send 4, broken 3] [22:40:02]ProducePacketName [22:40:02]name=ofd_packets/00009169 [22:40:02]OFD Sender: To server: pG, [22:40:02]CommunicateWithHost lk.salyk.kg:30040 [22:40:02]ConnectInit lk.salyk.kg [22:40:02]Connected sock=9 [22:40:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 EE 01 00 00 BE 15 E6 01 3B 8D 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 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 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 41 1B C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D1 23 00 00 35 04 06 00 0D 3F 5A B1 91 58 02 F7 C3 97 17 74 4B 69 [22:40:02]Write to MH i2c: 01 00 00 E6 03 E9 [22:40:02]Write i2c OK [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 07 00 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: 01 07 00 E6 03 00 00 00 00 00 23 0C 1F [22:40:02]RasterBufferAndPrint [22:40:02]line [22:40:02]line [22:40:02]line [22:40:02]line [22:40:02]line [22:40:02]written 0, free lines is 3112 [22:40:02]MH_Cut [22:40:02]Write to MH i2c: D1 01 00 ED 03 01 C2 [22:40:02]Write i2c OK [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: D1 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: D1 01 00 [22:40:02]MH_I2C_Read... [22:40:02]Read from MH i2c: D1 01 00 ED 03 00 C1 [22:40:02]Write to MH i2c: 01 00 00 EE 03 F1 [22:40:02]Write i2c OK [22:40:02]MH_I2C_Read... [22:40:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 5F 4A 47 00 04 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 36 31 39 10 04 04 00 D1 23 00 00 F4 03 04 00 0B C3 C4 66 B6 04 01 00 00 7A A6 A1 3B 33 33 38 88 [22:40:02]CommunicateWithHost err = 0 [22:40:02]CheckOFDResponse [22:40:02]1017 (14) - 77093643461234 [22:40:02]1041 (16) - 0000000000965619 [22:40:02]1040 (4) - 9169 [22:40:02]1012 (4) - 20.08.2024 16:23 [22:40:02]1206 (1) - 0 [22:40:02]OFD Sender: Remove packet 9169 [22:40:02]ProducePacketName [22:40:02]name=ofd_packets/00009169 [22:40:02]NVStorageDeleteData [22:40:03]OFD Sender: No OFD packet to send [22:40:03]*** Cut start [22:40:03]*** Partial cut [22:40:03]*** CUTSNS_PIN = 1 [22:40:03]*** CUTSNS_PIN = 0 [22:40:03]*** Brake cut motor [22:40:04]Read from MH i2c: 01 [22:40:04]MH_I2C_Read... [22:40:04]*** Stop cut motor [22:40:04]*** Cut end [22:40:04]Read from MH i2c: 01 07 00 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: 01 07 00 EE 03 00 00 00 00 00 FF 0F 06 [22:40:04]process_action close_receipt done [22:40:04]requested_data is exist [22:40:04]produce_requested_data [22:40:04]requested_item fm.sn is exist - process it [22:40:04]wFMCommunicate request_size=4 [22:40:04]MH_SAM_APDU [22:40:04]CAPDU: 80 11 00 00 [22:40:04]Write to MH i2c: E2 08 00 EF 03 80 11 00 00 00 00 00 00 6C [22:40:04]Write i2c OK [22:40:04]MH_I2C_Read... [22:40:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:40:04]Read from MH i2c: E2 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 17 00 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 17 00 EF 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 C3 [22:40:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:40:04]wFMCommunicate OK [22:40:04]requested_item fd.num is exist - process it [22:40:04]SAM_PROTO_GetFieldsCounters [22:40:04]wFMCommunicate request_size=4 [22:40:04]MH_SAM_APDU [22:40:04]CAPDU: 80 13 00 00 [22:40:04]Write to MH i2c: E2 08 00 F0 03 80 13 00 00 00 00 00 00 6F [22:40:04]Write i2c OK [22:40:04]MH_I2C_Read... [22:40:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:40:04]Read from MH i2c: E2 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 62 00 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 62 00 F0 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D1 23 00 00 0E 04 04 00 D8 00 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 FA [22:40:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D1 23 00 00 0E 04 04 00 D8 00 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 [22:40:04]wFMCommunicate OK [22:40:04]SAM_PROTO_GetFieldsCounters done [22:40:04]requested_item shift.num is exist - process it [22:40:04]requested_item shift.opened is exist - process it [22:40:04]req_shift_opened [22:40:04]FM_GetShiftState [22:40:04]SAM_PROTO_GetShiftState [22:40:04]wFMCommunicate request_size=4 [22:40:04]MH_SAM_APDU [22:40:04]CAPDU: 80 13 01 00 [22:40:04]Write to MH i2c: E2 08 00 F1 03 80 13 01 00 00 00 00 00 71 [22:40:04]Write i2c OK [22:40:04]MH_I2C_Read... [22:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:40:04]Read from MH i2c: E2 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 0E 00 [22:40:04]MH_I2C_Read... [22:40:04]Read from MH i2c: E2 0E 00 F1 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 4E [22:40:04]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:40:04]wFMCommunicate OK [22:40:04]SAM_PROTO_GetShiftState done [22:40:04]FM_GetShiftState done [22:40:04]req_shift_opened done [22:40:04]requested_item shift.open_date is exist - process it [22:40:04]req_shift_open_date [22:40:04]req_shift_open_date done [22:40:04]produce_requested_data done [22:40:04]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9169,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [22:40:04]process_action_free close_receipt [22:40:04]json_value_free [22:40:04]json_value_free done [22:40:04]process_json_proto returns [22:40:04]Send response to host [22:40:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9169,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [22:40:04]free response buf [22:40:04]execute_script done [22:40:04]execute_script returns [22:40:04]free content buf [22:40:04]Sock 10.Close socket [22:40:04]Sock 10.Thread stoped [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:14]accept exits with 7 [22:45:14]New connection [22:45:14]New thread 3066785124 created [22:45:14]Thread 3066928484 joined [22:45:14]Waiting for new connection... [22:45:14] Sock 7.Parse request [22:45:14]Sock 7.Check first char [22:45:14]Sock 7.First char is OK [22:45:14]request: POST /json_proto HTTP/1.0 [22:45:14]Method: POST [22:45:14]URL: /json_proto [22:45:14]Method is POST - this is cgi request [22:45:14]url: /json_proto [22:45:14]query_string will be loaded in cgi processing [22:45:14]execute_cgi json_proto POST (null) [22:45:14]execute_cgi path=json_proto method=POST [22:45:14]POST find Content-Length [22:45:14]Host: 172.17.55.134:8080 [22:45:14]Content-Length: 620 [22:45:14]Content-Type: application/json [22:45:14] [22:45:14]POST finish read [22:45:14]Found Content-Length = 620 [22:45:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18157", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:45:14]execute_script... [22:45: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)18157", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:45:14]POST & json_proto [22:45:14]process_json_proto [22:45:14]json parsed OK: [22:45:14]protocol is kg_v1.0 [22:45:14]action value=close_receipt [22:45:14]process_action close_receipt [22:45:14]cmd_close_receipt [22:45:14]MH_GetDate [22:45:14]Write to MH i2c: F0 00 00 F2 03 E4 [22:45:14]Write i2c OK [22:45:14]MH_I2C_Read... [22:45:14]Read from MH i2c: F0 [22:45:14]MH_I2C_Read... [22:45:14]Read from MH i2c: F0 09 00 [22:45:14]MH_I2C_Read... [22:45:14]Read from MH i2c: F0 09 00 F2 03 00 7B 1C C5 66 13 35 D9 65 35 [22:45:14]GetLastDocTimeStamp 1724193601 [22:45:14]current date 1724193915 [22:45:14]FM_GetShiftState [22:45:14]SAM_PROTO_GetShiftState [22:45:14]wFMCommunicate request_size=4 [22:45:14]MH_SAM_APDU [22:45:14]CAPDU: 80 13 01 00 [22:45:14]Write to MH i2c: E2 08 00 F3 03 80 13 01 00 00 00 00 00 73 [22:45:14]Write i2c OK [22:45:14]MH_I2C_Read... [22:45:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:45:14]Read from MH i2c: E2 [22:45:14]MH_I2C_Read... [22:45:14]Read from MH i2c: E2 0E 00 [22:45:14]MH_I2C_Read... [22:45:14]Read from MH i2c: E2 0E 00 F3 03 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 50 [22:45:14]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:45:14]wFMCommunicate OK [22:45:14]SAM_PROTO_GetShiftState done [22:45:14]FM_GetShiftState done [22:45:14]opened in 1724113861 [22:45:14]opened+sec_in_day 1724200261 [22:45:14]quantity*price = 14000 [22:45:14]sum+1 = 14001 [22:45:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 50 20.08.2024 22:45 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9170 ФПД: 133514341169465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T224515&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9170&fm=133514341169465&tin=02508201610067®Number=0000000000108878&sum=14000 0 [22:45:15]StoreToDocumentArchive [22:45:15]shift 216 fd 9170 [22:45:15]save to /storage/0216/doc_00009170 [22:45:15]save last doc name /storage/0216/doc_00009170 to /storage/kkm_last_doc_name [22:45:15]save OK [22:45:15]Clear old archive folders... [22:45:15]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:45:15]tlvbuf is 00561730 [22:45:15]SAM_PROTO_ClearQueue [22:45:15]wFMCommunicate request_size=4 [22:45:15]MH_SAM_APDU [22:45:15]CAPDU: 80 09 00 00 [22:45:15]Write to MH i2c: E2 08 00 00 04 80 09 00 00 00 00 00 00 76 [22:45:15]Write i2c OK [22:45:15]MH_I2C_Read... [22:45:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:45:15]Read from MH i2c: E2 [22:45:15]MH_I2C_Read... [22:45:15]Read from MH i2c: E2 03 00 [22:45:15]MH_I2C_Read... [22:45:15]Read from MH i2c: E2 03 00 00 04 00 90 00 78 [22:45:15]RAPDU: 90 00 [22:45:15]wFMCommunicate OK [22:45:15]SAM_PROTO_ClearQueue done [22:45:15]KKMCreateOFDPacket [22:45:15]OFDProtocolAddRootSTLVToBuf [22:45:15]FM_MakeSignedData [22:45:15]FM_MakeSignedData [22:45:15]SAM_PROTO_SignData [22:45:15]wFMCommunicate request_size=4 [22:45:15]MH_SAM_APDU [22:45:15]CAPDU: 80 0D 01 02 [22:45:15]Write to MH i2c: E2 08 00 01 04 80 0D 01 02 00 00 00 00 7E [22:45:15]Write i2c OK [22:45:15]MH_I2C_Read... [22:45:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:45:15]Read from MH i2c: E2 [22:45:15]MH_I2C_Read... [22:45:15]Read from MH i2c: E2 03 00 [22:45:15]MH_I2C_Read... [22:45:15]Read from MH i2c: E2 03 00 01 04 00 90 00 79 [22:45:15]RAPDU: 90 00 [22:45:15]wFMCommunicate OK [22:45:15]wFMCommunicate request_size=255 [22:45:15]MH_SAM_APDU [22:45:15]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 7B 1C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 [22:45:15]Write to MH i2c: E2 02 01 02 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 7B 1C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 00 00 32 [22:45:15]Write i2c OK [22:45:15]MH_I2C_Read... [22:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:45:16]Read from MH i2c: E2 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 03 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 03 00 02 04 00 90 00 7A [22:45:16]RAPDU: 90 00 [22:45:16]wFMCommunicate OK [22:45:16]wFMCommunicate request_size=32 [22:45:16]MH_SAM_APDU [22:45:16]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 31 39 10 04 04 00 D2 23 00 00 35 04 06 00 79 6E 3A E0 B9 39 [22:45:16]Write to MH i2c: E2 23 00 03 04 80 0D 02 02 1B 00 30 30 30 39 36 35 36 31 39 10 04 04 00 D2 23 00 00 35 04 06 00 79 6E 3A E0 B9 39 00 00 CA [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:45:16]Read from MH i2c: E2 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 03 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 03 00 03 04 00 90 00 7B [22:45:16]RAPDU: 90 00 [22:45:16]wFMCommunicate OK [22:45:16]wFMCommunicate request_size=4 [22:45:16]MH_SAM_APDU [22:45:16]CAPDU: 80 0D 03 02 [22:45:16]Write to MH i2c: E2 08 00 04 04 80 0D 03 02 00 00 00 00 83 [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:45:16]Read from MH i2c: E2 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 0B 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 0B 00 04 04 00 2B 45 F6 28 BC DD A1 2A 90 00 76 [22:45:16]RAPDU: 2B 45 F6 28 BC DD A1 2A 90 00 [22:45:16]wFMCommunicate OK [22:45:16]SAM_PROTO_SignData done [22:45:16]FM_MakeSignedData done [22:45:16]CreateOFDProtocolMessage [22:45:16]wFMCommunicate request_size=4 [22:45:16]MH_SAM_APDU [22:45:16]CAPDU: 80 11 00 00 [22:45:16]Write to MH i2c: E2 08 00 05 04 80 11 00 00 00 00 00 00 83 [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:45:16]Read from MH i2c: E2 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 17 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: E2 17 00 05 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 DA [22:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:45:16]wFMCommunicate OK [22:45:16]CreateOFDProtocolMessage done [22:45:16]OFDSenderStorePacket 9170 [22:45:16]StoreOFDPacket docnum=9170 [22:45:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 DF DF 1D 01 12 EB 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 7B 1C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D2 23 00 00 35 04 06 00 79 6E 3A E0 B9 39 2B 45 F6 28 BC DD A1 2A [22:45:16]CheckFolder [22:45:16]dirname=/storage/ofd_packets [22:45:16]CheckFolder done [22:45:16]ProducePacketName [22:45:16]name=ofd_packets/00009170 [22:45:16]NVStorageSaveData ofd_packets/00009170 [22:45:16]File name is /storage/ofd_packets/00009170 [22:45:16]Write 323 bytes [22:45:16]NVStorageSaveData done [22:45:16]OFDSenderStorePacket done [22:45:16]KKMCreateOFDPacket done [22:45:16]NVStorageSaveData kkm_last_timestamp [22:45:16]File name is /storage/kkm_last_timestamp [22:45:16]Write 4 bytes [22:45:16]NVStorageSaveData done [22:45:16]ExternCall_PrintAddStr [22:45:16]wPrintStart [22:45:16]Write to MH i2c: 01 00 00 06 04 0A [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 07 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 07 00 06 04 00 00 00 00 00 FF 0F 1F [22:45:16]RasterBufferAndPrint [22:45:16]line Счет N : (3)18157 [22:45:16]line ИНН: 02508201610067 [22:45:16]line Контрольно-Кассовый Чек [22:45:16]line ПРОДАЖА [22:45:16]line Товар: 48747059 [22:45:16]line Сигареты Winston Legend Blue [22:45:16]line 1.000 * 140.00 [22:45:16]line = 140.00 [22:45:16]line НДС 12% НСП 1% [22:45:16]line > о реализуемом товаре [22:45:16]line ИТОГО: 140.00 [22:45:16]line НСП 1% : 1.24 [22:45:16]line НДС 12% : 14.87 [22:45:16]line Наличными: 140.00 [22:45:16]line Безнал.: 0.00 [22:45:16]line Место: АЗС № 94 [22:45:16]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [22:45:16]line СНО: Общий режим [22:45:16]line Чек 50 20.08.2024 22:45 [22:45:16]line Смена: 216 ФФД: 1.0 [22:45:16]line ЗНМ: 0300000128 [22:45:16]line РНМ: 0000000000108878 [22:45:16]line Версия ККМ: 001 [22:45:16]line ФМ: 0000000000965619 [22:45:16]line ФД: 9170 [22:45:16]line ФПД: 133514341169465 [22:45:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T224515&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9170&fm=133514341169465&tin=02508201610067®Number=0000000000108878&sum=14000 [22:45:16]line 0 [22:45:16]OFD Sender: Processing packet 9170 [packets to send 4, broken 3] [22:45:16]ProducePacketName [22:45:16]name=ofd_packets/00009170 [22:45:16]OFD Sender: To server: pG, [22:45:16]CommunicateWithHost lk.salyk.kg:30040 [22:45:16]ConnectInit lk.salyk.kg [22:45:16]written 0, free lines is 4095 [22:45:16]Connected sock=10 [22:45:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 25 01 00 00 DF DF 1D 01 12 EB 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 7B 1C C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D2 23 00 00 35 04 06 00 79 6E 3A E0 B9 39 2B 45 F6 28 BC DD A1 2A [22:45:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 89 D7 47 00 E9 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D2 23 00 00 F4 03 04 00 45 C4 C4 66 B6 04 01 00 00 63 5D CF F6 37 59 C5 A9 [22:45:16]CommunicateWithHost err = 0 [22:45:16]CheckOFDResponse [22:45:16]1017 (14) - 77093643461234 [22:45:16]1041 (16) - 0000000000965619 [22:45:16]1040 (4) - 9170 [22:45:16]1012 (4) - 20.08.2024 16:28 [22:45:16]1206 (1) - 0 [22:45:16]OFD Sender: Remove packet 9170 [22:45:16]ProducePacketName [22:45:16]name=ofd_packets/00009170 [22:45:16]NVStorageDeleteData [22:45:16]Write to MH i2c: 01 00 00 2E 04 32 [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 07 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: 01 07 00 2E 04 00 00 00 00 00 D8 0C 1D [22:45:16]RasterBufferAndPrint [22:45:16]line [22:45:16]line [22:45:16]line [22:45:16]line [22:45:16]line [22:45:16]written 0, free lines is 3292 [22:45:16]MH_Cut [22:45:16]Write to MH i2c: D1 01 00 35 04 01 0B [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: D1 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: D1 01 00 [22:45:16]MH_I2C_Read... [22:45:16]Read from MH i2c: D1 01 00 35 04 00 0A [22:45:16]Write to MH i2c: 01 00 00 36 04 3A [22:45:16]Write i2c OK [22:45:16]MH_I2C_Read... [22:45:17]OFD Sender: No OFD packet to send [22:45:17]*** Cut start [22:45:17]*** Partial cut [22:45:17]*** CUTSNS_PIN = 1 [22:45:17]*** CUTSNS_PIN = 0 [22:45:18]*** Brake cut motor [22:45:18]Read from MH i2c: 01 [22:45:18]MH_I2C_Read... [22:45:18]*** Stop cut motor [22:45:18]*** Cut end [22:45:18]Read from MH i2c: 01 07 00 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: 01 07 00 36 04 00 00 00 00 00 FF 0F 4F [22:45:18]process_action close_receipt done [22:45:18]requested_data is exist [22:45:18]produce_requested_data [22:45:18]requested_item fm.sn is exist - process it [22:45:18]wFMCommunicate request_size=4 [22:45:18]MH_SAM_APDU [22:45:18]CAPDU: 80 11 00 00 [22:45:18]Write to MH i2c: E2 08 00 37 04 80 11 00 00 00 00 00 00 B5 [22:45:18]Write i2c OK [22:45:18]MH_I2C_Read... [22:45:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:45:18]Read from MH i2c: E2 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 17 00 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 17 00 37 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0C [22:45:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [22:45:18]wFMCommunicate OK [22:45:18]requested_item fd.num is exist - process it [22:45:18]SAM_PROTO_GetFieldsCounters [22:45:18]wFMCommunicate request_size=4 [22:45:18]MH_SAM_APDU [22:45:18]CAPDU: 80 13 00 00 [22:45:18]Write to MH i2c: E2 08 00 38 04 80 13 00 00 00 00 00 00 B8 [22:45:18]Write i2c OK [22:45:18]MH_I2C_Read... [22:45:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:45:18]Read from MH i2c: E2 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 62 00 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 62 00 38 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D2 23 00 00 0E 04 04 00 D8 00 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 47 [22:45:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D2 23 00 00 0E 04 04 00 D8 00 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 [22:45:18]wFMCommunicate OK [22:45:18]SAM_PROTO_GetFieldsCounters done [22:45:18]requested_item shift.num is exist - process it [22:45:18]requested_item shift.opened is exist - process it [22:45:18]req_shift_opened [22:45:18]FM_GetShiftState [22:45:18]SAM_PROTO_GetShiftState [22:45:18]wFMCommunicate request_size=4 [22:45:18]MH_SAM_APDU [22:45:18]CAPDU: 80 13 01 00 [22:45:18]Write to MH i2c: E2 08 00 39 04 80 13 01 00 00 00 00 00 BA [22:45:18]Write i2c OK [22:45:18]MH_I2C_Read... [22:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:45:18]Read from MH i2c: E2 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 0E 00 [22:45:18]MH_I2C_Read... [22:45:18]Read from MH i2c: E2 0E 00 39 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 97 [22:45:18]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [22:45:18]wFMCommunicate OK [22:45:18]SAM_PROTO_GetShiftState done [22:45:18]FM_GetShiftState done [22:45:18]req_shift_opened done [22:45:18]requested_item shift.open_date is exist - process it [22:45:18]req_shift_open_date [22:45:18]req_shift_open_date done [22:45:18]produce_requested_data done [22:45:18]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9170,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [22:45:18]process_action_free close_receipt [22:45:18]json_value_free [22:45:18]json_value_free done [22:45:18]process_json_proto returns [22:45:18]Send response to host [22:45:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9170,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [22:45:18]free response buf [22:45:18]execute_script done [22:45:18]execute_script returns [22:45:18]free content buf [22:45:18]Sock 7.Close socket [22:45:18]Sock 7.Thread stoped [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:02]OFD Sender: No OFD packet to send [22:59:07]OFD Sender: No OFD packet to send [22:59:12]OFD Sender: No OFD packet to send [22:59:17]OFD Sender: No OFD packet to send [22:59:22]OFD Sender: No OFD packet to send [22:59:27]OFD Sender: No OFD packet to send [22:59:32]OFD Sender: No OFD packet to send [22:59:37]OFD Sender: No OFD packet to send [22:59:42]OFD Sender: No OFD packet to send [22:59:47]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:06]accept exits with 9 [23:07:06]New connection [23:07:06]New thread 3066928484 created [23:07:06]Thread 3066785124 joined [23:07:06]Waiting for new connection... [23:07:06] Sock 9.Parse request [23:07:06]Sock 9.Check first char [23:07:06]Sock 9.First char is OK [23:07:06]request: POST /json_proto HTTP/1.0 [23:07:06]Method: POST [23:07:06]URL: /json_proto [23:07:06]Method is POST - this is cgi request [23:07:06]url: /json_proto [23:07:06]query_string will be loaded in cgi processing [23:07:06]execute_cgi json_proto POST (null) [23:07:06]execute_cgi path=json_proto method=POST [23:07:06]POST find Content-Length [23:07:06]Host: 172.17.55.134:8080 [23:07:06]Content-Length: 881 [23:07:06]Content-Type: application/json [23:07:06] [23:07:06]POST finish read [23:07:06]Found Content-Length = 881 [23:07:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18158", "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": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:06]execute_script... [23:07: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)18158", "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": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 310.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:06]POST & json_proto [23:07:06]process_json_proto [23:07:06]json parsed OK: [23:07:06]protocol is kg_v1.0 [23:07:06]action value=close_receipt [23:07:06]process_action close_receipt [23:07:06]cmd_close_receipt [23:07:06]MH_GetDate [23:07:06]Write to MH i2c: F0 00 00 3A 04 2D [23:07:06]Write i2c OK [23:07:06]MH_I2C_Read... [23:07:06]Read from MH i2c: F0 [23:07:06]MH_I2C_Read... [23:07:06]Read from MH i2c: F0 09 00 [23:07:06]MH_I2C_Read... [23:07:07]Read from MH i2c: F0 09 00 3A 04 00 9C 21 C5 66 13 35 D9 65 A4 [23:07:07]GetLastDocTimeStamp 1724193915 [23:07:07]current date 1724195228 [23:07:07]FM_GetShiftState [23:07:07]SAM_PROTO_GetShiftState [23:07:07]wFMCommunicate request_size=4 [23:07:07]MH_SAM_APDU [23:07:07]CAPDU: 80 13 01 00 [23:07:07]Write to MH i2c: E2 08 00 3B 04 80 13 01 00 00 00 00 00 BC [23:07:07]Write i2c OK [23:07:07]MH_I2C_Read... [23:07:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:07]Read from MH i2c: E2 [23:07:07]MH_I2C_Read... [23:07:07]Read from MH i2c: E2 0E 00 [23:07:07]MH_I2C_Read... [23:07:07]Read from MH i2c: E2 0E 00 3B 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 99 [23:07:07]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:07:07]wFMCommunicate OK [23:07:07]SAM_PROTO_GetShiftState done [23:07:07]FM_GetShiftState done [23:07:07]opened in 1724113861 [23:07:07]opened+sec_in_day 1724200261 [23:07:07]quantity*price = 17000 [23:07:07]sum+1 = 17001 [23:07:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47803008 Сигареты Winston XS Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 310.00 НСП 1% : 2.74 НДС 12% : 32.92 Наличными: 310.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 51 20.08.2024 23:07 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9171 ФПД: 214918725539732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T230708&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9171&fm=214918725539732&tin=02508201610067®Number=0000000000108878&sum=31000 0 [23:07:08]StoreToDocumentArchive [23:07:08]shift 216 fd 9171 [23:07:08]save to /storage/0216/doc_00009171 [23:07:08]save last doc name /storage/0216/doc_00009171 to /storage/kkm_last_doc_name [23:07:08]save OK [23:07:08]Clear old archive folders... [23:07:08]ProcessDocumentItem done err = 0, tmpTLVsize=376 [23:07:08]tlvbuf is 00529740 [23:07:08]SAM_PROTO_ClearQueue [23:07:08]wFMCommunicate request_size=4 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 09 00 00 [23:07:08]Write to MH i2c: E2 08 00 48 04 80 09 00 00 00 00 00 00 BE [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [23:07:08]RAPDU: 90 00 [23:07:08]wFMCommunicate OK [23:07:08]SAM_PROTO_ClearQueue done [23:07:08]KKMCreateOFDPacket [23:07:08]OFDProtocolAddRootSTLVToBuf [23:07:08]FM_MakeSignedData [23:07:08]FM_MakeSignedData [23:07:08]SAM_PROTO_SignData [23:07:08]wFMCommunicate request_size=4 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 0D 01 02 [23:07:08]Write to MH i2c: E2 08 00 49 04 80 0D 01 02 00 00 00 00 C6 [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [23:07:08]RAPDU: 90 00 [23:07:08]wFMCommunicate OK [23:07:08]wFMCommunicate request_size=255 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 0D 02 02 FA 03 00 78 01 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 [23:07:08]Write to MH i2c: E2 02 01 4A 04 80 0D 02 02 FA 00 03 00 78 01 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 00 00 69 [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]OFD Sender: No OFD packet to send [23:07:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [23:07:08]RAPDU: 90 00 [23:07:08]wFMCommunicate OK [23:07:08]wFMCommunicate request_size=135 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 9C 21 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D3 23 00 00 35 04 06 00 C3 77 AA 4A 97 94 [23:07:08]Write to MH i2c: E2 8A 00 4B 04 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 9C 21 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D3 23 00 00 35 04 06 00 C3 77 AA 4A 97 94 00 00 CF [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 03 00 4B 04 00 90 00 C3 [23:07:08]RAPDU: 90 00 [23:07:08]wFMCommunicate OK [23:07:08]wFMCommunicate request_size=4 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 0D 03 02 [23:07:08]Write to MH i2c: E2 08 00 4C 04 80 0D 03 02 00 00 00 00 CB [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 0B 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 0B 00 4C 04 00 45 86 28 80 28 F2 83 69 90 00 45 [23:07:08]RAPDU: 45 86 28 80 28 F2 83 69 90 00 [23:07:08]wFMCommunicate OK [23:07:08]SAM_PROTO_SignData done [23:07:08]FM_MakeSignedData done [23:07:08]CreateOFDProtocolMessage [23:07:08]wFMCommunicate request_size=4 [23:07:08]MH_SAM_APDU [23:07:08]CAPDU: 80 11 00 00 [23:07:08]Write to MH i2c: E2 08 00 4D 04 80 11 00 00 00 00 00 00 CB [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:08]Read from MH i2c: E2 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 17 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: E2 17 00 4D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 22 [23:07:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:07:08]wFMCommunicate OK [23:07:08]CreateOFDProtocolMessage done [23:07:08]OFDSenderStorePacket 9171 [23:07:08]StoreOFDPacket docnum=9171 [23:07:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 8C 01 00 00 35 B7 84 01 6D 81 5A 03 01 00 03 00 78 01 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 9C 21 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D3 23 00 00 35 04 06 00 C3 77 AA 4A 97 94 45 86 28 80 28 F2 83 69 [23:07:08]CheckFolder [23:07:08]dirname=/storage/ofd_packets [23:07:08]CheckFolder done [23:07:08]ProducePacketName [23:07:08]name=ofd_packets/00009171 [23:07:08]NVStorageSaveData ofd_packets/00009171 [23:07:08]File name is /storage/ofd_packets/00009171 [23:07:08]Write 426 bytes [23:07:08]NVStorageSaveData done [23:07:08]OFDSenderStorePacket done [23:07:08]KKMCreateOFDPacket done [23:07:08]NVStorageSaveData kkm_last_timestamp [23:07:08]File name is /storage/kkm_last_timestamp [23:07:08]Write 4 bytes [23:07:08]NVStorageSaveData done [23:07:08]ExternCall_PrintAddStr [23:07:08]wPrintStart [23:07:08]Write to MH i2c: 01 00 00 4E 04 52 [23:07:08]Write i2c OK [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: 01 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: 01 07 00 [23:07:08]MH_I2C_Read... [23:07:08]Read from MH i2c: 01 07 00 4E 04 00 00 00 00 00 FF 0F 67 [23:07:09]RasterBufferAndPrint [23:07:09]line Счет N : (3)18158 [23:07:09]line ИНН: 02508201610067 [23:07:09]line Контрольно-Кассовый Чек [23:07:09]line ПРОДАЖА [23:07:09]line Товар: 8901086040008 [23:07:09]line Жид/ст ПН летняя 4,5л [23:07:09]line 1.000 * 170.00 [23:07:09]line = 170.00 [23:07:09]line НДС 12% НСП 1% [23:07:09]line > о реализуемом товаре [23:07:09]line Товар: 47803008 [23:07:09]line Сигареты Winston XS Blue [23:07:09]line 1.000 * 140.00 [23:07:09]line = 140.00 [23:07:09]line НДС 12% НСП 1% [23:07:09]line > о реализуемом товаре [23:07:09]line ИТОГО: 310.00 [23:07:09]line НСП 1% : 2.74 [23:07:09]line НДС 12% : 32.92 [23:07:09]line Наличными: 310.00 [23:07:09]line Безнал.: 0.00 [23:07:09]line Место: АЗС № 94 [23:07:09]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [23:07:09]line СНО: Общий режим [23:07:09]line Чек 51 20.08.2024 23:07 [23:07:09]line Смена: 216 ФФД: 1.0 [23:07:09]line ЗНМ: 0300000128 [23:07:09]line РНМ: 0000000000108878 [23:07:09]line Версия ККМ: 001 [23:07:09]line ФМ: 0000000000965619 [23:07:09]line ФД: 9171 [23:07:09]line ФПД: 214918725539732 [23:07:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T230708&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9171&fm=214918725539732&tin=02508201610067®Number=0000000000108878&sum=31000 [23:07:09]line 0 [23:07:09]OFD Sender: Processing packet 9171 [packets to send 4, broken 3] [23:07:09]ProducePacketName [23:07:09]name=ofd_packets/00009171 [23:07:09]OFD Sender: To server: pG, [23:07:09]CommunicateWithHost lk.salyk.kg:30040 [23:07:09]ConnectInit lk.salyk.kg [23:07:09]written 0, free lines is 4095 [23:07:09]Connected sock=10 [23:07:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 8C 01 00 00 35 B7 84 01 6D 81 5A 03 01 00 03 00 78 01 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 0C 00 00 00 00 07 04 06 00 18 79 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 9C 21 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D3 23 00 00 35 04 06 00 C3 77 AA 4A 97 94 45 86 28 80 28 F2 83 69 [23:07:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 4E F7 47 00 D2 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D3 23 00 00 F4 03 04 00 66 C9 C4 66 B6 04 01 00 00 7C 87 C8 2B 73 3C B5 5E [23:07:09]CommunicateWithHost err = 0 [23:07:09]CheckOFDResponse [23:07:09]1017 (14) - 77093643461234 [23:07:09]1041 (16) - 0000000000965619 [23:07:09]1040 (4) - 9171 [23:07:09]1012 (4) - 20.08.2024 16:50 [23:07:09]1206 (1) - 0 [23:07:09]OFD Sender: Remove packet 9171 [23:07:09]ProducePacketName [23:07:09]name=ofd_packets/00009171 [23:07:09]NVStorageDeleteData [23:07:09]Write to MH i2c: 01 00 00 7B 04 7F [23:07:09]Write i2c OK [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: 01 [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: 01 07 00 [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: 01 07 00 7B 04 00 00 00 00 00 AB 0C 3D [23:07:09]RasterBufferAndPrint [23:07:09]line [23:07:09]line [23:07:09]line [23:07:09]line [23:07:09]line [23:07:09]written 0, free lines is 3250 [23:07:09]MH_Cut [23:07:09]Write to MH i2c: D1 01 00 82 04 01 58 [23:07:09]Write i2c OK [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: D1 [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: D1 01 00 [23:07:09]MH_I2C_Read... [23:07:09]Read from MH i2c: D1 01 00 82 04 00 57 [23:07:09]Write to MH i2c: 01 00 00 83 04 87 [23:07:09]Write i2c OK [23:07:09]MH_I2C_Read... [23:07:09]OFD Sender: No OFD packet to send [23:07:10]*** Cut start [23:07:10]*** Partial cut [23:07:10]*** CUTSNS_PIN = 1 [23:07:10]*** CUTSNS_PIN = 0 [23:07:10]*** Brake cut motor [23:07:11]Read from MH i2c: 01 [23:07:11]MH_I2C_Read... [23:07:11]*** Stop cut motor [23:07:11]*** Cut end [23:07:11]Read from MH i2c: 01 07 00 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: 01 07 00 83 04 00 00 00 00 00 FF 0F 9C [23:07:11]process_action close_receipt done [23:07:11]requested_data is exist [23:07:11]produce_requested_data [23:07:11]requested_item fm.sn is exist - process it [23:07:11]wFMCommunicate request_size=4 [23:07:11]MH_SAM_APDU [23:07:11]CAPDU: 80 11 00 00 [23:07:11]Write to MH i2c: E2 08 00 84 04 80 11 00 00 00 00 00 00 02 [23:07:11]Write i2c OK [23:07:11]MH_I2C_Read... [23:07:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:11]Read from MH i2c: E2 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 17 00 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 17 00 84 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 59 [23:07:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:07:11]wFMCommunicate OK [23:07:11]requested_item fd.num is exist - process it [23:07:11]SAM_PROTO_GetFieldsCounters [23:07:11]wFMCommunicate request_size=4 [23:07:11]MH_SAM_APDU [23:07:11]CAPDU: 80 13 00 00 [23:07:11]Write to MH i2c: E2 08 00 85 04 80 13 00 00 00 00 00 00 05 [23:07:11]Write i2c OK [23:07:11]MH_I2C_Read... [23:07:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:07:11]Read from MH i2c: E2 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 62 00 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 62 00 85 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D3 23 00 00 0E 04 04 00 D8 00 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 98 [23:07:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D3 23 00 00 0E 04 04 00 D8 00 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 [23:07:11]wFMCommunicate OK [23:07:11]SAM_PROTO_GetFieldsCounters done [23:07:11]requested_item shift.num is exist - process it [23:07:11]requested_item shift.opened is exist - process it [23:07:11]req_shift_opened [23:07:11]FM_GetShiftState [23:07:11]SAM_PROTO_GetShiftState [23:07:11]wFMCommunicate request_size=4 [23:07:11]MH_SAM_APDU [23:07:11]CAPDU: 80 13 01 00 [23:07:11]Write to MH i2c: E2 08 00 86 04 80 13 01 00 00 00 00 00 07 [23:07:11]Write i2c OK [23:07:11]MH_I2C_Read... [23:07:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:11]Read from MH i2c: E2 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 0E 00 [23:07:11]MH_I2C_Read... [23:07:11]Read from MH i2c: E2 0E 00 86 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E4 [23:07:11]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:07:11]wFMCommunicate OK [23:07:11]SAM_PROTO_GetShiftState done [23:07:11]FM_GetShiftState done [23:07:11]req_shift_opened done [23:07:11]requested_item shift.open_date is exist - process it [23:07:11]req_shift_open_date [23:07:11]req_shift_open_date done [23:07:11]produce_requested_data done [23:07:11]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9171,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [23:07:11]process_action_free close_receipt [23:07:11]json_value_free [23:07:11]json_value_free done [23:07:11]process_json_proto returns [23:07:11]Send response to host [23:07:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9171,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [23:07:11]free response buf [23:07:11]execute_script done [23:07:11]execute_script returns [23:07:11]free content buf [23:07:11]Sock 9.Close socket [23:07:11]Sock 9.Thread stoped [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:13]accept exits with 7 [23:19:13]New connection [23:19:13]New thread 3066785124 created [23:19:13]Thread 3066928484 joined [23:19:13]Waiting for new connection... [23:19:13] Sock 7.Parse request [23:19:13]Sock 7.Check first char [23:19:13]Sock 7.First char is OK [23:19:13]request: POST /json_proto HTTP/1.0 [23:19:13]Method: POST [23:19:13]URL: /json_proto [23:19:13]Method is POST - this is cgi request [23:19:13]url: /json_proto [23:19:13]query_string will be loaded in cgi processing [23:19:13]execute_cgi json_proto POST (null) [23:19:13]execute_cgi path=json_proto method=POST [23:19:13]POST find Content-Length [23:19:13]Host: 172.17.55.134:8080 [23:19:13]Content-Length: 625 [23:19:13]Content-Type: application/json [23:19:13] [23:19:13]POST finish read [23:19:13]Found Content-Length = 625 [23:19:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18159", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:13]execute_script... [23:19: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)18159", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:13]POST & json_proto [23:19:13]process_json_proto [23:19:13]json parsed OK: [23:19:13]protocol is kg_v1.0 [23:19:13]action value=close_receipt [23:19:13]process_action close_receipt [23:19:13]cmd_close_receipt [23:19:13]MH_GetDate [23:19:13]Write to MH i2c: F0 00 00 87 04 7A [23:19:13]Write i2c OK [23:19:13]MH_I2C_Read... [23:19:13]Read from MH i2c: F0 [23:19:13]MH_I2C_Read... [23:19:13]Read from MH i2c: F0 09 00 [23:19:13]MH_I2C_Read... [23:19:13]Read from MH i2c: F0 09 00 87 04 00 73 24 C5 66 13 35 D9 65 CB [23:19:13]GetLastDocTimeStamp 1724195228 [23:19:13]current date 1724195955 [23:19:13]FM_GetShiftState [23:19:13]SAM_PROTO_GetShiftState [23:19:13]wFMCommunicate request_size=4 [23:19:13]MH_SAM_APDU [23:19:13]CAPDU: 80 13 01 00 [23:19:13]Write to MH i2c: E2 08 00 88 04 80 13 01 00 00 00 00 00 09 [23:19:13]Write i2c OK [23:19:13]MH_I2C_Read... [23:19:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:13]Read from MH i2c: E2 [23:19:13]MH_I2C_Read... [23:19:13]Read from MH i2c: E2 0E 00 [23:19:13]MH_I2C_Read... [23:19:13]Read from MH i2c: E2 0E 00 88 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E6 [23:19:13]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:19:13]wFMCommunicate OK [23:19:13]SAM_PROTO_GetShiftState done [23:19:13]FM_GetShiftState done [23:19:13]opened in 1724113861 [23:19:13]opened+sec_in_day 1724200261 [23:19:13]quantity*price = 15000 [23:19:13]sum+1 = 15001 [23:19:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 52 20.08.2024 23:19 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9172 ФПД: 100057531047096 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T231915&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9172&fm=100057531047096&tin=02508201610067®Number=0000000000108878&sum=15000 0 [23:19:14]StoreToDocumentArchive [23:19:14]shift 216 fd 9172 [23:19:14]save to /storage/0216/doc_00009172 [23:19:14]save last doc name /storage/0216/doc_00009172 to /storage/kkm_last_doc_name [23:19:14]save OK [23:19:14]Clear old archive folders... [23:19:14]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:19:14]tlvbuf is 00562280 [23:19:14]SAM_PROTO_ClearQueue [23:19:14]wFMCommunicate request_size=4 [23:19:14]MH_SAM_APDU [23:19:14]CAPDU: 80 09 00 00 [23:19:14]Write to MH i2c: E2 08 00 95 04 80 09 00 00 00 00 00 00 0B [23:19:14]Write i2c OK [23:19:14]MH_I2C_Read... [23:19:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:19:14]Read from MH i2c: E2 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 95 04 00 90 00 0D [23:19:14]RAPDU: 90 00 [23:19:14]wFMCommunicate OK [23:19:14]SAM_PROTO_ClearQueue done [23:19:14]KKMCreateOFDPacket [23:19:14]OFDProtocolAddRootSTLVToBuf [23:19:14]FM_MakeSignedData [23:19:14]FM_MakeSignedData [23:19:14]SAM_PROTO_SignData [23:19:14]wFMCommunicate request_size=4 [23:19:14]MH_SAM_APDU [23:19:14]CAPDU: 80 0D 01 02 [23:19:14]Write to MH i2c: E2 08 00 96 04 80 0D 01 02 00 00 00 00 13 [23:19:14]Write i2c OK [23:19:14]MH_I2C_Read... [23:19:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:19:14]Read from MH i2c: E2 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 96 04 00 90 00 0E [23:19:14]RAPDU: 90 00 [23:19:14]wFMCommunicate OK [23:19:14]wFMCommunicate request_size=255 [23:19:14]MH_SAM_APDU [23:19:14]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 34 00 00 00 F4 03 04 00 73 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 [23:19:14]Write to MH i2c: E2 02 01 97 04 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 34 00 00 00 F4 03 04 00 73 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 00 00 0D [23:19:14]Write i2c OK [23:19:14]MH_I2C_Read... [23:19:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:14]Read from MH i2c: E2 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 [23:19:14]MH_I2C_Read... [23:19:14]Read from MH i2c: E2 03 00 97 04 00 90 00 0F [23:19:14]RAPDU: 90 00 [23:19:14]wFMCommunicate OK [23:19:14]wFMCommunicate request_size=37 [23:19:14]MH_SAM_APDU [23:19:14]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D4 23 00 00 35 04 06 00 5B 00 75 98 5C B8 [23:19:14]Write to MH i2c: E2 28 00 98 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D4 23 00 00 35 04 06 00 5B 00 75 98 5C B8 00 00 E4 [23:19:14]Write i2c OK [23:19:14]MH_I2C_Read... [23:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:15]Read from MH i2c: E2 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 03 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 03 00 98 04 00 90 00 10 [23:19:15]RAPDU: 90 00 [23:19:15]wFMCommunicate OK [23:19:15]wFMCommunicate request_size=4 [23:19:15]MH_SAM_APDU [23:19:15]CAPDU: 80 0D 03 02 [23:19:15]Write to MH i2c: E2 08 00 99 04 80 0D 03 02 00 00 00 00 18 [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:19:15]Read from MH i2c: E2 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 0B 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 0B 00 99 04 00 15 B5 84 30 12 93 8A 16 90 00 DC [23:19:15]RAPDU: 15 B5 84 30 12 93 8A 16 90 00 [23:19:15]wFMCommunicate OK [23:19:15]SAM_PROTO_SignData done [23:19:15]FM_MakeSignedData done [23:19:15]CreateOFDProtocolMessage [23:19:15]wFMCommunicate request_size=4 [23:19:15]MH_SAM_APDU [23:19:15]CAPDU: 80 11 00 00 [23:19:15]Write to MH i2c: E2 08 00 9A 04 80 11 00 00 00 00 00 00 18 [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:15]Read from MH i2c: E2 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 17 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: E2 17 00 9A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 6F [23:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:19:15]wFMCommunicate OK [23:19:15]CreateOFDProtocolMessage done [23:19:15]OFDSenderStorePacket 9172 [23:19:15]StoreOFDPacket docnum=9172 [23:19:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2A 01 00 00 38 EC 22 01 5A 5A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 34 00 00 00 F4 03 04 00 73 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D4 23 00 00 35 04 06 00 5B 00 75 98 5C B8 15 B5 84 30 12 93 8A 16 [23:19:15]CheckFolder [23:19:15]dirname=/storage/ofd_packets [23:19:15]CheckFolder done [23:19:15]ProducePacketName [23:19:15]name=ofd_packets/00009172 [23:19:15]NVStorageSaveData ofd_packets/00009172 [23:19:15]File name is /storage/ofd_packets/00009172 [23:19:15]Write 328 bytes [23:19:15]NVStorageSaveData done [23:19:15]OFDSenderStorePacket done [23:19:15]KKMCreateOFDPacket done [23:19:15]NVStorageSaveData kkm_last_timestamp [23:19:15]File name is /storage/kkm_last_timestamp [23:19:15]Write 4 bytes [23:19:15]NVStorageSaveData done [23:19:15]ExternCall_PrintAddStr [23:19:15]wPrintStart [23:19:15]Write to MH i2c: 01 00 00 9B 04 9F [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 07 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 07 00 9B 04 00 00 00 00 00 FF 0F B4 [23:19:15]RasterBufferAndPrint [23:19:15]line Счет N : (3)18159 [23:19:15]line ИНН: 02508201610067 [23:19:15]line Контрольно-Кассовый Чек [23:19:15]line ПРОДАЖА [23:19:15]line Товар: 4640030092499 [23:19:15]line Сигареты ESSE SENSE Himalaya [23:19:15]line 1.000 * 150.00 [23:19:15]line = 150.00 [23:19:15]line НДС 12% НСП 1% [23:19:15]line > о реализуемом товаре [23:19:15]line ИТОГО: 150.00 [23:19:15]line НСП 1% : 1.33 [23:19:15]line НДС 12% : 15.93 [23:19:15]line Наличными: 150.00 [23:19:15]line Безнал.: 0.00 [23:19:15]line Место: АЗС № 94 [23:19:15]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [23:19:15]line СНО: Общий режим [23:19:15]line Чек 52 20.08.2024 23:19 [23:19:15]line Смена: 216 ФФД: 1.0 [23:19:15]line ЗНМ: 0300000128 [23:19:15]line РНМ: 0000000000108878 [23:19:15]line Версия ККМ: 001 [23:19:15]line ФМ: 0000000000965619 [23:19:15]line ФД: 9172 [23:19:15]line ФПД: 100057531047096 [23:19:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T231915&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9172&fm=100057531047096&tin=02508201610067®Number=0000000000108878&sum=15000 [23:19:15]line 0 [23:19:15]OFD Sender: Processing packet 9172 [packets to send 4, broken 3] [23:19:15]ProducePacketName [23:19:15]name=ofd_packets/00009172 [23:19:15]OFD Sender: To server: pG, [23:19:15]CommunicateWithHost lk.salyk.kg:30040 [23:19:15]ConnectInit lk.salyk.kg [23:19:15]written 0, free lines is 4095 [23:19:15]Connected sock=10 [23:19:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2A 01 00 00 38 EC 22 01 5A 5A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 34 00 00 00 F4 03 04 00 73 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D4 23 00 00 35 04 06 00 5B 00 75 98 5C B8 15 B5 84 30 12 93 8A 16 [23:19:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 BD 7C 47 00 95 57 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D4 23 00 00 F4 03 04 00 3C CC C4 66 B6 04 01 00 00 B1 EC AB D7 81 31 95 45 [23:19:15]CommunicateWithHost err = 0 [23:19:15]CheckOFDResponse [23:19:15]1017 (14) - 77093643461234 [23:19:15]1041 (16) - 0000000000965619 [23:19:15]1040 (4) - 9172 [23:19:15]1012 (4) - 20.08.2024 17:02 [23:19:15]1206 (1) - 0 [23:19:15]OFD Sender: Remove packet 9172 [23:19:15]ProducePacketName [23:19:15]name=ofd_packets/00009172 [23:19:15]NVStorageDeleteData [23:19:15]Write to MH i2c: 01 00 00 C3 04 C7 [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 07 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: 01 07 00 C3 04 00 00 00 00 00 E2 0C BC [23:19:15]RasterBufferAndPrint [23:19:15]line [23:19:15]line [23:19:15]line [23:19:15]line [23:19:15]line [23:19:15]written 0, free lines is 3305 [23:19:15]MH_Cut [23:19:15]Write to MH i2c: D1 01 00 CA 04 01 A0 [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: D1 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: D1 01 00 [23:19:15]MH_I2C_Read... [23:19:15]Read from MH i2c: D1 01 00 CA 04 00 9F [23:19:15]Write to MH i2c: 01 00 00 CB 04 CF [23:19:15]Write i2c OK [23:19:15]MH_I2C_Read... [23:19:16]OFD Sender: No OFD packet to send [23:19:16]*** Cut start [23:19:16]*** Partial cut [23:19:16]*** CUTSNS_PIN = 1 [23:19:16]*** CUTSNS_PIN = 0 [23:19:17]*** Brake cut motor [23:19:17]Read from MH i2c: 01 [23:19:17]MH_I2C_Read... [23:19:17]*** Stop cut motor [23:19:17]*** Cut end [23:19:17]Read from MH i2c: 01 07 00 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: 01 07 00 CB 04 00 00 00 00 00 FF 0F E4 [23:19:17]process_action close_receipt done [23:19:17]requested_data is exist [23:19:17]produce_requested_data [23:19:17]requested_item fm.sn is exist - process it [23:19:17]wFMCommunicate request_size=4 [23:19:17]MH_SAM_APDU [23:19:17]CAPDU: 80 11 00 00 [23:19:17]Write to MH i2c: E2 08 00 CC 04 80 11 00 00 00 00 00 00 4A [23:19:17]Write i2c OK [23:19:17]MH_I2C_Read... [23:19:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:17]Read from MH i2c: E2 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 17 00 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 17 00 CC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A1 [23:19:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:19:17]wFMCommunicate OK [23:19:17]requested_item fd.num is exist - process it [23:19:17]SAM_PROTO_GetFieldsCounters [23:19:17]wFMCommunicate request_size=4 [23:19:17]MH_SAM_APDU [23:19:17]CAPDU: 80 13 00 00 [23:19:17]Write to MH i2c: E2 08 00 CD 04 80 13 00 00 00 00 00 00 4D [23:19:17]Write i2c OK [23:19:17]MH_I2C_Read... [23:19:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:19:17]Read from MH i2c: E2 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 62 00 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 62 00 CD 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D4 23 00 00 0E 04 04 00 D8 00 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 E4 [23:19:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D4 23 00 00 0E 04 04 00 D8 00 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 [23:19:17]wFMCommunicate OK [23:19:17]SAM_PROTO_GetFieldsCounters done [23:19:17]requested_item shift.num is exist - process it [23:19:17]requested_item shift.opened is exist - process it [23:19:17]req_shift_opened [23:19:17]FM_GetShiftState [23:19:17]SAM_PROTO_GetShiftState [23:19:17]wFMCommunicate request_size=4 [23:19:17]MH_SAM_APDU [23:19:17]CAPDU: 80 13 01 00 [23:19:17]Write to MH i2c: E2 08 00 CE 04 80 13 01 00 00 00 00 00 4F [23:19:17]Write i2c OK [23:19:17]MH_I2C_Read... [23:19:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:17]Read from MH i2c: E2 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 0E 00 [23:19:17]MH_I2C_Read... [23:19:17]Read from MH i2c: E2 0E 00 CE 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 2C [23:19:17]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:19:17]wFMCommunicate OK [23:19:17]SAM_PROTO_GetShiftState done [23:19:17]FM_GetShiftState done [23:19:17]req_shift_opened done [23:19:17]requested_item shift.open_date is exist - process it [23:19:17]req_shift_open_date [23:19:17]req_shift_open_date done [23:19:17]produce_requested_data done [23:19:17]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9172,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [23:19:17]process_action_free close_receipt [23:19:17]json_value_free [23:19:17]json_value_free done [23:19:17]process_json_proto returns [23:19:17]Send response to host [23:19:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9172,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [23:19:17]free response buf [23:19:17]execute_script done [23:19:17]execute_script returns [23:19:17]free content buf [23:19:17]Sock 7.Close socket [23:19:17]Sock 7.Thread stoped [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:28]int [23:19:28]Write to MH i2c: 01 00 00 CF 04 D3 [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 [23:19:28]MH_I2C_Read... [23:19:28]*** FLAG_PRN_PAP1 set [23:19:28]*** FLAG_PRN_PAP1 reset [23:19:28]Read from MH i2c: 01 07 00 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 07 00 CF 04 00 00 00 00 00 FF 0F E8 [23:19:28]state=0 [23:19:28]int [23:19:28]Write to MH i2c: 01 00 00 D0 04 D4 [23:19:28]*** FLAG_PRN_PAP1 set [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 07 00 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 07 00 D0 04 00 01 00 00 00 FF 0F EA [23:19:28]state=0 [23:19:28]No paper [23:19:28]int [23:19:28]Write to MH i2c: 01 00 00 D1 04 D5 [23:19:28]*** FLAG_PRN_PAP2 set [23:19:28]Write i2c OK [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 07 00 [23:19:28]MH_I2C_Read... [23:19:28]Read from MH i2c: 01 07 00 D1 04 00 03 00 00 00 FF 0F ED [23:19:28]state=0 [23:19:28]No paper [23:19:28]Cover opened [23:19:31]OFD Sender: No OFD packet to send [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D2 04 D6 [23:19:32]*** FLAG_PRN_PAP2 reset [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D2 04 00 01 00 00 00 FF 0F EC [23:19:32]state=3 [23:19:32]No paper [23:19:32]Cover closed [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D3 04 D7 [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D3 04 00 01 00 00 00 FF 0F ED [23:19:32]state=0 [23:19:32]No paper [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D4 04 D8 [23:19:32]*** FLAG_PRN_PAP1 reset [23:19:32]*** FLAG_PRN_PAP1 set [23:19:32]*** FLAG_PRN_PAP1 reset [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D4 04 00 00 00 00 00 FF 0F ED [23:19:32]state=0 [23:19:32]int line is 0 - check status [23:19:32]Write to MH i2c: 01 00 00 D5 04 D9 [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D5 04 00 00 00 00 00 FF 0F EE [23:19:32]state=0 [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D6 04 DA [23:19:32]*** FLAG_PRN_PAP1 set [23:19:32]*** FLAG_PRN_PAP1 reset [23:19:32]*** FLAG_PRN_PAP1 set [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D6 04 00 01 00 00 00 FF 0F F0 [23:19:32]state=0 [23:19:32]No paper [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D7 04 DB [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D7 04 00 01 00 00 00 FF 0F F1 [23:19:32]state=0 [23:19:32]No paper [23:19:32]int [23:19:32]Write to MH i2c: 01 00 00 D8 04 DC [23:19:32]*** FLAG_PRN_PAP1 reset [23:19:32]Write i2c OK [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 [23:19:32]MH_I2C_Read... [23:19:32]Read from MH i2c: 01 07 00 D8 04 00 00 00 00 00 FF 0F F1 [23:19:32]state=0 [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:21]accept exits with 9 [23:20:21]New connection [23:20:21]New thread 3066928484 created [23:20:21]Thread 3066785124 joined [23:20:21]Waiting for new connection... [23:20:21] Sock 9.Parse request [23:20:21]Sock 9.Check first char [23:20:21]Sock 9.First char is OK [23:20:21]request: POST /json_proto HTTP/1.0 [23:20:21]Method: POST [23:20:21]URL: /json_proto [23:20:21]Method is POST - this is cgi request [23:20:21]url: /json_proto [23:20:21]query_string will be loaded in cgi processing [23:20:21]execute_cgi json_proto POST (null) [23:20:21]execute_cgi path=json_proto method=POST [23:20:21]POST find Content-Length [23:20:21]Host: 172.17.55.134:8080 [23:20:21]Content-Length: 655 [23:20:21]Content-Type: application/json [23:20:21] [23:20:21]POST finish read [23:20:21]Found Content-Length = 655 [23:20:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18160", "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 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:20:21]execute_script... [23:20: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)18160", "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 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:20:21]POST & json_proto [23:20:21]process_json_proto [23:20:21]json parsed OK: [23:20:21]protocol is kg_v1.0 [23:20:21]action value=close_receipt [23:20:21]process_action close_receipt [23:20:21]cmd_close_receipt [23:20:21]MH_GetDate [23:20:21]Write to MH i2c: F0 00 00 D9 04 CC [23:20:21]Write i2c OK [23:20:21]MH_I2C_Read... [23:20:21]Read from MH i2c: F0 [23:20:21]MH_I2C_Read... [23:20:21]Read from MH i2c: F0 09 00 [23:20:21]MH_I2C_Read... [23:20:21]Read from MH i2c: F0 09 00 D9 04 00 B7 24 C5 66 13 35 D9 65 61 [23:20:21]GetLastDocTimeStamp 1724195955 [23:20:21]current date 1724196023 [23:20:21]FM_GetShiftState [23:20:21]SAM_PROTO_GetShiftState [23:20:21]wFMCommunicate request_size=4 [23:20:21]MH_SAM_APDU [23:20:21]CAPDU: 80 13 01 00 [23:20:21]Write to MH i2c: E2 08 00 DA 04 80 13 01 00 00 00 00 00 5B [23:20:21]Write i2c OK [23:20:21]MH_I2C_Read... [23:20:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:20:21]Read from MH i2c: E2 [23:20:21]MH_I2C_Read... [23:20:21]Read from MH i2c: E2 0E 00 [23:20:21]MH_I2C_Read... [23:20:21]Read from MH i2c: E2 0E 00 DA 04 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 38 [23:20:21]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:20:21]wFMCommunicate OK [23:20:21]SAM_PROTO_GetShiftState done [23:20:21]FM_GetShiftState done [23:20:21]opened in 1724113861 [23:20:21]opened+sec_in_day 1724200261 [23:20:21]quantity*price = 12000 [23:20:21]sum+1 = 12001 [23:20:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 53 20.08.2024 23:20 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9173 ФПД: 124507870645050 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T232023&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9173&fm=124507870645050&tin=02508201610067®Number=0000000000108878&sum=12000 0 [23:20:22]StoreToDocumentArchive [23:20:22]shift 216 fd 9173 [23:20:22]save to /storage/0216/doc_00009173 [23:20:22]save last doc name /storage/0216/doc_00009173 to /storage/kkm_last_doc_name [23:20:22]save OK [23:20:22]Clear old archive folders... [23:20:22]ProcessDocumentItem done err = 0, tmpTLVsize=284 [23:20:22]tlvbuf is 00529060 [23:20:22]SAM_PROTO_ClearQueue [23:20:22]wFMCommunicate request_size=4 [23:20:22]MH_SAM_APDU [23:20:22]CAPDU: 80 09 00 00 [23:20:22]Write to MH i2c: E2 08 00 E7 04 80 09 00 00 00 00 00 00 5D [23:20:22]Write i2c OK [23:20:22]MH_I2C_Read... [23:20:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:20:22]Read from MH i2c: E2 [23:20:22]MH_I2C_Read... [23:20:22]Read from MH i2c: E2 03 00 [23:20:22]MH_I2C_Read... [23:20:22]Read from MH i2c: E2 03 00 E7 04 00 90 00 5F [23:20:22]RAPDU: 90 00 [23:20:22]wFMCommunicate OK [23:20:22]SAM_PROTO_ClearQueue done [23:20:22]KKMCreateOFDPacket [23:20:22]OFDProtocolAddRootSTLVToBuf [23:20:22]FM_MakeSignedData [23:20:22]FM_MakeSignedData [23:20:22]SAM_PROTO_SignData [23:20:22]wFMCommunicate request_size=4 [23:20:22]MH_SAM_APDU [23:20:22]CAPDU: 80 0D 01 02 [23:20:22]Write to MH i2c: E2 08 00 E8 04 80 0D 01 02 00 00 00 00 65 [23:20:22]Write i2c OK [23:20:22]MH_I2C_Read... [23:20:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:20:22]Read from MH i2c: E2 [23:20:22]MH_I2C_Read... [23:20:22]Read from MH i2c: E2 03 00 [23:20:22]MH_I2C_Read... [23:20:22]Read from MH i2c: E2 03 00 E8 04 00 90 00 60 [23:20:22]RAPDU: 90 00 [23:20:22]wFMCommunicate OK [23:20:22]wFMCommunicate request_size=255 [23:20:22]MH_SAM_APDU [23:20:22]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 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B7 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 [23:20:22]Write to MH i2c: E2 02 01 E9 04 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 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B7 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 00 00 56 [23:20:22]Write i2c OK [23:20:22]MH_I2C_Read... [23:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:20:23]Read from MH i2c: E2 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 03 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 03 00 E9 04 00 90 00 61 [23:20:23]RAPDU: 90 00 [23:20:23]wFMCommunicate OK [23:20:23]wFMCommunicate request_size=43 [23:20:23]MH_SAM_APDU [23:20:23]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D5 23 00 00 35 04 06 00 71 3D 3F 66 CB 3A [23:20:23]Write to MH i2c: E2 2E 00 EA 04 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D5 23 00 00 35 04 06 00 71 3D 3F 66 CB 3A 00 00 A4 [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:20:23]Read from MH i2c: E2 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 03 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 03 00 EA 04 00 90 00 62 [23:20:23]RAPDU: 90 00 [23:20:23]wFMCommunicate OK [23:20:23]wFMCommunicate request_size=4 [23:20:23]MH_SAM_APDU [23:20:23]CAPDU: 80 0D 03 02 [23:20:23]Write to MH i2c: E2 08 00 EB 04 80 0D 03 02 00 00 00 00 6A [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:20:23]Read from MH i2c: E2 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 0B 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 0B 00 EB 04 00 4E 3C 40 29 52 B5 82 C5 90 00 AC [23:20:23]RAPDU: 4E 3C 40 29 52 B5 82 C5 90 00 [23:20:23]wFMCommunicate OK [23:20:23]SAM_PROTO_SignData done [23:20:23]FM_MakeSignedData done [23:20:23]CreateOFDProtocolMessage [23:20:23]wFMCommunicate request_size=4 [23:20:23]MH_SAM_APDU [23:20:23]CAPDU: 80 11 00 00 [23:20:23]Write to MH i2c: E2 08 00 EC 04 80 11 00 00 00 00 00 00 6A [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:20:23]Read from MH i2c: E2 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 17 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: E2 17 00 EC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 C1 [23:20:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:20:23]wFMCommunicate OK [23:20:23]CreateOFDProtocolMessage done [23:20:23]OFDSenderStorePacket 9173 [23:20:23]StoreOFDPacket docnum=9173 [23:20:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 30 01 00 00 03 C1 28 01 36 19 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 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B7 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D5 23 00 00 35 04 06 00 71 3D 3F 66 CB 3A 4E 3C 40 29 52 B5 82 C5 [23:20:23]CheckFolder [23:20:23]dirname=/storage/ofd_packets [23:20:23]CheckFolder done [23:20:23]ProducePacketName [23:20:23]name=ofd_packets/00009173 [23:20:23]NVStorageSaveData ofd_packets/00009173 [23:20:23]File name is /storage/ofd_packets/00009173 [23:20:23]Write 334 bytes [23:20:23]NVStorageSaveData done [23:20:23]OFDSenderStorePacket done [23:20:23]KKMCreateOFDPacket done [23:20:23]NVStorageSaveData kkm_last_timestamp [23:20:23]File name is /storage/kkm_last_timestamp [23:20:23]Write 4 bytes [23:20:23]NVStorageSaveData done [23:20:23]ExternCall_PrintAddStr [23:20:23]wPrintStart [23:20:23]Write to MH i2c: 01 00 00 ED 04 F1 [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 07 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 07 00 ED 04 00 00 00 00 00 FF 0F 06 [23:20:23]RasterBufferAndPrint [23:20:23]line Счет N : (3)18160 [23:20:23]line ИНН: 02508201610067 [23:20:23]line Контрольно-Кассовый Чек [23:20:23]line ПРОДАЖА [23:20:23]line Товар: 2000034250011 [23:20:23]line Горячий шоколад (GABB trade) [23:20:23]line 1.000 * 120.00 [23:20:23]line = 120.00 [23:20:23]line НДС 12% НСП 1% [23:20:23]line > о реализуемом товаре [23:20:23]line ИТОГО: 120.00 [23:20:23]line НСП 1% : 1.06 [23:20:23]line НДС 12% : 12.74 [23:20:23]line Наличными: 120.00 [23:20:23]line Безнал.: 0.00 [23:20:23]line Место: АЗС № 94 [23:20:23]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [23:20:23]line СНО: Общий режим [23:20:23]line Чек 53 20.08.2024 23:20 [23:20:23]line Смена: 216 ФФД: 1.0 [23:20:23]line ЗНМ: 0300000128 [23:20:23]line РНМ: 0000000000108878 [23:20:23]line Версия ККМ: 001 [23:20:23]line ФМ: 0000000000965619 [23:20:23]line ФД: 9173 [23:20:23]line ФПД: 124507870645050 [23:20:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240820T232023&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9173&fm=124507870645050&tin=02508201610067®Number=0000000000108878&sum=12000 [23:20:23]line 0 [23:20:23]OFD Sender: Processing packet 9173 [packets to send 4, broken 3] [23:20:23]ProducePacketName [23:20:23]name=ofd_packets/00009173 [23:20:23]OFD Sender: To server: pG, [23:20:23]CommunicateWithHost lk.salyk.kg:30040 [23:20:23]ConnectInit lk.salyk.kg [23:20:23]written 0, free lines is 4095 [23:20:23]Connected sock=10 [23:20:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 30 01 00 00 03 C1 28 01 36 19 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 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 B7 24 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D5 23 00 00 35 04 06 00 71 3D 3F 66 CB 3A 4E 3C 40 29 52 B5 82 C5 [23:20:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 4C 8E 47 00 8B 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 36 31 39 10 04 04 00 D5 23 00 00 F4 03 04 00 80 CC C4 66 B6 04 01 00 00 AB 80 C5 4C 9E 82 BB 22 [23:20:23]CommunicateWithHost err = 0 [23:20:23]CheckOFDResponse [23:20:23]1017 (14) - 77093643461234 [23:20:23]1041 (16) - 0000000000965619 [23:20:23]1040 (4) - 9173 [23:20:23]1012 (4) - 20.08.2024 17:04 [23:20:23]1206 (1) - 0 [23:20:23]OFD Sender: Remove packet 9173 [23:20:23]ProducePacketName [23:20:23]name=ofd_packets/00009173 [23:20:23]NVStorageDeleteData [23:20:23]Write to MH i2c: 01 00 00 15 05 1A [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 07 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: 01 07 00 15 05 00 00 00 00 00 DF 0C 0C [23:20:23]RasterBufferAndPrint [23:20:23]line [23:20:23]line [23:20:23]line [23:20:23]line [23:20:23]line [23:20:23]written 0, free lines is 3302 [23:20:23]MH_Cut [23:20:23]Write to MH i2c: D1 01 00 1C 05 01 F3 [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: D1 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: D1 01 00 [23:20:23]MH_I2C_Read... [23:20:23]Read from MH i2c: D1 01 00 1C 05 00 F2 [23:20:23]Write to MH i2c: 01 00 00 1D 05 22 [23:20:23]Write i2c OK [23:20:23]MH_I2C_Read... [23:20:24]OFD Sender: No OFD packet to send [23:20:24]*** Cut start [23:20:24]*** Partial cut [23:20:24]*** CUTSNS_PIN = 1 [23:20:24]*** CUTSNS_PIN = 0 [23:20:25]*** Brake cut motor [23:20:25]Read from MH i2c: 01 [23:20:25]MH_I2C_Read... [23:20:25]*** Stop cut motor [23:20:25]*** Cut end [23:20:25]Read from MH i2c: 01 07 00 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: 01 07 00 1D 05 00 00 00 00 00 FF 0F 37 [23:20:25]process_action close_receipt done [23:20:25]requested_data is exist [23:20:25]produce_requested_data [23:20:25]requested_item fm.sn is exist - process it [23:20:25]wFMCommunicate request_size=4 [23:20:25]MH_SAM_APDU [23:20:25]CAPDU: 80 11 00 00 [23:20:25]Write to MH i2c: E2 08 00 1E 05 80 11 00 00 00 00 00 00 9D [23:20:25]Write i2c OK [23:20:25]MH_I2C_Read... [23:20:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:20:25]Read from MH i2c: E2 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 17 00 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 17 00 1E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F4 [23:20:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [23:20:25]wFMCommunicate OK [23:20:25]requested_item fd.num is exist - process it [23:20:25]SAM_PROTO_GetFieldsCounters [23:20:25]wFMCommunicate request_size=4 [23:20:25]MH_SAM_APDU [23:20:25]CAPDU: 80 13 00 00 [23:20:25]Write to MH i2c: E2 08 00 1F 05 80 13 00 00 00 00 00 00 A0 [23:20:25]Write i2c OK [23:20:25]MH_I2C_Read... [23:20:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:20:25]Read from MH i2c: E2 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 62 00 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 62 00 1F 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D5 23 00 00 0E 04 04 00 D8 00 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 3B [23:20:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D5 23 00 00 0E 04 04 00 D8 00 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 [23:20:25]wFMCommunicate OK [23:20:25]SAM_PROTO_GetFieldsCounters done [23:20:25]requested_item shift.num is exist - process it [23:20:25]requested_item shift.opened is exist - process it [23:20:25]req_shift_opened [23:20:25]FM_GetShiftState [23:20:25]SAM_PROTO_GetShiftState [23:20:25]wFMCommunicate request_size=4 [23:20:25]MH_SAM_APDU [23:20:25]CAPDU: 80 13 01 00 [23:20:25]Write to MH i2c: E2 08 00 20 05 80 13 01 00 00 00 00 00 A2 [23:20:25]Write i2c OK [23:20:25]MH_I2C_Read... [23:20:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:20:25]Read from MH i2c: E2 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 0E 00 [23:20:25]MH_I2C_Read... [23:20:25]Read from MH i2c: E2 0E 00 20 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 7F [23:20:25]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [23:20:25]wFMCommunicate OK [23:20:25]SAM_PROTO_GetShiftState done [23:20:25]FM_GetShiftState done [23:20:25]req_shift_opened done [23:20:25]requested_item shift.open_date is exist - process it [23:20:25]req_shift_open_date [23:20:25]req_shift_open_date done [23:20:25]produce_requested_data done [23:20:25]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9173,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [23:20:25]process_action_free close_receipt [23:20:25]json_value_free [23:20:25]json_value_free done [23:20:25]process_json_proto returns [23:20:25]Send response to host [23:20:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9173,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [23:20:25]free response buf [23:20:25]execute_script done [23:20:25]execute_script returns [23:20:25]free content buf [23:20:25]Sock 9.Close socket [23:20:25]Sock 9.Thread stoped [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]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:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]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: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:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [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:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]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:45]accept exits with 7 [00:19:45]New connection [00:19:45]New thread 3066785124 created [00:19:45]Thread 3066928484 joined [00:19:45]Waiting for new connection... [00:19:45] Sock 7.Parse request [00:19:45]Sock 7.Check first char [00:19:45]Sock 7.First char is OK [00:19:45]request: POST /json_proto HTTP/1.0 [00:19:45]Method: POST [00:19:45]URL: /json_proto [00:19:45]Method is POST - this is cgi request [00:19:45]url: /json_proto [00:19:45]query_string will be loaded in cgi processing [00:19:45]execute_cgi json_proto POST (null) [00:19:45]execute_cgi path=json_proto method=POST [00:19:45]POST find Content-Length [00:19:45]Host: 172.17.55.134:8080 [00:19:45]Content-Length: 752 [00:19:45]Content-Type: application/json [00:19:45] [00:19:45]POST finish read [00:19:45]Found Content-Length = 752 [00:19:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18161", "tax_sys" : 0, "items" : [ { "code": "4870003986641", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:45]execute_script... [00:19: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)18161", "tax_sys" : 0, "items" : [ { "code": "4870003986641", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:19:45]POST & json_proto [00:19:45]process_json_proto [00:19:45]json parsed OK: [00:19:45]protocol is kg_v1.0 [00:19:45]action value=close_receipt [00:19:45]process_action close_receipt [00:19:45]cmd_close_receipt [00:19:45]MH_GetDate [00:19:45]Write to MH i2c: F0 00 00 21 05 15 [00:19:45]Write i2c OK [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: F0 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: F0 09 00 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: F0 09 00 21 05 00 A3 32 C5 66 13 35 D9 65 A4 [00:19:45]GetLastDocTimeStamp 1724196023 [00:19:45]current date 1724199587 [00:19:45]FM_GetShiftState [00:19:45]SAM_PROTO_GetShiftState [00:19:45]wFMCommunicate request_size=4 [00:19:45]MH_SAM_APDU [00:19:45]CAPDU: 80 13 01 00 [00:19:45]Write to MH i2c: E2 08 00 22 05 80 13 01 00 00 00 00 00 A4 [00:19:45]Write i2c OK [00:19:45]MH_I2C_Read... [00:19:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:45]Read from MH i2c: E2 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 0E 00 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 0E 00 22 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 81 [00:19:45]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:19:45]wFMCommunicate OK [00:19:45]SAM_PROTO_GetShiftState done [00:19:45]FM_GetShiftState done [00:19:45]opened in 1724113861 [00:19:45]opened+sec_in_day 1724200261 [00:19:45]quantity*price = 12500 [00:19:45]sum+1 = 12501 [00:19:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 54 21.08.2024 00:19 Смена: 216 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9174 ФПД: 168642736259424 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T001947&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9174&fm=168642736259424&tin=02508201610067®Number=0000000000108878&sum=12500 0 [00:19:46]StoreToDocumentArchive [00:19:46]shift 216 fd 9174 [00:19:46]save to /storage/0216/doc_00009174 [00:19:46]save last doc name /storage/0216/doc_00009174 to /storage/kkm_last_doc_name [00:19:46]save OK [00:19:46]Clear old archive folders... [00:19:46]ProcessDocumentItem done err = 0, tmpTLVsize=313 [00:19:46]tlvbuf is 00529FD0 [00:19:46]SAM_PROTO_ClearQueue [00:19:46]wFMCommunicate request_size=4 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 09 00 00 [00:19:46]Write to MH i2c: E2 08 00 2F 05 80 09 00 00 00 00 00 00 A6 [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 03 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 03 00 2F 05 00 90 00 A8 [00:19:46]RAPDU: 90 00 [00:19:46]wFMCommunicate OK [00:19:46]SAM_PROTO_ClearQueue done [00:19:46]KKMCreateOFDPacket [00:19:46]OFDProtocolAddRootSTLVToBuf [00:19:46]FM_MakeSignedData [00:19:46]FM_MakeSignedData [00:19:46]SAM_PROTO_SignData [00:19:46]wFMCommunicate request_size=4 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 0D 01 02 [00:19:46]Write to MH i2c: E2 08 00 30 05 80 0D 01 02 00 00 00 00 AE [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 03 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 03 00 30 05 00 90 00 A9 [00:19:46]RAPDU: 90 00 [00:19:46]wFMCommunicate OK [00:19:46]wFMCommunicate request_size=255 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 0D 02 02 FA 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 A3 32 C5 66 0E 04 04 00 [00:19:46]Write to MH i2c: E2 02 01 31 05 80 0D 02 02 FA 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 A3 32 C5 66 0E 04 04 00 00 00 54 [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 03 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 03 00 31 05 00 90 00 AA [00:19:47]RAPDU: 90 00 [00:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=72 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 0D 02 02 43 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D6 23 00 00 35 04 06 00 99 61 32 63 81 60 [00:19:47]Write to MH i2c: E2 4B 00 32 05 80 0D 02 02 43 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D6 23 00 00 35 04 06 00 99 61 32 63 81 60 00 00 18 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:47]OFD Sender: No OFD packet to send [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 03 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 03 00 32 05 00 90 00 AB [00:19:47]RAPDU: 90 00 [00:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 0D 03 02 [00:19:47]Write to MH i2c: E2 08 00 33 05 80 0D 03 02 00 00 00 00 B3 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 0B 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 0B 00 33 05 00 6E 2E 7C E4 78 EF C6 61 90 00 3E [00:19:47]RAPDU: 6E 2E 7C E4 78 EF C6 61 90 00 [00:19:47]wFMCommunicate OK [00:19:47]SAM_PROTO_SignData done [00:19:47]FM_MakeSignedData done [00:19:47]CreateOFDProtocolMessage [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 11 00 00 [00:19:47]Write to MH i2c: E2 08 00 34 05 80 11 00 00 00 00 00 00 B3 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 17 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 17 00 34 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 0A [00:19:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:19:47]wFMCommunicate OK [00:19:47]CreateOFDProtocolMessage done [00:19:47]OFDSenderStorePacket 9174 [00:19:47]StoreOFDPacket docnum=9174 [00:19:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4D 01 00 00 D5 A0 45 01 A5 82 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 A3 32 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D6 23 00 00 35 04 06 00 99 61 32 63 81 60 6E 2E 7C E4 78 EF C6 61 [00:19:47]CheckFolder [00:19:47]dirname=/storage/ofd_packets [00:19:47]CheckFolder done [00:19:47]ProducePacketName [00:19:47]name=ofd_packets/00009174 [00:19:47]NVStorageSaveData ofd_packets/00009174 [00:19:47]File name is /storage/ofd_packets/00009174 [00:19:47]Write 363 bytes [00:19:47]NVStorageSaveData done [00:19:47]OFDSenderStorePacket done [00:19:47]KKMCreateOFDPacket done [00:19:47]NVStorageSaveData kkm_last_timestamp [00:19:47]File name is /storage/kkm_last_timestamp [00:19:47]Write 4 bytes [00:19:47]NVStorageSaveData done [00:19:47]ExternCall_PrintAddStr [00:19:47]wPrintStart [00:19:47]Write to MH i2c: 01 00 00 35 05 3A [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: 01 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: 01 07 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: 01 07 00 35 05 00 00 00 00 00 FF 0F 4F [00:19:47]RasterBufferAndPrint [00:19:47]line Счет N : (3)18161 [00:19:47]line ИНН: 02508201610067 [00:19:47]line Контрольно-Кассовый Чек [00:19:47]line ПРОДАЖА [00:19:47]line Товар: 4870003986641 [00:19:47]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [00:19:47]line 1.000 * 125.00 [00:19:47]line = 125.00 [00:19:47]line НДС 12% НСП 1% [00:19:47]line > о реализуемом товаре [00:19:47]line ИТОГО: 125.00 [00:19:47]line НСП 1% : 1.11 [00:19:47]line НДС 12% : 13.27 [00:19:47]line Наличными: 125.00 [00:19:47]line Безнал.: 0.00 [00:19:47]line Место: АЗС № 94 [00:19:47]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [00:19:47]line СНО: Общий режим [00:19:47]line Чек 54 21.08.2024 00:19 [00:19:47]line Смена: 216 ФФД: 1.0 [00:19:47]line ЗНМ: 0300000128 [00:19:47]line РНМ: 0000000000108878 [00:19:47]line Версия ККМ: 001 [00:19:47]line ФМ: 0000000000965619 [00:19:47]line ФД: 9174 [00:19:47]line ФПД: 168642736259424 [00:19:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T001947&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9174&fm=168642736259424&tin=02508201610067®Number=0000000000108878&sum=12500 [00:19:47]line 0 [00:19:47]OFD Sender: Processing packet 9174 [packets to send 4, broken 3] [00:19:47]ProducePacketName [00:19:47]name=ofd_packets/00009174 [00:19:47]OFD Sender: To server: pG, [00:19:47]CommunicateWithHost lk.salyk.kg:30040 [00:19:47]ConnectInit lk.salyk.kg [00:19:47]written 0, free lines is 4095 [00:19:47]Connected sock=10 [00:19:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4D 01 00 00 D5 A0 45 01 A5 82 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 36 36 34 31 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 36 00 00 00 F4 03 04 00 A3 32 C5 66 0E 04 04 00 D8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D6 23 00 00 35 04 06 00 99 61 32 63 81 60 6E 2E 7C E4 78 EF C6 61 [00:19:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 1C 2B 47 00 5A 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 36 31 39 10 04 04 00 D6 23 00 00 F4 03 04 00 6C DA C4 66 B6 04 01 00 00 77 39 FA 34 65 36 EE 8B [00:19:47]CommunicateWithHost err = 0 [00:19:47]CheckOFDResponse [00:19:47]1017 (14) - 77093643461234 [00:19:47]1041 (16) - 0000000000965619 [00:19:47]1040 (4) - 9174 [00:19:47]1012 (4) - 20.08.2024 18:03 [00:19:47]1206 (1) - 0 [00:19:47]OFD Sender: Remove packet 9174 [00:19:47]ProducePacketName [00:19:47]name=ofd_packets/00009174 [00:19:47]NVStorageDeleteData [00:19:48]Write to MH i2c: 01 00 00 5D 05 62 [00:19:48]Write i2c OK [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: 01 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: 01 07 00 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: 01 07 00 5D 05 00 00 00 00 00 EE 0C 63 [00:19:48]RasterBufferAndPrint [00:19:48]line [00:19:48]line [00:19:48]line [00:19:48]line [00:19:48]line [00:19:48]written 0, free lines is 3317 [00:19:48]MH_Cut [00:19:48]Write to MH i2c: D1 01 00 64 05 01 3B [00:19:48]Write i2c OK [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: D1 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: D1 01 00 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: D1 01 00 64 05 00 3A [00:19:48]Write to MH i2c: 01 00 00 65 05 6A [00:19:48]Write i2c OK [00:19:48]MH_I2C_Read... [00:19:48]OFD Sender: No OFD packet to send [00:19:48]*** Cut start [00:19:48]*** Partial cut [00:19:48]*** CUTSNS_PIN = 1 [00:19:48]*** CUTSNS_PIN = 0 [00:19:49]*** Brake cut motor [00:19:49]Read from MH i2c: 01 [00:19:49]MH_I2C_Read... [00:19:49]*** Stop cut motor [00:19:49]*** Cut end [00:19:49]Read from MH i2c: 01 07 00 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: 01 07 00 65 05 00 00 00 00 00 FF 0F 7F [00:19:49]process_action close_receipt done [00:19:49]requested_data is exist [00:19:49]produce_requested_data [00:19:49]requested_item fm.sn is exist - process it [00:19:49]wFMCommunicate request_size=4 [00:19:49]MH_SAM_APDU [00:19:49]CAPDU: 80 11 00 00 [00:19:49]Write to MH i2c: E2 08 00 66 05 80 11 00 00 00 00 00 00 E5 [00:19:49]Write i2c OK [00:19:49]MH_I2C_Read... [00:19:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:49]Read from MH i2c: E2 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 17 00 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 17 00 66 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3C [00:19:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:19:49]wFMCommunicate OK [00:19:49]requested_item fd.num is exist - process it [00:19:49]SAM_PROTO_GetFieldsCounters [00:19:49]wFMCommunicate request_size=4 [00:19:49]MH_SAM_APDU [00:19:49]CAPDU: 80 13 00 00 [00:19:49]Write to MH i2c: E2 08 00 67 05 80 13 00 00 00 00 00 00 E8 [00:19:49]Write i2c OK [00:19:49]MH_I2C_Read... [00:19:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:49]Read from MH i2c: E2 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 62 00 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 62 00 67 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 87 [00:19: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 [00:19:49]wFMCommunicate OK [00:19:49]SAM_PROTO_GetFieldsCounters done [00:19:49]requested_item shift.num is exist - process it [00:19:49]requested_item shift.opened is exist - process it [00:19:49]req_shift_opened [00:19:49]FM_GetShiftState [00:19:49]SAM_PROTO_GetShiftState [00:19:49]wFMCommunicate request_size=4 [00:19:49]MH_SAM_APDU [00:19:49]CAPDU: 80 13 01 00 [00:19:49]Write to MH i2c: E2 08 00 68 05 80 13 01 00 00 00 00 00 EA [00:19:49]Write i2c OK [00:19:49]MH_I2C_Read... [00:19:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:49]Read from MH i2c: E2 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 0E 00 [00:19:49]MH_I2C_Read... [00:19:49]Read from MH i2c: E2 0E 00 68 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 C7 [00:19:49]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:19:49]wFMCommunicate OK [00:19:49]SAM_PROTO_GetShiftState done [00:19:49]FM_GetShiftState done [00:19:49]req_shift_opened done [00:19:49]requested_item shift.open_date is exist - process it [00:19:49]req_shift_open_date [00:19:49]req_shift_open_date done [00:19:49]produce_requested_data done [00:19:49]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [00:19:49]process_action_free close_receipt [00:19:49]json_value_free [00:19:49]json_value_free done [00:19:49]process_json_proto returns [00:19:49]Send response to host [00:19:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [00:19:49]free response buf [00:19:49]execute_script done [00:19:49]execute_script returns [00:19:49]free content buf [00:19:49]Sock 7.Close socket [00:19:49]Sock 7.Thread stoped [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:04]accept exits with 9 [00:25:04]New connection [00:25:04]New thread 3066928484 created [00:25:04]Thread 3066785124 joined [00:25:04]Waiting for new connection... [00:25:04] Sock 9.Parse request [00:25:04]Sock 9.Check first char [00:25:04]Sock 9.First char is OK [00:25:04]request: POST /json_proto HTTP/1.0 [00:25:04]Method: POST [00:25:04]URL: /json_proto [00:25:04]Method is POST - this is cgi request [00:25:04]url: /json_proto [00:25:04]query_string will be loaded in cgi processing [00:25:04]execute_cgi json_proto POST (null) [00:25:04]execute_cgi path=json_proto method=POST [00:25:04]POST find Content-Length [00:25:04]Host: 172.17.55.134:8080 [00:25:04]Content-Length: 215 [00:25:04]Content-Type: application/json [00:25:04] [00:25:04]POST finish read [00:25:04]Found Content-Length = 215 [00:25:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:04]execute_script... [00:25:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:04]POST & json_proto [00:25:04]process_json_proto [00:25:04]json parsed OK: [00:25:04]protocol is kg_v1.0 [00:25:04]action value=get_value [00:25:04]process_action get_value [00:25:04]cmd_get_value [00:25:04]process_action get_value done [00:25:04]requested_data is exist [00:25:04]produce_requested_data [00:25:04]requested_item kkm.sn is exist - process it [00:25:04]requested_item kkm.ver is exist - process it [00:25:04]requested_item fm.sn is exist - process it [00:25:04]wFMCommunicate request_size=4 [00:25:04]MH_SAM_APDU [00:25:04]CAPDU: 80 11 00 00 [00:25:04]Write to MH i2c: E2 08 00 69 05 80 11 00 00 00 00 00 00 E8 [00:25:04]Write i2c OK [00:25:04]MH_I2C_Read... [00:25:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:04]Read from MH i2c: E2 [00:25:04]MH_I2C_Read... [00:25:04]Read from MH i2c: E2 17 00 [00:25:04]MH_I2C_Read... [00:25:04]Read from MH i2c: E2 17 00 69 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 3F [00:25:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:25:04]wFMCommunicate OK [00:25:04]requested_item fd.num is exist - process it [00:25:04]SAM_PROTO_GetFieldsCounters [00:25:04]wFMCommunicate request_size=4 [00:25:04]MH_SAM_APDU [00:25:04]CAPDU: 80 13 00 00 [00:25:04]Write to MH i2c: E2 08 00 6A 05 80 13 00 00 00 00 00 00 EB [00:25:04]Write i2c OK [00:25:04]MH_I2C_Read... [00:25:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:05]Read from MH i2c: E2 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 62 00 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 62 00 6A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 8A [00:25:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 [00:25:05]wFMCommunicate OK [00:25:05]SAM_PROTO_GetFieldsCounters done [00:25:05]requested_item shift.num is exist - process it [00:25:05]requested_item shift.opened is exist - process it [00:25:05]req_shift_opened [00:25:05]FM_GetShiftState [00:25:05]SAM_PROTO_GetShiftState [00:25:05]wFMCommunicate request_size=4 [00:25:05]MH_SAM_APDU [00:25:05]CAPDU: 80 13 01 00 [00:25:05]Write to MH i2c: E2 08 00 6B 05 80 13 01 00 00 00 00 00 ED [00:25:05]Write i2c OK [00:25:05]MH_I2C_Read... [00:25:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:05]Read from MH i2c: E2 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 0E 00 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 0E 00 6B 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 CA [00:25:05]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:25:05]wFMCommunicate OK [00:25:05]SAM_PROTO_GetShiftState done [00:25:05]FM_GetShiftState done [00:25:05]req_shift_opened done [00:25:05]requested_item shift.open_date is exist - process it [00:25:05]req_shift_open_date [00:25:05]req_shift_open_date done [00:25:05]produce_requested_data done [00:25:05]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [00:25:05]process_action_free get_value [00:25:05]json_value_free [00:25:05]json_value_free done [00:25:05]process_json_proto returns [00:25:05]Send response to host [00:25:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [00:25:05]free response buf [00:25:05]execute_script done [00:25:05]execute_script returns [00:25:05]free content buf [00:25:05]Sock 9.Close socket [00:25:05]Sock 9.Thread stoped [00:25:05]accept exits with 7 [00:25:05]New connection [00:25:05]New thread 3066785124 created [00:25:05]Thread 3066928484 joined [00:25:05]Waiting for new connection... [00:25:05] Sock 7.Parse request [00:25:05]Sock 7.Check first char [00:25:05]Sock 7.First char is OK [00:25:05]request: POST /json_proto HTTP/1.0 [00:25:05]Method: POST [00:25:05]URL: /json_proto [00:25:05]Method is POST - this is cgi request [00:25:05]url: /json_proto [00:25:05]query_string will be loaded in cgi processing [00:25:05]execute_cgi json_proto POST (null) [00:25:05]execute_cgi path=json_proto method=POST [00:25:05]POST find Content-Length [00:25:05]Host: 172.17.55.134:8080 [00:25:05]Content-Length: 331 [00:25:05]Content-Type: application/json [00:25:05] [00:25:05]POST finish read [00:25:05]Found Content-Length = 331 [00:25:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:05]execute_script... [00:25:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:05]POST & json_proto [00:25:05]process_json_proto [00:25:05]json parsed OK: [00:25:05]protocol is kg_v1.0 [00:25:05]action value=get_value [00:25:05]process_action get_value [00:25:05]cmd_get_value [00:25:05]process_action get_value done [00:25:05]requested_data is exist [00:25:05]produce_requested_data [00:25:05]requested_item fm.sale.total is exist - process it [00:25:05]SAM_PROTO_GetFMData [00:25:05]wFMCommunicate request_size=4 [00:25:05]MH_SAM_APDU [00:25:05]CAPDU: 80 13 03 00 [00:25:05]Write to MH i2c: E2 08 00 6C 05 80 13 03 00 00 00 00 00 F0 [00:25:05]Write i2c OK [00:25:05]MH_I2C_Read... [00:25:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:05]Read from MH i2c: E2 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 FD 00 [00:25:05]MH_I2C_Read... [00:25:05]Read from MH i2c: E2 FD 00 6C 05 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 13 [00:25:05]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:25:05]wFMCommunicate OK [00:25:05]wFMCommunicate request_size=4 [00:25:05]MH_SAM_APDU [00:25:05]CAPDU: 80 17 00 00 [00:25:05]Write to MH i2c: E2 08 00 6D 05 80 17 00 00 00 00 00 00 F2 [00:25:05]Write i2c OK [00:25:05]MH_I2C_Read... [00:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:06]Read from MH i2c: E2 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 6D 05 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 97 [00:25:06]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:25:06]wFMCommunicate OK [00:25:06]wFMCommunicate request_size=4 [00:25:06]MH_SAM_APDU [00:25:06]CAPDU: 80 17 00 00 [00:25:06]Write to MH i2c: E2 08 00 6E 05 80 17 00 00 00 00 00 00 F3 [00:25:06]Write i2c OK [00:25:06]MH_I2C_Read... [00:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:06]Read from MH i2c: E2 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 6E 05 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 1C [00:25:06]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:25:06]wFMCommunicate OK [00:25:06]wFMCommunicate request_size=4 [00:25:06]MH_SAM_APDU [00:25:06]CAPDU: 80 17 00 00 [00:25:06]Write to MH i2c: E2 08 00 6F 05 80 17 00 00 00 00 00 00 F4 [00:25:06]Write i2c OK [00:25:06]MH_I2C_Read... [00:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:06]Read from MH i2c: E2 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 FD 00 6F 05 00 03 00 00 EF 03 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 90 00 75 [00:25:06]RAPDU: 03 00 00 EF 03 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 90 00 [00:25:06]wFMCommunicate OK [00:25:06]wFMCommunicate request_size=4 [00:25:06]MH_SAM_APDU [00:25:06]CAPDU: 80 17 00 00 [00:25:06]Write to MH i2c: E2 08 00 70 05 80 17 00 00 00 00 00 00 F5 [00:25:06]Write i2c OK [00:25:06]MH_I2C_Read... [00:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:25:06]Read from MH i2c: E2 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 D9 00 [00:25:06]MH_I2C_Read... [00:25:06]Read from MH i2c: E2 D9 00 70 05 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D4 [00:25:06]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:06]wFMCommunicate OK [00:25:06]SAM_PROTO_GetFMData done [00:25:06]requested_item fm.sale_refund.total is exist - process it [00:25:06]requested_item fm.buy.total is exist - process it [00:25:06]requested_item shift.sale.total is exist - process it [00:25:06]SAM_PROTO_GetShiftData [00:25:06]wFMCommunicate request_size=4 [00:25:06]MH_SAM_APDU [00:25:06]CAPDU: 80 13 02 00 [00:25:06]Write to MH i2c: E2 08 00 71 05 80 13 02 00 00 00 00 00 F4 [00:25:06]Write i2c OK [00:25:06]MH_I2C_Read... [00:25:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:07]Read from MH i2c: E2 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 71 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C7 [00:25:07]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:25:07]wFMCommunicate OK [00:25:07]wFMCommunicate request_size=4 [00:25:07]MH_SAM_APDU [00:25:07]CAPDU: 80 17 00 00 [00:25:07]Write to MH i2c: E2 08 00 72 05 80 17 00 00 00 00 00 00 F7 [00:25:07]Write i2c OK [00:25:07]MH_I2C_Read... [00:25:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:07]Read from MH i2c: E2 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 72 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 19 [00:25:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:25:07]wFMCommunicate OK [00:25:07]wFMCommunicate request_size=4 [00:25:07]MH_SAM_APDU [00:25:07]CAPDU: 80 17 00 00 [00:25:07]Write to MH i2c: E2 08 00 73 05 80 17 00 00 00 00 00 00 F8 [00:25:07]Write i2c OK [00:25:07]MH_I2C_Read... [00:25:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:07]Read from MH i2c: E2 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 [00:25:07]MH_I2C_Read... [00:25:07]Read from MH i2c: E2 FD 00 73 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 AF [00:25:07]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:25:07]wFMCommunicate OK [00:25:07]wFMCommunicate request_size=4 [00:25:07]MH_SAM_APDU [00:25:07]CAPDU: 80 17 00 00 [00:25:07]Write to MH i2c: E2 08 00 74 05 80 17 00 00 00 00 00 00 F9 [00:25:07]Write i2c OK [00:25:07]MH_I2C_Read... [00:25:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:08]Read from MH i2c: E2 [00:25:08]MH_I2C_Read... [00:25:08]Read from MH i2c: E2 FD 00 [00:25:08]MH_I2C_Read... [00:25:08]Read from MH i2c: E2 FD 00 74 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 6B [00:25:08]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:25:08]wFMCommunicate OK [00:25:08]wFMCommunicate request_size=4 [00:25:08]MH_SAM_APDU [00:25:08]CAPDU: 80 17 00 00 [00:25:08]Write to MH i2c: E2 08 00 75 05 80 17 00 00 00 00 00 00 FA [00:25:08]Write i2c OK [00:25:08]MH_I2C_Read... [00:25:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:25:08]Read from MH i2c: E2 [00:25:08]MH_I2C_Read... [00:25:08]Read from MH i2c: E2 CB 00 [00:25:08]MH_I2C_Read... [00:25:08]Read from MH i2c: E2 CB 00 75 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E3 [00:25:08]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:08]wFMCommunicate OK [00:25:08]SAM_PROTO_GetShiftData done [00:25:08]requested_item shift.sale.total_cash is exist - process it [00:25:08]requested_item shift.sale_refund.total is exist - process it [00:25:08]requested_item shift.sale_refund.total_cash is exist - process it [00:25:08]requested_item shift.buy.total is exist - process it [00:25:08]requested_item shift.buy.total_cash is exist - process it [00:25:08]produce_requested_data done [00:25:08]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:08]process_action_free get_value [00:25:08]json_value_free [00:25:08]json_value_free done [00:25:08]process_json_proto returns [00:25:08]Send response to host [00:25:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:08]free response buf [00:25:08]execute_script done [00:25:08]execute_script returns [00:25:08]free content buf [00:25:08]Sock 7.Close socket [00:25:08]Sock 7.Thread stoped [00:25:08]accept exits with 9 [00:25:08]New connection [00:25:08]New thread 3066928484 created [00:25:08]Thread 3066785124 joined [00:25:08]Waiting for new connection... [00:25:08] Sock 9.Parse request [00:25:08]Sock 9.Check first char [00:25:08]Sock 9.First char is OK [00:25:08]request: POST /json_proto HTTP/1.0 [00:25:08]Method: POST [00:25:08]URL: /json_proto [00:25:08]Method is POST - this is cgi request [00:25:08]url: /json_proto [00:25:08]query_string will be loaded in cgi processing [00:25:08]execute_cgi json_proto POST (null) [00:25:08]execute_cgi path=json_proto method=POST [00:25:08]POST find Content-Length [00:25:08]Host: 172.17.55.134:8080 [00:25:08]Content-Length: 331 [00:25:08]Content-Type: application/json [00:25:08] [00:25:08]POST finish read [00:25:08]Found Content-Length = 331 [00:25:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:08]execute_script... [00:25:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:08]POST & json_proto [00:25:08]process_json_proto [00:25:08]json parsed OK: [00:25:08]protocol is kg_v1.0 [00:25:08]action value=get_value [00:25:08]process_action get_value [00:25:08]cmd_get_value [00:25:08]process_action get_value done [00:25:08]requested_data is exist [00:25:08]produce_requested_data [00:25:08]requested_item fm.sale.total is exist - process it [00:25:08]SAM_PROTO_GetFMData [00:25:08]wFMCommunicate request_size=4 [00:25:08]MH_SAM_APDU [00:25:08]CAPDU: 80 13 03 00 [00:25:08]Write to MH i2c: E2 08 00 76 05 80 13 03 00 00 00 00 00 FA [00:25:08]Write i2c OK [00:25:08]MH_I2C_Read... [00:25:08]OFD Sender: No OFD packet to send [00:25:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:09]Read from MH i2c: E2 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 76 05 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 1D [00:25:09]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:25:09]wFMCommunicate OK [00:25:09]wFMCommunicate request_size=4 [00:25:09]MH_SAM_APDU [00:25:09]CAPDU: 80 17 00 00 [00:25:09]Write to MH i2c: E2 08 00 77 05 80 17 00 00 00 00 00 00 FC [00:25:09]Write i2c OK [00:25:09]MH_I2C_Read... [00:25:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:09]Read from MH i2c: E2 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 77 05 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 A1 [00:25:09]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:25:09]wFMCommunicate OK [00:25:09]wFMCommunicate request_size=4 [00:25:09]MH_SAM_APDU [00:25:09]CAPDU: 80 17 00 00 [00:25:09]Write to MH i2c: E2 08 00 78 05 80 17 00 00 00 00 00 00 FD [00:25:09]Write i2c OK [00:25:09]MH_I2C_Read... [00:25:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:09]Read from MH i2c: E2 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 [00:25:09]MH_I2C_Read... [00:25:09]Read from MH i2c: E2 FD 00 78 05 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 26 [00:25:09]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:25:09]wFMCommunicate OK [00:25:09]wFMCommunicate request_size=4 [00:25:09]MH_SAM_APDU [00:25:09]CAPDU: 80 17 00 00 [00:25:09]Write to MH i2c: E2 08 00 79 05 80 17 00 00 00 00 00 00 FE [00:25:09]Write i2c OK [00:25:09]MH_I2C_Read... [00:25:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:10]Read from MH i2c: E2 [00:25:10]MH_I2C_Read... [00:25:10]Read from MH i2c: E2 FD 00 [00:25:10]MH_I2C_Read... [00:25:10]Read from MH i2c: E2 FD 00 79 05 00 03 00 00 EF 03 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 90 00 7F [00:25:10]RAPDU: 03 00 00 EF 03 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 90 00 [00:25:10]wFMCommunicate OK [00:25:10]wFMCommunicate request_size=4 [00:25:10]MH_SAM_APDU [00:25:10]CAPDU: 80 17 00 00 [00:25:10]Write to MH i2c: E2 08 00 7A 05 80 17 00 00 00 00 00 00 FF [00:25:10]Write i2c OK [00:25:10]MH_I2C_Read... [00:25:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:25:10]Read from MH i2c: E2 [00:25:10]MH_I2C_Read... [00:25:10]Read from MH i2c: E2 D9 00 [00:25:10]MH_I2C_Read... [00:25:10]Read from MH i2c: E2 D9 00 7A 05 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DE [00:25:10]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:10]wFMCommunicate OK [00:25:10]SAM_PROTO_GetFMData done [00:25:10]requested_item fm.sale_refund.total is exist - process it [00:25:10]requested_item fm.buy.total is exist - process it [00:25:10]requested_item shift.sale.total is exist - process it [00:25:10]SAM_PROTO_GetShiftData [00:25:10]wFMCommunicate request_size=4 [00:25:10]MH_SAM_APDU [00:25:10]CAPDU: 80 13 02 00 [00:25:10]Write to MH i2c: E2 08 00 7B 05 80 13 02 00 00 00 00 00 FE [00:25:10]Write i2c OK [00:25:10]MH_I2C_Read... [00:25:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:11]Read from MH i2c: E2 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 7B 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D1 [00:25:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:25:11]wFMCommunicate OK [00:25:11]wFMCommunicate request_size=4 [00:25:11]MH_SAM_APDU [00:25:11]CAPDU: 80 17 00 00 [00:25:11]Write to MH i2c: E2 08 00 7C 05 80 17 00 00 00 00 00 00 01 [00:25:11]Write i2c OK [00:25:11]MH_I2C_Read... [00:25:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:11]Read from MH i2c: E2 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 7C 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 23 [00:25:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:25:11]wFMCommunicate OK [00:25:11]wFMCommunicate request_size=4 [00:25:11]MH_SAM_APDU [00:25:11]CAPDU: 80 17 00 00 [00:25:11]Write to MH i2c: E2 08 00 7D 05 80 17 00 00 00 00 00 00 02 [00:25:11]Write i2c OK [00:25:11]MH_I2C_Read... [00:25:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:11]Read from MH i2c: E2 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 [00:25:11]MH_I2C_Read... [00:25:11]Read from MH i2c: E2 FD 00 7D 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 B9 [00:25:11]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:25:11]wFMCommunicate OK [00:25:11]wFMCommunicate request_size=4 [00:25:11]MH_SAM_APDU [00:25:11]CAPDU: 80 17 00 00 [00:25:11]Write to MH i2c: E2 08 00 7E 05 80 17 00 00 00 00 00 00 03 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 [00:25:12]MH_I2C_Read... [00:25:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:12]Read from MH i2c: E2 FD 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 FD 00 7E 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 75 [00:25:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:25:12]wFMCommunicate OK [00:25:12]wFMCommunicate request_size=4 [00:25:12]MH_SAM_APDU [00:25:12]CAPDU: 80 17 00 00 [00:25:12]Write to MH i2c: E2 08 00 7F 05 80 17 00 00 00 00 00 00 04 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:25:12]Read from MH i2c: E2 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 CB 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 CB 00 7F 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 ED [00:25:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:12]wFMCommunicate OK [00:25:12]SAM_PROTO_GetShiftData done [00:25:12]requested_item shift.sale.total_cash is exist - process it [00:25:12]requested_item shift.sale_refund.total is exist - process it [00:25:12]requested_item shift.sale_refund.total_cash is exist - process it [00:25:12]requested_item shift.buy.total is exist - process it [00:25:12]requested_item shift.buy.total_cash is exist - process it [00:25:12]produce_requested_data done [00:25:12]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:12]process_action_free get_value [00:25:12]json_value_free [00:25:12]json_value_free done [00:25:12]process_json_proto returns [00:25:12]Send response to host [00:25:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:12]free response buf [00:25:12]execute_script done [00:25:12]execute_script returns [00:25:12]free content buf [00:25:12]Sock 9.Close socket [00:25:12]Sock 9.Thread stoped [00:25:12]accept exits with 7 [00:25:12]New connection [00:25:12]New thread 3066785124 created [00:25:12]Thread 3066928484 joined [00:25:12]Waiting for new connection... [00:25:12] Sock 7.Parse request [00:25:12]Sock 7.Check first char [00:25:12]Sock 7.First char is OK [00:25:12]request: POST /json_proto HTTP/1.0 [00:25:12]Method: POST [00:25:12]URL: /json_proto [00:25:12]Method is POST - this is cgi request [00:25:12]url: /json_proto [00:25:12]query_string will be loaded in cgi processing [00:25:12]execute_cgi json_proto POST (null) [00:25:12]execute_cgi path=json_proto method=POST [00:25:12]POST find Content-Length [00:25:12]Host: 172.17.55.134:8080 [00:25:12]Content-Length: 250 [00:25:12]Content-Type: application/json [00:25:12] [00:25:12]POST finish read [00:25:12]Found Content-Length = 250 [00:25:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043C\u044B\u0442\u043E\u0432 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:12]execute_script... [00:25:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u043C\u044B\u0442\u043E\u0432 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:12]POST & json_proto [00:25:12]process_json_proto [00:25:12]json parsed OK: [00:25:12]protocol is kg_v1.0 [00:25:12]action value=x_report [00:25:12]process_action x_report [00:25:12]cmd_x_report [00:25:12]MH_GetDate [00:25:12]Write to MH i2c: F0 00 00 80 05 74 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 09 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 09 00 80 05 00 EA 33 C5 66 13 35 D9 65 4B [00:25:12]GetLastDocTimeStamp 1724199587 [00:25:12]current date 1724199914 [00:25:12]FM_GetShiftState [00:25:12]SAM_PROTO_GetShiftState [00:25:12]wFMCommunicate request_size=4 [00:25:12]MH_SAM_APDU [00:25:12]CAPDU: 80 13 01 00 [00:25:12]Write to MH i2c: E2 08 00 81 05 80 13 01 00 00 00 00 00 03 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:12]Read from MH i2c: E2 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 0E 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 0E 00 81 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 E0 [00:25:12]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:25:12]wFMCommunicate OK [00:25:12]SAM_PROTO_GetShiftState done [00:25:12]FM_GetShiftState done [00:25:12]KKMCreateXReportDocument [00:25:12]Load OK [00:25:12]Malloc new data [00:25:12]MH_GetDate [00:25:12]Write to MH i2c: F0 00 00 82 05 76 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 09 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: F0 09 00 82 05 00 EA 33 C5 66 13 35 D9 65 4D [00:25:12]Malloc new data [00:25:12]Malloc new data [00:25:12]wFMCommunicate request_size=4 [00:25:12]MH_SAM_APDU [00:25:12]CAPDU: 80 11 00 00 [00:25:12]Write to MH i2c: E2 08 00 83 05 80 11 00 00 00 00 00 00 02 [00:25:12]Write i2c OK [00:25:12]MH_I2C_Read... [00:25:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:12]Read from MH i2c: E2 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 17 00 [00:25:12]MH_I2C_Read... [00:25:12]Read from MH i2c: E2 17 00 83 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 59 [00:25:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:25:13]wFMCommunicate OK [00:25:13]SAM_PROTO_GetFieldsCounters [00:25:13]wFMCommunicate request_size=4 [00:25:13]MH_SAM_APDU [00:25:13]CAPDU: 80 13 00 00 [00:25:13]Write to MH i2c: E2 08 00 84 05 80 13 00 00 00 00 00 00 05 [00:25:13]Write i2c OK [00:25:13]MH_I2C_Read... [00:25:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:13]Read from MH i2c: E2 [00:25:13]MH_I2C_Read... [00:25:13]Read from MH i2c: E2 62 00 [00:25:13]MH_I2C_Read... [00:25:13]Read from MH i2c: E2 62 00 84 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 A4 [00:25: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 [00:25:13]wFMCommunicate OK [00:25:13]SAM_PROTO_GetFieldsCounters done [00:25:13]Malloc new data [00:25:13]Malloc new data [00:25:13]Malloc new data [00:25:13]KKMCreateXReportDocument OK [00:25:13]KKMSetXReportData OK [00:25:13]KKMPrepareXReportFMData [00:25:13]SAM_PROTO_GetShiftData [00:25:13]wFMCommunicate request_size=4 [00:25:13]MH_SAM_APDU [00:25:13]CAPDU: 80 13 02 00 [00:25:13]Write to MH i2c: E2 08 00 85 05 80 13 02 00 00 00 00 00 08 [00:25:13]Write i2c OK [00:25:13]MH_I2C_Read... [00:25:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:13]Read from MH i2c: E2 [00:25:13]MH_I2C_Read... [00:25:13]Read from MH i2c: E2 FD 00 [00:25:13]MH_I2C_Read... [00:25:13]Read from MH i2c: E2 FD 00 85 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DB [00:25:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 OFD Sender: No OFD packet to send [00:25:13]F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:25:13]wFMCommunicate OK [00:25:13]wFMCommunicate request_size=4 [00:25:13]MH_SAM_APDU [00:25:13]CAPDU: 80 17 00 00 [00:25:13]Write to MH i2c: E2 08 00 86 05 80 17 00 00 00 00 00 00 0B [00:25:13]Write i2c OK [00:25:13]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 86 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 2D [00:25:14]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:25:14]wFMCommunicate OK [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 17 00 00 [00:25:14]Write to MH i2c: E2 08 00 87 05 80 17 00 00 00 00 00 00 0C [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:14]Read from MH i2c: E2 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 [00:25:14]MH_I2C_Read... [00:25:14]Read from MH i2c: E2 FD 00 87 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 C3 [00:25: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 [00:25:14]wFMCommunicate OK [00:25:14]wFMCommunicate request_size=4 [00:25:14]MH_SAM_APDU [00:25:14]CAPDU: 80 17 00 00 [00:25:14]Write to MH i2c: E2 08 00 88 05 80 17 00 00 00 00 00 00 0D [00:25:14]Write i2c OK [00:25:14]MH_I2C_Read... [00:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:15]Read from MH i2c: E2 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 FD 00 88 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 7F [00:25:15]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:25:15]wFMCommunicate OK [00:25:15]wFMCommunicate request_size=4 [00:25:15]MH_SAM_APDU [00:25:15]CAPDU: 80 17 00 00 [00:25:15]Write to MH i2c: E2 08 00 89 05 80 17 00 00 00 00 00 00 0E [00:25:15]Write i2c OK [00:25:15]MH_I2C_Read... [00:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:25:15]Read from MH i2c: E2 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 CB 00 [00:25:15]MH_I2C_Read... [00:25:15]Read from MH i2c: E2 CB 00 89 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F7 [00:25:15]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:25:15]wFMCommunicate OK [00:25:15]SAM_PROTO_GetShiftData done [00:25:15]1194 (1194) - счетчики итогов смены [00:25:15] 1134 (4) - 54 - количество чеков со всеми признаками расчетов [00:25:15] 1129 (155) - счетчики операций «приход» [00:25:15] 1135 (4) - 54 - количество чеков по признаку расчетов [00:25:15] 1201 (3) - 10285.00 - общая итоговая сумма в чеках [00:25:15] 1136 (3) - 8186.00 - итоговая сумма в чеках наличными [00:25:15] 1138 (3) - 2099.00 - итоговая сумма в чеках безналичными [00:25:15] 1024 (122) - суммы налогов [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 0% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1006 (12) - суммы НДС [00:25:15] 1010 (1) - 12% - код ставки НДС [00:25:15] 1011 (3) - 1092.22 - сумма НДС по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (11) - суммы НСП [00:25:15] 1014 (1) - 1% - код ставки НСП [00:25:15] 1015 (2) - 90.99 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 2% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 3% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 5% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1130 (141) - счетчики операций «возврат прихода» [00:25:15] 1135 (4) - 0 - количество чеков по признаку расчетов [00:25:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:25:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:25:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:15] 1024 (117) - суммы налогов [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 0% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 12% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 2% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 3% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 5% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1131 (141) - счетчики операций «расход» [00:25:15] 1135 (4) - 0 - количество чеков по признаку расчетов [00:25:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:25:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:25:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:15] 1024 (117) - суммы налогов [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 0% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 12% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 2% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 3% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 5% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1132 (141) - счетчики операций «возврат расхода» [00:25:15] 1135 (4) - 0 - количество чеков по признаку расчетов [00:25:15] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:25:15] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:25:15] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:25:15] 1024 (117) - суммы налогов [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 0% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1006 (9) - суммы НДС [00:25:15] 1010 (1) - 12% - код ставки НДС [00:25:15] 1011 (0) - 0.00 - сумма НДС по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 2% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 3% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 5% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 0,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1007 (9) - суммы НСП [00:25:15] 1014 (1) - 1,50% - код ставки НСП [00:25:15] 1015 (0) - 0.00 - сумма НСП по ставке [00:25:15] 1133 (588) - - счетчики коррекции - не используются [00:25:15]SetTLVBufToDocument [00:25:15]Processing tag 1194 (04AA) [00:25:15]Load OK [00:25:15]SetTLVBufToDocument [00:25:15]Processing tag 1134 (046E) [00:25:15]Malloc new data [00:25:16]Processing tag 1129 (0469) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1135 (046F) [00:25:16]Malloc new data [00:25:16]Processing tag 1201 (04B1) [00:25:16]Malloc new data [00:25:16]Processing tag 1136 (0470) [00:25:16]Malloc new data [00:25:16]Processing tag 1138 (0472) [00:25:16]Malloc new data [00:25:16]Processing tag 1024 (0400) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1130 (046A) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1135 (046F) [00:25:16]Malloc new data [00:25:16]Processing tag 1201 (04B1) [00:25:16]Malloc new data [00:25:16]Processing tag 1136 (0470) [00:25:16]Malloc new data [00:25:16]Processing tag 1138 (0472) [00:25:16]Malloc new data [00:25:16]Processing tag 1024 (0400) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1131 (046B) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1135 (046F) [00:25:16]Malloc new data [00:25:16]Processing tag 1201 (04B1) [00:25:16]Malloc new data [00:25:16]Processing tag 1136 (0470) [00:25:16]Malloc new data [00:25:16]Processing tag 1138 (0472) [00:25:16]Malloc new data [00:25:16]Processing tag 1024 (0400) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1132 (046C) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1135 (046F) [00:25:16]Malloc new data [00:25:16]Processing tag 1201 (04B1) [00:25:16]Malloc new data [00:25:16]Processing tag 1136 (0470) [00:25:16]Malloc new data [00:25:16]Processing tag 1138 (0472) [00:25:16]Malloc new data [00:25:16]Processing tag 1024 (0400) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1006 (03EE) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1010 (03F2) [00:25:16]Malloc new data [00:25:16]Processing tag 1011 (03F3) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1007 (03EF) [00:25:16]Load OK [00:25:16]SetTLVBufToDocument [00:25:16]Processing tag 1014 (03F6) [00:25:16]Malloc new data [00:25:16]Processing tag 1015 (03F7) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Processing tag 1133 (046D) [00:25:16]Malloc new data [00:25:16]SetTLVBufToDocument err=0 [00:25:16]SetTLVBufToDocument err=0 [00:25:16]Malloc new data [00:25:16]SAM_PROTO_GetFMData [00:25:16]wFMCommunicate request_size=4 [00:25:16]MH_SAM_APDU [00:25:16]CAPDU: 80 13 03 00 [00:25:16]Write to MH i2c: E2 08 00 8A 05 80 13 03 00 00 00 00 00 0E [00:25:16]Write i2c OK [00:25:16]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 [00:25:17]MH_I2C_Read... [00:25:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:17]Read from MH i2c: E2 FD 00 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 8A 05 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 31 [00:25:17]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:25:17]wFMCommunicate OK [00:25:17]wFMCommunicate request_size=4 [00:25:17]MH_SAM_APDU [00:25:17]CAPDU: 80 17 00 00 [00:25:17]Write to MH i2c: E2 08 00 8B 05 80 17 00 00 00 00 00 00 10 [00:25:17]Write i2c OK [00:25:17]MH_I2C_Read... [00:25:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:17]Read from MH i2c: E2 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 [00:25:17]MH_I2C_Read... [00:25:17]Read from MH i2c: E2 FD 00 8B 05 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 B5 [00:25:17]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:25:18]wFMCommunicate OK [00:25:18]wFMCommunicate request_size=4 [00:25:18]MH_SAM_APDU [00:25:18]CAPDU: 80 17 00 00 [00:25:18]Write to MH i2c: E2 08 00 8C 05 80 17 00 00 00 00 00 00 11 [00:25:18]Write i2c OK [00:25:18]MH_I2C_Read... [00:25:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:18]Read from MH i2c: E2 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 8C 05 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 3A [00:25:18]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:25:18]wFMCommunicate OK [00:25:18]wFMCommunicate request_size=4 [00:25:18]MH_SAM_APDU [00:25:18]CAPDU: 80 17 00 00 [00:25:18]Write to MH i2c: E2 08 00 8D 05 80 17 00 00 00 00 00 00 12 [00:25:18]Write i2c OK [00:25:18]MH_I2C_Read... [00:25:18]OFD Sender: No OFD packet to send [00:25:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:18]Read from MH i2c: E2 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 [00:25:18]MH_I2C_Read... [00:25:18]Read from MH i2c: E2 FD 00 8D 05 00 03 00 00 EF 03 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 90 00 93 [00:25:19]RAPDU: 03 00 00 EF 03 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 90 00 [00:25:19]wFMCommunicate OK [00:25:19]wFMCommunicate request_size=4 [00:25:19]MH_SAM_APDU [00:25:19]CAPDU: 80 17 00 00 [00:25:19]Write to MH i2c: E2 08 00 8E 05 80 17 00 00 00 00 00 00 13 [00:25:19]Write i2c OK [00:25:19]MH_I2C_Read... [00:25:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:25:19]Read from MH i2c: E2 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 D9 00 [00:25:19]MH_I2C_Read... [00:25:19]Read from MH i2c: E2 D9 00 8E 05 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F2 [00:25:19]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:19]wFMCommunicate OK [00:25:19]SAM_PROTO_GetFMData done [00:25:19]FM_GetFMData:85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:25:20]oper:6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:25:20]total:C3 F5 30 0C [00:25:20]Malloc new data [00:25:20]oper:6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:25:20]total:28 6E [00:25:20]Malloc new data [00:25:20]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:25:20]total: [00:25:20]Malloc new data [00:25:20]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:25:20]total: [00:25:20]Malloc new data [00:25:20]KKMPrepareXReportFMData err=0 [00:25:20]Х отчет ИНН: 02508201610067 Кассир: Мамытов А. 21.08.2024 00:25 Смена: 10 РНМ: 0000000000108878 ЗНМ: 0300000128 СНО: Общий режим Всего чеков: 54 ИТОГИ ПРИХОД Чеков: 54 Общий итог: 10285.00 Итого наличными: 8186.00 Итого безнал.: 2099.00 НДС 0% : 0.00 НДС 12% : 1092.22 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 90.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 8186.00 НС Приход: 2045352.35 НС Возвр.Прихода: 282.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965619 [00:25:20]StoreToDocumentArchive [00:25:20]MH_GetDate [00:25:20]Write to MH i2c: F0 00 00 8F 05 83 [00:25:20]Write i2c OK [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: F0 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: F0 09 00 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: F0 09 00 8F 05 00 F2 33 C5 66 13 35 D9 65 62 [00:25:20]shift 10 fd 1724199922 [00:25:20]Create dir for shift 0010 [00:25:20]save to /storage/0010/doc_1724199922 [00:25:20]save last doc name /storage/0010/doc_1724199922 to /storage/kkm_last_doc_name [00:25:20]save OK [00:25:20]Clear old archive folders... [00:25:20]NVStorageSaveData kkm_last_timestamp [00:25:20]File name is /storage/kkm_last_timestamp [00:25:20]Write 4 bytes [00:25:20]NVStorageSaveData done [00:25:20]ExternCall_PrintAddStr [00:25:20]wPrintStart [00:25:20]Write to MH i2c: 01 00 00 90 05 95 [00:25:20]Write i2c OK [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: 01 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: 01 07 00 [00:25:20]MH_I2C_Read... [00:25:20]Read from MH i2c: 01 07 00 90 05 00 00 00 00 00 FF 0F AA [00:25:20]RasterBufferAndPrint [00:25:20]line Х отчет [00:25:20]line ИНН: 02508201610067 [00:25:20]line Кассир: Мамытов А. [00:25:20]line 21.08.2024 00:25 [00:25:20]line Смена: 10 [00:25:20]line РНМ: 0000000000108878 [00:25:20]line ЗНМ: 0300000128 [00:25:20]line СНО: Общий режим [00:25:20]line Всего чеков: 54 [00:25:20]line ИТОГИ ПРИХОД [00:25:20]line Чеков: 54 [00:25:20]line Общий итог: 10285.00 [00:25:20]line Итого наличными: 8186.00 [00:25:20]line Итого безнал.: 2099.00 [00:25:20]line НДС 0% : 0.00 [00:25:20]line НДС 12% : 1092.22 [00:25:20]line НСП 0% : 0.00 [00:25:20]line НСП 1,50% : 0.00 [00:25:20]line НСП 0,50% : 0.00 [00:25:20]line НСП 5% : 0.00 [00:25:20]line НСП 3% : 0.00 [00:25:20]line НСП 2% : 0.00 [00:25:20]line НСП 1% : 90.99 [00:25:20]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:25:20]line Чеков: 0 [00:25:20]line Общий итог: 0.00 [00:25:20]line Итого наличными: 0.00 [00:25:20]line Итого безнал.: 0.00 [00:25:20]line НДС 0% : 0.00 [00:25:20]line НДС 12% : 0.00 [00:25:20]line НСП 0% : 0.00 [00:25:20]line НСП 1,50% : 0.00 [00:25:20]line НСП 0,50% : 0.00 [00:25:20]line НСП 5% : 0.00 [00:25:20]line НСП 3% : 0.00 [00:25:20]line НСП 2% : 0.00 [00:25:20]line НСП 1% : 0.00 [00:25:20]line ИТОГИ РАСХОД [00:25:20]line Чеков: 0 [00:25:20]line Общий итог: 0.00 [00:25:20]line Итого наличными: 0.00 [00:25:20]line Итого безнал.: 0.00 [00:25:20]line НДС 0% : 0.00 [00:25:20]line НДС 12% : 0.00 [00:25:20]line НСП 0% : 0.00 [00:25:20]line НСП 1,50% : 0.00 [00:25:20]line НСП 0,50% : 0.00 [00:25:20]line НСП 5% : 0.00 [00:25:20]line НСП 3% : 0.00 [00:25:20]line НСП 2% : 0.00 [00:25:20]line НСП 1% : 0.00 [00:25:20]line ИТОГИ ВОЗВРАТ РАСХОДА [00:25:20]line Чеков: 0 [00:25:20]line Общий итог: 0.00 [00:25:20]line Итого наличными: 0.00 [00:25:20]line Итого безнал.: 0.00 [00:25:20]line НДС 0% : 0.00 [00:25:20]line НДС 12% : 0.00 [00:25:20]line НСП 0% : 0.00 [00:25:20]line НСП 1,50% : 0.00 [00:25:20]line НСП 0,50% : 0.00 [00:25:20]line НСП 5% : 0.00 [00:25:20]line НСП 3% : 0.00 [00:25:20]line НСП 2% : 0.00 [00:25:20]line НСП 1% : 0.00 [00:25:20]line Сумма внесений: 0.00 [00:25:20]line Сумма выплат: 0.00 [00:25:20]line Нал. в кассе: 8186.00 [00:25:20]line НС Приход: 2045352.35 [00:25:20]line НС Возвр.Прихода: 282.00 [00:25:20]line НС Расход: 0.00 [00:25:20]line НС Возвр.Расхода: 0.00 [00:25:20]line ФМ: 0000000000965619 [00:25:20]written 0, free lines is 4095 [00:25:21]Write to MH i2c: 01 00 00 DB 05 E0 [00:25:21]Write i2c OK [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: 01 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: 01 07 00 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: 01 07 00 DB 05 00 00 00 00 00 A0 0A 91 [00:25:21]RasterBufferAndPrint [00:25:21]line [00:25:21]line [00:25:21]line [00:25:21]line [00:25:21]line [00:25:21]written 0, free lines is 2750 [00:25:21]MH_Cut [00:25:21]Write to MH i2c: D1 01 00 E2 05 01 B9 [00:25:21]Write i2c OK [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: D1 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: D1 01 00 [00:25:21]MH_I2C_Read... [00:25:21]Read from MH i2c: D1 01 00 E2 05 00 B8 [00:25:21]Write to MH i2c: 01 00 00 E3 05 E8 [00:25:21]Write i2c OK [00:25:21]MH_I2C_Read... [00:25:22]*** Cut start [00:25:22]*** Partial cut [00:25:22]*** CUTSNS_PIN = 1 [00:25:22]*** CUTSNS_PIN = 0 [00:25:23]*** Brake cut motor [00:25:23]Read from MH i2c: 01 [00:25:23]MH_I2C_Read... [00:25:23]*** Stop cut motor [00:25:23]*** Cut end [00:25:23]Read from MH i2c: 01 07 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: 01 07 00 E3 05 00 00 00 00 00 FF 0F FD [00:25:23]process_action x_report done [00:25:23]requested_data is exist [00:25:23]produce_requested_data [00:25:23]requested_item fd.num is exist - process it [00:25:23]SAM_PROTO_GetFieldsCounters [00:25:23]wFMCommunicate request_size=4 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 13 00 00 [00:25:23]Write to MH i2c: E2 08 00 E4 05 80 13 00 00 00 00 00 00 65 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 62 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 62 00 E4 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 04 [00:25: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 [00:25:23]wFMCommunicate OK [00:25:23]SAM_PROTO_GetFieldsCounters done [00:25:23]requested_item shift.num is exist - process it [00:25:23]requested_item shift.opened is exist - process it [00:25:23]req_shift_opened [00:25:23]FM_GetShiftState [00:25:23]SAM_PROTO_GetShiftState [00:25:23]wFMCommunicate request_size=4 [00:25:23]MH_SAM_APDU [00:25:23]CAPDU: 80 13 01 00 [00:25:23]Write to MH i2c: E2 08 00 E5 05 80 13 01 00 00 00 00 00 67 [00:25:23]Write i2c OK [00:25:23]MH_I2C_Read... [00:25:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:23]Read from MH i2c: E2 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 0E 00 [00:25:23]MH_I2C_Read... [00:25:23]Read from MH i2c: E2 0E 00 E5 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 44 [00:25:23]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:25:23]wFMCommunicate OK [00:25:23]SAM_PROTO_GetShiftState done [00:25:23]FM_GetShiftState done [00:25:23]req_shift_opened done [00:25:23]requested_item shift.open_date is exist - process it [00:25:23]req_shift_open_date [00:25:23]req_shift_open_date done [00:25:23]produce_requested_data done [00:25:23]produce_requested_data return {"fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [00:25:23]process_action_free x_report [00:25:23]json_value_free [00:25:23]json_value_free done [00:25:23]process_json_proto returns [00:25:23]Send response to host [00:25:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [00:25:23]free response buf [00:25:23]execute_script done [00:25:23]execute_script returns [00:25:23]free content buf [00:25:23]Sock 7.Close socket [00:25:23]Sock 7.Thread stoped [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:56]accept exits with 9 [00:25:56]New connection [00:25:56]New thread 3066928484 created [00:25:56]Thread 3066785124 joined [00:25:56]Waiting for new connection... [00:25:56] Sock 9.Parse request [00:25:56]Sock 9.Check first char [00:25:56]Sock 9.First char is OK [00:25:56]request: POST /json_proto HTTP/1.0 [00:25:56]Method: POST [00:25:56]URL: /json_proto [00:25:56]Method is POST - this is cgi request [00:25:56]url: /json_proto [00:25:56]query_string will be loaded in cgi processing [00:25:56]execute_cgi json_proto POST (null) [00:25:56]execute_cgi path=json_proto method=POST [00:25:56]POST find Content-Length [00:25:56]Host: 172.17.55.134:8080 [00:25:56]Content-Length: 215 [00:25:56]Content-Type: application/json [00:25:56] [00:25:56]POST finish read [00:25:56]Found Content-Length = 215 [00:25:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:56]execute_script... [00:25:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:25:56]POST & json_proto [00:25:56]process_json_proto [00:25:56]json parsed OK: [00:25:56]protocol is kg_v1.0 [00:25:56]action value=get_value [00:25:56]process_action get_value [00:25:56]cmd_get_value [00:25:56]process_action get_value done [00:25:56]requested_data is exist [00:25:56]produce_requested_data [00:25:56]requested_item kkm.sn is exist - process it [00:25:56]requested_item kkm.ver is exist - process it [00:25:56]requested_item fm.sn is exist - process it [00:25:56]wFMCommunicate request_size=4 [00:25:56]MH_SAM_APDU [00:25:56]CAPDU: 80 11 00 00 [00:25:56]Write to MH i2c: E2 08 00 E6 05 80 11 00 00 00 00 00 00 65 [00:25:56]Write i2c OK [00:25:56]MH_I2C_Read... [00:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:25:56]Read from MH i2c: E2 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 17 00 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 17 00 E6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 BC [00:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:25:56]wFMCommunicate OK [00:25:56]requested_item fd.num is exist - process it [00:25:56]SAM_PROTO_GetFieldsCounters [00:25:56]wFMCommunicate request_size=4 [00:25:56]MH_SAM_APDU [00:25:56]CAPDU: 80 13 00 00 [00:25:56]Write to MH i2c: E2 08 00 E7 05 80 13 00 00 00 00 00 00 68 [00:25:56]Write i2c OK [00:25:56]MH_I2C_Read... [00:25:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:25:56]Read from MH i2c: E2 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 62 00 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 62 00 E7 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 07 [00:25:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D6 23 00 00 0E 04 04 00 D8 00 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 [00:25:56]wFMCommunicate OK [00:25:56]SAM_PROTO_GetFieldsCounters done [00:25:56]requested_item shift.num is exist - process it [00:25:56]requested_item shift.opened is exist - process it [00:25:56]req_shift_opened [00:25:56]FM_GetShiftState [00:25:56]SAM_PROTO_GetShiftState [00:25:56]wFMCommunicate request_size=4 [00:25:56]MH_SAM_APDU [00:25:56]CAPDU: 80 13 01 00 [00:25:56]Write to MH i2c: E2 08 00 E8 05 80 13 01 00 00 00 00 00 6A [00:25:56]Write i2c OK [00:25:56]MH_I2C_Read... [00:25:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:25:56]Read from MH i2c: E2 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 0E 00 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 0E 00 E8 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 47 [00:25:56]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:25:56]wFMCommunicate OK [00:25:56]SAM_PROTO_GetShiftState done [00:25:56]FM_GetShiftState done [00:25:56]req_shift_opened done [00:25:56]requested_item shift.open_date is exist - process it [00:25:56]req_shift_open_date [00:25:56]req_shift_open_date done [00:25:56]produce_requested_data done [00:25:56]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861} [00:25:56]process_action_free get_value [00:25:56]json_value_free [00:25:56]json_value_free done [00:25:56]process_json_proto returns [00:25:56]Send response to host [00:25:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9174,"shift.num":216,"shift.opened":1,"shift.open_date":1724113861}}} [00:25:56]free response buf [00:25:56]execute_script done [00:25:56]execute_script returns [00:25:56]free content buf [00:25:56]Sock 9.Close socket [00:25:56]Sock 9.Thread stoped [00:25:56]accept exits with 7 [00:25:56]New connection [00:25:56]New thread 3066785124 created [00:25:56]Thread 3066928484 joined [00:25:56]Waiting for new connection... [00:25:56] Sock 7.Parse request [00:25:56]Sock 7.Check first char [00:25:56]Sock 7.First char is OK [00:25:56]request: POST /json_proto HTTP/1.0 [00:25:56]Method: POST [00:25:56]URL: /json_proto [00:25:56]Method is POST - this is cgi request [00:25:56]url: /json_proto [00:25:56]query_string will be loaded in cgi processing [00:25:56]execute_cgi json_proto POST (null) [00:25:56]execute_cgi path=json_proto method=POST [00:25:56]POST find Content-Length [00:25:56]Host: 172.17.55.134:8080 [00:25:56]Content-Length: 331 [00:25:56]Content-Type: application/json [00:25:56] [00:25:56]POST finish read [00:25:56]Found Content-Length = 331 [00:25:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:56]execute_script... [00:25:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:25:56]POST & json_proto [00:25:56]process_json_proto [00:25:56]json parsed OK: [00:25:56]protocol is kg_v1.0 [00:25:56]action value=get_value [00:25:56]process_action get_value [00:25:56]cmd_get_value [00:25:56]process_action get_value done [00:25:56]requested_data is exist [00:25:56]produce_requested_data [00:25:56]requested_item fm.sale.total is exist - process it [00:25:56]SAM_PROTO_GetFMData [00:25:56]wFMCommunicate request_size=4 [00:25:56]MH_SAM_APDU [00:25:56]CAPDU: 80 13 03 00 [00:25:56]Write to MH i2c: E2 08 00 E9 05 80 13 03 00 00 00 00 00 6D [00:25:56]Write i2c OK [00:25:56]MH_I2C_Read... [00:25:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:25:56]Read from MH i2c: E2 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 FD 00 [00:25:56]MH_I2C_Read... [00:25:56]Read from MH i2c: E2 FD 00 E9 05 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 90 [00:25:56]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:25:56]wFMCommunicate OK [00:25:56]wFMCommunicate request_size=4 [00:25:56]MH_SAM_APDU [00:25:56]CAPDU: 80 17 00 00 [00:25:56]Write to MH i2c: E2 08 00 EA 05 80 17 00 00 00 00 00 00 6F [00:25:56]Write i2c OK [00:25:56]MH_I2C_Read... [00:25:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:57]Read from MH i2c: E2 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 EA 05 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 14 [00:25:57]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:25:57]wFMCommunicate OK [00:25:57]wFMCommunicate request_size=4 [00:25:57]MH_SAM_APDU [00:25:57]CAPDU: 80 17 00 00 [00:25:57]Write to MH i2c: E2 08 00 EB 05 80 17 00 00 00 00 00 00 70 [00:25:57]Write i2c OK [00:25:57]MH_I2C_Read... [00:25:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:57]Read from MH i2c: E2 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 EB 05 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 99 [00:25:57]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:25:57]wFMCommunicate OK [00:25:57]wFMCommunicate request_size=4 [00:25:57]MH_SAM_APDU [00:25:57]CAPDU: 80 17 00 00 [00:25:57]Write to MH i2c: E2 08 00 EC 05 80 17 00 00 00 00 00 00 71 [00:25:57]Write i2c OK [00:25:57]MH_I2C_Read... [00:25:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:57]Read from MH i2c: E2 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 [00:25:57]MH_I2C_Read... [00:25:57]Read from MH i2c: E2 FD 00 EC 05 00 03 00 00 EF 03 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 90 00 F2 [00:25:57]RAPDU: 03 00 00 EF 03 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 90 00 [00:25:57]wFMCommunicate OK [00:25:57]wFMCommunicate request_size=4 [00:25:57]MH_SAM_APDU [00:25:57]CAPDU: 80 17 00 00 [00:25:57]Write to MH i2c: E2 08 00 ED 05 80 17 00 00 00 00 00 00 72 [00:25:57]Write i2c OK [00:25:57]MH_I2C_Read... [00:25:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:25:58]Read from MH i2c: E2 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 D9 00 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 D9 00 ED 05 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 51 [00:25:58]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:58]wFMCommunicate OK [00:25:58]SAM_PROTO_GetFMData done [00:25:58]requested_item fm.sale_refund.total is exist - process it [00:25:58]requested_item fm.buy.total is exist - process it [00:25:58]requested_item shift.sale.total is exist - process it [00:25:58]SAM_PROTO_GetShiftData [00:25:58]wFMCommunicate request_size=4 [00:25:58]MH_SAM_APDU [00:25:58]CAPDU: 80 13 02 00 [00:25:58]Write to MH i2c: E2 08 00 EE 05 80 13 02 00 00 00 00 00 71 [00:25:58]Write i2c OK [00:25:58]MH_I2C_Read... [00:25:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:25:58]Read from MH i2c: E2 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 FD 00 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 FD 00 EE 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 44 [00:25:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:25:58]wFMCommunicate OK [00:25:58]wFMCommunicate request_size=4 [00:25:58]MH_SAM_APDU [00:25:58]CAPDU: 80 17 00 00 [00:25:58]Write to MH i2c: E2 08 00 EF 05 80 17 00 00 00 00 00 00 74 [00:25:58]Write i2c OK [00:25:58]MH_I2C_Read... [00:25:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:58]Read from MH i2c: E2 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 FD 00 [00:25:58]MH_I2C_Read... [00:25:58]Read from MH i2c: E2 FD 00 EF 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 96 [00:25:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:25:58]wFMCommunicate OK [00:25:58]wFMCommunicate request_size=4 [00:25:58]MH_SAM_APDU [00:25:58]CAPDU: 80 17 00 00 [00:25:58]Write to MH i2c: E2 08 00 F0 05 80 17 00 00 00 00 00 00 75 [00:25:58]Write i2c OK [00:25:58]MH_I2C_Read... [00:25:58]OFD Sender: No OFD packet to send [00:25:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:59]Read from MH i2c: E2 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 FD 00 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 FD 00 F0 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 2C [00:25:59]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:25:59]wFMCommunicate OK [00:25:59]wFMCommunicate request_size=4 [00:25:59]MH_SAM_APDU [00:25:59]CAPDU: 80 17 00 00 [00:25:59]Write to MH i2c: E2 08 00 F1 05 80 17 00 00 00 00 00 00 76 [00:25:59]Write i2c OK [00:25:59]MH_I2C_Read... [00:25:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:25:59]Read from MH i2c: E2 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 FD 00 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 FD 00 F1 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E8 [00:25:59]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:25:59]wFMCommunicate OK [00:25:59]wFMCommunicate request_size=4 [00:25:59]MH_SAM_APDU [00:25:59]CAPDU: 80 17 00 00 [00:25:59]Write to MH i2c: E2 08 00 F2 05 80 17 00 00 00 00 00 00 77 [00:25:59]Write i2c OK [00:25:59]MH_I2C_Read... [00:25:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:25:59]Read from MH i2c: E2 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 CB 00 [00:25:59]MH_I2C_Read... [00:25:59]Read from MH i2c: E2 CB 00 F2 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 60 [00:25:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:25:59]wFMCommunicate OK [00:25:59]SAM_PROTO_GetShiftData done [00:25:59]requested_item shift.sale.total_cash is exist - process it [00:25:59]requested_item shift.sale_refund.total is exist - process it [00:25:59]requested_item shift.sale_refund.total_cash is exist - process it [00:25:59]requested_item shift.buy.total is exist - process it [00:25:59]requested_item shift.buy.total_cash is exist - process it [00:25:59]produce_requested_data done [00:25:59]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:59]process_action_free get_value [00:25:59]json_value_free [00:25:59]json_value_free done [00:25:59]process_json_proto returns [00:25:59]Send response to host [00:25:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:25:59]free response buf [00:25:59]execute_script done [00:25:59]execute_script returns [00:25:59]free content buf [00:25:59]Sock 7.Close socket [00:25:59]Sock 7.Thread stoped [00:26:00]accept exits with 9 [00:26:00]New connection [00:26:00]New thread 3066928484 created [00:26:00]Thread 3066785124 joined [00:26:00]Waiting for new connection... [00:26:00] Sock 9.Parse request [00:26:00]Sock 9.Check first char [00:26:00]Sock 9.First char is OK [00:26:00]request: POST /json_proto HTTP/1.0 [00:26:00]Method: POST [00:26:00]URL: /json_proto [00:26:00]Method is POST - this is cgi request [00:26:00]url: /json_proto [00:26:00]query_string will be loaded in cgi processing [00:26:00]execute_cgi json_proto POST (null) [00:26:00]execute_cgi path=json_proto method=POST [00:26:00]POST find Content-Length [00:26:00]Host: 172.17.55.134:8080 [00:26:00]Content-Length: 331 [00:26:00]Content-Type: application/json [00:26:00] [00:26:00]POST finish read [00:26:00]Found Content-Length = 331 [00:26:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:26:00]execute_script... [00:26:00]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:26:00]POST & json_proto [00:26:00]process_json_proto [00:26:00]json parsed OK: [00:26:00]protocol is kg_v1.0 [00:26:00]action value=get_value [00:26:00]process_action get_value [00:26:00]cmd_get_value [00:26:00]process_action get_value done [00:26:00]requested_data is exist [00:26:00]produce_requested_data [00:26:00]requested_item fm.sale.total is exist - process it [00:26:00]SAM_PROTO_GetFMData [00:26:00]wFMCommunicate request_size=4 [00:26:00]MH_SAM_APDU [00:26:00]CAPDU: 80 13 03 00 [00:26:00]Write to MH i2c: E2 08 00 F3 05 80 13 03 00 00 00 00 00 77 [00:26:00]Write i2c OK [00:26:00]MH_I2C_Read... [00:26:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:26:00]Read from MH i2c: E2 [00:26:00]MH_I2C_Read... [00:26:00]Read from MH i2c: E2 FD 00 [00:26:00]MH_I2C_Read... [00:26:00]Read from MH i2c: E2 FD 00 F3 05 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 9A [00:26:00]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:26:00]wFMCommunicate OK [00:26:00]wFMCommunicate request_size=4 [00:26:00]MH_SAM_APDU [00:26:00]CAPDU: 80 17 00 00 [00:26:00]Write to MH i2c: E2 08 00 F4 05 80 17 00 00 00 00 00 00 79 [00:26:00]Write i2c OK [00:26:00]MH_I2C_Read... [00:26:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:00]Read from MH i2c: E2 [00:26:00]MH_I2C_Read... [00:26:00]Read from MH i2c: E2 FD 00 [00:26:00]MH_I2C_Read... [00:26:00]Read from MH i2c: E2 FD 00 F4 05 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 1E [00:26:01]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:26:01]wFMCommunicate OK [00:26:01]wFMCommunicate request_size=4 [00:26:01]MH_SAM_APDU [00:26:01]CAPDU: 80 17 00 00 [00:26:01]Write to MH i2c: E2 08 00 F5 05 80 17 00 00 00 00 00 00 7A [00:26:01]Write i2c OK [00:26:01]MH_I2C_Read... [00:26:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:01]Read from MH i2c: E2 [00:26:01]MH_I2C_Read... [00:26:01]Read from MH i2c: E2 FD 00 [00:26:01]MH_I2C_Read... [00:26:01]Read from MH i2c: E2 FD 00 F5 05 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 A3 [00:26:01]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:26:01]wFMCommunicate OK [00:26:01]wFMCommunicate request_size=4 [00:26:01]MH_SAM_APDU [00:26:01]CAPDU: 80 17 00 00 [00:26:01]Write to MH i2c: E2 08 00 F6 05 80 17 00 00 00 00 00 00 7B [00:26:01]Write i2c OK [00:26:01]MH_I2C_Read... [00:26:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:01]Read from MH i2c: E2 [00:26:01]MH_I2C_Read... [00:26:01]Read from MH i2c: E2 FD 00 [00:26:01]MH_I2C_Read... [00:26:01]Read from MH i2c: E2 FD 00 F6 05 00 03 00 00 EF 03 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 90 00 FC [00:26:01]RAPDU: 03 00 00 EF 03 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 90 00 [00:26:02]wFMCommunicate OK [00:26:02]wFMCommunicate request_size=4 [00:26:02]MH_SAM_APDU [00:26:02]CAPDU: 80 17 00 00 [00:26:02]Write to MH i2c: E2 08 00 F7 05 80 17 00 00 00 00 00 00 7C [00:26:02]Write i2c OK [00:26:02]MH_I2C_Read... [00:26:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:26:02]Read from MH i2c: E2 [00:26:02]MH_I2C_Read... [00:26:02]Read from MH i2c: E2 D9 00 [00:26:02]MH_I2C_Read... [00:26:02]Read from MH i2c: E2 D9 00 F7 05 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 5B [00:26:02]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:26:02]wFMCommunicate OK [00:26:02]SAM_PROTO_GetFMData done [00:26:02]requested_item fm.sale_refund.total is exist - process it [00:26:02]requested_item fm.buy.total is exist - process it [00:26:02]requested_item shift.sale.total is exist - process it [00:26:02]SAM_PROTO_GetShiftData [00:26:02]wFMCommunicate request_size=4 [00:26:02]MH_SAM_APDU [00:26:02]CAPDU: 80 13 02 00 [00:26:02]Write to MH i2c: E2 08 00 F8 05 80 13 02 00 00 00 00 00 7B [00:26:02]Write i2c OK [00:26:02]MH_I2C_Read... [00:26:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:26:02]Read from MH i2c: E2 [00:26:02]MH_I2C_Read... [00:26:02]Read from MH i2c: E2 FD 00 [00:26:02]MH_I2C_Read... [00:26:02]Read from MH i2c: E2 FD 00 F8 05 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4E [00:26:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:26:03]wFMCommunicate OK [00:26:03]wFMCommunicate request_size=4 [00:26:03]MH_SAM_APDU [00:26:03]CAPDU: 80 17 00 00 [00:26:03]Write to MH i2c: E2 08 00 F9 05 80 17 00 00 00 00 00 00 7E [00:26:03]Write i2c OK [00:26:03]MH_I2C_Read... [00:26:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:03]Read from MH i2c: E2 [00:26:03]MH_I2C_Read... [00:26:03]Read from MH i2c: E2 FD 00 [00:26:03]MH_I2C_Read... [00:26:03]Read from MH i2c: E2 FD 00 F9 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 A0 [00:26:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:26:03]wFMCommunicate OK [00:26:03]wFMCommunicate request_size=4 [00:26:03]MH_SAM_APDU [00:26:03]CAPDU: 80 17 00 00 [00:26:03]Write to MH i2c: E2 08 00 FA 05 80 17 00 00 00 00 00 00 7F [00:26:03]Write i2c OK [00:26:03]MH_I2C_Read... [00:26:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:03]Read from MH i2c: E2 [00:26:03]MH_I2C_Read... [00:26:03]Read from MH i2c: E2 FD 00 [00:26:03]MH_I2C_Read... [00:26:03]Read from MH i2c: E2 FD 00 FA 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 36 [00:26:03]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:26:03]wFMCommunicate OK [00:26:03]wFMCommunicate request_size=4 [00:26:03]MH_SAM_APDU [00:26:03]CAPDU: 80 17 00 00 [00:26:03]Write to MH i2c: E2 08 00 FB 05 80 17 00 00 00 00 00 00 80 [00:26:03]Write i2c OK [00:26:03]MH_I2C_Read... [00:26:04]OFD Sender: No OFD packet to send [00:26:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:04]Read from MH i2c: E2 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 FD 00 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 FD 00 FB 05 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F2 [00:26:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:26:04]wFMCommunicate OK [00:26:04]wFMCommunicate request_size=4 [00:26:04]MH_SAM_APDU [00:26:04]CAPDU: 80 17 00 00 [00:26:04]Write to MH i2c: E2 08 00 FC 05 80 17 00 00 00 00 00 00 81 [00:26:04]Write i2c OK [00:26:04]MH_I2C_Read... [00:26:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:26:04]Read from MH i2c: E2 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 CB 00 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 CB 00 FC 05 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6A [00:26:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:26:04]wFMCommunicate OK [00:26:04]SAM_PROTO_GetShiftData done [00:26:04]requested_item shift.sale.total_cash is exist - process it [00:26:04]requested_item shift.sale_refund.total is exist - process it [00:26:04]requested_item shift.sale_refund.total_cash is exist - process it [00:26:04]requested_item shift.buy.total is exist - process it [00:26:04]requested_item shift.buy.total_cash is exist - process it [00:26:04]produce_requested_data done [00:26:04]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:26:04]process_action_free get_value [00:26:04]json_value_free [00:26:04]json_value_free done [00:26:04]process_json_proto returns [00:26:04]Send response to host [00:26:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:26:04]free response buf [00:26:04]execute_script done [00:26:04]execute_script returns [00:26:04]free content buf [00:26:04]Sock 9.Close socket [00:26:04]Sock 9.Thread stoped [00:26:04]accept exits with 7 [00:26:04]New connection [00:26:04]New thread 3066785124 created [00:26:04]Thread 3066928484 joined [00:26:04]Waiting for new connection... [00:26:04] Sock 7.Parse request [00:26:04]Sock 7.Check first char [00:26:04]Sock 7.First char is OK [00:26:04]request: POST /json_proto HTTP/1.0 [00:26:04]Method: POST [00:26:04]URL: /json_proto [00:26:04]Method is POST - this is cgi request [00:26:04]url: /json_proto [00:26:04]query_string will be loaded in cgi processing [00:26:04]execute_cgi json_proto POST (null) [00:26:04]execute_cgi path=json_proto method=POST [00:26:04]POST find Content-Length [00:26:04]Host: 172.17.55.134:8080 [00:26:04]Content-Length: 253 [00:26:04]Content-Type: application/json [00:26:04] [00:26:04]POST finish read [00:26:04]Found Content-Length = 253 [00:26:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u043C\u044B\u0442\u043E\u0432 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:04]execute_script... [00:26:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0430\u043C\u044B\u0442\u043E\u0432 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:04]POST & json_proto [00:26:04]process_json_proto [00:26:04]json parsed OK: [00:26:04]protocol is kg_v1.0 [00:26:04]action value=close_shift [00:26:04]process_action close_shift [00:26:04]cmd_close_shift [00:26:04]MH_GetDate [00:26:04]Write to MH i2c: F0 00 00 FD 05 F1 [00:26:04]Write i2c OK [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: F0 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: F0 09 00 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: F0 09 00 FD 05 00 1E 34 C5 66 13 35 D9 65 FD [00:26:04]GetLastDocTimeStamp 1724199914 [00:26:04]current date 1724199966 [00:26:04]FM_GetShiftState [00:26:04]SAM_PROTO_GetShiftState [00:26:04]wFMCommunicate request_size=4 [00:26:04]MH_SAM_APDU [00:26:04]CAPDU: 80 13 01 00 [00:26:04]Write to MH i2c: E2 08 00 FE 05 80 13 01 00 00 00 00 00 80 [00:26:04]Write i2c OK [00:26:04]MH_I2C_Read... [00:26:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:04]Read from MH i2c: E2 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 0E 00 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: E2 0E 00 FE 05 00 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 5D [00:26:04]RAPDU: 09 00 01 C5 E3 C3 66 00 00 00 00 90 00 [00:26:04]wFMCommunicate OK [00:26:04]SAM_PROTO_GetShiftState done [00:26:04]FM_GetShiftState done [00:26:04]KKMCreateCloseShiftDocument [00:26:04]Load OK [00:26:04]Malloc new data [00:26:04]MH_GetDate [00:26:04]Write to MH i2c: F0 00 00 FF 05 F3 [00:26:04]Write i2c OK [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: F0 [00:26:04]MH_I2C_Read... [00:26:04]Read from MH i2c: F0 09 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: F0 09 00 FF 05 00 1E 34 C5 66 13 35 D9 65 FF [00:26:05]Malloc new data [00:26:05]Malloc new data [00:26:05]Malloc new data [00:26:05]Malloc new data [00:26:05]KKMCreateCloseShiftDocument OK [00:26:05]KKMSetCloseShiftData OK [00:26:05]ProcessDocumentItem done err = 0, tmpTLVsize=68 [00:26:05]tlvbuf is 005A4AF0 [00:26:05]KKMLoadAndSignCloseShiftData [00:26:05]SAM_PROTO_ProcessDocument [00:26:05]wFMCommunicate request_size=9 [00:26:05]MH_SAM_APDU [00:26:05]CAPDU: 80 15 01 00 04 05 00 44 00 [00:26:05]Write to MH i2c: E2 0C 00 00 06 80 15 01 00 04 00 05 00 44 00 00 00 D6 [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:26:05]Read from MH i2c: E2 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 00 06 00 90 00 7A [00:26:05]RAPDU: 90 00 [00:26:05]wFMCommunicate OK [00:26:05]wFMCommunicate request_size=23 [00:26:05]MH_SAM_APDU [00:26:05]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:26:05]Write to MH i2c: E2 1A 00 01 06 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 7C [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:26:05]Read from MH i2c: E2 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [00:26:05]RAPDU: 90 00 [00:26:05]wFMCommunicate OK [00:26:05]wFMCommunicate request_size=27 [00:26:05]MH_SAM_APDU [00:26:05]CAPDU: 80 15 02 00 16 FD 03 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E [00:26:05]Write to MH i2c: E2 1E 00 02 06 80 15 02 00 16 00 FD 03 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E 00 00 AB [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:26:05]Read from MH i2c: E2 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [00:26:05]RAPDU: 90 00 [00:26:05]wFMCommunicate OK [00:26:05]wFMCommunicate request_size=13 [00:26:05]MH_SAM_APDU [00:26:05]CAPDU: 80 15 02 00 08 F4 03 04 00 1E 34 C5 66 [00:26:05]Write to MH i2c: E2 10 00 03 06 80 15 02 00 08 00 F4 03 04 00 1E 34 C5 66 00 00 11 [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:26:05]Read from MH i2c: E2 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 03 06 00 90 00 7D [00:26:05]RAPDU: 90 00 [00:26:05]wFMCommunicate OK [00:26:05]wFMCommunicate request_size=25 [00:26:05]MH_SAM_APDU [00:26:05]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 [00:26:05]Write to MH i2c: E2 1C 00 04 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 00 00 F3 [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:26:05]Read from MH i2c: E2 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 [00:26:05]MH_I2C_Read... [00:26:05]Read from MH i2c: E2 03 00 04 06 00 90 00 7E [00:26:05]RAPDU: 90 00 [00:26:05]wFMCommunicate OK [00:26:05]wFMCommunicate request_size=4 [00:26:05]MH_SAM_APDU [00:26:05]CAPDU: 80 15 03 00 [00:26:05]Write to MH i2c: E2 08 00 05 06 80 15 03 00 00 00 00 00 8C [00:26:05]Write i2c OK [00:26:05]MH_I2C_Read... [00:26:05]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:26:06]Read from MH i2c: E2 [00:26:06]MH_I2C_Read... [00:26:06]Read from MH i2c: E2 FD 00 [00:26:06]MH_I2C_Read... [00:26:06]Read from MH i2c: E2 FD 00 05 06 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 36 31 39 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 42 [00:26:06]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 36 31 39 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:26:06]wFMCommunicate OK [00:26:06]SAM_PROTO_ProcessDocument answer len = 1265 [00:26:06]SAM_PROTO_ProcessDocument remain to read = 1017 [00:26:06]wFMCommunicate request_size=4 [00:26:06]MH_SAM_APDU [00:26:06]CAPDU: 80 17 00 00 [00:26:06]Write to MH i2c: E2 08 00 06 06 80 17 00 00 00 00 00 00 8C [00:26:06]Write i2c OK [00:26:06]MH_I2C_Read... [00:26:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:06]Read from MH i2c: E2 [00:26:06]MH_I2C_Read... [00:26:06]Read from MH i2c: E2 FD 00 [00:26:06]MH_I2C_Read... [00:26:06]Read from MH i2c: E2 FD 00 06 06 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 D5 [00:26:06]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:26:06]wFMCommunicate OK [00:26:06]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:26:06]SAM_PROTO_ProcessDocument remain to read = 767 [00:26:06]wFMCommunicate request_size=4 [00:26:06]MH_SAM_APDU [00:26:06]CAPDU: 80 17 00 00 [00:26:06]Write to MH i2c: E2 08 00 07 06 80 17 00 00 00 00 00 00 8D [00:26:06]Write i2c OK [00:26:06]MH_I2C_Read... [00:26:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:07]Read from MH i2c: E2 [00:26:07]MH_I2C_Read... [00:26:07]Read from MH i2c: E2 FD 00 [00:26:07]MH_I2C_Read... [00:26:07]Read from MH i2c: E2 FD 00 07 06 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 EF [00:26:07]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:26:07]wFMCommunicate OK [00:26:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:26:07]SAM_PROTO_ProcessDocument remain to read = 517 [00:26:07]wFMCommunicate request_size=4 [00:26:07]MH_SAM_APDU [00:26:07]CAPDU: 80 17 00 00 [00:26:07]Write to MH i2c: E2 08 00 08 06 80 17 00 00 00 00 00 00 8E [00:26:07]Write i2c OK [00:26:07]MH_I2C_Read... [00:26:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:07]Read from MH i2c: E2 [00:26:07]MH_I2C_Read... [00:26:07]Read from MH i2c: E2 FD 00 [00:26:07]MH_I2C_Read... [00:26:07]Read from MH i2c: E2 FD 00 08 06 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 18 [00:26:07]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:26:07]wFMCommunicate OK [00:26:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:26:07]SAM_PROTO_ProcessDocument remain to read = 267 [00:26:07]wFMCommunicate request_size=4 [00:26:07]MH_SAM_APDU [00:26:07]CAPDU: 80 17 00 00 [00:26:07]Write to MH i2c: E2 08 00 09 06 80 17 00 00 00 00 00 00 8F [00:26:07]Write i2c OK [00:26:07]MH_I2C_Read... [00:26:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:08]Read from MH i2c: E2 [00:26:08]MH_I2C_Read... [00:26:08]Read from MH i2c: E2 FD 00 [00:26:08]MH_I2C_Read... [00:26:08]Read from MH i2c: E2 FD 00 09 06 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 57 [00:26:08]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:26:08]wFMCommunicate OK [00:26:08]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:26:08]SAM_PROTO_ProcessDocument remain to read = 17 [00:26:08]wFMCommunicate request_size=4 [00:26:08]MH_SAM_APDU [00:26:08]CAPDU: 80 17 00 00 [00:26:08]Write to MH i2c: E2 08 00 0A 06 80 17 00 00 00 00 00 00 90 [00:26:08]Write i2c OK [00:26:08]MH_I2C_Read... [00:26:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:26:08]Read from MH i2c: E2 [00:26:08]MH_I2C_Read... [00:26:08]Read from MH i2c: E2 14 00 [00:26:08]MH_I2C_Read... [00:26:08]Read from MH i2c: E2 14 00 0A 06 00 01 00 06 F7 03 00 00 35 04 06 00 F1 49 8A 5E 64 53 90 00 AE [00:26:08]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 F1 49 8A 5E 64 53 90 00 [00:26:08]wFMCommunicate OK [00:26:08]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:26:08]SAM_PROTO_ProcessDocument done [00:26:08]1209 (1) - 1.0 - номер версии ФФД [00:26:08]1041 (16) - 0000000000965619 - номер ФМ [00:26:08]1040 (4) - 9175 - номер ФД [00:26:08]1038 (4) - 216 - номер смены [00:26:08]1118 (4) - 54 - количество кассовых чеков за смену [00:26:08]1111 (4) - 56 - общее количество ФД за смену [00:26:08]1194 (1194) - счетчики итогов смены [00:26:08] 1134 (4) - 54 - количество чеков со всеми признаками расчетов [00:26:08] 1129 (155) - счетчики операций «приход» [00:26:08] 1135 (4) - 54 - количество чеков по признаку расчетов [00:26:08] 1201 (3) - 10285.00 - общая итоговая сумма в чеках [00:26:08] 1136 (3) - 8186.00 - итоговая сумма в чеках наличными [00:26:08] 1138 (3) - 2099.00 - итоговая сумма в чеках безналичными [00:26:08] 1024 (122) - суммы налогов [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 0% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1006 (12) - суммы НДС [00:26:08] 1010 (1) - 12% - код ставки НДС [00:26:08] 1011 (3) - 1092.22 - сумма НДС по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (11) - суммы НСП [00:26:08] 1014 (1) - 1% - код ставки НСП [00:26:08] 1015 (2) - 90.99 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 2% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 3% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 5% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1130 (141) - счетчики операций «возврат прихода» [00:26:08] 1135 (4) - 0 - количество чеков по признаку расчетов [00:26:08] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:26:08] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:26:08] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:26:08] 1024 (117) - суммы налогов [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 0% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 12% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 2% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 3% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 5% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1131 (141) - счетчики операций «расход» [00:26:08] 1135 (4) - 0 - количество чеков по признаку расчетов [00:26:08] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:26:08] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:26:08] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:26:08] 1024 (117) - суммы налогов [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 0% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 12% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 2% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 3% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 5% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1132 (141) - счетчики операций «возврат расхода» [00:26:08] 1135 (4) - 0 - количество чеков по признаку расчетов [00:26:08] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:26:08] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:26:08] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:26:08] 1024 (117) - суммы налогов [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 0% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1006 (9) - суммы НДС [00:26:08] 1010 (1) - 12% - код ставки НДС [00:26:08] 1011 (0) - 0.00 - сумма НДС по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 2% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 3% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 5% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 0,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1007 (9) - суммы НСП [00:26:08] 1014 (1) - 1,50% - код ставки НСП [00:26:08] 1015 (0) - 0.00 - сумма НСП по ставке [00:26:08] 1133 (588) - - счетчики коррекции - не используются [00:26:08]1077 (6) - 265298156348499 - ФПД [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1209 (04B9) [00:26:08]Malloc new data [00:26:08]Processing tag 1041 (0411) [00:26:08]Processing tag 1040 (0410) [00:26:08]Malloc new data [00:26:08]Processing tag 1038 (040E) [00:26:08]Malloc new data [00:26:08]Processing tag 1118 (045E) [00:26:08]Malloc new data [00:26:08]Processing tag 1111 (0457) [00:26:08]Malloc new data [00:26:08]Processing tag 1194 (04AA) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1134 (046E) [00:26:08]Malloc new data [00:26:08]Processing tag 1129 (0469) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1135 (046F) [00:26:08]Malloc new data [00:26:08]Processing tag 1201 (04B1) [00:26:08]Malloc new data [00:26:08]Processing tag 1136 (0470) [00:26:08]Malloc new data [00:26:08]Processing tag 1138 (0472) [00:26:08]Malloc new data [00:26:08]Processing tag 1024 (0400) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1006 (03EE) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1010 (03F2) [00:26:08]Malloc new data [00:26:08]Processing tag 1011 (03F3) [00:26:08]Malloc new data [00:26:08]SetTLVBufToDocument err=0 [00:26:08]Processing tag 1006 (03EE) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1010 (03F2) [00:26:08]Malloc new data [00:26:08]Processing tag 1011 (03F3) [00:26:08]Malloc new data [00:26:08]SetTLVBufToDocument err=0 [00:26:08]Processing tag 1007 (03EF) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1014 (03F6) [00:26:08]Malloc new data [00:26:08]Processing tag 1015 (03F7) [00:26:08]Malloc new data [00:26:08]SetTLVBufToDocument err=0 [00:26:08]Processing tag 1007 (03EF) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1014 (03F6) [00:26:08]Malloc new data [00:26:08]Processing tag 1015 (03F7) [00:26:08]Malloc new data [00:26:08]SetTLVBufToDocument err=0 [00:26:08]Processing tag 1007 (03EF) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1014 (03F6) [00:26:08]Malloc new data [00:26:08]Processing tag 1015 (03F7) [00:26:08]Malloc new data [00:26:08]SetTLVBufToDocument err=0 [00:26:08]Processing tag 1007 (03EF) [00:26:08]Load OK [00:26:08]SetTLVBufToDocument [00:26:08]Processing tag 1014 (03F6) [00:26:08]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1130 (046A) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1135 (046F) [00:26:09]Malloc new data [00:26:09]Processing tag 1201 (04B1) [00:26:09]Malloc new data [00:26:09]Processing tag 1136 (0470) [00:26:09]OFD Sender: No OFD packet to send [00:26:09]Malloc new data [00:26:09]Processing tag 1138 (0472) [00:26:09]Malloc new data [00:26:09]Processing tag 1024 (0400) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1131 (046B) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1135 (046F) [00:26:09]Malloc new data [00:26:09]Processing tag 1201 (04B1) [00:26:09]Malloc new data [00:26:09]Processing tag 1136 (0470) [00:26:09]Malloc new data [00:26:09]Processing tag 1138 (0472) [00:26:09]Malloc new data [00:26:09]Processing tag 1024 (0400) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1132 (046C) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1135 (046F) [00:26:09]Malloc new data [00:26:09]Processing tag 1201 (04B1) [00:26:09]Malloc new data [00:26:09]Processing tag 1136 (0470) [00:26:09]Malloc new data [00:26:09]Processing tag 1138 (0472) [00:26:09]Malloc new data [00:26:09]Processing tag 1024 (0400) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1006 (03EE) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1010 (03F2) [00:26:09]Malloc new data [00:26:09]Processing tag 1011 (03F3) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1007 (03EF) [00:26:09]Load OK [00:26:09]SetTLVBufToDocument [00:26:09]Processing tag 1014 (03F6) [00:26:09]Malloc new data [00:26:09]Processing tag 1015 (03F7) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1133 (046D) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Processing tag 1077 (0435) [00:26:09]Malloc new data [00:26:09]SetTLVBufToDocument err=0 [00:26:09]Malloc new data [00:26:09]SAM_PROTO_GetFMData [00:26:09]wFMCommunicate request_size=4 [00:26:09]MH_SAM_APDU [00:26:09]CAPDU: 80 13 03 00 [00:26:09]Write to MH i2c: E2 08 00 0B 06 80 13 03 00 00 00 00 00 90 [00:26:09]Write i2c OK [00:26:09]MH_I2C_Read... [00:26:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:26:10]Read from MH i2c: E2 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 FD 00 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 FD 00 0B 06 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 B3 [00:26:10]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:26:10]wFMCommunicate OK [00:26:10]wFMCommunicate request_size=4 [00:26:10]MH_SAM_APDU [00:26:10]CAPDU: 80 17 00 00 [00:26:10]Write to MH i2c: E2 08 00 0C 06 80 17 00 00 00 00 00 00 92 [00:26:10]Write i2c OK [00:26:10]MH_I2C_Read... [00:26:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:10]Read from MH i2c: E2 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 FD 00 [00:26:10]MH_I2C_Read... [00:26:10]Read from MH i2c: E2 FD 00 0C 06 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 37 [00:26:11]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 0D 06 80 17 00 00 00 00 00 00 93 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:11]Read from MH i2c: E2 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 [00:26:11]MH_I2C_Read... [00:26:11]Read from MH i2c: E2 FD 00 0D 06 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 BC [00:26:11]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:26:11]wFMCommunicate OK [00:26:11]wFMCommunicate request_size=4 [00:26:11]MH_SAM_APDU [00:26:11]CAPDU: 80 17 00 00 [00:26:11]Write to MH i2c: E2 08 00 0E 06 80 17 00 00 00 00 00 00 94 [00:26:11]Write i2c OK [00:26:11]MH_I2C_Read... [00:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 FD 00 0E 06 00 03 00 00 EF 03 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 90 00 15 [00:26:12]RAPDU: 03 00 00 EF 03 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 90 00 [00:26:12]wFMCommunicate OK [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 17 00 00 [00:26:12]Write to MH i2c: E2 08 00 0F 06 80 17 00 00 00 00 00 00 95 [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 D9 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 D9 00 0F 06 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 74 [00:26:12]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:26:12]wFMCommunicate OK [00:26:12]SAM_PROTO_GetFMData done [00:26:12]Malloc new data [00:26:12]Malloc new data [00:26:12]Malloc new data [00:26:12]Malloc new data [00:26:12]KKMLoadAndSignCloseShiftData err=0 [00:26:12]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Мамытов А. 21.08.2024 00:26 Смена: 216 РНМ: 0000000000108878 ЗНМ: 0300000128 СНО: Общий режим Чеков за смену: 54 ФД за смену: 56 Всего чеков: 54 ИТОГИ ПРИХОД Чеков: 54 Общий итог: 10285.00 Итого наличными: 8186.00 Итого безнал.: 2099.00 НДС 0% : 0.00 НДС 12% : 1092.22 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 90.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 8186.00 НС Приход: 2045352.35 НС Возвр.Прихода: 282.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 9175 ФМ: 0000000000965619 ФПД: 265298156348499 [00:26:12]StoreToDocumentArchive [00:26:12]shift 216 fd 9175 [00:26:12]save to /storage/0216/doc_00009175 [00:26:12]save last doc name /storage/0216/doc_00009175 to /storage/kkm_last_doc_name [00:26:12]save OK [00:26:12]Clear old archive folders... [00:26:12]Remove dir /storage/0010 [00:26:12]opendir ok [00:26:12]file . [00:26:12]file .. [00:26:12]file doc_1724199922 [00:26:12]remove file /storage/0010/doc_1724199922 [00:26:12]remove dir /storage/0010 [00:26:12]NVStorageSaveData kkm_registers [00:26:12]File name is /storage/kkm_registers [00:26:12]Write 24 bytes [00:26:12]NVStorageSaveData done [00:26:12]NVStorageSaveData kkm_registers [00:26:12]File name is /storage/kkm_registers [00:26:12]Write 24 bytes [00:26:12]NVStorageSaveData done [00:26:12]ProcessDocumentItem done err = 0, tmpTLVsize=1376 [00:26:12]tlvbuf is 005F9FD0 [00:26:12]SAM_PROTO_ClearQueue [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 09 00 00 [00:26:13]Write to MH i2c: E2 08 00 10 06 80 09 00 00 00 00 00 00 88 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 10 06 00 90 00 8A [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]SAM_PROTO_ClearQueue done [00:26:13]KKMCreateOFDPacket [00:26:13]OFDProtocolAddRootSTLVToBuf [00:26:13]FM_MakeSignedData [00:26:13]FM_MakeSignedData [00:26:13]SAM_PROTO_SignData [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 01 02 [00:26:13]Write to MH i2c: E2 08 00 11 06 80 0D 01 02 00 00 00 00 90 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 11 06 00 90 00 8B [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=255 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 02 02 FA 05 00 60 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 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E F4 03 04 00 1E 34 C5 66 0E 04 04 00 D8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 [00:26:13]Write to MH i2c: E2 02 01 12 06 80 0D 02 02 FA 00 05 00 60 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 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E F4 03 04 00 1E 34 C5 66 0E 04 04 00 D8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 00 00 02 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 12 06 00 90 00 8C [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=255 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 02 02 FA 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 8B 23 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 [00:26:13]Write to MH i2c: E2 02 01 13 06 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 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 00 00 A2 [00:26:14]Write i2c OK [00:26:14]MH_I2C_Read... [00:26:14]OFD Sender: No OFD packet to send [00:26:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:14]Read from MH i2c: E2 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: E2 03 00 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: E2 03 00 13 06 00 90 00 8D [00:26:14]RAPDU: 90 00 [00:26:14]wFMCommunicate OK [00:26:14]wFMCommunicate request_size=255 [00:26:14]MH_SAM_APDU [00:26:14]CAPDU: 80 0D 02 02 FA 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 [00:26:14]Write to MH i2c: E2 02 01 14 06 80 0D 02 02 FA 00 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 00 00 64 [00:26:14]Write i2c OK [00:26:14]MH_I2C_Read... [00:26:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:15]Read from MH i2c: E2 [00:26:15]MH_I2C_Read... [00:26:15]Read from MH i2c: E2 03 00 [00:26:15]MH_I2C_Read... [00:26:15]Read from MH i2c: E2 03 00 14 06 00 90 00 8E [00:26:15]RAPDU: 90 00 [00:26:15]wFMCommunicate OK [00:26:15]wFMCommunicate request_size=255 [00:26:15]MH_SAM_APDU [00:26:15]CAPDU: 80 0D 02 02 FA 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 [00:26:15]Write to MH i2c: E2 02 01 15 06 80 0D 02 02 FA 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 00 00 5A [00:26:15]Write i2c OK [00:26:15]MH_I2C_Read... [00:26:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:15]Read from MH i2c: E2 [00:26:15]MH_I2C_Read... [00:26:15]Read from MH i2c: E2 03 00 [00:26:15]MH_I2C_Read... [00:26:15]Read from MH i2c: E2 03 00 15 06 00 90 00 8F [00:26:15]RAPDU: 90 00 [00:26:15]wFMCommunicate OK [00:26:15]wFMCommunicate request_size=255 [00:26:15]MH_SAM_APDU [00:26:15]CAPDU: 80 0D 02 02 FA EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 [00:26:15]Write to MH i2c: E2 02 01 16 06 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 00 1C [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 03 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 03 00 16 06 00 90 00 90 [00:26:16]RAPDU: 90 00 [00:26:16]wFMCommunicate OK [00:26:16]wFMCommunicate request_size=135 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 0D 02 02 82 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 F1 49 8A 5E 64 53 [00:26:16]Write to MH i2c: E2 8A 00 17 06 80 0D 02 02 82 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 F1 49 8A 5E 64 53 00 00 AC [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 03 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 03 00 17 06 00 90 00 91 [00:26:16]RAPDU: 90 00 [00:26:16]wFMCommunicate OK [00:26:16]wFMCommunicate request_size=4 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 0D 03 02 [00:26:16]Write to MH i2c: E2 08 00 18 06 80 0D 03 02 00 00 00 00 99 [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 0B 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 0B 00 18 06 00 13 3B 3D D8 0D 62 1A 86 90 00 0C [00:26:16]RAPDU: 13 3B 3D D8 0D 62 1A 86 90 00 [00:26:16]wFMCommunicate OK [00:26:16]SAM_PROTO_SignData done [00:26:16]FM_MakeSignedData done [00:26:16]CreateOFDProtocolMessage [00:26:16]wFMCommunicate request_size=4 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 11 00 00 [00:26:16]Write to MH i2c: E2 08 00 19 06 80 11 00 00 00 00 00 00 99 [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:16]Read from MH i2c: E2 17 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 17 00 19 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 F0 [00:26:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:26:16]wFMCommunicate OK [00:26:16]CreateOFDProtocolMessage done [00:26:16]OFDSenderStorePacket 9175 [00:26:16]StoreOFDPacket docnum=9175 [00:26:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 74 05 00 00 49 BA 6C 05 33 6C 5A 05 01 00 05 00 60 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 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E F4 03 04 00 1E 34 C5 66 0E 04 04 00 D8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 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 D7 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 F1 49 8A 5E 64 53 13 3B 3D D8 0D 62 1A 86 [00:26:17]CheckFolder [00:26:17]dirname=/storage/ofd_packets [00:26:17]CheckFolder done [00:26:17]ProducePacketName [00:26:17]name=ofd_packets/00009175 [00:26:17]NVStorageSaveData ofd_packets/00009175 [00:26:17]File name is /storage/ofd_packets/00009175 [00:26:17]Write 1426 bytes [00:26:17]NVStorageSaveData done [00:26:17]OFDSenderStorePacket done [00:26:17]KKMCreateOFDPacket done [00:26:17]NVStorageSaveData kkm_last_timestamp [00:26:17]File name is /storage/kkm_last_timestamp [00:26:17]Write 4 bytes [00:26:17]NVStorageSaveData done [00:26:17]ExternCall_PrintAddStr [00:26:17]wPrintStart [00:26:17]Write to MH i2c: 01 00 00 1A 06 20 [00:26:17]Write i2c OK [00:26:17]MH_I2C_Read... [00:26:17]Read from MH i2c: 01 [00:26:17]MH_I2C_Read... [00:26:17]Read from MH i2c: 01 07 00 [00:26:17]MH_I2C_Read... [00:26:17]Read from MH i2c: 01 07 00 1A 06 00 00 00 00 00 FF 0F 35 [00:26:17]RasterBufferAndPrint [00:26:17]line Отчет о закрытии смены [00:26:17]line ФФД: 1.0 [00:26:17]line ИНН: 02508201610067 [00:26:17]line Кассир: Мамытов А. [00:26:17]line 21.08.2024 00:26 [00:26:17]line Смена: 216 [00:26:17]line РНМ: 0000000000108878 [00:26:17]line ЗНМ: 0300000128 [00:26:17]line СНО: Общий режим [00:26:17]line Чеков за смену: 54 [00:26:17]line ФД за смену: 56 [00:26:17]line Всего чеков: 54 [00:26:17]line ИТОГИ ПРИХОД [00:26:17]line Чеков: 54 [00:26:17]line Общий итог: 10285.00 [00:26:17]line Итого наличными: 8186.00 [00:26:17]line Итого безнал.: 2099.00 [00:26:17]line НДС 0% : 0.00 [00:26:17]line НДС 12% : 1092.22 [00:26:17]line НСП 0% : 0.00 [00:26:17]line НСП 1,50% : 0.00 [00:26:17]line НСП 0,50% : 0.00 [00:26:17]line НСП 5% : 0.00 [00:26:17]line НСП 3% : 0.00 [00:26:17]line НСП 2% : 0.00 [00:26:17]line НСП 1% : 90.99 [00:26:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:26:17]line Чеков: 0 [00:26:17]line Общий итог: 0.00 [00:26:17]line Итого наличными: 0.00 [00:26:17]line Итого безнал.: 0.00 [00:26:17]line НДС 0% : 0.00 [00:26:17]line НДС 12% : 0.00 [00:26:17]line НСП 0% : 0.00 [00:26:17]line НСП 1,50% : 0.00 [00:26:17]line НСП 0,50% : 0.00 [00:26:17]line НСП 5% : 0.00 [00:26:17]line НСП 3% : 0.00 [00:26:17]line НСП 2% : 0.00 [00:26:17]line НСП 1% : 0.00 [00:26:17]line ИТОГИ РАСХОД [00:26:17]line Чеков: 0 [00:26:17]line Общий итог: 0.00 [00:26:17]line Итого наличными: 0.00 [00:26:17]line Итого безнал.: 0.00 [00:26:17]line НДС 0% : 0.00 [00:26:17]line НДС 12% : 0.00 [00:26:17]line НСП 0% : 0.00 [00:26:17]line НСП 1,50% : 0.00 [00:26:17]line НСП 0,50% : 0.00 [00:26:17]line НСП 5% : 0.00 [00:26:17]line НСП 3% : 0.00 [00:26:17]line НСП 2% : 0.00 [00:26:17]line НСП 1% : 0.00 [00:26:17]line ИТОГИ ВОЗВРАТ РАСХОДА [00:26:17]line Чеков: 0 [00:26:17]line Общий итог: 0.00 [00:26:17]line Итого наличными: 0.00 [00:26:17]line Итого безнал.: 0.00 [00:26:17]line НДС 0% : 0.00 [00:26:17]line НДС 12% : 0.00 [00:26:17]line НСП 0% : 0.00 [00:26:17]line НСП 1,50% : 0.00 [00:26:17]line НСП 0,50% : 0.00 [00:26:17]line НСП 5% : 0.00 [00:26:17]line НСП 3% : 0.00 [00:26:17]line НСП 2% : 0.00 [00:26:17]line НСП 1% : 0.00 [00:26:17]line Сумма внесений: 0.00 [00:26:17]line Сумма выплат: 0.00 [00:26:17]line Нал. в кассе: 8186.00 [00:26:17]line НС Приход: 2045352.35 [00:26:17]line НС Возвр.Прихода: 282.00 [00:26:17]line НС Расход: 0.00 [00:26:17]line НС Возвр.Расхода: 0.00 [00:26:17]line ФД: 9175 [00:26:17]line ФМ: 0000000000965619 [00:26:17]line ФПД: 265298156348499 [00:26:17]OFD Sender: Processing packet 9175 [packets to send 4, broken 3] [00:26:17]ProducePacketName [00:26:17]name=ofd_packets/00009175 [00:26:17]OFD Sender: To server: pG, [00:26:17]CommunicateWithHost lk.salyk.kg:30040 [00:26:17]ConnectInit lk.salyk.kg [00:26:17]written 0, free lines is 4095 [00:26:17]Connected sock=10 [00:26:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 74 05 00 00 49 BA 6C 05 33 6C 5A 05 01 00 05 00 60 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 12 00 D0 9C D0 B0 D0 BC D1 8B D1 82 D0 BE D0 B2 20 D0 90 2E F4 03 04 00 1E 34 C5 66 0E 04 04 00 D8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 AA 04 D5 04 6E 04 04 00 36 00 00 00 69 04 A2 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 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 Write to MH i2c: 03 01 F7 00 03 00 00 6A 00 06 EF 70 03 [00:26:18]09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 Write i2c OK [00:26:18]01 MH_I2C_Read... [00:26:18]00 Read from MH i2c: 05 01 F7 [00:26:18]03 MH_I2C_Read... [00:26:18]00 Read from MH i2c: 00 01 EF 07 03 00 09 [00:26:18]00 MH_I2C_Read... [00:26:18]F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 Read from MH i2c: 6F 01 04 07 04 00 00 6A 00 06 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 00 00 00 04 00 75 00 00 83 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 0A 03 04 09 [00:26:18]00 RasterBufferAndPrint [00:26:18]F2 line [00:26:18]03 line [00:26:18]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 line [00:26:18]01 line [00:26:18]00 line [00:26:18]00 F7 written 0, free lines is 2882 [00:26:18]03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 MH_Cut [00:26:18]EF Write to MH i2c: 03 D1 09 01 00 00 F6 71 03 06 01 01 00 49 02 [00:26:18]F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 Write i2c OK [00:26:18]09 MH_I2C_Read... [00:26:18]00 Read from MH i2c: F6 D1 03 [00:26:18]01 MH_I2C_Read... [00:26:18]00 Read from MH i2c: 04 D1 F7 01 03 00 00 [00:26:18]00 MH_I2C_Read... [00:26:18]EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 01 D1 F7 01 03 00 00 71 00 06 EF 00 03 48 09 [00:26:18]00 Write to MH i2c: F6 01 03 00 01 00 00 72 02 06 F7 78 03 [00:26:18]00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 Write i2c OK [00:26:18]09 MH_I2C_Read... [00:26:18]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 F1 49 8A 5E 64 53 13 3B 3D D8 0D 62 1A 86 [00:26:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 BE 4C 47 00 1B 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D7 23 00 00 F4 03 04 00 F4 DB C4 66 B6 04 01 00 00 42 B3 9D EB 73 AE A0 F6 [00:26:19]CommunicateWithHost err = 0 [00:26:19]CheckOFDResponse [00:26:19]1017 (14) - 77093643461234 [00:26:19]1041 (16) - 0000000000965619 [00:26:19]1040 (4) - 9175 [00:26:19]1012 (4) - 20.08.2024 18:09 [00:26:19]1206 (1) - 0 [00:26:19]OFD Sender: Remove packet 9175 [00:26:19]ProducePacketName [00:26:19]*** Cut start [00:26:19]name=ofd_packets/00009175 [00:26:19]*** Partial cut [00:26:19]NVStorageDeleteData [00:26:19]*** CUTSNS_PIN = 1 [00:26:19]*** CUTSNS_PIN = 0 [00:26:19]*** Brake cut motor [00:26:19]OFD Sender: No OFD packet to send [00:26:20]Read from MH i2c: 01 [00:26:20]MH_I2C_Read... [00:26:20]*** Stop cut motor [00:26:20]*** Cut end [00:26:20]Read from MH i2c: 01 07 00 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: 01 07 00 72 06 00 00 00 00 00 FF 0F 8D [00:26:20]process_action close_shift done [00:26:20]requested_data is exist [00:26:20]produce_requested_data [00:26:20]requested_item fd.num is exist - process it [00:26:20]SAM_PROTO_GetFieldsCounters [00:26:20]wFMCommunicate request_size=4 [00:26:20]MH_SAM_APDU [00:26:20]CAPDU: 80 13 00 00 [00:26:20]Write to MH i2c: E2 08 00 73 06 80 13 00 00 00 00 00 00 F5 [00:26:20]Write i2c OK [00:26:20]MH_I2C_Read... [00:26:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:26:20]Read from MH i2c: E2 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 62 00 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 62 00 73 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [00:26: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:26:20]wFMCommunicate OK [00:26:20]SAM_PROTO_GetFieldsCounters done [00:26:20]requested_item shift.num is exist - process it [00:26:20]requested_item shift.opened is exist - process it [00:26:20]req_shift_opened [00:26:20]FM_GetShiftState [00:26:20]SAM_PROTO_GetShiftState [00:26:20]wFMCommunicate request_size=4 [00:26:20]MH_SAM_APDU [00:26:20]CAPDU: 80 13 01 00 [00:26:20]Write to MH i2c: E2 08 00 74 06 80 13 01 00 00 00 00 00 F7 [00:26:20]Write i2c OK [00:26:20]MH_I2C_Read... [00:26:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:20]Read from MH i2c: E2 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 0E 00 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 0E 00 74 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 02 [00:26:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:26:20]wFMCommunicate OK [00:26:20]SAM_PROTO_GetShiftState done [00:26:20]FM_GetShiftState done [00:26:20]req_shift_opened done [00:26:20]requested_item shift.open_date is exist - process it [00:26:20]req_shift_open_date [00:26:20]FM_GetShiftState [00:26:20]SAM_PROTO_GetShiftState [00:26:20]wFMCommunicate request_size=4 [00:26:20]MH_SAM_APDU [00:26:20]CAPDU: 80 13 01 00 [00:26:20]Write to MH i2c: E2 08 00 75 06 80 13 01 00 00 00 00 00 F8 [00:26:20]Write i2c OK [00:26:20]MH_I2C_Read... [00:26:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:20]Read from MH i2c: E2 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 0E 00 [00:26:20]MH_I2C_Read... [00:26:20]Read from MH i2c: E2 0E 00 75 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 03 [00:26:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:26:20]wFMCommunicate OK [00:26:20]SAM_PROTO_GetShiftState done [00:26:20]FM_GetShiftState done [00:26:20]req_shift_open_date done [00:26:20]produce_requested_data done [00:26:20]produce_requested_data return {"fd.num":9175,"shift.num":216,"shift.opened":0,"shift.open_date":0} [00:26:20]process_action_free close_shift [00:26:20]json_value_free [00:26:20]json_value_free done [00:26:20]process_json_proto returns [00:26:20]Send response to host [00:26:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":9175,"shift.num":216,"shift.opened":0,"shift.open_date":0}}} [00:26:20]free response buf [00:26:20]execute_script done [00:26:20]execute_script returns [00:26:20]free content buf [00:26:20]Sock 7.Close socket [00:26:20]Sock 7.Thread stoped [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:40]accept exits with 9 [00:29:40]New connection [00:29:40]New thread 3066928484 created [00:29:40]Thread 3066785124 joined [00:29:40]Waiting for new connection... [00:29:40] Sock 9.Parse request [00:29:40]Sock 9.Check first char [00:29:40]Sock 9.First char is OK [00:29:40]request: POST /json_proto HTTP/1.0 [00:29:40]Method: POST [00:29:40]URL: /json_proto [00:29:40]Method is POST - this is cgi request [00:29:40]url: /json_proto [00:29:40]query_string will be loaded in cgi processing [00:29:40]execute_cgi json_proto POST (null) [00:29:40]execute_cgi path=json_proto method=POST [00:29:40]POST find Content-Length [00:29:40]Host: 172.17.55.134:8080 [00:29:40]Content-Length: 215 [00:29:40]Content-Type: application/json [00:29:40] [00:29:40]POST finish read [00:29:40]Found Content-Length = 215 [00:29:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:40]execute_script... [00:29:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:40]POST & json_proto [00:29:40]process_json_proto [00:29:40]json parsed OK: [00:29:40]protocol is kg_v1.0 [00:29:40]action value=get_value [00:29:40]process_action get_value [00:29:40]cmd_get_value [00:29:40]process_action get_value done [00:29:40]requested_data is exist [00:29:40]produce_requested_data [00:29:40]requested_item kkm.sn is exist - process it [00:29:40]requested_item kkm.ver is exist - process it [00:29:40]requested_item fm.sn is exist - process it [00:29:40]wFMCommunicate request_size=4 [00:29:40]MH_SAM_APDU [00:29:40]CAPDU: 80 11 00 00 [00:29:40]Write to MH i2c: E2 08 00 76 06 80 11 00 00 00 00 00 00 F6 [00:29:40]Write i2c OK [00:29:40]MH_I2C_Read... [00:29:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:40]Read from MH i2c: E2 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 17 00 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 17 00 76 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 4D [00:29:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:29:40]wFMCommunicate OK [00:29:40]requested_item fd.num is exist - process it [00:29:40]SAM_PROTO_GetFieldsCounters [00:29:40]wFMCommunicate request_size=4 [00:29:40]MH_SAM_APDU [00:29:40]CAPDU: 80 13 00 00 [00:29:40]Write to MH i2c: E2 08 00 77 06 80 13 00 00 00 00 00 00 F9 [00:29:40]Write i2c OK [00:29:40]MH_I2C_Read... [00:29:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:29:40]Read from MH i2c: E2 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 62 00 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 62 00 77 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [00:29:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D7 23 00 00 0E 04 04 00 D8 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:29:40]wFMCommunicate OK [00:29:40]SAM_PROTO_GetFieldsCounters done [00:29:40]requested_item shift.num is exist - process it [00:29:40]requested_item shift.opened is exist - process it [00:29:40]req_shift_opened [00:29:40]FM_GetShiftState [00:29:40]SAM_PROTO_GetShiftState [00:29:40]wFMCommunicate request_size=4 [00:29:40]MH_SAM_APDU [00:29:40]CAPDU: 80 13 01 00 [00:29:40]Write to MH i2c: E2 08 00 78 06 80 13 01 00 00 00 00 00 FB [00:29:40]Write i2c OK [00:29:40]MH_I2C_Read... [00:29:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:40]Read from MH i2c: E2 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 0E 00 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 0E 00 78 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 06 [00:29:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:29:40]wFMCommunicate OK [00:29:40]SAM_PROTO_GetShiftState done [00:29:40]FM_GetShiftState done [00:29:40]req_shift_opened done [00:29:40]requested_item shift.open_date is exist - process it [00:29:40]req_shift_open_date [00:29:40]FM_GetShiftState [00:29:40]SAM_PROTO_GetShiftState [00:29:40]wFMCommunicate request_size=4 [00:29:40]MH_SAM_APDU [00:29:40]CAPDU: 80 13 01 00 [00:29:40]Write to MH i2c: E2 08 00 79 06 80 13 01 00 00 00 00 00 FC [00:29:40]Write i2c OK [00:29:40]MH_I2C_Read... [00:29:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:40]Read from MH i2c: E2 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 0E 00 [00:29:40]MH_I2C_Read... [00:29:40]Read from MH i2c: E2 0E 00 79 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 07 [00:29:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:29:40]wFMCommunicate OK [00:29:40]SAM_PROTO_GetShiftState done [00:29:40]FM_GetShiftState done [00:29:40]req_shift_open_date done [00:29:40]produce_requested_data done [00:29:40]produce_requested_data return {"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9175,"shift.num":216,"shift.opened":0,"shift.open_date":0} [00:29:40]process_action_free get_value [00:29:40]json_value_free [00:29:40]json_value_free done [00:29:40]process_json_proto returns [00:29:40]Send response to host [00:29:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000128","kkm.ver":"001","fm.sn":"0000000000965619","fd.num":9175,"shift.num":216,"shift.opened":0,"shift.open_date":0}}} [00:29:40]free response buf [00:29:40]execute_script done [00:29:40]execute_script returns [00:29:40]free content buf [00:29:40]Sock 9.Close socket [00:29:40]Sock 9.Thread stoped [00:29:40]accept exits with 7 [00:29:40]New connection [00:29:40]New thread 3066785124 created [00:29:40]Thread 3066928484 joined [00:29:40]Waiting for new connection... [00:29:40] Sock 7.Parse request [00:29:40]Sock 7.Check first char [00:29:40]Sock 7.First char is OK [00:29:40]request: POST /json_proto HTTP/1.0 [00:29:40]Method: POST [00:29:40]URL: /json_proto [00:29:40]Method is POST - this is cgi request [00:29:40]url: /json_proto [00:29:40]query_string will be loaded in cgi processing [00:29:40]execute_cgi json_proto POST (null) [00:29:40]execute_cgi path=json_proto method=POST [00:29:40]POST find Content-Length [00:29:40]Host: 172.17.55.134:8080 [00:29:40]Content-Length: 331 [00:29:40]Content-Type: application/json [00:29:40] [00:29:40]POST finish read [00:29:40]Found Content-Length = 331 [00:29:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:29:40]execute_script... [00:29:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:29:41]POST & json_proto [00:29:41]process_json_proto [00:29:41]json parsed OK: [00:29:41]protocol is kg_v1.0 [00:29:41]action value=get_value [00:29:41]process_action get_value [00:29:41]cmd_get_value [00:29:41]process_action get_value done [00:29:41]requested_data is exist [00:29:41]produce_requested_data [00:29:41]requested_item fm.sale.total is exist - process it [00:29:41]SAM_PROTO_GetFMData [00:29:41]wFMCommunicate request_size=4 [00:29:41]MH_SAM_APDU [00:29:41]CAPDU: 80 13 03 00 [00:29:41]Write to MH i2c: E2 08 00 7A 06 80 13 03 00 00 00 00 00 FF [00:29:41]Write i2c OK [00:29:41]MH_I2C_Read... [00:29:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:29:41]Read from MH i2c: E2 [00:29:41]MH_I2C_Read... [00:29:41]Read from MH i2c: E2 FD 00 [00:29:41]MH_I2C_Read... [00:29:41]Read from MH i2c: E2 FD 00 7A 06 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 22 [00:29:41]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:29:41]wFMCommunicate OK [00:29:41]wFMCommunicate request_size=4 [00:29:41]MH_SAM_APDU [00:29:41]CAPDU: 80 17 00 00 [00:29:41]Write to MH i2c: E2 08 00 7B 06 80 17 00 00 00 00 00 00 01 [00:29:41]Write i2c OK [00:29:41]MH_I2C_Read... [00:29:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:41]Read from MH i2c: E2 [00:29:41]MH_I2C_Read... [00:29:41]Read from MH i2c: E2 FD 00 [00:29:41]MH_I2C_Read... [00:29:41]Read from MH i2c: E2 FD 00 7B 06 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 A6 [00:29:41]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:29:41]wFMCommunicate OK [00:29:41]wFMCommunicate request_size=4 [00:29:41]MH_SAM_APDU [00:29:41]CAPDU: 80 17 00 00 [00:29:41]Write to MH i2c: E2 08 00 7C 06 80 17 00 00 00 00 00 00 02 [00:29:41]Write i2c OK [00:29:41]MH_I2C_Read... [00:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:42]Read from MH i2c: E2 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 FD 00 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 FD 00 7C 06 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 2B [00:29:42]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:29:42]wFMCommunicate OK [00:29:42]wFMCommunicate request_size=4 [00:29:42]MH_SAM_APDU [00:29:42]CAPDU: 80 17 00 00 [00:29:42]Write to MH i2c: E2 08 00 7D 06 80 17 00 00 00 00 00 00 03 [00:29:42]Write i2c OK [00:29:42]MH_I2C_Read... [00:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:42]Read from MH i2c: E2 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 FD 00 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 FD 00 7D 06 00 03 00 00 EF 03 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 90 00 84 [00:29:42]RAPDU: 03 00 00 EF 03 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 90 00 [00:29:42]wFMCommunicate OK [00:29:42]wFMCommunicate request_size=4 [00:29:42]MH_SAM_APDU [00:29:42]CAPDU: 80 17 00 00 [00:29:42]Write to MH i2c: E2 08 00 7E 06 80 17 00 00 00 00 00 00 04 [00:29:42]Write i2c OK [00:29:42]MH_I2C_Read... [00:29:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:29:42]Read from MH i2c: E2 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 D9 00 [00:29:42]MH_I2C_Read... [00:29:42]Read from MH i2c: E2 D9 00 7E 06 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E3 [00:29:42]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:29:42]wFMCommunicate OK [00:29:42]SAM_PROTO_GetFMData done [00:29:42]requested_item fm.sale_refund.total is exist - process it [00:29:42]requested_item fm.buy.total is exist - process it [00:29:42]requested_item shift.sale.total is exist - process it [00:29:42]SAM_PROTO_GetShiftData [00:29:42]wFMCommunicate request_size=4 [00:29:42]MH_SAM_APDU [00:29:42]CAPDU: 80 13 02 00 [00:29:42]Write to MH i2c: E2 08 00 7F 06 80 13 02 00 00 00 00 00 03 [00:29:42]Write i2c OK [00:29:42]MH_I2C_Read... [00:29:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:29:43]Read from MH i2c: E2 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 7F 06 00 AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D6 [00:29:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 94 B1 0F 70 04 03 00 A8 7D 0C 72 04 03 00 EC 33 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AA 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8B 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:29:43]wFMCommunicate OK [00:29:43]wFMCommunicate request_size=4 [00:29:43]MH_SAM_APDU [00:29:43]CAPDU: 80 17 00 00 [00:29:43]Write to MH i2c: E2 08 00 80 06 80 17 00 00 00 00 00 00 06 [00:29:43]Write i2c OK [00:29:43]MH_I2C_Read... [00:29:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:43]Read from MH i2c: E2 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 80 06 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 28 [00:29:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:29:43]wFMCommunicate OK [00:29:43]wFMCommunicate request_size=4 [00:29:43]MH_SAM_APDU [00:29:43]CAPDU: 80 17 00 00 [00:29:43]Write to MH i2c: E2 08 00 81 06 80 17 00 00 00 00 00 00 07 [00:29:43]Write i2c OK [00:29:43]MH_I2C_Read... [00:29:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:43]Read from MH i2c: E2 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 [00:29:43]MH_I2C_Read... [00:29:43]Read from MH i2c: E2 FD 00 81 06 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 BE [00:29:43]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:29:43]wFMCommunicate OK [00:29:43]wFMCommunicate request_size=4 [00:29:43]MH_SAM_APDU [00:29:43]CAPDU: 80 17 00 00 [00:29:43]Write to MH i2c: E2 08 00 82 06 80 17 00 00 00 00 00 00 08 [00:29:43]Write i2c OK [00:29:43]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 FD 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 FD 00 82 06 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 7A [00:29:44]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:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=4 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 17 00 00 [00:29:44]Write to MH i2c: E2 08 00 83 06 80 17 00 00 00 00 00 00 09 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:29:44]Read from MH i2c: E2 CB 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 CB 00 83 06 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 F2 [00:29:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:29:44]wFMCommunicate OK [00:29:44]SAM_PROTO_GetShiftData done [00:29:44]requested_item shift.sale.total_cash is exist - process it [00:29:44]requested_item shift.sale_refund.total is exist - process it [00:29:44]requested_item shift.sale_refund.total_cash is exist - process it [00:29:44]requested_item shift.buy.total is exist - process it [00:29:44]requested_item shift.buy.total_cash is exist - process it [00:29:44]produce_requested_data done [00:29:44]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:29:44]process_action_free get_value [00:29:44]json_value_free [00:29:44]json_value_free done [00:29:44]process_json_proto returns [00:29:44]Send response to host [00:29:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.00,"fm.buy.total":0.00,"shift.sale.total":10285.00,"shift.sale.total_cash":8186.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:29:44]free response buf [00:29:44]execute_script done [00:29:44]execute_script returns [00:29:44]free content buf [00:29:44]Sock 7.Close socket [00:29:44]Sock 7.Thread stoped [00:29:44]accept exits with 9 [00:29:44]New connection [00:29:44]New thread 3066928484 created [00:29:44]Thread 3066785124 joined [00:29:44]Waiting for new connection... [00:29:44] Sock 9.Parse request [00:29:44]Sock 9.Check first char [00:29:44]Sock 9.First char is OK [00:29:44]request: POST /json_proto HTTP/1.0 [00:29:44]Method: POST [00:29:44]URL: /json_proto [00:29:44]Method is POST - this is cgi request [00:29:44]url: /json_proto [00:29:44]query_string will be loaded in cgi processing [00:29:44]execute_cgi json_proto POST (null) [00:29:44]execute_cgi path=json_proto method=POST [00:29:44]POST find Content-Length [00:29:44]Host: 172.17.55.134:8080 [00:29:44]Content-Length: 240 [00:29:44]Content-Type: application/json [00:29:44] [00:29:44]POST finish read [00:29:44]Found Content-Length = 240 [00:29:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0442\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:44]execute_script... [00:29:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0442\u0430\u0435\u0432 \u0422." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:44]POST & json_proto [00:29:44]process_json_proto [00:29:44]json parsed OK: [00:29:44]protocol is kg_v1.0 [00:29:44]action value=open_shift [00:29:44]process_action open_shift [00:29:44]cmd_open_shift [00:29:44]MH_GetDate [00:29:44]Write to MH i2c: F0 00 00 84 06 79 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 09 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 09 00 84 06 00 FA 34 C5 66 13 35 D9 65 61 [00:29:44]GetLastDocTimeStamp 1724199966 [00:29:44]current date 1724200186 [00:29:44]FM_GetShiftState [00:29:44]SAM_PROTO_GetShiftState [00:29:44]wFMCommunicate request_size=4 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 13 01 00 [00:29:44]Write to MH i2c: E2 08 00 85 06 80 13 01 00 00 00 00 00 08 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 0E 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 0E 00 85 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 13 [00:29:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:29:44]wFMCommunicate OK [00:29:44]SAM_PROTO_GetShiftState done [00:29:44]FM_GetShiftState done [00:29:44]KKMCreateOpenShiftDocument [00:29:44]Load OK [00:29:44]Malloc new data [00:29:44]MH_GetDate [00:29:44]Write to MH i2c: F0 00 00 86 06 7B [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 09 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: F0 09 00 86 06 00 FA 34 C5 66 13 35 D9 65 63 [00:29:44]Malloc new data [00:29:44]KKMCreateOpenShiftDocument OK [00:29:44]KKMSetOpenShiftData OK [00:29:44]ProcessDocumentItem done err = 0, tmpTLVsize=157 [00:29:44]tlvbuf is 0061BC80 [00:29:44]KKMLoadAndSignOpenShiftData [00:29:44]SAM_PROTO_ProcessDocument [00:29:44]wFMCommunicate request_size=9 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 01 00 04 02 00 9D 00 [00:29:44]Write to MH i2c: E2 0C 00 87 06 80 15 01 00 04 00 02 00 9D 00 00 00 B3 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 87 06 00 90 00 01 [00:29:44]RAPDU: 90 00 [00:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=23 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:29:44]Write to MH i2c: E2 1A 00 88 06 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 03 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 88 06 00 90 00 02 [00:29:44]RAPDU: 90 00 [00:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=23 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 02 00 12 FD 03 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E [00:29:44]Write to MH i2c: E2 1A 00 89 06 80 15 02 00 12 00 FD 03 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E 00 00 3B [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 89 06 00 90 00 03 [00:29:44]RAPDU: 90 00 [00:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=81 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 02 00 4C F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 [00:29:44]Write to MH i2c: E2 54 00 8A 06 80 15 02 00 4C 00 F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 00 00 09 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 8A 06 00 90 00 04 [00:29:44]RAPDU: 90 00 [00:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=22 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 02 00 11 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 [00:29:44]Write to MH i2c: E2 19 00 8B 06 80 15 02 00 11 00 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 00 00 C8 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:44]Read from MH i2c: E2 03 00 [00:29:44]MH_I2C_Read... [00:29:44]Read from MH i2c: E2 03 00 8B 06 00 90 00 05 [00:29:44]RAPDU: 90 00 [00:29:44]wFMCommunicate OK [00:29:44]wFMCommunicate request_size=13 [00:29:44]MH_SAM_APDU [00:29:44]CAPDU: 80 15 02 00 08 F4 03 04 00 FA 34 C5 66 [00:29:44]Write to MH i2c: E2 10 00 8C 06 80 15 02 00 08 00 F4 03 04 00 FA 34 C5 66 00 00 76 [00:29:44]Write i2c OK [00:29:44]MH_I2C_Read... [00:29:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:45]Read from MH i2c: E2 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 8C 06 00 90 00 06 [00:29:45]RAPDU: 90 00 [00:29:45]wFMCommunicate OK [00:29:45]wFMCommunicate request_size=25 [00:29:45]MH_SAM_APDU [00:29:45]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 [00:29:45]Write to MH i2c: E2 1C 00 8D 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 00 00 7C [00:29:45]Write i2c OK [00:29:45]MH_I2C_Read... [00:29:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:45]Read from MH i2c: E2 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 8D 06 00 90 00 07 [00:29:45]RAPDU: 90 00 [00:29:45]wFMCommunicate OK [00:29:45]wFMCommunicate request_size=4 [00:29:45]MH_SAM_APDU [00:29:45]CAPDU: 80 15 03 00 [00:29:45]Write to MH i2c: E2 08 00 8E 06 80 15 03 00 00 00 00 00 15 [00:29:45]Write i2c OK [00:29:45]MH_I2C_Read... [00:29:45]OFD Sender: No OFD packet to send [00:29:45]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:29:45]Read from MH i2c: E2 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 38 00 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 38 00 8E 06 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D8 23 00 00 0E 04 04 00 D9 00 00 00 35 04 06 00 2F EA 51 10 3A 7C 90 00 E9 [00:29:45]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D8 23 00 00 0E 04 04 00 D9 00 00 00 35 04 06 00 2F EA 51 10 3A 7C 90 00 [00:29:45]wFMCommunicate OK [00:29:45]SAM_PROTO_ProcessDocument answer len = 51 [00:29:45]SAM_PROTO_ProcessDocument done [00:29:45]SetTLVBufToDocument [00:29:45]Processing tag 1209 (04B9) [00:29:45]Malloc new data [00:29:45]Processing tag 1041 (0411) [00:29:45]Processing tag 1040 (0410) [00:29:45]Malloc new data [00:29:45]Processing tag 1038 (040E) [00:29:45]Malloc new data [00:29:45]Processing tag 1077 (0435) [00:29:45]Malloc new data [00:29:45]SetTLVBufToDocument err=0 [00:29:45]KKMLoadAndSignOpenShiftData store KKM data [00:29:45]KKMLoadAndSignOpenShiftData err=0 [00:29:45]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Атаев Т. Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 Место: АЗС № 94 21.08.2024 00:29 Смена: 217 РНМ: 0000000000108878 ЗНМ: 0300000128 ФД: 9176 ФМ: 0000000000965619 ФПД: 52683428870780 [00:29:45]StoreToDocumentArchive [00:29:45]shift 217 fd 9176 [00:29:45]Create dir for shift 0217 [00:29:45]save to /storage/0217/doc_00009176 [00:29:45]save last doc name /storage/0217/doc_00009176 to /storage/kkm_last_doc_name [00:29:45]save OK [00:29:45]Clear old archive folders... [00:29:45]Remove dir /storage/0216 [00:29:45]opendir ok [00:29:45]file . [00:29:45]file .. [00:29:45]file doc_00009120 [00:29:45]remove file /storage/0216/doc_00009120 [00:29:45]file doc_00009121 [00:29:45]remove file /storage/0216/doc_00009121 [00:29:45]file doc_00009122 [00:29:45]remove file /storage/0216/doc_00009122 [00:29:45]file doc_00009123 [00:29:45]remove file /storage/0216/doc_00009123 [00:29:45]file doc_00009124 [00:29:45]remove file /storage/0216/doc_00009124 [00:29:45]file doc_00009125 [00:29:45]remove file /storage/0216/doc_00009125 [00:29:45]file doc_00009126 [00:29:45]remove file /storage/0216/doc_00009126 [00:29:45]file doc_00009127 [00:29:45]remove file /storage/0216/doc_00009127 [00:29:45]file doc_00009128 [00:29:45]remove file /storage/0216/doc_00009128 [00:29:45]file doc_00009129 [00:29:45]remove file /storage/0216/doc_00009129 [00:29:45]file doc_00009130 [00:29:45]remove file /storage/0216/doc_00009130 [00:29:45]file doc_00009131 [00:29:45]remove file /storage/0216/doc_00009131 [00:29:45]file doc_00009132 [00:29:45]remove file /storage/0216/doc_00009132 [00:29:45]file doc_00009133 [00:29:45]remove file /storage/0216/doc_00009133 [00:29:45]file doc_00009134 [00:29:45]remove file /storage/0216/doc_00009134 [00:29:45]file doc_00009135 [00:29:45]remove file /storage/0216/doc_00009135 [00:29:45]file doc_00009136 [00:29:45]remove file /storage/0216/doc_00009136 [00:29:45]file doc_00009137 [00:29:45]remove file /storage/0216/doc_00009137 [00:29:45]file doc_00009138 [00:29:45]remove file /storage/0216/doc_00009138 [00:29:45]file doc_00009139 [00:29:45]remove file /storage/0216/doc_00009139 [00:29:45]file doc_00009140 [00:29:45]remove file /storage/0216/doc_00009140 [00:29:45]file doc_00009141 [00:29:45]remove file /storage/0216/doc_00009141 [00:29:45]file doc_00009142 [00:29:45]remove file /storage/0216/doc_00009142 [00:29:45]file doc_00009143 [00:29:45]remove file /storage/0216/doc_00009143 [00:29:45]file doc_00009144 [00:29:45]remove file /storage/0216/doc_00009144 [00:29:45]file doc_00009145 [00:29:45]remove file /storage/0216/doc_00009145 [00:29:45]file doc_00009146 [00:29:45]remove file /storage/0216/doc_00009146 [00:29:45]file doc_00009147 [00:29:45]remove file /storage/0216/doc_00009147 [00:29:45]file doc_00009148 [00:29:45]remove file /storage/0216/doc_00009148 [00:29:45]file doc_00009149 [00:29:45]remove file /storage/0216/doc_00009149 [00:29:45]file doc_00009150 [00:29:45]remove file /storage/0216/doc_00009150 [00:29:45]file doc_00009151 [00:29:45]remove file /storage/0216/doc_00009151 [00:29:45]file doc_00009152 [00:29:45]remove file /storage/0216/doc_00009152 [00:29:45]file doc_00009153 [00:29:45]remove file /storage/0216/doc_00009153 [00:29:45]file doc_00009154 [00:29:45]remove file /storage/0216/doc_00009154 [00:29:45]file doc_00009155 [00:29:45]remove file /storage/0216/doc_00009155 [00:29:45]file doc_00009156 [00:29:45]remove file /storage/0216/doc_00009156 [00:29:45]file doc_00009157 [00:29:45]remove file /storage/0216/doc_00009157 [00:29:45]file doc_00009158 [00:29:45]remove file /storage/0216/doc_00009158 [00:29:45]file doc_00009159 [00:29:45]remove file /storage/0216/doc_00009159 [00:29:45]file doc_00009160 [00:29:45]remove file /storage/0216/doc_00009160 [00:29:45]file doc_00009161 [00:29:45]remove file /storage/0216/doc_00009161 [00:29:45]file doc_00009162 [00:29:45]remove file /storage/0216/doc_00009162 [00:29:45]file doc_00009163 [00:29:45]remove file /storage/0216/doc_00009163 [00:29:45]file doc_00009164 [00:29:45]remove file /storage/0216/doc_00009164 [00:29:45]file doc_00009165 [00:29:45]remove file /storage/0216/doc_00009165 [00:29:45]file doc_00009166 [00:29:45]remove file /storage/0216/doc_00009166 [00:29:45]file doc_00009167 [00:29:45]remove file /storage/0216/doc_00009167 [00:29:45]file doc_00009168 [00:29:45]remove file /storage/0216/doc_00009168 [00:29:45]file doc_00009169 [00:29:45]remove file /storage/0216/doc_00009169 [00:29:45]file doc_00009170 [00:29:45]remove file /storage/0216/doc_00009170 [00:29:45]file doc_00009171 [00:29:45]remove file /storage/0216/doc_00009171 [00:29:45]file doc_00009172 [00:29:45]remove file /storage/0216/doc_00009172 [00:29:45]file doc_00009173 [00:29:45]remove file /storage/0216/doc_00009173 [00:29:45]file doc_00009174 [00:29:45]remove file /storage/0216/doc_00009174 [00:29:45]file doc_00009175 [00:29:45]remove file /storage/0216/doc_00009175 [00:29:45]remove dir /storage/0216 [00:29:45]ProcessDocumentItem done err = 0, tmpTLVsize=208 [00:29:45]tlvbuf is 0054B740 [00:29:45]SAM_PROTO_ClearQueue [00:29:45]wFMCommunicate request_size=4 [00:29:45]MH_SAM_APDU [00:29:45]CAPDU: 80 09 00 00 [00:29:45]Write to MH i2c: E2 08 00 8F 06 80 09 00 00 00 00 00 00 07 [00:29:45]Write i2c OK [00:29:45]MH_I2C_Read... [00:29:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:29:45]Read from MH i2c: E2 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 8F 06 00 90 00 09 [00:29:45]RAPDU: 90 00 [00:29:45]wFMCommunicate OK [00:29:45]SAM_PROTO_ClearQueue done [00:29:45]KKMCreateOFDPacket [00:29:45]OFDProtocolAddRootSTLVToBuf [00:29:45]FM_MakeSignedData [00:29:45]FM_MakeSignedData [00:29:45]SAM_PROTO_SignData [00:29:45]wFMCommunicate request_size=4 [00:29:45]MH_SAM_APDU [00:29:45]CAPDU: 80 0D 01 02 [00:29:45]Write to MH i2c: E2 08 00 90 06 80 0D 01 02 00 00 00 00 0F [00:29:45]Write i2c OK [00:29:45]MH_I2C_Read... [00:29:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:29:45]Read from MH i2c: E2 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 [00:29:45]MH_I2C_Read... [00:29:45]Read from MH i2c: E2 03 00 90 06 00 90 00 0A [00:29:45]RAPDU: 90 00 [00:29:45]wFMCommunicate OK [00:29:45]wFMCommunicate request_size=217 [00:29:45]MH_SAM_APDU [00:29:45]CAPDU: 80 0D 02 02 D4 02 00 D0 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 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 F4 03 04 00 FA 34 C5 66 0E 04 04 00 D9 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 2F EA 51 10 3A 7C [00:29:45]Write to MH i2c: E2 DC 00 91 06 80 0D 02 02 D4 00 02 00 D0 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 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 F4 03 04 00 FA 34 C5 66 0E 04 04 00 D9 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 2F EA 51 10 3A 7C 00 00 68 [00:29:45]Write i2c OK [00:29:45]MH_I2C_Read... [00:29:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:46]Read from MH i2c: E2 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 03 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 03 00 91 06 00 90 00 0B [00:29:46]RAPDU: 90 00 [00:29:46]wFMCommunicate OK [00:29:46]wFMCommunicate request_size=4 [00:29:46]MH_SAM_APDU [00:29:46]CAPDU: 80 0D 03 02 [00:29:46]Write to MH i2c: E2 08 00 92 06 80 0D 03 02 00 00 00 00 13 [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:29:46]Read from MH i2c: E2 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 0B 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 0B 00 92 06 00 43 18 96 5B 3E F4 71 4F 90 00 52 [00:29:46]RAPDU: 43 18 96 5B 3E F4 71 4F 90 00 [00:29:46]wFMCommunicate OK [00:29:46]SAM_PROTO_SignData done [00:29:46]FM_MakeSignedData done [00:29:46]CreateOFDProtocolMessage [00:29:46]wFMCommunicate request_size=4 [00:29:46]MH_SAM_APDU [00:29:46]CAPDU: 80 11 00 00 [00:29:46]Write to MH i2c: E2 08 00 93 06 80 11 00 00 00 00 00 00 13 [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 [00:29:46]MH_I2C_Read... [00:29:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:46]Read from MH i2c: E2 17 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: E2 17 00 93 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 6A [00:29:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:29:46]wFMCommunicate OK [00:29:46]CreateOFDProtocolMessage done [00:29:46]OFDSenderStorePacket 9176 [00:29:46]StoreOFDPacket docnum=9176 [00:29:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 E4 00 00 00 CB 6D DC 00 0C 63 5A 02 01 00 02 00 D0 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 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 F4 03 04 00 FA 34 C5 66 0E 04 04 00 D9 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 2F EA 51 10 3A 7C 43 18 96 5B 3E F4 71 4F [00:29:46]CheckFolder [00:29:46]dirname=/storage/ofd_packets [00:29:46]CheckFolder done [00:29:46]ProducePacketName [00:29:46]name=ofd_packets/00009176 [00:29:46]NVStorageSaveData ofd_packets/00009176 [00:29:46]File name is /storage/ofd_packets/00009176 [00:29:46]Write 258 bytes [00:29:46]NVStorageSaveData done [00:29:46]OFDSenderStorePacket done [00:29:46]KKMCreateOFDPacket done [00:29:46]NVStorageSaveData kkm_last_timestamp [00:29:46]File name is /storage/kkm_last_timestamp [00:29:46]Write 4 bytes [00:29:46]NVStorageSaveData done [00:29:46]ExternCall_PrintAddStr [00:29:46]wPrintStart [00:29:46]Write to MH i2c: 01 00 00 94 06 9A [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 07 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 07 00 94 06 00 00 00 00 00 FF 0F AF [00:29:46]RasterBufferAndPrint [00:29:46]line Отчет об открытии смены [00:29:46]line ФФД: 1.0 [00:29:46]line ИНН: 02508201610067 [00:29:46]line Кассир: Атаев Т. [00:29:46]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [00:29:46]line Место: АЗС № 94 [00:29:46]line 21.08.2024 00:29 [00:29:46]line Смена: 217 [00:29:46]line РНМ: 0000000000108878 [00:29:46]line ЗНМ: 0300000128 [00:29:46]line ФД: 9176 [00:29:46]line ФМ: 0000000000965619 [00:29:46]line ФПД: 52683428870780 [00:29:46]written 0, free lines is 4095 [00:29:46]OFD Sender: Processing packet 9176 [packets to send 4, broken 3] [00:29:46]ProducePacketName [00:29:46]name=ofd_packets/00009176 [00:29:46]OFD Sender: To server: pG, [00:29:46]CommunicateWithHost lk.salyk.kg:30040 [00:29:46]ConnectInit lk.salyk.kg [00:29:46]Connected sock=10 [00:29:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 E4 00 00 00 CB 6D DC 00 0C 63 5A 02 01 00 02 00 D0 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 0E 00 D0 90 D1 82 D0 B0 D0 B5 D0 B2 20 D0 A2 2E F1 03 48 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 90 D0 B9 D1 82 D0 B8 D0 B5 D0 B2 D0 B0 20 31 35 33 20 D0 96 20 2C 20 34 30 2E 35 32 35 34 37 35 2C 20 37 32 2E 37 36 39 33 35 38 A3 04 0D 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 34 F4 03 04 00 FA 34 C5 66 0E 04 04 00 D9 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 35 04 06 00 2F EA 51 10 3A 7C 43 18 96 5B 3E F4 71 4F [00:29:46]Write to MH i2c: 01 00 00 A5 06 AB [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 07 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: 01 07 00 A5 06 00 00 00 00 00 A6 0E 66 [00:29:46]RasterBufferAndPrint [00:29:46]line [00:29:46]line [00:29:46]line [00:29:46]line [00:29:46]line [00:29:46]written 0, free lines is 3768 [00:29:46]MH_Cut [00:29:46]Write to MH i2c: D1 01 00 AC 06 01 84 [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: D1 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: D1 01 00 [00:29:46]MH_I2C_Read... [00:29:46]Read from MH i2c: D1 01 00 AC 06 00 83 [00:29:46]Write to MH i2c: 01 00 00 AD 06 B3 [00:29:46]Write i2c OK [00:29:46]MH_I2C_Read... [00:29:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 B0 D1 47 00 22 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D8 23 00 00 F4 03 04 00 C3 DC C4 66 B6 04 01 00 00 65 B5 CB 20 BC 79 7C B5 [00:29:46]CommunicateWithHost err = 0 [00:29:46]CheckOFDResponse [00:29:46]1017 (14) - 77093643461234 [00:29:46]1041 (16) - 0000000000965619 [00:29:46]1040 (4) - 9176 [00:29:46]1012 (4) - 20.08.2024 18:13 [00:29:46]1206 (1) - 0 [00:29:46]OFD Sender: Remove packet 9176 [00:29:46]ProducePacketName [00:29:46]name=ofd_packets/00009176 [00:29:46]NVStorageDeleteData [00:29:47]*** Cut start [00:29:47]*** Partial cut [00:29:47]*** CUTSNS_PIN = 1 [00:29:47]*** CUTSNS_PIN = 0 [00:29:47]OFD Sender: No OFD packet to send [00:29:47]*** Brake cut motor [00:29:47]Read from MH i2c: 01 [00:29:47]MH_I2C_Read... [00:29:47]*** Stop cut motor [00:29:47]*** Cut end [00:29:47]Read from MH i2c: 01 07 00 [00:29:47]MH_I2C_Read... [00:29:47]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [00:29:47]process_action open_shift done [00:29:47]requested_data is exist [00:29:47]produce_requested_data [00:29:47]requested_item fd.num is exist - process it [00:29:47]SAM_PROTO_GetFieldsCounters [00:29:47]wFMCommunicate request_size=4 [00:29:47]MH_SAM_APDU [00:29:47]CAPDU: 80 13 00 00 [00:29:47]Write to MH i2c: E2 08 00 AE 06 80 13 00 00 00 00 00 00 30 [00:29:47]Write i2c OK [00:29:47]MH_I2C_Read... [00:29:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:29:47]Read from MH i2c: E2 [00:29:47]MH_I2C_Read... [00:29:47]Read from MH i2c: E2 62 00 [00:29:47]MH_I2C_Read... [00:29:47]Read from MH i2c: E2 62 00 AE 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 0E 04 04 00 D9 00 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 30 [00:29:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D8 23 00 00 0E 04 04 00 D9 00 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:29:47]wFMCommunicate OK [00:29:47]SAM_PROTO_GetFieldsCounters done [00:29:47]requested_item shift.num is exist - process it [00:29:47]requested_item shift.opened is exist - process it [00:29:47]req_shift_opened [00:29:47]FM_GetShiftState [00:29:47]SAM_PROTO_GetShiftState [00:29:47]wFMCommunicate request_size=4 [00:29:47]MH_SAM_APDU [00:29:47]CAPDU: 80 13 01 00 [00:29:47]Write to MH i2c: E2 08 00 AF 06 80 13 01 00 00 00 00 00 32 [00:29:47]Write i2c OK [00:29:47]MH_I2C_Read... [00:29:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:47]Read from MH i2c: E2 [00:29:47]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 0E 00 [00:29:48]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 0E 00 AF 06 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 97 [00:29:48]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [00:29:48]wFMCommunicate OK [00:29:48]SAM_PROTO_GetShiftState done [00:29:48]FM_GetShiftState done [00:29:48]req_shift_opened done [00:29:48]requested_item shift.open_date is exist - process it [00:29:48]req_shift_open_date [00:29:48]req_shift_open_date done [00:29:48]produce_requested_data done [00:29:48]produce_requested_data return {"fd.num":9176,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186} [00:29:48]process_action_free open_shift [00:29:48]json_value_free [00:29:48]json_value_free done [00:29:48]process_json_proto returns [00:29:48]Send response to host [00:29:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":9176,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186}}} [00:29:48]free response buf [00:29:48]execute_script done [00:29:48]execute_script returns [00:29:48]free content buf [00:29:48]Sock 9.Close socket [00:29:48]Sock 9.Thread stoped [00:29:48]accept exits with 7 [00:29:48]New connection [00:29:48]New thread 3066785124 created [00:29:48]Thread 3066928484 joined [00:29:48]Waiting for new connection... [00:29:48] Sock 7.Parse request [00:29:48]Sock 7.Check first char [00:29:48]Sock 7.First char is OK [00:29:48]request: POST /json_proto HTTP/1.0 [00:29:48]Method: POST [00:29:48]URL: /json_proto [00:29:48]Method is POST - this is cgi request [00:29:48]url: /json_proto [00:29:48]query_string will be loaded in cgi processing [00:29:48]execute_cgi json_proto POST (null) [00:29:48]execute_cgi path=json_proto method=POST [00:29:48]POST find Content-Length [00:29:48]Host: 172.17.55.134:8080 [00:29:48]Content-Length: 331 [00:29:48]Content-Type: application/json [00:29:48] [00:29:48]POST finish read [00:29:48]Found Content-Length = 331 [00:29:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:29:48]execute_script... [00:29:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:29:48]POST & json_proto [00:29:48]process_json_proto [00:29:48]json parsed OK: [00:29:48]protocol is kg_v1.0 [00:29:48]action value=get_value [00:29:48]process_action get_value [00:29:48]cmd_get_value [00:29:48]process_action get_value done [00:29:48]requested_data is exist [00:29:48]produce_requested_data [00:29:48]requested_item fm.sale.total is exist - process it [00:29:48]SAM_PROTO_GetFMData [00:29:48]wFMCommunicate request_size=4 [00:29:48]MH_SAM_APDU [00:29:48]CAPDU: 80 13 03 00 [00:29:48]Write to MH i2c: E2 08 00 B0 06 80 13 03 00 00 00 00 00 35 [00:29:48]Write i2c OK [00:29:48]MH_I2C_Read... [00:29:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:29:48]Read from MH i2c: E2 [00:29:48]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 FD 00 [00:29:48]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 FD 00 B0 06 00 BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 58 [00:29:48]RAPDU: BC 04 85 04 B8 04 6E 04 04 00 26 22 00 00 69 04 A0 00 6F 04 04 00 24 22 00 00 B1 04 04 00 C3 F5 30 0C 70 04 04 00 70 A6 25 0A 72 04 04 00 53 4F 0B 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9D 6D 4B 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 CB 9A 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 96 00 6F 04 04 00 02 00 00 00 B1 04 02 00 28 6E 70 04 02 00 20 4E 72 04 02 00 08 20 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B3 0B EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:29:48]wFMCommunicate OK [00:29:48]wFMCommunicate request_size=4 [00:29:48]MH_SAM_APDU [00:29:48]CAPDU: 80 17 00 00 [00:29:48]Write to MH i2c: E2 08 00 B1 06 80 17 00 00 00 00 00 00 37 [00:29:48]Write i2c OK [00:29:48]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 [00:29:48]MH_I2C_Read... [00:29:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:48]Read from MH i2c: E2 FD 00 [00:29:48]MH_I2C_Read... [00:29:48]Read from MH i2c: E2 FD 00 B1 06 00 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 DC [00:29:48]RAPDU: 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 90 00 [00:29:49]wFMCommunicate OK [00:29:49]wFMCommunicate request_size=4 [00:29:49]MH_SAM_APDU [00:29:49]CAPDU: 80 17 00 00 [00:29:49]Write to MH i2c: E2 08 00 B2 06 80 17 00 00 00 00 00 00 38 [00:29:49]Write i2c OK [00:29:49]MH_I2C_Read... [00:29:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:49]Read from MH i2c: E2 [00:29:49]MH_I2C_Read... [00:29:49]Read from MH i2c: E2 FD 00 [00:29:49]MH_I2C_Read... [00:29:49]Read from MH i2c: E2 FD 00 B2 06 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 61 [00:29:49]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 90 00 [00:29:49]wFMCommunicate OK [00:29:49]wFMCommunicate request_size=4 [00:29:49]MH_SAM_APDU [00:29:49]CAPDU: 80 17 00 00 [00:29:49]Write to MH i2c: E2 08 00 B3 06 80 17 00 00 00 00 00 00 39 [00:29:49]Write i2c OK [00:29:49]MH_I2C_Read... [00:29:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:49]Read from MH i2c: E2 [00:29:49]MH_I2C_Read... [00:29:49]Read from MH i2c: E2 FD 00 [00:29:49]MH_I2C_Read... [00:29:49]Read from MH i2c: E2 FD 00 B3 06 00 03 00 00 EF 03 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 90 00 BA [00:29:49]RAPDU: 03 00 00 EF 03 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 90 00 [00:29:49]wFMCommunicate OK [00:29:49]wFMCommunicate request_size=4 [00:29:49]MH_SAM_APDU [00:29:49]CAPDU: 80 17 00 00 [00:29:49]Write to MH i2c: E2 08 00 B4 06 80 17 00 00 00 00 00 00 3A [00:29:49]Write i2c OK [00:29:49]MH_I2C_Read... [00:29:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 214! [00:29:50]Read from MH i2c: E2 [00:29:50]MH_I2C_Read... [00:29:50]Read from MH i2c: E2 D9 00 [00:29:50]MH_I2C_Read... [00:29:50]Read from MH i2c: E2 D9 00 B4 06 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [00:29:50]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:29:50]wFMCommunicate OK [00:29:50]SAM_PROTO_GetFMData done [00:29:50]requested_item fm.sale_refund.total is exist - process it [00:29:50]requested_item fm.buy.total is exist - process it [00:29:50]requested_item shift.sale.total is exist - process it [00:29:50]SAM_PROTO_GetShiftData [00:29:50]wFMCommunicate request_size=4 [00:29:50]MH_SAM_APDU [00:29:50]CAPDU: 80 13 02 00 [00:29:50]Write to MH i2c: E2 08 00 B5 06 80 13 02 00 00 00 00 00 39 [00:29:50]Write i2c OK [00:29:50]MH_I2C_Read... [00:29:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:29:50]Read from MH i2c: E2 [00:29:50]MH_I2C_Read... [00:29:50]Read from MH i2c: E2 FD 00 [00:29:50]MH_I2C_Read... [00:29:50]Read from MH i2c: E2 FD 00 B5 06 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 AC [00:29:50]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:29:50]wFMCommunicate OK [00:29:50]wFMCommunicate request_size=4 [00:29:50]MH_SAM_APDU [00:29:50]CAPDU: 80 17 00 00 [00:29:50]Write to MH i2c: E2 08 00 B6 06 80 17 00 00 00 00 00 00 3C [00:29:50]Write i2c OK [00:29:50]MH_I2C_Read... [00:29:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:51]Read from MH i2c: E2 [00:29:51]MH_I2C_Read... [00:29:51]Read from MH i2c: E2 FD 00 [00:29:51]MH_I2C_Read... [00:29:51]Read from MH i2c: E2 FD 00 B6 06 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 44 [00:29:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:29:51]wFMCommunicate OK [00:29:51]wFMCommunicate request_size=4 [00:29:51]MH_SAM_APDU [00:29:51]CAPDU: 80 17 00 00 [00:29:51]Write to MH i2c: E2 08 00 B7 06 80 17 00 00 00 00 00 00 3D [00:29:51]Write i2c OK [00:29:51]MH_I2C_Read... [00:29:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:51]Read from MH i2c: E2 [00:29:51]MH_I2C_Read... [00:29:51]Read from MH i2c: E2 FD 00 [00:29:51]MH_I2C_Read... [00:29:51]Read from MH i2c: E2 FD 00 B7 06 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 0F [00:29:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:29:51]wFMCommunicate OK [00:29:51]wFMCommunicate request_size=4 [00:29:51]MH_SAM_APDU [00:29:51]CAPDU: 80 17 00 00 [00:29:51]Write to MH i2c: E2 08 00 B8 06 80 17 00 00 00 00 00 00 3E [00:29:51]Write i2c OK [00:29:51]MH_I2C_Read... [00:29:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:52]Read from MH i2c: E2 [00:29:52]MH_I2C_Read... [00:29:52]Read from MH i2c: E2 FD 00 [00:29:52]MH_I2C_Read... [00:29:52]Read from MH i2c: E2 FD 00 B8 06 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 B0 [00:29:52]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:29:52]wFMCommunicate OK [00:29:52]wFMCommunicate request_size=4 [00:29:52]MH_SAM_APDU [00:29:52]CAPDU: 80 17 00 00 [00:29:52]Write to MH i2c: E2 08 00 B9 06 80 17 00 00 00 00 00 00 3F [00:29:52]Write i2c OK [00:29:52]MH_I2C_Read... [00:29:52]OFD Sender: No OFD packet to send [00:29:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:29:52]Read from MH i2c: E2 [00:29:52]MH_I2C_Read... [00:29:52]Read from MH i2c: E2 BD 00 [00:29:52]MH_I2C_Read... [00:29:52]Read from MH i2c: E2 BD 00 B9 06 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 25 [00:29:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:29:52]wFMCommunicate OK [00:29:52]SAM_PROTO_GetShiftData done [00:29:52]requested_item shift.sale.total_cash is exist - process it [00:29:52]requested_item shift.sale_refund.total is exist - process it [00:29:52]requested_item shift.sale_refund.total_cash is exist - process it [00:29:52]requested_item shift.buy.total is exist - process it [00:29:52]requested_item shift.buy.total_cash is exist - process it [00:29:52]produce_requested_data done [00:29:52]produce_requested_data return {"fm.sale.total":2045352.35,"fm.sale_refund.total":282.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:29:52]process_action_free get_value [00:29:52]json_value_free [00:29:52]json_value_free done [00:29:52]process_json_proto returns [00:29:52]Send response to host [00:29:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2045352.35,"fm.sale_refund.total":282.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:29:52]free response buf [00:29:52]execute_script done [00:29:52]execute_script returns [00:29:52]free content buf [00:29:52]Sock 7.Close socket [00:29:52]Sock 7.Thread stoped [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:31]accept exits with 9 [00:41:31]New connection [00:41:31]New thread 3066928484 created [00:41:31]Thread 3066785124 joined [00:41:31]Waiting for new connection... [00:41:31] Sock 9.Parse request [00:41:31]Sock 9.Check first char [00:41:31]Sock 9.First char is OK [00:41:31]request: POST /json_proto HTTP/1.0 [00:41:31]Method: POST [00:41:31]URL: /json_proto [00:41:31]Method is POST - this is cgi request [00:41:31]url: /json_proto [00:41:31]query_string will be loaded in cgi processing [00:41:31]execute_cgi json_proto POST (null) [00:41:31]execute_cgi path=json_proto method=POST [00:41:31]POST find Content-Length [00:41:31]Host: 172.17.55.134:8080 [00:41:31]Content-Length: 804 [00:41:31]Content-Type: application/json [00:41:31] [00:41:31]POST finish read [00:41:31]Found Content-Length = 804 [00:41:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18164", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:31]execute_script... [00:41:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18164", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:31]POST & json_proto [00:41:31]process_json_proto [00:41:31]json parsed OK: [00:41:31]protocol is kg_v1.0 [00:41:31]action value=close_receipt [00:41:31]process_action close_receipt [00:41:31]cmd_close_receipt [00:41:31]MH_GetDate [00:41:31]Write to MH i2c: F0 00 00 BA 06 AF [00:41:31]Write i2c OK [00:41:31]MH_I2C_Read... [00:41:31]Read from MH i2c: F0 [00:41:31]MH_I2C_Read... [00:41:31]Read from MH i2c: F0 09 00 [00:41:31]MH_I2C_Read... [00:41:31]Read from MH i2c: F0 09 00 BA 06 00 BD 37 C5 66 13 35 D9 65 5D [00:41:31]GetLastDocTimeStamp 1724200186 [00:41:31]current date 1724200893 [00:41:31]FM_GetShiftState [00:41:31]SAM_PROTO_GetShiftState [00:41:31]wFMCommunicate request_size=4 [00:41:31]MH_SAM_APDU [00:41:31]CAPDU: 80 13 01 00 [00:41:31]Write to MH i2c: E2 08 00 BB 06 80 13 01 00 00 00 00 00 3E [00:41:31]Write i2c OK [00:41:31]MH_I2C_Read... [00:41:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:31]Read from MH i2c: E2 [00:41:31]MH_I2C_Read... [00:41:31]Read from MH i2c: E2 0E 00 [00:41:31]MH_I2C_Read... [00:41:31]Read from MH i2c: E2 0E 00 BB 06 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 A3 [00:41:31]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [00:41:31]wFMCommunicate OK [00:41:31]SAM_PROTO_GetShiftState done [00:41:31]FM_GetShiftState done [00:41:31]opened in 1724200186 [00:41:31]opened+sec_in_day 1724286586 [00:41:31]quantity*price = 3500 [00:41:31]sum+1 = 3501 [00:41:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 0.00 Безнал.: 35.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 1 21.08.2024 00:41 Смена: 217 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9177 ФПД: 184221259981943 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T004133&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9177&fm=184221259981943&tin=02508201610067®Number=0000000000108878&sum=3500 0 [00:41:32]StoreToDocumentArchive [00:41:32]shift 217 fd 9177 [00:41:32]save to /storage/0217/doc_00009177 [00:41:32]save last doc name /storage/0217/doc_00009177 to /storage/kkm_last_doc_name [00:41:32]save OK [00:41:32]Clear old archive folders... [00:41:32]ProcessDocumentItem done err = 0, tmpTLVsize=275 [00:41:32]tlvbuf is 00540360 [00:41:32]SAM_PROTO_ClearQueue [00:41:32]wFMCommunicate request_size=4 [00:41:32]MH_SAM_APDU [00:41:32]CAPDU: 80 09 00 00 [00:41:32]Write to MH i2c: E2 08 00 C8 06 80 09 00 00 00 00 00 00 40 [00:41:32]Write i2c OK [00:41:32]MH_I2C_Read... [00:41:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:41:32]Read from MH i2c: E2 [00:41:32]MH_I2C_Read... [00:41:32]Read from MH i2c: E2 03 00 [00:41:32]MH_I2C_Read... [00:41:32]Read from MH i2c: E2 03 00 C8 06 00 90 00 42 [00:41:32]RAPDU: 90 00 [00:41:32]wFMCommunicate OK [00:41:32]SAM_PROTO_ClearQueue done [00:41:32]KKMCreateOFDPacket [00:41:32]OFDProtocolAddRootSTLVToBuf [00:41:32]FM_MakeSignedData [00:41:32]FM_MakeSignedData [00:41:32]SAM_PROTO_SignData [00:41:32]wFMCommunicate request_size=4 [00:41:32]MH_SAM_APDU [00:41:32]CAPDU: 80 0D 01 02 [00:41:32]Write to MH i2c: E2 08 00 C9 06 80 0D 01 02 00 00 00 00 48 [00:41:32]Write i2c OK [00:41:32]MH_I2C_Read... [00:41:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:41:32]Read from MH i2c: E2 [00:41:32]MH_I2C_Read... [00:41:32]Read from MH i2c: E2 03 00 [00:41:32]MH_I2C_Read... [00:41:32]Read from MH i2c: E2 03 00 C9 06 00 90 00 43 [00:41:32]RAPDU: 90 00 [00:41:32]wFMCommunicate OK [00:41:32]wFMCommunicate request_size=255 [00:41:32]MH_SAM_APDU [00:41:32]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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 37 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 [00:41:32]Write to MH i2c: E2 02 01 CA 06 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 37 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 00 00 30 [00:41:32]Write i2c OK [00:41:32]MH_I2C_Read... [00:41:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:32]OFD Sender: No OFD packet to send [00:41:32]Read from MH i2c: E2 [00:41:32]MH_I2C_Read... [00:41:32]Read from MH i2c: E2 03 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 03 00 CA 06 00 90 00 44 [00:41:33]RAPDU: 90 00 [00:41:33]wFMCommunicate OK [00:41:33]wFMCommunicate request_size=34 [00:41:33]MH_SAM_APDU [00:41:33]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D9 23 00 00 35 04 06 00 A7 8C 5A C2 E4 77 [00:41:33]Write to MH i2c: E2 25 00 CB 06 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D9 23 00 00 35 04 06 00 A7 8C 5A C2 E4 77 00 00 B6 [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:33]Read from MH i2c: E2 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 03 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 03 00 CB 06 00 90 00 45 [00:41:33]RAPDU: 90 00 [00:41:33]wFMCommunicate OK [00:41:33]wFMCommunicate request_size=4 [00:41:33]MH_SAM_APDU [00:41:33]CAPDU: 80 0D 03 02 [00:41:33]Write to MH i2c: E2 08 00 CC 06 80 0D 03 02 00 00 00 00 4D [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:41:33]Read from MH i2c: E2 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 0B 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 0B 00 CC 06 00 D1 2E 1C FB D0 1F 37 24 90 00 AE [00:41:33]RAPDU: D1 2E 1C FB D0 1F 37 24 90 00 [00:41:33]wFMCommunicate OK [00:41:33]SAM_PROTO_SignData done [00:41:33]FM_MakeSignedData done [00:41:33]CreateOFDProtocolMessage [00:41:33]wFMCommunicate request_size=4 [00:41:33]MH_SAM_APDU [00:41:33]CAPDU: 80 11 00 00 [00:41:33]Write to MH i2c: E2 08 00 CD 06 80 11 00 00 00 00 00 00 4D [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:33]Read from MH i2c: E2 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 17 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: E2 17 00 CD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 A4 [00:41:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:41:33]wFMCommunicate OK [00:41:33]CreateOFDProtocolMessage done [00:41:33]OFDSenderStorePacket 9177 [00:41:33]StoreOFDPacket docnum=9177 [00:41:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 48 7A 1F 01 33 8B 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 37 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D9 23 00 00 35 04 06 00 A7 8C 5A C2 E4 77 D1 2E 1C FB D0 1F 37 24 [00:41:33]CheckFolder [00:41:33]dirname=/storage/ofd_packets [00:41:33]CheckFolder done [00:41:33]ProducePacketName [00:41:33]name=ofd_packets/00009177 [00:41:33]NVStorageSaveData ofd_packets/00009177 [00:41:33]File name is /storage/ofd_packets/00009177 [00:41:33]Write 325 bytes [00:41:33]NVStorageSaveData done [00:41:33]OFDSenderStorePacket done [00:41:33]KKMCreateOFDPacket done [00:41:33]NVStorageSaveData kkm_last_timestamp [00:41:33]File name is /storage/kkm_last_timestamp [00:41:33]Write 4 bytes [00:41:33]NVStorageSaveData done [00:41:33]ExternCall_PrintAddStr [00:41:33]wPrintStart [00:41:33]Write to MH i2c: 01 00 00 CE 06 D4 [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 07 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 07 00 CE 06 00 00 00 00 00 FF 0F E9 [00:41:33]RasterBufferAndPrint [00:41:33]line Счет N : (3)18164 [00:41:33]line ИНН: 02508201610067 [00:41:33]line Контрольно-Кассовый Чек [00:41:33]line ПРОДАЖА [00:41:33]line Товар: 4700000310326 [00:41:33]line Вода Адыгене 1л б/г [00:41:33]line 1.000 * 35.00 [00:41:33]line = 35.00 [00:41:33]line НДС 12% НСП 1% [00:41:33]line > о реализуемом товаре [00:41:33]line ИТОГО: 35.00 [00:41:33]line НСП 1% : 0.31 [00:41:33]line НДС 12% : 3.72 [00:41:33]line Наличными: 0.00 [00:41:33]line Безнал.: 35.00 [00:41:33]line Место: АЗС № 94 [00:41:33]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [00:41:33]line СНО: Общий режим [00:41:33]line Чек 1 21.08.2024 00:41 [00:41:33]line Смена: 217 ФФД: 1.0 [00:41:33]line ЗНМ: 0300000128 [00:41:33]line РНМ: 0000000000108878 [00:41:33]line Версия ККМ: 001 [00:41:33]line Платежная система: O! деньги [00:41:33]line ФМ: 0000000000965619 [00:41:33]line ФД: 9177 [00:41:33]line ФПД: 184221259981943 [00:41:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T004133&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9177&fm=184221259981943&tin=02508201610067®Number=0000000000108878&sum=3500 [00:41:33]line 0 [00:41:33]OFD Sender: Processing packet 9177 [packets to send 4, broken 3] [00:41:33]ProducePacketName [00:41:33]name=ofd_packets/00009177 [00:41:33]OFD Sender: To server: pG, [00:41:33]CommunicateWithHost lk.salyk.kg:30040 [00:41:33]ConnectInit lk.salyk.kg [00:41:33]written 0, free lines is 4095 [00:41:33]Connected sock=10 [00:41:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 27 01 00 00 48 7A 1F 01 33 8B 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 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 37 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D9 23 00 00 35 04 06 00 A7 8C 5A C2 E4 77 D1 2E 1C FB D0 1F 37 24 [00:41:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 8C 5F 47 00 71 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 D9 23 00 00 F4 03 04 00 86 DF C4 66 B6 04 01 00 00 C5 65 3A E8 27 31 70 FA [00:41:33]CommunicateWithHost err = 0 [00:41:33]CheckOFDResponse [00:41:33]1017 (14) - 77093643461234 [00:41:33]1041 (16) - 0000000000965619 [00:41:33]1040 (4) - 9177 [00:41:33]1012 (4) - 20.08.2024 18:25 [00:41:33]1206 (1) - 0 [00:41:33]OFD Sender: Remove packet 9177 [00:41:33]ProducePacketName [00:41:33]name=ofd_packets/00009177 [00:41:33]NVStorageDeleteData [00:41:33]Write to MH i2c: 01 00 00 F7 06 FD [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 07 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: 01 07 00 F7 06 00 00 00 00 00 E3 0C F3 [00:41:33]RasterBufferAndPrint [00:41:33]line [00:41:33]line [00:41:33]line [00:41:33]line [00:41:33]line [00:41:33]written 0, free lines is 3306 [00:41:33]MH_Cut [00:41:33]Write to MH i2c: D1 01 00 FE 06 01 D6 [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: D1 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: D1 01 00 [00:41:33]MH_I2C_Read... [00:41:33]Read from MH i2c: D1 01 00 FE 06 00 D5 [00:41:33]Write to MH i2c: 01 00 00 FF 06 05 [00:41:33]Write i2c OK [00:41:33]MH_I2C_Read... [00:41:34]OFD Sender: No OFD packet to send [00:41:34]*** Cut start [00:41:34]*** Partial cut [00:41:34]*** CUTSNS_PIN = 1 [00:41:34]*** CUTSNS_PIN = 0 [00:41:35]*** Brake cut motor [00:41:35]Read from MH i2c: 01 [00:41:35]MH_I2C_Read... [00:41:35]*** Stop cut motor [00:41:35]*** Cut end [00:41:35]Read from MH i2c: 01 07 00 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: 01 07 00 FF 06 00 00 00 00 00 FF 0F 1A [00:41:35]process_action close_receipt done [00:41:35]requested_data is exist [00:41:35]produce_requested_data [00:41:35]requested_item fm.sn is exist - process it [00:41:35]wFMCommunicate request_size=4 [00:41:35]MH_SAM_APDU [00:41:35]CAPDU: 80 11 00 00 [00:41:35]Write to MH i2c: E2 08 00 00 07 80 11 00 00 00 00 00 00 81 [00:41:35]Write i2c OK [00:41:35]MH_I2C_Read... [00:41:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:35]Read from MH i2c: E2 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 17 00 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 17 00 00 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 D8 [00:41:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [00:41:35]wFMCommunicate OK [00:41:35]requested_item fd.num is exist - process it [00:41:35]SAM_PROTO_GetFieldsCounters [00:41:35]wFMCommunicate request_size=4 [00:41:35]MH_SAM_APDU [00:41:35]CAPDU: 80 13 00 00 [00:41:35]Write to MH i2c: E2 08 00 01 07 80 13 00 00 00 00 00 00 84 [00:41:35]Write i2c OK [00:41:35]MH_I2C_Read... [00:41:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:41:35]Read from MH i2c: E2 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 62 00 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 62 00 01 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D9 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [00:41:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 D9 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:41:35]wFMCommunicate OK [00:41:35]SAM_PROTO_GetFieldsCounters done [00:41:35]requested_item shift.num is exist - process it [00:41:35]requested_item shift.opened is exist - process it [00:41:35]req_shift_opened [00:41:35]FM_GetShiftState [00:41:35]SAM_PROTO_GetShiftState [00:41:35]wFMCommunicate request_size=4 [00:41:35]MH_SAM_APDU [00:41:35]CAPDU: 80 13 01 00 [00:41:35]Write to MH i2c: E2 08 00 02 07 80 13 01 00 00 00 00 00 86 [00:41:35]Write i2c OK [00:41:35]MH_I2C_Read... [00:41:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:35]Read from MH i2c: E2 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 0E 00 [00:41:35]MH_I2C_Read... [00:41:35]Read from MH i2c: E2 0E 00 02 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 EB [00:41:35]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [00:41:35]wFMCommunicate OK [00:41:35]SAM_PROTO_GetShiftState done [00:41:35]FM_GetShiftState done [00:41:35]req_shift_opened done [00:41:35]requested_item shift.open_date is exist - process it [00:41:35]req_shift_open_date [00:41:35]req_shift_open_date done [00:41:35]produce_requested_data done [00:41:35]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9177,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186} [00:41:35]process_action_free close_receipt [00:41:35]json_value_free [00:41:35]json_value_free done [00:41:35]process_json_proto returns [00:41:35]Send response to host [00:41:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9177,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186}}} [00:41:35]free response buf [00:41:35]execute_script done [00:41:35]execute_script returns [00:41:35]free content buf [00:41:35]Sock 9.Close socket [00:41:35]Sock 9.Thread stoped [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]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:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]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:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:26]accept exits with 7 [01:25:26]New connection [01:25:26]New thread 3066785124 created [01:25:26]Thread 3066928484 joined [01:25:26]Waiting for new connection... [01:25:26] Sock 7.Parse request [01:25:26]Sock 7.Check first char [01:25:26]Sock 7.First char is OK [01:25:26]request: POST /json_proto HTTP/1.0 [01:25:26]Method: POST [01:25:26]URL: /json_proto [01:25:26]Method is POST - this is cgi request [01:25:26]url: /json_proto [01:25:26]query_string will be loaded in cgi processing [01:25:26]execute_cgi json_proto POST (null) [01:25:26]execute_cgi path=json_proto method=POST [01:25:26]POST find Content-Length [01:25:26]Host: 172.17.55.134:8080 [01:25:26]Content-Length: 804 [01:25:26]Content-Type: application/json [01:25:26] [01:25:26]POST finish read [01:25:26]Found Content-Length = 804 [01:25:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18165", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:25:26]execute_script... [01:25:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18165", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:25:26]POST & json_proto [01:25:26]process_json_proto [01:25:26]json parsed OK: [01:25:26]protocol is kg_v1.0 [01:25:26]action value=close_receipt [01:25:26]process_action close_receipt [01:25:26]cmd_close_receipt [01:25:26]MH_GetDate [01:25:26]Write to MH i2c: F0 00 00 03 07 F9 [01:25:26]Write i2c OK [01:25:26]MH_I2C_Read... [01:25:26]Read from MH i2c: F0 [01:25:26]MH_I2C_Read... [01:25:26]Read from MH i2c: F0 09 00 [01:25:26]MH_I2C_Read... [01:25:26]Read from MH i2c: F0 09 00 03 07 00 08 42 C5 66 13 35 D9 65 FD [01:25:26]GetLastDocTimeStamp 1724200893 [01:25:26]current date 1724203528 [01:25:26]FM_GetShiftState [01:25:26]SAM_PROTO_GetShiftState [01:25:26]wFMCommunicate request_size=4 [01:25:26]MH_SAM_APDU [01:25:26]CAPDU: 80 13 01 00 [01:25:26]Write to MH i2c: E2 08 00 04 07 80 13 01 00 00 00 00 00 88 [01:25:26]Write i2c OK [01:25:26]MH_I2C_Read... [01:25:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:25:26]Read from MH i2c: E2 [01:25:26]MH_I2C_Read... [01:25:26]Read from MH i2c: E2 0E 00 [01:25:26]MH_I2C_Read... [01:25:26]Read from MH i2c: E2 0E 00 04 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 ED [01:25:26]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [01:25:26]wFMCommunicate OK [01:25:26]SAM_PROTO_GetShiftState done [01:25:26]FM_GetShiftState done [01:25:26]opened in 1724200186 [01:25:26]opened+sec_in_day 1724286586 [01:25:26]quantity*price = 11500 [01:25:26]sum+1 = 11501 [01:25:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 2 21.08.2024 01:25 Смена: 217 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000965619 ФД: 9178 ФПД: 167500838102042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T012528&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9178&fm=167500838102042&tin=02508201610067®Number=0000000000108878&sum=11500 0 [01:25:27]StoreToDocumentArchive [01:25:27]shift 217 fd 9178 [01:25:27]save to /storage/0217/doc_00009178 [01:25:27]save last doc name /storage/0217/doc_00009178 to /storage/kkm_last_doc_name [01:25:27]save OK [01:25:27]Clear old archive folders... [01:25:27]ProcessDocumentItem done err = 0, tmpTLVsize=280 [01:25:27]tlvbuf is 00539C60 [01:25:27]SAM_PROTO_ClearQueue [01:25:27]wFMCommunicate request_size=4 [01:25:27]MH_SAM_APDU [01:25:27]CAPDU: 80 09 00 00 [01:25:27]Write to MH i2c: E2 08 00 11 07 80 09 00 00 00 00 00 00 8A [01:25:27]Write i2c OK [01:25:27]MH_I2C_Read... [01:25:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:25:27]Read from MH i2c: E2 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 11 07 00 90 00 8C [01:25:27]RAPDU: 90 00 [01:25:27]wFMCommunicate OK [01:25:27]SAM_PROTO_ClearQueue done [01:25:27]KKMCreateOFDPacket [01:25:27]OFDProtocolAddRootSTLVToBuf [01:25:27]FM_MakeSignedData [01:25:27]FM_MakeSignedData [01:25:27]SAM_PROTO_SignData [01:25:27]wFMCommunicate request_size=4 [01:25:27]MH_SAM_APDU [01:25:27]CAPDU: 80 0D 01 02 [01:25:27]Write to MH i2c: E2 08 00 12 07 80 0D 01 02 00 00 00 00 92 [01:25:27]Write i2c OK [01:25:27]MH_I2C_Read... [01:25:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:25:27]Read from MH i2c: E2 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 12 07 00 90 00 8D [01:25:27]RAPDU: 90 00 [01:25:27]wFMCommunicate OK [01:25:27]wFMCommunicate request_size=255 [01:25:27]MH_SAM_APDU [01:25:27]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 08 42 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 [01:25:27]Write to MH i2c: E2 02 01 13 07 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 08 42 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 00 00 29 [01:25:27]Write i2c OK [01:25:27]MH_I2C_Read... [01:25:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:25:27]Read from MH i2c: E2 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 13 07 00 90 00 8E [01:25:27]RAPDU: 90 00 [01:25:27]wFMCommunicate OK [01:25:27]wFMCommunicate request_size=39 [01:25:27]MH_SAM_APDU [01:25:27]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DA 23 00 00 35 04 06 00 98 57 53 F4 64 1A [01:25:27]Write to MH i2c: E2 2A 00 14 07 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DA 23 00 00 35 04 06 00 98 57 53 F4 64 1A 00 00 05 [01:25:27]Write i2c OK [01:25:27]MH_I2C_Read... [01:25:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:25:27]Read from MH i2c: E2 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 [01:25:27]MH_I2C_Read... [01:25:27]Read from MH i2c: E2 03 00 14 07 00 90 00 8F [01:25:27]RAPDU: 90 00 [01:25:27]wFMCommunicate OK [01:25:27]wFMCommunicate request_size=4 [01:25:27]MH_SAM_APDU [01:25:27]CAPDU: 80 0D 03 02 [01:25:27]Write to MH i2c: E2 08 00 15 07 80 0D 03 02 00 00 00 00 97 [01:25:27]Write i2c OK [01:25:27]MH_I2C_Read... [01:25:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:25:28]Read from MH i2c: E2 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: E2 0B 00 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: E2 0B 00 15 07 00 10 D6 62 5A CF 63 24 8E 90 00 1E [01:25:28]RAPDU: 10 D6 62 5A CF 63 24 8E 90 00 [01:25:28]wFMCommunicate OK [01:25:28]SAM_PROTO_SignData done [01:25:28]FM_MakeSignedData done [01:25:28]CreateOFDProtocolMessage [01:25:28]wFMCommunicate request_size=4 [01:25:28]MH_SAM_APDU [01:25:28]CAPDU: 80 11 00 00 [01:25:28]Write to MH i2c: E2 08 00 16 07 80 11 00 00 00 00 00 00 97 [01:25:28]Write i2c OK [01:25:28]MH_I2C_Read... [01:25:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:25:28]Read from MH i2c: E2 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: E2 17 00 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: E2 17 00 16 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 EE [01:25:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [01:25:28]wFMCommunicate OK [01:25:28]CreateOFDProtocolMessage done [01:25:28]OFDSenderStorePacket 9178 [01:25:28]StoreOFDPacket docnum=9178 [01:25:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2C 01 00 00 7D F0 24 01 B8 A3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 08 42 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DA 23 00 00 35 04 06 00 98 57 53 F4 64 1A 10 D6 62 5A CF 63 24 8E [01:25:28]CheckFolder [01:25:28]dirname=/storage/ofd_packets [01:25:28]CheckFolder done [01:25:28]ProducePacketName [01:25:28]name=ofd_packets/00009178 [01:25:28]NVStorageSaveData ofd_packets/00009178 [01:25:28]File name is /storage/ofd_packets/00009178 [01:25:28]Write 330 bytes [01:25:28]NVStorageSaveData done [01:25:28]OFDSenderStorePacket done [01:25:28]KKMCreateOFDPacket done [01:25:28]NVStorageSaveData kkm_last_timestamp [01:25:28]File name is /storage/kkm_last_timestamp [01:25:28]Write 4 bytes [01:25:28]NVStorageSaveData done [01:25:28]ExternCall_PrintAddStr [01:25:28]wPrintStart [01:25:28]Write to MH i2c: 01 00 00 17 07 1E [01:25:28]Write i2c OK [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 07 00 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 07 00 17 07 00 00 00 00 00 FF 0F 33 [01:25:28]RasterBufferAndPrint [01:25:28]line Счет N : (3)18165 [01:25:28]line ИНН: 02508201610067 [01:25:28]line Контрольно-Кассовый Чек [01:25:28]line ПРОДАЖА [01:25:28]line Товар: 2000036210013 [01:25:28]line Кофе Капучино (GABB TRADE) [01:25:28]line 1.000 * 115.00 [01:25:28]line = 115.00 [01:25:28]line НДС 12% НСП 1% [01:25:28]line > о реализуемом товаре [01:25:28]line ИТОГО: 115.00 [01:25:28]line НСП 1% : 1.02 [01:25:28]line НДС 12% : 12.21 [01:25:28]line Наличными: 0.00 [01:25:28]line Безнал.: 115.00 [01:25:28]line Место: АЗС № 94 [01:25:28]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [01:25:28]line СНО: Общий режим [01:25:28]line Чек 2 21.08.2024 01:25 [01:25:28]line Смена: 217 ФФД: 1.0 [01:25:28]line ЗНМ: 0300000128 [01:25:28]line РНМ: 0000000000108878 [01:25:28]line Версия ККМ: 001 [01:25:28]line Платежная система: O! деньги [01:25:28]line ФМ: 0000000000965619 [01:25:28]line ФД: 9178 [01:25:28]line ФПД: 167500838102042 [01:25:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T012528&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9178&fm=167500838102042&tin=02508201610067®Number=0000000000108878&sum=11500 [01:25:28]line 0 [01:25:28]OFD Sender: Processing packet 9178 [packets to send 4, broken 3] [01:25:28]ProducePacketName [01:25:28]name=ofd_packets/00009178 [01:25:28]OFD Sender: To server: pG, [01:25:28]CommunicateWithHost lk.salyk.kg:30040 [01:25:28]ConnectInit lk.salyk.kg [01:25:28]written 0, free lines is 4095 [01:25:28]Connected sock=10 [01:25:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2C 01 00 00 7D F0 24 01 B8 A3 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 08 42 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DA 23 00 00 35 04 06 00 98 57 53 F4 64 1A 10 D6 62 5A CF 63 24 8E [01:25:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 59 70 47 00 95 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DA 23 00 00 F4 03 04 00 D1 E9 C4 66 B6 04 01 00 00 26 59 22 6A C9 7E E9 65 [01:25:28]CommunicateWithHost err = 0 [01:25:28]CheckOFDResponse [01:25:28]1017 (14) - 77093643461234 [01:25:28]1041 (16) - 0000000000965619 [01:25:28]1040 (4) - 9178 [01:25:28]1012 (4) - 20.08.2024 19:09 [01:25:28]1206 (1) - 0 [01:25:28]OFD Sender: Remove packet 9178 [01:25:28]ProducePacketName [01:25:28]name=ofd_packets/00009178 [01:25:28]NVStorageDeleteData [01:25:28]Write to MH i2c: 01 00 00 40 07 47 [01:25:28]Write i2c OK [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 07 00 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: 01 07 00 40 07 00 00 00 00 00 E5 0C 3F [01:25:28]RasterBufferAndPrint [01:25:28]line [01:25:28]line [01:25:28]line [01:25:28]line [01:25:28]line [01:25:28]written 0, free lines is 3307 [01:25:28]MH_Cut [01:25:28]Write to MH i2c: D1 01 00 47 07 01 20 [01:25:28]Write i2c OK [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: D1 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: D1 01 00 [01:25:28]MH_I2C_Read... [01:25:28]Read from MH i2c: D1 01 00 47 07 00 1F [01:25:28]Write to MH i2c: 01 00 00 48 07 4F [01:25:28]Write i2c OK [01:25:28]MH_I2C_Read... [01:25:29]OFD Sender: No OFD packet to send [01:25:29]*** Cut start [01:25:29]*** Partial cut [01:25:29]*** CUTSNS_PIN = 1 [01:25:29]*** CUTSNS_PIN = 0 [01:25:29]*** Brake cut motor [01:25:30]Read from MH i2c: 01 [01:25:30]MH_I2C_Read... [01:25:30]*** Stop cut motor [01:25:30]*** Cut end [01:25:30]Read from MH i2c: 01 07 00 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: 01 07 00 48 07 00 00 00 00 00 FF 0F 64 [01:25:30]process_action close_receipt done [01:25:30]requested_data is exist [01:25:30]produce_requested_data [01:25:30]requested_item fm.sn is exist - process it [01:25:30]wFMCommunicate request_size=4 [01:25:30]MH_SAM_APDU [01:25:30]CAPDU: 80 11 00 00 [01:25:30]Write to MH i2c: E2 08 00 49 07 80 11 00 00 00 00 00 00 CA [01:25:30]Write i2c OK [01:25:30]MH_I2C_Read... [01:25:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:25:30]Read from MH i2c: E2 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 17 00 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 17 00 49 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 21 [01:25:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [01:25:30]wFMCommunicate OK [01:25:30]requested_item fd.num is exist - process it [01:25:30]SAM_PROTO_GetFieldsCounters [01:25:30]wFMCommunicate request_size=4 [01:25:30]MH_SAM_APDU [01:25:30]CAPDU: 80 13 00 00 [01:25:30]Write to MH i2c: E2 08 00 4A 07 80 13 00 00 00 00 00 00 CD [01:25:30]Write i2c OK [01:25:30]MH_I2C_Read... [01:25:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:25:30]Read from MH i2c: E2 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 62 00 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 62 00 4A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DA 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [01:25:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DA 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:25:30]wFMCommunicate OK [01:25:30]SAM_PROTO_GetFieldsCounters done [01:25:30]requested_item shift.num is exist - process it [01:25:30]requested_item shift.opened is exist - process it [01:25:30]req_shift_opened [01:25:30]FM_GetShiftState [01:25:30]SAM_PROTO_GetShiftState [01:25:30]wFMCommunicate request_size=4 [01:25:30]MH_SAM_APDU [01:25:30]CAPDU: 80 13 01 00 [01:25:30]Write to MH i2c: E2 08 00 4B 07 80 13 01 00 00 00 00 00 CF [01:25:30]Write i2c OK [01:25:30]MH_I2C_Read... [01:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:25:30]Read from MH i2c: E2 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 0E 00 [01:25:30]MH_I2C_Read... [01:25:30]Read from MH i2c: E2 0E 00 4B 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 34 [01:25:30]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [01:25:30]wFMCommunicate OK [01:25:30]SAM_PROTO_GetShiftState done [01:25:30]FM_GetShiftState done [01:25:30]req_shift_opened done [01:25:30]requested_item shift.open_date is exist - process it [01:25:30]req_shift_open_date [01:25:30]req_shift_open_date done [01:25:30]produce_requested_data done [01:25:30]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9178,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186} [01:25:30]process_action_free close_receipt [01:25:30]json_value_free [01:25:30]json_value_free done [01:25:30]process_json_proto returns [01:25:30]Send response to host [01:25:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9178,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186}}} [01:25:30]free response buf [01:25:30]execute_script done [01:25:30]execute_script returns [01:25:30]free content buf [01:25:30]Sock 7.Close socket [01:25:30]Sock 7.Thread stoped [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:53]accept exits with 9 [01:44:53]New connection [01:44:53]New thread 3066928484 created [01:44:53]Thread 3066785124 joined [01:44:53]Waiting for new connection... [01:44:53] Sock 9.Parse request [01:44:53]Sock 9.Check first char [01:44:53]Sock 9.First char is OK [01:44:53]request: POST /json_proto HTTP/1.0 [01:44:53]Method: POST [01:44:53]URL: /json_proto [01:44:53]Method is POST - this is cgi request [01:44:53]url: /json_proto [01:44:53]query_string will be loaded in cgi processing [01:44:53]execute_cgi json_proto POST (null) [01:44:53]execute_cgi path=json_proto method=POST [01:44:53]POST find Content-Length [01:44:53]Host: 172.17.55.134:8080 [01:44:53]Content-Length: 619 [01:44:53]Content-Type: application/json [01:44:53] [01:44:53]POST finish read [01:44:53]Found Content-Length = 619 [01:44:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18166", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:44:53]execute_script... [01:44:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18166", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:44:53]POST & json_proto [01:44:53]process_json_proto [01:44:53]json parsed OK: [01:44:53]protocol is kg_v1.0 [01:44:53]action value=close_receipt [01:44:53]process_action close_receipt [01:44:53]cmd_close_receipt [01:44:53]MH_GetDate [01:44:53]Write to MH i2c: F0 00 00 4C 07 42 [01:44:53]Write i2c OK [01:44:53]MH_I2C_Read... [01:44:53]Read from MH i2c: F0 [01:44:53]MH_I2C_Read... [01:44:53]Read from MH i2c: F0 09 00 [01:44:53]MH_I2C_Read... [01:44:53]Read from MH i2c: F0 09 00 4C 07 00 97 46 C5 66 13 35 D9 65 D9 [01:44:53]GetLastDocTimeStamp 1724203528 [01:44:53]current date 1724204695 [01:44:53]FM_GetShiftState [01:44:53]SAM_PROTO_GetShiftState [01:44:53]wFMCommunicate request_size=4 [01:44:53]MH_SAM_APDU [01:44:53]CAPDU: 80 13 01 00 [01:44:53]Write to MH i2c: E2 08 00 4D 07 80 13 01 00 00 00 00 00 D1 [01:44:53]Write i2c OK [01:44:53]MH_I2C_Read... [01:44:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:44:53]Read from MH i2c: E2 [01:44:53]MH_I2C_Read... [01:44:53]Read from MH i2c: E2 0E 00 [01:44:53]MH_I2C_Read... [01:44:53]Read from MH i2c: E2 0E 00 4D 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 36 [01:44:53]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [01:44:53]wFMCommunicate OK [01:44:53]SAM_PROTO_GetShiftState done [01:44:53]FM_GetShiftState done [01:44:53]opened in 1724200186 [01:44:53]opened+sec_in_day 1724286586 [01:44:53]quantity*price = 13500 [01:44:53]sum+1 = 13501 [01:44:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 3 21.08.2024 01:44 Смена: 217 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9179 ФПД: 4554480752062 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T014455&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9179&fm=4554480752062&tin=02508201610067®Number=0000000000108878&sum=13500 0 [01:44:54]StoreToDocumentArchive [01:44:54]shift 217 fd 9179 [01:44:54]save to /storage/0217/doc_00009179 [01:44:54]save last doc name /storage/0217/doc_00009179 to /storage/kkm_last_doc_name [01:44:54]save OK [01:44:54]Clear old archive folders... [01:44:54]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:44:54]tlvbuf is 00539B00 [01:44:54]SAM_PROTO_ClearQueue [01:44:54]wFMCommunicate request_size=4 [01:44:54]MH_SAM_APDU [01:44:54]CAPDU: 80 09 00 00 [01:44:54]Write to MH i2c: E2 08 00 5A 07 80 09 00 00 00 00 00 00 D3 [01:44:54]Write i2c OK [01:44:54]MH_I2C_Read... [01:44:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:44:54]Read from MH i2c: E2 [01:44:54]MH_I2C_Read... [01:44:54]Read from MH i2c: E2 03 00 [01:44:54]MH_I2C_Read... [01:44:54]Read from MH i2c: E2 03 00 5A 07 00 90 00 D5 [01:44:54]RAPDU: 90 00 [01:44:54]wFMCommunicate OK [01:44:54]SAM_PROTO_ClearQueue done [01:44:54]KKMCreateOFDPacket [01:44:54]OFDProtocolAddRootSTLVToBuf [01:44:54]FM_MakeSignedData [01:44:54]FM_MakeSignedData [01:44:54]SAM_PROTO_SignData [01:44:54]wFMCommunicate request_size=4 [01:44:54]MH_SAM_APDU [01:44:54]CAPDU: 80 0D 01 02 [01:44:54]Write to MH i2c: E2 08 00 5B 07 80 0D 01 02 00 00 00 00 DB [01:44:54]Write i2c OK [01:44:54]MH_I2C_Read... [01:44:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:44:54]Read from MH i2c: E2 [01:44:54]MH_I2C_Read... [01:44:54]Read from MH i2c: E2 03 00 [01:44:54]MH_I2C_Read... [01:44:54]Read from MH i2c: E2 03 00 5B 07 00 90 00 D6 [01:44:54]RAPDU: 90 00 [01:44:54]wFMCommunicate OK [01:44:54]wFMCommunicate request_size=255 [01:44:54]MH_SAM_APDU [01:44:54]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 97 46 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 [01:44:54]Write to MH i2c: E2 02 01 5C 07 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 97 46 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 81 [01:44:54]Write i2c OK [01:44:54]MH_I2C_Read... [01:44:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:44:55]Read from MH i2c: E2 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 03 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 03 00 5C 07 00 90 00 D7 [01:44:55]RAPDU: 90 00 [01:44:55]wFMCommunicate OK [01:44:55]wFMCommunicate request_size=31 [01:44:55]MH_SAM_APDU [01:44:55]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 31 39 10 04 04 00 DB 23 00 00 35 04 06 00 04 24 6C 35 15 BE [01:44:55]Write to MH i2c: E2 22 00 5D 07 80 0D 02 02 1A 00 30 30 39 36 35 36 31 39 10 04 04 00 DB 23 00 00 35 04 06 00 04 24 6C 35 15 BE 00 00 A7 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:44:55]Read from MH i2c: E2 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 03 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 03 00 5D 07 00 90 00 D8 [01:44:55]RAPDU: 90 00 [01:44:55]wFMCommunicate OK [01:44:55]wFMCommunicate request_size=4 [01:44:55]MH_SAM_APDU [01:44:55]CAPDU: 80 0D 03 02 [01:44:55]Write to MH i2c: E2 08 00 5E 07 80 0D 03 02 00 00 00 00 E0 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]OFD Sender: No OFD packet to send [01:44:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:44:55]Read from MH i2c: E2 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 0B 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 0B 00 5E 07 00 5F BC E8 12 6D 32 AE E9 90 00 2C [01:44:55]RAPDU: 5F BC E8 12 6D 32 AE E9 90 00 [01:44:55]wFMCommunicate OK [01:44:55]SAM_PROTO_SignData done [01:44:55]FM_MakeSignedData done [01:44:55]CreateOFDProtocolMessage [01:44:55]wFMCommunicate request_size=4 [01:44:55]MH_SAM_APDU [01:44:55]CAPDU: 80 11 00 00 [01:44:55]Write to MH i2c: E2 08 00 5F 07 80 11 00 00 00 00 00 00 E0 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:44:55]Read from MH i2c: E2 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 17 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: E2 17 00 5F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 37 [01:44:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [01:44:55]wFMCommunicate OK [01:44:55]CreateOFDProtocolMessage done [01:44:55]OFDSenderStorePacket 9179 [01:44:55]StoreOFDPacket docnum=9179 [01:44:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 24 01 00 00 20 21 1C 01 C2 E2 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 97 46 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DB 23 00 00 35 04 06 00 04 24 6C 35 15 BE 5F BC E8 12 6D 32 AE E9 [01:44:55]CheckFolder [01:44:55]dirname=/storage/ofd_packets [01:44:55]CheckFolder done [01:44:55]ProducePacketName [01:44:55]name=ofd_packets/00009179 [01:44:55]NVStorageSaveData ofd_packets/00009179 [01:44:55]File name is /storage/ofd_packets/00009179 [01:44:55]Write 322 bytes [01:44:55]NVStorageSaveData done [01:44:55]OFDSenderStorePacket done [01:44:55]KKMCreateOFDPacket done [01:44:55]NVStorageSaveData kkm_last_timestamp [01:44:55]File name is /storage/kkm_last_timestamp [01:44:55]Write 4 bytes [01:44:55]NVStorageSaveData done [01:44:55]ExternCall_PrintAddStr [01:44:55]wPrintStart [01:44:55]Write to MH i2c: 01 00 00 60 07 67 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 07 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 07 00 60 07 00 00 00 00 00 FF 0F 7C [01:44:55]RasterBufferAndPrint [01:44:55]line Счет N : (3)18166 [01:44:55]line ИНН: 02508201610067 [01:44:55]line Контрольно-Кассовый Чек [01:44:55]line ПРОДАЖА [01:44:55]line Товар: 48745000 [01:44:55]line Сигареты Winston Purple Mix [01:44:55]line 1.000 * 135.00 [01:44:55]line = 135.00 [01:44:55]line НДС 12% НСП 1% [01:44:55]line > о реализуемом товаре [01:44:55]line ИТОГО: 135.00 [01:44:55]line НСП 1% : 1.19 [01:44:55]line НДС 12% : 14.34 [01:44:55]line Наличными: 135.00 [01:44:55]line Безнал.: 0.00 [01:44:55]line Место: АЗС № 94 [01:44:55]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [01:44:55]line СНО: Общий режим [01:44:55]line Чек 3 21.08.2024 01:44 [01:44:55]line Смена: 217 ФФД: 1.0 [01:44:55]line ЗНМ: 0300000128 [01:44:55]line РНМ: 0000000000108878 [01:44:55]line Версия ККМ: 001 [01:44:55]line ФМ: 0000000000965619 [01:44:55]line ФД: 9179 [01:44:55]line ФПД: 4554480752062 [01:44:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T014455&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9179&fm=4554480752062&tin=02508201610067®Number=0000000000108878&sum=13500 [01:44:55]line 0 [01:44:55]OFD Sender: Processing packet 9179 [packets to send 4, broken 3] [01:44:55]ProducePacketName [01:44:55]name=ofd_packets/00009179 [01:44:55]OFD Sender: To server: pG, [01:44:55]CommunicateWithHost lk.salyk.kg:30040 [01:44:55]ConnectInit lk.salyk.kg [01:44:55]written 0, free lines is 4095 [01:44:55]Connected sock=10 [01:44: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 36 31 39 24 01 00 00 20 21 1C 01 C2 E2 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 97 46 C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DB 23 00 00 35 04 06 00 04 24 6C 35 15 BE 5F BC E8 12 6D 32 AE E9 [01:44:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 E4 08 47 00 B8 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 36 31 39 10 04 04 00 DB 23 00 00 F4 03 04 00 61 EE C4 66 B6 04 01 00 00 73 9E 34 FF 61 E0 6B 0A [01:44:55]CommunicateWithHost err = 0 [01:44:55]CheckOFDResponse [01:44:55]1017 (14) - 77093643461234 [01:44:55]1041 (16) - 0000000000965619 [01:44:55]1040 (4) - 9179 [01:44:55]1012 (4) - 20.08.2024 19:28 [01:44:55]1206 (1) - 0 [01:44:55]OFD Sender: Remove packet 9179 [01:44:55]ProducePacketName [01:44:55]name=ofd_packets/00009179 [01:44:55]NVStorageDeleteData [01:44:55]Write to MH i2c: 01 00 00 87 07 8E [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 07 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: 01 07 00 87 07 00 00 00 00 00 04 0D A6 [01:44:55]RasterBufferAndPrint [01:44:55]line [01:44:55]line [01:44:55]line [01:44:55]line [01:44:55]line [01:44:55]written 0, free lines is 3341 [01:44:55]MH_Cut [01:44:55]Write to MH i2c: D1 01 00 8E 07 01 67 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: D1 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: D1 01 00 [01:44:55]MH_I2C_Read... [01:44:55]Read from MH i2c: D1 01 00 8E 07 00 66 [01:44:55]Write to MH i2c: 01 00 00 8F 07 96 [01:44:55]Write i2c OK [01:44:55]MH_I2C_Read... [01:44:56]OFD Sender: No OFD packet to send [01:44:56]*** Cut start [01:44:56]*** Partial cut [01:44:56]*** CUTSNS_PIN = 1 [01:44:56]*** CUTSNS_PIN = 0 [01:44:57]*** Brake cut motor [01:44:57]Read from MH i2c: 01 [01:44:57]MH_I2C_Read... [01:44:57]*** Stop cut motor [01:44:57]*** Cut end [01:44:57]Read from MH i2c: 01 07 00 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: 01 07 00 8F 07 00 00 00 00 00 FF 0F AB [01:44:57]process_action close_receipt done [01:44:57]requested_data is exist [01:44:57]produce_requested_data [01:44:57]requested_item fm.sn is exist - process it [01:44:57]wFMCommunicate request_size=4 [01:44:57]MH_SAM_APDU [01:44:57]CAPDU: 80 11 00 00 [01:44:57]Write to MH i2c: E2 08 00 90 07 80 11 00 00 00 00 00 00 11 [01:44:57]Write i2c OK [01:44:57]MH_I2C_Read... [01:44:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:44:57]Read from MH i2c: E2 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 17 00 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 17 00 90 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 68 [01:44:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [01:44:57]wFMCommunicate OK [01:44:57]requested_item fd.num is exist - process it [01:44:57]SAM_PROTO_GetFieldsCounters [01:44:57]wFMCommunicate request_size=4 [01:44:57]MH_SAM_APDU [01:44:57]CAPDU: 80 13 00 00 [01:44:57]Write to MH i2c: E2 08 00 91 07 80 13 00 00 00 00 00 00 14 [01:44:57]Write i2c OK [01:44:57]MH_I2C_Read... [01:44:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:44:57]Read from MH i2c: E2 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 62 00 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 62 00 91 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DB 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [01:44: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 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DB 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:44:57]wFMCommunicate OK [01:44:57]SAM_PROTO_GetFieldsCounters done [01:44:57]requested_item shift.num is exist - process it [01:44:57]requested_item shift.opened is exist - process it [01:44:57]req_shift_opened [01:44:57]FM_GetShiftState [01:44:57]SAM_PROTO_GetShiftState [01:44:57]wFMCommunicate request_size=4 [01:44:57]MH_SAM_APDU [01:44:57]CAPDU: 80 13 01 00 [01:44:57]Write to MH i2c: E2 08 00 92 07 80 13 01 00 00 00 00 00 16 [01:44:57]Write i2c OK [01:44:57]MH_I2C_Read... [01:44:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:44:57]Read from MH i2c: E2 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 0E 00 [01:44:57]MH_I2C_Read... [01:44:57]Read from MH i2c: E2 0E 00 92 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 7B [01:44:57]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [01:44:57]wFMCommunicate OK [01:44:57]SAM_PROTO_GetShiftState done [01:44:57]FM_GetShiftState done [01:44:57]req_shift_opened done [01:44:57]requested_item shift.open_date is exist - process it [01:44:57]req_shift_open_date [01:44:57]req_shift_open_date done [01:44:57]produce_requested_data done [01:44:57]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9179,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186} [01:44:57]process_action_free close_receipt [01:44:57]json_value_free [01:44:57]json_value_free done [01:44:57]process_json_proto returns [01:44:57]Send response to host [01:44:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9179,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186}}} [01:44:57]free response buf [01:44:57]execute_script done [01:44:57]execute_script returns [01:44:57]free content buf [01:44:57]Sock 9.Close socket [01:44:57]Sock 9.Thread stoped [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58: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:05]accept exits with 7 [02:01:05]New connection [02:01:05]New thread 3066785124 created [02:01:05]Thread 3066928484 joined [02:01:05]Waiting for new connection... [02:01:05] Sock 7.Parse request [02:01:05]Sock 7.Check first char [02:01:05]Sock 7.First char is OK [02:01:05]request: POST /json_proto HTTP/1.0 [02:01:05]Method: POST [02:01:05]URL: /json_proto [02:01:05]Method is POST - this is cgi request [02:01:05]url: /json_proto [02:01:05]query_string will be loaded in cgi processing [02:01:05]execute_cgi json_proto POST (null) [02:01:05]execute_cgi path=json_proto method=POST [02:01:05]POST find Content-Length [02:01:05]Host: 172.17.55.134:8080 [02:01:05]Content-Length: 646 [02:01:05]Content-Type: application/json [02:01:05] [02:01:05]POST finish read [02:01:05]Found Content-Length = 646 [02:01:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)18167", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:01:05]execute_script... [02:01: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)18167", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:01:05]POST & json_proto [02:01:05]process_json_proto [02:01:05]json parsed OK: [02:01:05]protocol is kg_v1.0 [02:01:05]action value=close_receipt [02:01:05]process_action close_receipt [02:01:05]cmd_close_receipt [02:01:05]MH_GetDate [02:01:05]Write to MH i2c: F0 00 00 93 07 89 [02:01:05]Write i2c OK [02:01:05]MH_I2C_Read... [02:01:05]Read from MH i2c: F0 [02:01:05]MH_I2C_Read... [02:01:05]Read from MH i2c: F0 09 00 [02:01:05]MH_I2C_Read... [02:01:05]Read from MH i2c: F0 09 00 93 07 00 63 4A C5 66 13 35 D9 65 F0 [02:01:05]GetLastDocTimeStamp 1724204695 [02:01:05]current date 1724205667 [02:01:05]FM_GetShiftState [02:01:05]SAM_PROTO_GetShiftState [02:01:05]wFMCommunicate request_size=4 [02:01:05]MH_SAM_APDU [02:01:05]CAPDU: 80 13 01 00 [02:01:05]Write to MH i2c: E2 08 00 94 07 80 13 01 00 00 00 00 00 18 [02:01:05]Write i2c OK [02:01:05]MH_I2C_Read... [02:01:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:01:05]Read from MH i2c: E2 [02:01:05]MH_I2C_Read... [02:01:05]Read from MH i2c: E2 0E 00 [02:01:05]MH_I2C_Read... [02:01:05]Read from MH i2c: E2 0E 00 94 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 7D [02:01:05]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [02:01:05]wFMCommunicate OK [02:01:05]SAM_PROTO_GetShiftState done [02:01:05]FM_GetShiftState done [02:01:05]opened in 1724200186 [02:01:05]opened+sec_in_day 1724286586 [02:01:05]quantity*price = 26500 [02:01:05]sum+1 = 26501 [02:01:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 94 Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 СНО: Общий режим Чек 4 21.08.2024 02:01 Смена: 217 ФФД: 1.0 ЗНМ: 0300000128 РНМ: 0000000000108878 Версия ККМ: 001 ФМ: 0000000000965619 ФД: 9180 ФПД: 80405393733978 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T020107&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9180&fm=80405393733978&tin=02508201610067®Number=0000000000108878&sum=26500 0 [02:01:06]StoreToDocumentArchive [02:01:06]shift 217 fd 9180 [02:01:06]save to /storage/0217/doc_00009180 [02:01:06]save last doc name /storage/0217/doc_00009180 to /storage/kkm_last_doc_name [02:01:06]save OK [02:01:06]Clear old archive folders... [02:01:06]ProcessDocumentItem done err = 0, tmpTLVsize=279 [02:01:06]tlvbuf is 00538B60 [02:01:06]SAM_PROTO_ClearQueue [02:01:06]wFMCommunicate request_size=4 [02:01:06]MH_SAM_APDU [02:01:06]CAPDU: 80 09 00 00 [02:01:06]Write to MH i2c: E2 08 00 A1 07 80 09 00 00 00 00 00 00 1A [02:01:06]Write i2c OK [02:01:06]MH_I2C_Read... [02:01:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:01:06]Read from MH i2c: E2 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 A1 07 00 90 00 1C [02:01:06]RAPDU: 90 00 [02:01:06]wFMCommunicate OK [02:01:06]SAM_PROTO_ClearQueue done [02:01:06]KKMCreateOFDPacket [02:01:06]OFDProtocolAddRootSTLVToBuf [02:01:06]FM_MakeSignedData [02:01:06]FM_MakeSignedData [02:01:06]SAM_PROTO_SignData [02:01:06]wFMCommunicate request_size=4 [02:01:06]MH_SAM_APDU [02:01:06]CAPDU: 80 0D 01 02 [02:01:06]Write to MH i2c: E2 08 00 A2 07 80 0D 01 02 00 00 00 00 22 [02:01:06]Write i2c OK [02:01:06]MH_I2C_Read... [02:01:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:01:06]Read from MH i2c: E2 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 A2 07 00 90 00 1D [02:01:06]RAPDU: 90 00 [02:01:06]wFMCommunicate OK [02:01:06]wFMCommunicate request_size=255 [02:01:06]MH_SAM_APDU [02:01:06]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 4A C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 [02:01:06]Write to MH i2c: E2 02 01 A3 07 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 4A C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 00 00 4D [02:01:06]Write i2c OK [02:01:06]MH_I2C_Read... [02:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:01:06]Read from MH i2c: E2 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 A3 07 00 90 00 1E [02:01:06]RAPDU: 90 00 [02:01:06]wFMCommunicate OK [02:01:06]wFMCommunicate request_size=38 [02:01:06]MH_SAM_APDU [02:01:06]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DC 23 00 00 35 04 06 00 49 20 D6 EE 79 5A [02:01:06]Write to MH i2c: E2 29 00 A4 07 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DC 23 00 00 35 04 06 00 49 20 D6 EE 79 5A 00 00 B1 [02:01:06]Write i2c OK [02:01:06]MH_I2C_Read... [02:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:01:06]Read from MH i2c: E2 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 [02:01:06]MH_I2C_Read... [02:01:06]Read from MH i2c: E2 03 00 A4 07 00 90 00 1F [02:01:06]RAPDU: 90 00 [02:01:06]wFMCommunicate OK [02:01:06]wFMCommunicate request_size=4 [02:01:06]MH_SAM_APDU [02:01:06]CAPDU: 80 0D 03 02 [02:01:06]Write to MH i2c: E2 08 00 A5 07 80 0D 03 02 00 00 00 00 27 [02:01:06]Write i2c OK [02:01:06]MH_I2C_Read... [02:01:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:01:07]Read from MH i2c: E2 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: E2 0B 00 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: E2 0B 00 A5 07 00 AB 0D B0 59 93 89 8C 7D 90 00 0E [02:01:07]RAPDU: AB 0D B0 59 93 89 8C 7D 90 00 [02:01:07]wFMCommunicate OK [02:01:07]SAM_PROTO_SignData done [02:01:07]FM_MakeSignedData done [02:01:07]CreateOFDProtocolMessage [02:01:07]wFMCommunicate request_size=4 [02:01:07]MH_SAM_APDU [02:01:07]CAPDU: 80 11 00 00 [02:01:07]Write to MH i2c: E2 08 00 A6 07 80 11 00 00 00 00 00 00 27 [02:01:07]Write i2c OK [02:01:07]MH_I2C_Read... [02:01:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:01:07]Read from MH i2c: E2 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: E2 17 00 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: E2 17 00 A6 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 7E [02:01:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [02:01:07]wFMCommunicate OK [02:01:07]CreateOFDProtocolMessage done [02:01:07]OFDSenderStorePacket 9180 [02:01:07]StoreOFDPacket docnum=9180 [02:01:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2B 01 00 00 E5 AA 23 01 8A 73 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 4A C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DC 23 00 00 35 04 06 00 49 20 D6 EE 79 5A AB 0D B0 59 93 89 8C 7D [02:01:07]CheckFolder [02:01:07]dirname=/storage/ofd_packets [02:01:07]CheckFolder done [02:01:07]ProducePacketName [02:01:07]name=ofd_packets/00009180 [02:01:07]NVStorageSaveData ofd_packets/00009180 [02:01:07]File name is /storage/ofd_packets/00009180 [02:01:07]Write 329 bytes [02:01:07]NVStorageSaveData done [02:01:07]OFDSenderStorePacket done [02:01:07]KKMCreateOFDPacket done [02:01:07]NVStorageSaveData kkm_last_timestamp [02:01:07]File name is /storage/kkm_last_timestamp [02:01:07]Write 4 bytes [02:01:07]NVStorageSaveData done [02:01:07]ExternCall_PrintAddStr [02:01:07]wPrintStart [02:01:07]Write to MH i2c: 01 00 00 A7 07 AE [02:01:07]Write i2c OK [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 07 00 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 07 00 A7 07 00 00 00 00 00 FF 0F C3 [02:01:07]RasterBufferAndPrint [02:01:07]line Счет N : (3)18167 [02:01:07]line ИНН: 02508201610067 [02:01:07]line Контрольно-Кассовый Чек [02:01:07]line ПРОДАЖА [02:01:07]line Товар: 90448300 [02:01:07]line Энерг напиток Red Bull 0,355л [02:01:07]line 1.000 * 265.00 [02:01:07]line = 265.00 [02:01:07]line НДС 12% НСП 1% [02:01:07]line > о реализуемом товаре [02:01:07]line ИТОГО: 265.00 [02:01:07]line НСП 1% : 2.34 [02:01:07]line НДС 12% : 28.14 [02:01:07]line Наличными: 265.00 [02:01:07]line Безнал.: 0.00 [02:01:07]line Место: АЗС № 94 [02:01:07]line Адрес: 720001, г. Ош, ул. Г. Айтиева 153 Ж , 40.525475, 72.769358 [02:01:07]line СНО: Общий режим [02:01:07]line Чек 4 21.08.2024 02:01 [02:01:07]line Смена: 217 ФФД: 1.0 [02:01:07]line ЗНМ: 0300000128 [02:01:07]line РНМ: 0000000000108878 [02:01:07]line Версия ККМ: 001 [02:01:07]line ФМ: 0000000000965619 [02:01:07]line ФД: 9180 [02:01:07]line ФПД: 80405393733978 [02:01:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240821T020107&type=1&operation_type=1&fn_number=0000000000965619&fd_number=9180&fm=80405393733978&tin=02508201610067®Number=0000000000108878&sum=26500 [02:01:07]line 0 [02:01:07]OFD Sender: Processing packet 9180 [packets to send 4, broken 3] [02:01:07]ProducePacketName [02:01:07]name=ofd_packets/00009180 [02:01:07]OFD Sender: To server: pG, [02:01:07]CommunicateWithHost lk.salyk.kg:30040 [02:01:07]ConnectInit lk.salyk.kg [02:01:07]written 0, free lines is 4095 [02:01:07]Connected sock=10 [02:01:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 2B 01 00 00 E5 AA 23 01 8A 73 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 4A C5 66 0E 04 04 00 D9 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DC 23 00 00 35 04 06 00 49 20 D6 EE 79 5A AB 0D B0 59 93 89 8C 7D [02:01:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 4F 00 00 00 58 AF 47 00 8D E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 10 04 04 00 DC 23 00 00 F4 03 04 00 2C F2 C4 66 B6 04 01 00 00 0F F4 7B C9 8E 04 F6 26 [02:01:07]CommunicateWithHost err = 0 [02:01:07]CheckOFDResponse [02:01:07]1017 (14) - 77093643461234 [02:01:07]1041 (16) - 0000000000965619 [02:01:07]1040 (4) - 9180 [02:01:07]1012 (4) - 20.08.2024 19:44 [02:01:07]1206 (1) - 0 [02:01:07]OFD Sender: Remove packet 9180 [02:01:07]ProducePacketName [02:01:07]name=ofd_packets/00009180 [02:01:07]NVStorageDeleteData [02:01:07]Write to MH i2c: 01 00 00 CE 07 D5 [02:01:07]Write i2c OK [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 07 00 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: 01 07 00 CE 07 00 00 00 00 00 0A 0D F3 [02:01:07]RasterBufferAndPrint [02:01:07]line [02:01:07]line [02:01:07]line [02:01:07]line [02:01:07]line [02:01:07]written 0, free lines is 3344 [02:01:07]MH_Cut [02:01:07]Write to MH i2c: D1 01 00 D5 07 01 AE [02:01:07]Write i2c OK [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: D1 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: D1 01 00 [02:01:07]MH_I2C_Read... [02:01:07]Read from MH i2c: D1 01 00 D5 07 00 AD [02:01:07]Write to MH i2c: 01 00 00 D6 07 DD [02:01:07]Write i2c OK [02:01:07]MH_I2C_Read... [02:01:08]OFD Sender: No OFD packet to send [02:01:08]*** Cut start [02:01:08]*** Partial cut [02:01:08]*** CUTSNS_PIN = 1 [02:01:08]*** CUTSNS_PIN = 0 [02:01:08]*** Brake cut motor [02:01:09]Read from MH i2c: 01 [02:01:09]MH_I2C_Read... [02:01:09]*** Stop cut motor [02:01:09]*** Cut end [02:01:09]Read from MH i2c: 01 07 00 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: 01 07 00 D6 07 00 00 00 00 00 FF 0F F2 [02:01:09]process_action close_receipt done [02:01:09]requested_data is exist [02:01:09]produce_requested_data [02:01:09]requested_item fm.sn is exist - process it [02:01:09]wFMCommunicate request_size=4 [02:01:09]MH_SAM_APDU [02:01:09]CAPDU: 80 11 00 00 [02:01:09]Write to MH i2c: E2 08 00 D7 07 80 11 00 00 00 00 00 00 58 [02:01:09]Write i2c OK [02:01:09]MH_I2C_Read... [02:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:01:09]Read from MH i2c: E2 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 17 00 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 17 00 D7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 AF [02:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 90 00 [02:01:09]wFMCommunicate OK [02:01:09]requested_item fd.num is exist - process it [02:01:09]SAM_PROTO_GetFieldsCounters [02:01:09]wFMCommunicate request_size=4 [02:01:09]MH_SAM_APDU [02:01:09]CAPDU: 80 13 00 00 [02:01:09]Write to MH i2c: E2 08 00 D8 07 80 13 00 00 00 00 00 00 5B [02:01:09]Write i2c OK [02:01:09]MH_I2C_Read... [02:01:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:01:09]Read from MH i2c: E2 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 62 00 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 62 00 D8 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DC 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [02:01:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 31 39 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 38 38 37 38 10 04 04 00 DC 23 00 00 0E 04 04 00 D9 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:01:09]wFMCommunicate OK [02:01:09]SAM_PROTO_GetFieldsCounters done [02:01:09]requested_item shift.num is exist - process it [02:01:09]requested_item shift.opened is exist - process it [02:01:09]req_shift_opened [02:01:09]FM_GetShiftState [02:01:09]SAM_PROTO_GetShiftState [02:01:09]wFMCommunicate request_size=4 [02:01:09]MH_SAM_APDU [02:01:09]CAPDU: 80 13 01 00 [02:01:09]Write to MH i2c: E2 08 00 D9 07 80 13 01 00 00 00 00 00 5D [02:01:09]Write i2c OK [02:01:09]MH_I2C_Read... [02:01:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:01:09]Read from MH i2c: E2 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 0E 00 [02:01:09]MH_I2C_Read... [02:01:09]Read from MH i2c: E2 0E 00 D9 07 00 09 00 01 FA 34 C5 66 00 00 00 00 90 00 C2 [02:01:09]RAPDU: 09 00 01 FA 34 C5 66 00 00 00 00 90 00 [02:01:09]wFMCommunicate OK [02:01:09]SAM_PROTO_GetShiftState done [02:01:09]FM_GetShiftState done [02:01:09]req_shift_opened done [02:01:09]requested_item shift.open_date is exist - process it [02:01:09]req_shift_open_date [02:01:09]req_shift_open_date done [02:01:09]produce_requested_data done [02:01:09]produce_requested_data return {"fm.sn":"0000000000965619","fd.num":9180,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186} [02:01:09]process_action_free close_receipt [02:01:09]json_value_free [02:01:09]json_value_free done [02:01:09]process_json_proto returns [02:01:09]Send response to host [02:01:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965619","fd.num":9180,"shift.num":217,"shift.opened":1,"shift.open_date":1724200186}}} [02:01:09]free response buf [02:01:09]execute_script done [02:01:09]execute_script returns [02:01:09]free content buf [02:01:09]Sock 7.Close socket [02:01:09]Sock 7.Thread stoped [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:33]OFD Sender: No OFD packet to send [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:48]OFD Sender: No OFD packet to send [02:01:53]OFD Sender: No OFD packet to send [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]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:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]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:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]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:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:51]OFD Sender: No OFD packet to send [03:06:56]OFD Sender: No OFD packet to send [03:07:01]OFD Sender: No OFD packet to send [03:07:06]OFD Sender: No OFD packet to send [03:07:11]OFD Sender: No OFD packet to send [03:07:16]OFD Sender: No OFD packet to send [03:07:21]OFD Sender: No OFD packet to send [03:07:26]OFD Sender: No OFD packet to send [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:41]OFD Sender: No OFD packet to send [03:08:46]OFD Sender: No OFD packet to send [03:08:51]OFD Sender: No OFD packet to send [03:08:56]OFD Sender: No OFD packet to send [03:09:01]OFD Sender: No OFD packet to send [03:09:06]OFD Sender: No OFD packet to send [03:09:11]OFD Sender: No OFD packet to send [03:09:16]OFD Sender: No OFD packet to send [03:09:21]OFD Sender: No OFD packet to send [03:09:26]OFD Sender: No OFD packet to send [03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]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 [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send