[03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send [03:13:13]OFD Sender: No OFD packet to send [03:13:18]OFD Sender: No OFD packet to send [03:13:23]OFD Sender: No OFD packet to send [03:13:28]OFD Sender: No OFD packet to send [03:13:33]OFD Sender: No OFD packet to send [03:13:38]OFD Sender: No OFD packet to send [03:13:43]OFD Sender: No OFD packet to send [03:13:48]OFD Sender: No OFD packet to send [03:13:53]OFD Sender: No OFD packet to send [03:13:58]OFD Sender: No OFD packet to send [03:14:03]OFD Sender: No OFD packet to send [03:14:08]OFD Sender: No OFD packet to send [03:14:13]OFD Sender: No OFD packet to send [03:14:18]OFD Sender: No OFD packet to send [03:14:23]OFD Sender: No OFD packet to send [03:14:28]OFD Sender: No OFD packet to send [03:14:33]OFD Sender: No OFD packet to send [03:14:38]OFD Sender: No OFD packet to send [03:14:43]OFD Sender: No OFD packet to send [03:14:48]OFD Sender: No OFD packet to send [03:14:53]OFD Sender: No OFD packet to send [03:14:58]OFD Sender: No OFD packet to send [03:15:03]OFD Sender: No OFD packet to send [03:15:08]OFD Sender: No OFD packet to send [03:15:13]OFD Sender: No OFD packet to send [03:15:18]OFD Sender: No OFD packet to send [03:15:23]OFD Sender: No OFD packet to send [03:15:28]OFD Sender: No OFD packet to send [03:15:33]OFD Sender: No OFD packet to send [03:15:38]OFD Sender: No OFD packet to send [03:15:43]OFD Sender: No OFD packet to send [03:15:48]OFD Sender: No OFD packet to send [03:15:53]OFD Sender: No OFD packet to send [03:15:58]OFD Sender: No OFD packet to send [03:16:03]OFD Sender: No OFD packet to send [03:16:08]OFD Sender: No OFD packet to send [03:16:13]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]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:50]OFD Sender: No OFD packet to send [03:41:55]OFD Sender: No OFD packet to send [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:55]OFD Sender: No OFD packet to send [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:55]OFD Sender: No OFD packet to send [03:47:00]OFD Sender: No OFD packet to send [03:47:05]OFD Sender: No OFD packet to send [03:47:10]OFD Sender: No OFD packet to send [03:47:15]OFD Sender: No OFD packet to send [03:47:20]OFD Sender: No OFD packet to send [03:47:25]OFD Sender: No OFD packet to send [03:47:30]OFD Sender: No OFD packet to send [03:47:35]OFD Sender: No OFD packet to send [03:47:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]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: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]accept exits with 7 [03:52:35]New connection [03:52:35]New thread 3067198820 created [03:52:35]Thread 3067342180 joined [03:52:35]Waiting for new connection... [03:52:35] Sock 7.Parse request [03:52:35]Sock 7.Check first char [03:52:35]Sock 7.First char is OK [03:52:35]request: POST /json_proto HTTP/1.0 [03:52:35]Method: POST [03:52:35]URL: /json_proto [03:52:35]Method is POST - this is cgi request [03:52:35]url: /json_proto [03:52:35]query_string will be loaded in cgi processing [03:52:35]execute_cgi json_proto POST (null) [03:52:35]execute_cgi path=json_proto method=POST [03:52:35]POST find Content-Length [03:52:35]Host: 172.17.47.135:8080 [03:52:35]Content-Length: 742 [03:52:35]Content-Type: application/json [03:52:35] [03:52:35]POST finish read [03:52:35]Found Content-Length = 742 [03:52:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130638", "tax_sys" : 0, "items" : [ { "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:52:35]execute_script... [03:52: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)130638", "tax_sys" : 0, "items" : [ { "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:52:35]POST & json_proto [03:52:35]process_json_proto [03:52:35]json parsed OK: [03:52:35]protocol is kg_v1.0 [03:52:35]action value=close_receipt [03:52:35]process_action close_receipt [03:52:35]cmd_close_receipt [03:52:35]MH_GetDate [03:52:35]Write to MH i2c: F0 00 00 70 03 62 [03:52:35]Write i2c OK [03:52:35]MH_I2C_Read... [03:52:35]Read from MH i2c: F0 [03:52:35]MH_I2C_Read... [03:52:35]Read from MH i2c: F0 09 00 [03:52:35]MH_I2C_Read... [03:52:35]Read from MH i2c: F0 09 00 70 03 00 84 B2 B2 67 19 D8 DE 66 EF [03:52:35]GetLastDocTimeStamp 1739758387 [03:52:35]current date 1739764356 [03:52:35]FM_GetShiftState [03:52:35]SAM_PROTO_GetShiftState [03:52:35]wFMCommunicate request_size=4 [03:52:35]MH_SAM_APDU [03:52:35]CAPDU: 80 13 01 00 [03:52:35]Write to MH i2c: E2 08 00 71 03 80 13 01 00 00 00 00 00 F1 [03:52:35]Write i2c OK [03:52:35]MH_I2C_Read... [03:52:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:52:35]Read from MH i2c: E2 [03:52:35]MH_I2C_Read... [03:52:35]Read from MH i2c: E2 0E 00 [03:52:35]MH_I2C_Read... [03:52:35]Read from MH i2c: E2 0E 00 71 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D7 [03:52:35]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [03:52:35]wFMCommunicate OK [03:52:35]SAM_PROTO_GetShiftState done [03:52:35]FM_GetShiftState done [03:52:35]opened in 1739750979 [03:52:35]opened+sec_in_day 1739837379 [03:52:35]quantity*price = 6400 [03:52:35]sum+1 = 6401 [03:52:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 64.00 НСП 1% : 0.57 НДС 12% : 6.80 Наличными: 64.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 6 17.02.2025 03:52 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32375 ФПД: 166676203517548 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T035236&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32375&fm=166676203517548&tin=02508201610067®Number=0000000000146237&sum=6400 0 [03:52:36]StoreToDocumentArchive [03:52:36]shift 382 fd 32375 [03:52:36]save to /storage/0382/doc_00032375 [03:52:36]save last doc name /storage/0382/doc_00032375 to /storage/kkm_last_doc_name [03:52:36]save OK [03:52:36]Clear old archive folders... [03:52:36]ProcessDocumentItem done err = 0, tmpTLVsize=309 [03:52:36]tlvbuf is 00342630 [03:52:36]SAM_PROTO_ClearQueue [03:52:36]wFMCommunicate request_size=4 [03:52:36]MH_SAM_APDU [03:52:36]CAPDU: 80 09 00 00 [03:52:36]Write to MH i2c: E2 08 00 7E 03 80 09 00 00 00 00 00 00 F3 [03:52:36]Write i2c OK [03:52:36]MH_I2C_Read... [03:52:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:52:36]Read from MH i2c: E2 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 7E 03 00 90 00 F5 [03:52:36]RAPDU: 90 00 [03:52:36]wFMCommunicate OK [03:52:36]SAM_PROTO_ClearQueue done [03:52:36]KKMCreateOFDPacket [03:52:36]OFDProtocolAddRootSTLVToBuf [03:52:36]FM_MakeSignedData [03:52:36]FM_MakeSignedData [03:52:36]SAM_PROTO_SignData [03:52:36]wFMCommunicate request_size=4 [03:52:36]MH_SAM_APDU [03:52:36]CAPDU: 80 0D 01 02 [03:52:36]Write to MH i2c: E2 08 00 7F 03 80 0D 01 02 00 00 00 00 FB [03:52:36]Write i2c OK [03:52:36]MH_I2C_Read... [03:52:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:52:36]Read from MH i2c: E2 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 7F 03 00 90 00 F6 [03:52:36]RAPDU: 90 00 [03:52:36]wFMCommunicate OK [03:52:36]wFMCommunicate request_size=255 [03:52:36]MH_SAM_APDU [03:52:36]CAPDU: 80 0D 02 02 FA 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 06 00 00 00 F4 03 04 00 84 B2 B2 67 0E 04 04 00 7E 01 00 00 [03:52:36]Write to MH i2c: E2 02 01 80 03 80 0D 02 02 FA 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 06 00 00 00 F4 03 04 00 84 B2 B2 67 0E 04 04 00 7E 01 00 00 00 00 3B [03:52:36]Write i2c OK [03:52:36]MH_I2C_Read... [03:52:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:52:36]Read from MH i2c: E2 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 03 00 80 03 00 90 00 F7 [03:52:36]RAPDU: 90 00 [03:52:36]wFMCommunicate OK [03:52:36]wFMCommunicate request_size=68 [03:52:36]MH_SAM_APDU [03:52:36]CAPDU: 80 0D 02 02 3F B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7E 00 00 35 04 06 00 97 97 53 E7 36 6C [03:52:36]Write to MH i2c: E2 47 00 81 03 80 0D 02 02 3F 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7E 00 00 35 04 06 00 97 97 53 E7 36 6C 00 00 11 [03:52:36]Write i2c OK [03:52:36]MH_I2C_Read... [03:52:36]Read from MH i2c: E2 [03:52:36]MH_I2C_Read... [03:52:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:52:37]Read from MH i2c: E2 03 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: E2 03 00 81 03 00 90 00 F8 [03:52:37]RAPDU: 90 00 [03:52:37]wFMCommunicate OK [03:52:37]wFMCommunicate request_size=4 [03:52:37]MH_SAM_APDU [03:52:37]CAPDU: 80 0D 03 02 [03:52:37]Write to MH i2c: E2 08 00 82 03 80 0D 03 02 00 00 00 00 00 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:52:37]Read from MH i2c: E2 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: E2 0B 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: E2 0B 00 82 03 00 F6 28 E4 24 46 62 A9 93 90 00 0B [03:52:37]RAPDU: F6 28 E4 24 46 62 A9 93 90 00 [03:52:37]wFMCommunicate OK [03:52:37]SAM_PROTO_SignData done [03:52:37]FM_MakeSignedData done [03:52:37]CreateOFDProtocolMessage [03:52:37]wFMCommunicate request_size=4 [03:52:37]MH_SAM_APDU [03:52:37]CAPDU: 80 11 00 00 [03:52:37]Write to MH i2c: E2 08 00 83 03 80 11 00 00 00 00 00 00 00 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:52:37]Read from MH i2c: E2 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: E2 17 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: E2 17 00 83 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 56 [03:52:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [03:52:37]wFMCommunicate OK [03:52:37]CreateOFDProtocolMessage done [03:52:37]OFDSenderStorePacket 32375 [03:52:37]StoreOFDPacket docnum=32375 [03:52:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 49 01 00 00 4F 64 41 01 C5 0C 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 06 00 00 00 F4 03 04 00 84 B2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7E 00 00 35 04 06 00 97 97 53 E7 36 6C F6 28 E4 24 46 62 A9 93 [03:52:37]CheckFolder [03:52:37]dirname=/storage/ofd_packets [03:52:37]CheckFolder done [03:52:37]ProducePacketName [03:52:37]name=ofd_packets/00032375 [03:52:37]NVStorageSaveData ofd_packets/00032375 [03:52:37]File name is /storage/ofd_packets/00032375 [03:52:37]Write 359 bytes [03:52:37]NVStorageSaveData done [03:52:37]OFDSenderStorePacket done [03:52:37]KKMCreateOFDPacket done [03:52:37]NVStorageSaveData kkm_last_timestamp [03:52:37]File name is /storage/kkm_last_timestamp [03:52:37]Write 4 bytes [03:52:37]NVStorageSaveData done [03:52:37]ExternCall_PrintAddStr [03:52:37]wPrintStart [03:52:37]Write to MH i2c: 01 00 00 84 03 87 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 07 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 07 00 84 03 00 00 00 00 00 FF 0F 9C [03:52:37]RasterBufferAndPrint [03:52:37]line Счет N : (3)130638 [03:52:37]line ИНН: 02508201610067 [03:52:37]line Контрольно-Кассовый Чек [03:52:37]line ПРОДАЖА [03:52:37]line Товар: 4630056952563 [03:52:37]line Печ Юбилейное Торжество молочное 120г [03:52:37]line 1.000 * 64.00 [03:52:37]line = 64.00 [03:52:37]line НДС 12% НСП 1% [03:52:37]line > о реализуемом товаре [03:52:37]line ИТОГО: 64.00 [03:52:37]line НСП 1% : 0.57 [03:52:37]line НДС 12% : 6.80 [03:52:37]line Наличными: 64.00 [03:52:37]line Безнал.: 0.00 [03:52:37]line Место: АЗС № 96 "Партнер Нефть" [03:52:37]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [03:52:37]line СНО: Общий режим [03:52:37]line Чек 6 17.02.2025 03:52 [03:52:37]line Смена: 382 ФФД: 1.0 [03:52:37]line ЗНМ: 0300000059 [03:52:37]line РНМ: 0000000000146237 [03:52:37]line Версия ККМ: v1.0 [03:52:37]line ФМ: 0000000000959282 [03:52:37]line ФД: 32375 [03:52:37]line ФПД: 166676203517548 [03:52:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T035236&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32375&fm=166676203517548&tin=02508201610067®Number=0000000000146237&sum=6400 [03:52:37]line 0 [03:52:37]OFD Sender: Processing packet 32375 [packets to send 104, broken 103] [03:52:37]ProducePacketName [03:52:37]name=ofd_packets/00032375 [03:52:37]OFD Sender: To server: pG, [03:52:37]CommunicateWithHost lk.salyk.kg:30040 [03:52:37]ConnectInit lk.salyk.kg [03:52:37]written 0, free lines is 4095 [03:52:37]Write to MH i2c: 01 00 00 AD 03 B0 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 07 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: 01 07 00 AD 03 00 00 00 00 00 F8 0C BB [03:52:37]RasterBufferAndPrint [03:52:37]line [03:52:37]line [03:52:37]line [03:52:37]line [03:52:37]line [03:52:37]written 0, free lines is 3326 [03:52:37]MH_Cut [03:52:37]Write to MH i2c: D1 01 00 B4 03 01 89 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: D1 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: D1 01 00 [03:52:37]MH_I2C_Read... [03:52:37]Read from MH i2c: D1 01 00 B4 03 00 88 [03:52:37]Write to MH i2c: 01 00 00 B5 03 B8 [03:52:37]Write i2c OK [03:52:37]MH_I2C_Read... [03:52:38]*** Cut start [03:52:38]*** Partial cut [03:52:38]*** CUTSNS_PIN = 1 [03:52:38]*** CUTSNS_PIN = 0 [03:52:38]*** Brake cut motor [03:52:39]Read from MH i2c: 01 [03:52:39]MH_I2C_Read... [03:52:39]*** Stop cut motor [03:52:39]*** Cut end [03:52:39]Read from MH i2c: 01 07 00 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: 01 07 00 B5 03 00 00 00 00 00 FF 0F CD [03:52:39]process_action close_receipt done [03:52:39]requested_data is exist [03:52:39]produce_requested_data [03:52:39]requested_item fm.sn is exist - process it [03:52:39]wFMCommunicate request_size=4 [03:52:39]MH_SAM_APDU [03:52:39]CAPDU: 80 11 00 00 [03:52:39]Write to MH i2c: E2 08 00 B6 03 80 11 00 00 00 00 00 00 33 [03:52:39]Write i2c OK [03:52:39]MH_I2C_Read... [03:52:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:52:39]Read from MH i2c: E2 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 17 00 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 17 00 B6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 89 [03:52:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [03:52:39]wFMCommunicate OK [03:52:39]requested_item fd.num is exist - process it [03:52:39]SAM_PROTO_GetFieldsCounters [03:52:39]wFMCommunicate request_size=4 [03:52:39]MH_SAM_APDU [03:52:39]CAPDU: 80 13 00 00 [03:52:39]Write to MH i2c: E2 08 00 B7 03 80 13 00 00 00 00 00 00 36 [03:52:39]Write i2c OK [03:52:39]MH_I2C_Read... [03:52:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:52:39]Read from MH i2c: E2 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 62 00 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 62 00 B7 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 77 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [03:52:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 77 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:52:39]wFMCommunicate OK [03:52:39]SAM_PROTO_GetFieldsCounters done [03:52:39]requested_item shift.num is exist - process it [03:52:39]requested_item shift.opened is exist - process it [03:52:39]req_shift_opened [03:52:39]FM_GetShiftState [03:52:39]SAM_PROTO_GetShiftState [03:52:39]wFMCommunicate request_size=4 [03:52:39]MH_SAM_APDU [03:52:39]CAPDU: 80 13 01 00 [03:52:39]Write to MH i2c: E2 08 00 B8 03 80 13 01 00 00 00 00 00 38 [03:52:39]Write i2c OK [03:52:39]MH_I2C_Read... [03:52:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:52:39]Read from MH i2c: E2 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 0E 00 [03:52:39]MH_I2C_Read... [03:52:39]Read from MH i2c: E2 0E 00 B8 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 1E [03:52:39]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [03:52:39]wFMCommunicate OK [03:52:39]SAM_PROTO_GetShiftState done [03:52:39]FM_GetShiftState done [03:52:39]req_shift_opened done [03:52:39]requested_item shift.open_date is exist - process it [03:52:39]req_shift_open_date [03:52:39]req_shift_open_date done [03:52:39]produce_requested_data done [03:52:39]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32375,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [03:52:39]process_action_free close_receipt [03:52:39]json_value_free [03:52:39]json_value_free done [03:52:39]process_json_proto returns [03:52:39]Send response to host [03:52:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32375,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [03:52:39]free response buf [03:52:39]execute_script done [03:52:39]execute_script returns [03:52:39]free content buf [03:52:39]Sock 7.Close socket [03:52:39]Sock 7.Thread stoped [03:52:42]ConnectInit Can't take IP for lk.salyk.kg [03:52:42]CommunicateWithHost connect error [03:52:42]CommunicateWithHost err = -1 [03:52:42]OFD Sender: Server communicate error [03:52:47]OFD Sender: Processing packet 32375 [packets to send 104, broken 103] [03:52:47]ProducePacketName [03:52:47]name=ofd_packets/00032375 [03:52:47]OFD Sender: To server: pG, [03:52:47]CommunicateWithHost lk.salyk.kg:30040 [03:52:47]ConnectInit lk.salyk.kg [03:52:52]ConnectInit Can't take IP for lk.salyk.kg [03:52:52]CommunicateWithHost connect error [03:52:52]CommunicateWithHost err = -1 [03:52:52]OFD Sender: Server communicate error [03:52:57]OFD Sender: Processing packet 32375 [packets to send 104, broken 103] [03:52:57]ProducePacketName [03:52:57]name=ofd_packets/00032375 [03:52:57]OFD Sender: To server: pG, [03:52:57]CommunicateWithHost lk.salyk.kg:30040 [03:52:57]ConnectInit lk.salyk.kg [03:53:02]ConnectInit Can't take IP for lk.salyk.kg [03:53:02]CommunicateWithHost connect error [03:53:02]CommunicateWithHost err = -1 [03:53:02]OFD Sender: Server communicate error [03:53:07]OFD Sender: Processing packet 32375 [packets to send 104, broken 103] [03:53:07]ProducePacketName [03:53:07]name=ofd_packets/00032375 [03:53:07]OFD Sender: To server: pG, [03:53:07]CommunicateWithHost lk.salyk.kg:30040 [03:53:07]ConnectInit lk.salyk.kg [03:53:10]Connected sock=7 [03:53:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 49 01 00 00 4F 64 41 01 C5 0C 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 06 00 00 00 F4 03 04 00 84 B2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7E 00 00 35 04 06 00 97 97 53 E7 36 6C F6 28 E4 24 46 62 A9 93 [03:53:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 B8 13 47 00 13 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 35 39 32 38 32 10 04 04 00 77 7E 00 00 F4 03 04 00 4A 5C B2 67 B6 04 01 00 00 8F 5D CB E1 13 CC 5E 93 [03:53:10]CommunicateWithHost err = 0 [03:53:10]CheckOFDResponse [03:53:10]1017 (14) - 77093643461234 [03:53:10]1041 (16) - 0000000000959282 [03:53:10]1040 (4) - 32375 [03:53:10]1012 (4) - 16.02.2025 21:44 [03:53:10]1206 (1) - 0 [03:53:10]OFD Sender: Remove packet 32375 [03:53:10]ProducePacketName [03:53:10]name=ofd_packets/00032375 [03:53:10]NVStorageDeleteData [03:53:11]OFD Sender: No OFD packet to send [03:53:14]ConnectInit Can't connect to host [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]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:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]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:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08: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:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]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:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]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:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:06]OFD Sender: No OFD packet to send [06:24:11]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:16]OFD Sender: No OFD packet to send [06:28:21]OFD Sender: No OFD packet to send [06:28:26]OFD Sender: No OFD packet to send [06:28:31]OFD Sender: No OFD packet to send [06:28:36]OFD Sender: No OFD packet to send [06:28:41]OFD Sender: No OFD packet to send [06:28:46]OFD Sender: No OFD packet to send [06:28:51]OFD Sender: No OFD packet to send [06:28:56]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:52]OFD Sender: No OFD packet to send [06:40:57]OFD Sender: No OFD packet to send [06:41:02]OFD Sender: No OFD packet to send [06:41:07]OFD Sender: No OFD packet to send [06:41:12]OFD Sender: No OFD packet to send [06:41:17]OFD Sender: No OFD packet to send [06:41:22]OFD Sender: No OFD packet to send [06:41:27]OFD Sender: No OFD packet to send [06:41:32]OFD Sender: No OFD packet to send [06:41:37]OFD Sender: No OFD packet to send [06:41:42]OFD Sender: No OFD packet to send [06:41:47]OFD Sender: No OFD packet to send [06:41:52]OFD Sender: No OFD packet to send [06:41:57]OFD Sender: No OFD packet to send [06:42:02]OFD Sender: No OFD packet to send [06:42:07]OFD Sender: No OFD packet to send [06:42:12]OFD Sender: No OFD packet to send [06:42:17]OFD Sender: No OFD packet to send [06:42:22]OFD Sender: No OFD packet to send [06:42:27]OFD Sender: No OFD packet to send [06:42:32]OFD Sender: No OFD packet to send [06:42:37]OFD Sender: No OFD packet to send [06:42:42]OFD Sender: No OFD packet to send [06:42:47]OFD Sender: No OFD packet to send [06:42:52]OFD Sender: No OFD packet to send [06:42:57]OFD Sender: No OFD packet to send [06:43:02]OFD Sender: No OFD packet to send [06:43:07]OFD Sender: No OFD packet to send [06:43:12]OFD Sender: No OFD packet to send [06:43:17]OFD Sender: No OFD packet to send [06:43:22]OFD Sender: No OFD packet to send [06:43:27]OFD Sender: No OFD packet to send [06:43:32]OFD Sender: No OFD packet to send [06:43:37]OFD Sender: No OFD packet to send [06:43:42]OFD Sender: No OFD packet to send [06:43:47]OFD Sender: No OFD packet to send [06:43:52]OFD Sender: No OFD packet to send [06:43:57]OFD Sender: No OFD packet to send [06:44:02]OFD Sender: No OFD packet to send [06:44:07]OFD Sender: No OFD packet to send [06:44:12]OFD Sender: No OFD packet to send [06:44:17]OFD Sender: No OFD packet to send [06:44:22]OFD Sender: No OFD packet to send [06:44:27]OFD Sender: No OFD packet to send [06:44:32]OFD Sender: No OFD packet to send [06:44:37]OFD Sender: No OFD packet to send [06:44:42]OFD Sender: No OFD packet to send [06:44:47]OFD Sender: No OFD packet to send [06:44:52]OFD Sender: No OFD packet to send [06:44:57]OFD Sender: No OFD packet to send [06:45:02]OFD Sender: No OFD packet to send [06:45:07]OFD Sender: No OFD packet to send [06:45:12]OFD Sender: No OFD packet to send [06:45:17]OFD Sender: No OFD packet to send [06:45:22]OFD Sender: No OFD packet to send [06:45:27]OFD Sender: No OFD packet to send [06:45:32]OFD Sender: No OFD packet to send [06:45:37]OFD Sender: No OFD packet to send [06:45:42]OFD Sender: No OFD packet to send [06:45:47]OFD Sender: No OFD packet to send [06:45:52]OFD Sender: No OFD packet to send [06:45:57]OFD Sender: No OFD packet to send [06:46:02]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:37]OFD Sender: No OFD packet to send [06:47:42]OFD Sender: No OFD packet to send [06:47:47]OFD Sender: No OFD packet to send [06:47:52]OFD Sender: No OFD packet to send [06:47:57]OFD Sender: No OFD packet to send [06:48:02]OFD Sender: No OFD packet to send [06:48:07]OFD Sender: No OFD packet to send [06:48:12]OFD Sender: No OFD packet to send [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:04]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:14]OFD Sender: No OFD packet to send [07:23:19]OFD Sender: No OFD packet to send [07:23:24]OFD Sender: No OFD packet to send [07:23:29]OFD Sender: No OFD packet to send [07:23:34]OFD Sender: No OFD packet to send [07:23:39]OFD Sender: No OFD packet to send [07:23:44]OFD Sender: No OFD packet to send [07:23:49]OFD Sender: No OFD packet to send [07:23:54]OFD Sender: No OFD packet to send [07:23:59]OFD Sender: No OFD packet to send [07:24:04]OFD Sender: No OFD packet to send [07:24:09]OFD Sender: No OFD packet to send [07:24:14]OFD Sender: No OFD packet to send [07:24:19]OFD Sender: No OFD packet to send [07:24:24]OFD Sender: No OFD packet to send [07:24:29]OFD Sender: No OFD packet to send [07:24:34]OFD Sender: No OFD packet to send [07:24:39]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]accept exits with 10 [07:31:10]New connection [07:31:10]New thread 3067342180 created [07:31:10]Thread 3067198820 joined [07:31:10]Waiting for new connection... [07:31:10] Sock 10.Parse request [07:31:10]Sock 10.Check first char [07:31:10]Sock 10.First char is OK [07:31:10]request: POST /json_proto HTTP/1.0 [07:31:10]Method: POST [07:31:10]URL: /json_proto [07:31:10]Method is POST - this is cgi request [07:31:10]url: /json_proto [07:31:10]query_string will be loaded in cgi processing [07:31:10]execute_cgi json_proto POST (null) [07:31:10]execute_cgi path=json_proto method=POST [07:31:10]POST find Content-Length [07:31:10]Host: 172.17.47.135:8080 [07:31:10]Content-Length: 817 [07:31:10]Content-Type: application/json [07:31:10] [07:31:10]POST finish read [07:31:10]Found Content-Length = 817 [07:31:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543167", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.43 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:31:10]execute_script... [07:31:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543167", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.43 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:31:10]POST & json_proto [07:31:10]process_json_proto [07:31:10]json parsed OK: [07:31:10]protocol is kg_v1.0 [07:31:10]action value=close_receipt [07:31:10]process_action close_receipt [07:31:10]cmd_close_receipt [07:31:10]MH_GetDate [07:31:10]Write to MH i2c: F0 00 00 B9 03 AB [07:31:10]Write i2c OK [07:31:10]MH_I2C_Read... [07:31:10]Read from MH i2c: F0 [07:31:10]MH_I2C_Read... [07:31:10]Read from MH i2c: F0 09 00 [07:31:10]MH_I2C_Read... [07:31:10]Read from MH i2c: F0 09 00 B9 03 00 C0 E5 B2 67 19 D8 DE 66 A7 [07:31:10]GetLastDocTimeStamp 1739764356 [07:31:10]current date 1739777472 [07:31:10]FM_GetShiftState [07:31:10]SAM_PROTO_GetShiftState [07:31:10]wFMCommunicate request_size=4 [07:31:10]MH_SAM_APDU [07:31:10]CAPDU: 80 13 01 00 [07:31:10]Write to MH i2c: E2 08 00 BA 03 80 13 01 00 00 00 00 00 3A [07:31:10]Write i2c OK [07:31:10]MH_I2C_Read... [07:31:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:31:10]Read from MH i2c: E2 [07:31:10]MH_I2C_Read... [07:31:10]Read from MH i2c: E2 0E 00 [07:31:10]MH_I2C_Read... [07:31:10]Read from MH i2c: E2 0E 00 BA 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 20 [07:31:10]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:31:10]wFMCommunicate OK [07:31:10]SAM_PROTO_GetShiftState done [07:31:10]FM_GetShiftState done [07:31:10]opened in 1739750979 [07:31:10]opened+sec_in_day 1739837379 [07:31:10]quantity*price = 100042 [07:31:10]sum+1 = 100044 [07:31:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.43 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 0.00 Безнал.: 1000.43 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 7 17.02.2025 07:31 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32376 ФПД: 274881678728381 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T073112&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32376&fm=274881678728381&tin=02508201610067®Number=0000000000146237&sum=100043 [07:31:11]StoreToDocumentArchive [07:31:11]shift 382 fd 32376 [07:31:11]save to /storage/0382/doc_00032376 [07:31:11]save last doc name /storage/0382/doc_00032376 to /storage/kkm_last_doc_name [07:31:11]save OK [07:31:11]Clear old archive folders... [07:31:11]ProcessDocumentItem done err = 0, tmpTLVsize=248 [07:31:11]tlvbuf is 0031E930 [07:31:11]SAM_PROTO_ClearQueue [07:31:11]wFMCommunicate request_size=4 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 09 00 00 [07:31:11]Write to MH i2c: E2 08 00 C7 03 80 09 00 00 00 00 00 00 3C [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 C7 03 00 90 00 3E [07:31:11]RAPDU: 90 00 [07:31:11]wFMCommunicate OK [07:31:11]SAM_PROTO_ClearQueue done [07:31:11]KKMCreateOFDPacket [07:31:11]OFDProtocolAddRootSTLVToBuf [07:31:11]FM_MakeSignedData [07:31:11]FM_MakeSignedData [07:31:11]SAM_PROTO_SignData [07:31:11]wFMCommunicate request_size=4 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 0D 01 02 [07:31:11]Write to MH i2c: E2 08 00 C8 03 80 0D 01 02 00 00 00 00 44 [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 C8 03 00 90 00 3F [07:31:11]RAPDU: 90 00 [07:31:11]wFMCommunicate OK [07:31:11]wFMCommunicate request_size=255 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CB 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CB 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C0 E5 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7E 00 00 35 04 06 00 FA 00 E0 D0 [07:31:11]Write to MH i2c: E2 02 01 C9 03 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CB 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CB 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C0 E5 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7E 00 00 35 04 06 00 FA 00 E0 D0 00 00 1B [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 C9 03 00 90 00 40 [07:31:11]RAPDU: 90 00 [07:31:11]wFMCommunicate OK [07:31:11]wFMCommunicate request_size=7 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 0D 02 02 02 DC BD [07:31:11]Write to MH i2c: E2 0A 00 CA 03 80 0D 02 02 02 00 DC BD 00 00 E4 [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 03 00 CA 03 00 90 00 41 [07:31:11]RAPDU: 90 00 [07:31:11]wFMCommunicate OK [07:31:11]wFMCommunicate request_size=4 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 0D 03 02 [07:31:11]Write to MH i2c: E2 08 00 CB 03 80 0D 03 02 00 00 00 00 49 [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 0B 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 0B 00 CB 03 00 4C 7E 32 06 7F D9 B3 45 90 00 9C [07:31:11]RAPDU: 4C 7E 32 06 7F D9 B3 45 90 00 [07:31:11]wFMCommunicate OK [07:31:11]SAM_PROTO_SignData done [07:31:11]FM_MakeSignedData done [07:31:11]CreateOFDProtocolMessage [07:31:11]wFMCommunicate request_size=4 [07:31:11]MH_SAM_APDU [07:31:11]CAPDU: 80 11 00 00 [07:31:11]Write to MH i2c: E2 08 00 CC 03 80 11 00 00 00 00 00 00 49 [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:31:11]Read from MH i2c: E2 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 17 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: E2 17 00 CC 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 9F [07:31:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:31:11]wFMCommunicate OK [07:31:11]CreateOFDProtocolMessage done [07:31:11]OFDSenderStorePacket 32376 [07:31:11]StoreOFDPacket docnum=32376 [07:31:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 E7 FE 04 01 E4 B2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CB 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CB 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C0 E5 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7E 00 00 35 04 06 00 FA 00 E0 D0 DC BD 4C 7E 32 06 7F D9 B3 45 [07:31:11]CheckFolder [07:31:11]dirname=/storage/ofd_packets [07:31:11]CheckFolder done [07:31:11]ProducePacketName [07:31:11]name=ofd_packets/00032376 [07:31:11]NVStorageSaveData ofd_packets/00032376 [07:31:11]File name is /storage/ofd_packets/00032376 [07:31:11]Write 298 bytes [07:31:11]NVStorageSaveData done [07:31:11]OFDSenderStorePacket done [07:31:11]KKMCreateOFDPacket done [07:31:11]NVStorageSaveData kkm_last_timestamp [07:31:11]File name is /storage/kkm_last_timestamp [07:31:11]Write 4 bytes [07:31:11]NVStorageSaveData done [07:31:11]ExternCall_PrintAddStr [07:31:11]wPrintStart [07:31:11]Write to MH i2c: 01 00 00 CD 03 D0 [07:31:11]Write i2c OK [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: 01 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: 01 07 00 [07:31:11]MH_I2C_Read... [07:31:11]Read from MH i2c: 01 07 00 CD 03 00 00 00 00 00 FF 0F E5 [07:31:11]RasterBufferAndPrint [07:31:11]line Счет N : (1)6543167 [07:31:11]line ИНН: 02508201610067 [07:31:11]line Контрольно-Кассовый Чек [07:31:11]line ПРОДАЖА [07:31:11]line ТРК (МРК, ГНК) : 13 [07:31:11]line Товар: 2710194210 [07:31:11]line ДТ-К-2 [07:31:11]line 13.780 * 72.60 [07:31:11]line = 1000.43 [07:31:11]line НДС 12% НСП 1% [07:31:11]line > о реализуемом товаре [07:31:11]line ИТОГО: 1000.43 [07:31:11]line НСП 1% : 8.85 [07:31:11]line НДС 12% : 106.24 [07:31:11]line Наличными: 0.00 [07:31:11]line Безнал.: 1000.43 [07:31:11]line Место: АЗС № 96 "Партнер Нефть" [07:31:11]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [07:31:11]line СНО: Общий режим [07:31:11]line Чек 7 17.02.2025 07:31 [07:31:11]line Смена: 382 ФФД: 1.0 [07:31:11]line ЗНМ: 0300000059 [07:31:11]line РНМ: 0000000000146237 [07:31:11]line Версия ККМ: v1.0 [07:31:11]line Платежная система: Бакай Банк [07:31:11]line ФМ: 0000000000959282 [07:31:11]line ФД: 32376 [07:31:11]line ФПД: 274881678728381 [07:31:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T073112&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32376&fm=274881678728381&tin=02508201610067®Number=0000000000146237&sum=100043 [07:31:12]OFD Sender: Processing packet 32376 [packets to send 104, broken 103] [07:31:12]ProducePacketName [07:31:12]name=ofd_packets/00032376 [07:31:12]OFD Sender: To server: pG, [07:31:12]CommunicateWithHost lk.salyk.kg:30040 [07:31:12]ConnectInit lk.salyk.kg [07:31:12]written 0, free lines is 4095 [07:31:12]Connected sock=9 [07:31:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 E7 FE 04 01 E4 B2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CB 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CB 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C0 E5 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7E 00 00 35 04 06 00 FA 00 E0 D0 DC BD 4C 7E 32 06 7F D9 B3 45 [07:31:12]Write to MH i2c: 01 00 00 F7 03 FA [07:31:12]Write i2c OK [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: 01 [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: 01 07 00 [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: 01 07 00 F7 03 00 00 00 00 00 ED 0C FA [07:31:12]RasterBufferAndPrint [07:31:12]line [07:31:12]line [07:31:12]line [07:31:12]line [07:31:12]line [07:31:12]written 0, free lines is 3315 [07:31:12]MH_Cut [07:31:12]Write to MH i2c: D1 01 00 FE 03 01 D3 [07:31:12]Write i2c OK [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: D1 [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: D1 01 00 [07:31:12]MH_I2C_Read... [07:31:12]Read from MH i2c: D1 01 00 FE 03 00 D2 [07:31:12]Write to MH i2c: 01 00 00 FF 03 02 [07:31:12]Write i2c OK [07:31:12]MH_I2C_Read... [07:31:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 96 A1 47 00 07 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7E 00 00 F4 03 04 00 64 8F B2 67 B6 04 01 00 00 4A E0 08 5F 0D B4 58 EA [07:31:12]CommunicateWithHost err = 0 [07:31:12]CheckOFDResponse [07:31:12]1017 (14) - 77093643461234 [07:31:12]1041 (16) - 0000000000959282 [07:31:12]1040 (4) - 32376 [07:31:12]1012 (4) - 17.02.2025 01:22 [07:31:12]1206 (1) - 0 [07:31:12]OFD Sender: Remove packet 32376 [07:31:12]ProducePacketName [07:31:12]name=ofd_packets/00032376 [07:31:12]NVStorageDeleteData [07:31:13]*** Cut start [07:31:13]*** Partial cut [07:31:13]*** CUTSNS_PIN = 1 [07:31:13]*** CUTSNS_PIN = 0 [07:31:13]OFD Sender: No OFD packet to send [07:31:13]*** Brake cut motor [07:31:13]Read from MH i2c: 01 [07:31:13]MH_I2C_Read... [07:31:13]*** Stop cut motor [07:31:13]*** Cut end [07:31:13]Read from MH i2c: 01 07 00 [07:31:13]MH_I2C_Read... [07:31:13]Read from MH i2c: 01 07 00 FF 03 00 00 00 00 00 FF 0F 17 [07:31:13]process_action close_receipt done [07:31:13]requested_data is exist [07:31:13]produce_requested_data [07:31:13]requested_item fm.sn is exist - process it [07:31:13]wFMCommunicate request_size=4 [07:31:13]MH_SAM_APDU [07:31:13]CAPDU: 80 11 00 00 [07:31:13]Write to MH i2c: E2 08 00 00 04 80 11 00 00 00 00 00 00 7E [07:31:13]Write i2c OK [07:31:13]MH_I2C_Read... [07:31:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:31:13]Read from MH i2c: E2 [07:31:13]MH_I2C_Read... [07:31:13]Read from MH i2c: E2 17 00 [07:31:13]MH_I2C_Read... [07:31:13]Read from MH i2c: E2 17 00 00 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D4 [07:31:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:31:13]wFMCommunicate OK [07:31:13]requested_item fd.num is exist - process it [07:31:13]SAM_PROTO_GetFieldsCounters [07:31:13]wFMCommunicate request_size=4 [07:31:13]MH_SAM_APDU [07:31:13]CAPDU: 80 13 00 00 [07:31:13]Write to MH i2c: E2 08 00 01 04 80 13 00 00 00 00 00 00 81 [07:31:13]Write i2c OK [07:31:13]MH_I2C_Read... [07:31:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:31:14]Read from MH i2c: E2 [07:31:14]MH_I2C_Read... [07:31:14]Read from MH i2c: E2 62 00 [07:31:14]MH_I2C_Read... [07:31:14]Read from MH i2c: E2 62 00 01 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 78 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [07:31:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 78 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:31:14]wFMCommunicate OK [07:31:14]SAM_PROTO_GetFieldsCounters done [07:31:14]requested_item shift.num is exist - process it [07:31:14]requested_item shift.opened is exist - process it [07:31:14]req_shift_opened [07:31:14]FM_GetShiftState [07:31:14]SAM_PROTO_GetShiftState [07:31:14]wFMCommunicate request_size=4 [07:31:14]MH_SAM_APDU [07:31:14]CAPDU: 80 13 01 00 [07:31:14]Write to MH i2c: E2 08 00 02 04 80 13 01 00 00 00 00 00 83 [07:31:14]Write i2c OK [07:31:14]MH_I2C_Read... [07:31:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:31:14]Read from MH i2c: E2 [07:31:14]MH_I2C_Read... [07:31:14]Read from MH i2c: E2 0E 00 [07:31:14]MH_I2C_Read... [07:31:14]Read from MH i2c: E2 0E 00 02 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 69 [07:31:14]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:31:14]wFMCommunicate OK [07:31:14]SAM_PROTO_GetShiftState done [07:31:14]FM_GetShiftState done [07:31:14]req_shift_opened done [07:31:14]requested_item shift.open_date is exist - process it [07:31:14]req_shift_open_date [07:31:14]req_shift_open_date done [07:31:14]produce_requested_data done [07:31:14]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32376,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [07:31:14]process_action_free close_receipt [07:31:14]json_value_free [07:31:14]json_value_free done [07:31:14]process_json_proto returns [07:31:14]Send response to host [07:31:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32376,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [07:31:14]free response buf [07:31:14]execute_script done [07:31:14]execute_script returns [07:31:14]free content buf [07:31:14]Sock 10.Close socket [07:31:14]Sock 10.Thread stoped [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:03]accept exits with 7 [07:51:03]New connection [07:51:03]New thread 3067198820 created [07:51:03]Thread 3067342180 joined [07:51:03]Waiting for new connection... [07:51:03] Sock 7.Parse request [07:51:03]Sock 7.Check first char [07:51:03]Sock 7.First char is OK [07:51:03]request: POST /json_proto HTTP/1.0 [07:51:03]Method: POST [07:51:03]URL: /json_proto [07:51:03]Method is POST - this is cgi request [07:51:03]url: /json_proto [07:51:03]query_string will be loaded in cgi processing [07:51:03]execute_cgi json_proto POST (null) [07:51:03]execute_cgi path=json_proto method=POST [07:51:03]POST find Content-Length [07:51:03]Host: 172.17.47.135:8080 [07:51:03]Content-Length: 641 [07:51:03]Content-Type: application/json [07:51:03] [07:51:03]POST finish read [07:51:03]Found Content-Length = 641 [07:51:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 10.000, "sum" : 642.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 642.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:03]execute_script... [07:51:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 10.000, "sum" : 642.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 642.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:03]POST & json_proto [07:51:03]process_json_proto [07:51:03]json parsed OK: [07:51:03]protocol is kg_v1.0 [07:51:03]action value=close_receipt [07:51:03]process_action close_receipt [07:51:03]cmd_close_receipt [07:51:03]MH_GetDate [07:51:03]Write to MH i2c: F0 00 00 03 04 F6 [07:51:03]Write i2c OK [07:51:03]MH_I2C_Read... [07:51:03]Read from MH i2c: F0 [07:51:03]MH_I2C_Read... [07:51:03]Read from MH i2c: F0 09 00 [07:51:03]MH_I2C_Read... [07:51:03]Read from MH i2c: F0 09 00 03 04 00 6A EA B2 67 19 D8 DE 66 A1 [07:51:03]GetLastDocTimeStamp 1739777472 [07:51:03]current date 1739778666 [07:51:03]FM_GetShiftState [07:51:03]SAM_PROTO_GetShiftState [07:51:03]wFMCommunicate request_size=4 [07:51:03]MH_SAM_APDU [07:51:03]CAPDU: 80 13 01 00 [07:51:03]Write to MH i2c: E2 08 00 04 04 80 13 01 00 00 00 00 00 85 [07:51:03]Write i2c OK [07:51:03]MH_I2C_Read... [07:51:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:03]Read from MH i2c: E2 [07:51:03]MH_I2C_Read... [07:51:03]Read from MH i2c: E2 0E 00 [07:51:03]MH_I2C_Read... [07:51:03]Read from MH i2c: E2 0E 00 04 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6B [07:51:03]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:51:03]wFMCommunicate OK [07:51:03]SAM_PROTO_GetShiftState done [07:51:03]FM_GetShiftState done [07:51:03]opened in 1739750979 [07:51:03]opened+sec_in_day 1739837379 [07:51:03]quantity*price = 64200 [07:51:03]sum+1 = 64201 [07:51:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 642.00 НСП 1% : 5.68 НДС 12% : 68.18 Наличными: 642.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 8 17.02.2025 07:51 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32377 ФПД: 153556592408099 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T075106&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32377&fm=153556592408099&tin=02508201610067®Number=0000000000146237&sum=64200 [07:51:04]StoreToDocumentArchive [07:51:04]shift 382 fd 32377 [07:51:04]save to /storage/0382/doc_00032377 [07:51:04]save last doc name /storage/0382/doc_00032377 to /storage/kkm_last_doc_name [07:51:04]save OK [07:51:04]Clear old archive folders... [07:51:04]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:51:04]tlvbuf is 00341C50 [07:51:04]SAM_PROTO_ClearQueue [07:51:04]wFMCommunicate request_size=4 [07:51:04]MH_SAM_APDU [07:51:04]CAPDU: 80 09 00 00 [07:51:04]Write to MH i2c: E2 08 00 11 04 80 09 00 00 00 00 00 00 87 [07:51:04]Write i2c OK [07:51:04]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 11 04 00 90 00 89 [07:51:05]RAPDU: 90 00 [07:51:05]wFMCommunicate OK [07:51:05]SAM_PROTO_ClearQueue done [07:51:05]KKMCreateOFDPacket [07:51:05]OFDProtocolAddRootSTLVToBuf [07:51:05]FM_MakeSignedData [07:51:05]FM_MakeSignedData [07:51:05]SAM_PROTO_SignData [07:51:05]wFMCommunicate request_size=4 [07:51:05]MH_SAM_APDU [07:51:05]CAPDU: 80 0D 01 02 [07:51:05]Write to MH i2c: E2 08 00 12 04 80 0D 01 02 00 00 00 00 8F [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 12 04 00 90 00 8A [07:51:05]RAPDU: 90 00 [07:51:05]wFMCommunicate OK [07:51:05]wFMCommunicate request_size=255 [07:51:05]MH_SAM_APDU [07:51:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 6A EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7E 00 00 35 04 06 00 8B [07:51:05]Write to MH i2c: E2 02 01 13 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 6A EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7E 00 00 35 04 06 00 8B 00 00 B0 [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 13 04 00 90 00 8B [07:51:05]RAPDU: 90 00 [07:51:05]wFMCommunicate OK [07:51:05]wFMCommunicate request_size=10 [07:51:05]MH_SAM_APDU [07:51:05]CAPDU: 80 0D 02 02 05 A8 AE 24 B6 23 [07:51:05]Write to MH i2c: E2 0D 00 14 04 80 0D 02 02 05 00 A8 AE 24 B6 23 00 00 EF [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 03 00 14 04 00 90 00 8C [07:51:05]RAPDU: 90 00 [07:51:05]wFMCommunicate OK [07:51:05]wFMCommunicate request_size=4 [07:51:05]MH_SAM_APDU [07:51:05]CAPDU: 80 0D 03 02 [07:51:05]Write to MH i2c: E2 08 00 15 04 80 0D 03 02 00 00 00 00 94 [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 0B 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 0B 00 15 04 00 1E B3 8A 77 E7 36 C3 15 90 00 5C [07:51:05]RAPDU: 1E B3 8A 77 E7 36 C3 15 90 00 [07:51:05]wFMCommunicate OK [07:51:05]SAM_PROTO_SignData done [07:51:05]FM_MakeSignedData done [07:51:05]CreateOFDProtocolMessage [07:51:05]wFMCommunicate request_size=4 [07:51:05]MH_SAM_APDU [07:51:05]CAPDU: 80 11 00 00 [07:51:05]Write to MH i2c: E2 08 00 16 04 80 11 00 00 00 00 00 00 94 [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:05]Read from MH i2c: E2 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 17 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: E2 17 00 16 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 EA [07:51:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:51:05]wFMCommunicate OK [07:51:05]CreateOFDProtocolMessage done [07:51:05]OFDSenderStorePacket 32377 [07:51:05]StoreOFDPacket docnum=32377 [07:51:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 31 E2 07 01 7B D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 6A EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7E 00 00 35 04 06 00 8B A8 AE 24 B6 23 1E B3 8A 77 E7 36 C3 15 [07:51:05]CheckFolder [07:51:05]dirname=/storage/ofd_packets [07:51:05]CheckFolder done [07:51:05]ProducePacketName [07:51:05]name=ofd_packets/00032377 [07:51:05]NVStorageSaveData ofd_packets/00032377 [07:51:05]File name is /storage/ofd_packets/00032377 [07:51:05]Write 301 bytes [07:51:05]NVStorageSaveData done [07:51:05]OFDSenderStorePacket done [07:51:05]KKMCreateOFDPacket done [07:51:05]NVStorageSaveData kkm_last_timestamp [07:51:05]File name is /storage/kkm_last_timestamp [07:51:05]Write 4 bytes [07:51:05]NVStorageSaveData done [07:51:05]ExternCall_PrintAddStr [07:51:05]wPrintStart [07:51:05]Write to MH i2c: 01 00 00 17 04 1B [07:51:05]Write i2c OK [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: 01 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: 01 07 00 [07:51:05]MH_I2C_Read... [07:51:05]Read from MH i2c: 01 07 00 17 04 00 00 00 00 00 FF 0F 30 [07:51:05]RasterBufferAndPrint [07:51:05]line Счет N : (1)6543174 [07:51:05]line ИНН: 02508201610067 [07:51:05]line Контрольно-Кассовый Чек [07:51:05]line ПРОДАЖА [07:51:05]line ТРК (МРК, ГНК) : 22 [07:51:05]line Товар: 2710124130 [07:51:05]line Аи-92-К-5 [07:51:05]line 10.000 * 64.20 [07:51:05]line = 642.00 [07:51:05]line НДС 12% НСП 1% [07:51:05]line > о реализуемом товаре [07:51:05]line ИТОГО: 642.00 [07:51:05]line НСП 1% : 5.68 [07:51:05]line НДС 12% : 68.18 [07:51:05]line Наличными: 642.00 [07:51:05]line Безнал.: 0.00 [07:51:05]line Место: АЗС № 96 "Партнер Нефть" [07:51:05]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [07:51:05]line СНО: Общий режим [07:51:05]line Чек 8 17.02.2025 07:51 [07:51:05]line Смена: 382 ФФД: 1.0 [07:51:05]line ЗНМ: 0300000059 [07:51:05]line РНМ: 0000000000146237 [07:51:05]line Версия ККМ: v1.0 [07:51:05]line ФМ: 0000000000959282 [07:51:05]line ФД: 32377 [07:51:05]line ФПД: 153556592408099 [07:51:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T075106&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32377&fm=153556592408099&tin=02508201610067®Number=0000000000146237&sum=64200 [07:51:05]OFD Sender: Processing packet 32377 [packets to send 104, broken 103] [07:51:05]ProducePacketName [07:51:05]name=ofd_packets/00032377 [07:51:05]OFD Sender: To server: pG, [07:51:05]CommunicateWithHost lk.salyk.kg:30040 [07:51:05]ConnectInit lk.salyk.kg [07:51:05]written 0, free lines is 4095 [07:51:06]Connected sock=10 [07:51:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 31 E2 07 01 7B D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 6A EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7E 00 00 35 04 06 00 8B A8 AE 24 B6 23 1E B3 8A 77 E7 36 C3 15 [07:51:06]Write to MH i2c: 01 00 00 3F 04 43 [07:51:06]Write i2c OK [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: 01 [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: 01 07 00 [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: 01 07 00 3F 04 00 00 00 00 00 1C 0D 73 [07:51:06]RasterBufferAndPrint [07:51:06]line [07:51:06]line [07:51:06]line [07:51:06]line [07:51:06]line [07:51:06]written 0, free lines is 3362 [07:51:06]MH_Cut [07:51:06]Write to MH i2c: D1 01 00 46 04 01 1C [07:51:06]Write i2c OK [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: D1 [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: D1 01 00 [07:51:06]MH_I2C_Read... [07:51:06]Read from MH i2c: D1 01 00 46 04 00 1B [07:51:06]Write to MH i2c: 01 00 00 47 04 4B [07:51:06]Write i2c OK [07:51:06]MH_I2C_Read... [07:51:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 DA 0C 47 00 C7 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 35 39 32 38 32 10 04 04 00 79 7E 00 00 F4 03 04 00 0E 94 B2 67 B6 04 01 00 00 71 8C 26 42 A1 26 FE C0 [07:51:06]CommunicateWithHost err = 0 [07:51:06]CheckOFDResponse [07:51:06]1017 (14) - 77093643461234 [07:51:06]1041 (16) - 0000000000959282 [07:51:06]1040 (4) - 32377 [07:51:06]1012 (4) - 17.02.2025 01:42 [07:51:06]1206 (1) - 0 [07:51:06]OFD Sender: Remove packet 32377 [07:51:06]ProducePacketName [07:51:06]name=ofd_packets/00032377 [07:51:06]NVStorageDeleteData [07:51:06]*** Cut start [07:51:06]*** Partial cut [07:51:06]*** CUTSNS_PIN = 1 [07:51:06]*** CUTSNS_PIN = 0 [07:51:06]OFD Sender: No OFD packet to send [07:51:07]*** Brake cut motor [07:51:07]Read from MH i2c: 01 [07:51:07]MH_I2C_Read... [07:51:07]*** Stop cut motor [07:51:07]*** Cut end [07:51:07]Read from MH i2c: 01 07 00 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: 01 07 00 47 04 00 00 00 00 00 FF 0F 60 [07:51:07]process_action close_receipt done [07:51:07]requested_data is exist [07:51:07]produce_requested_data [07:51:07]requested_item fm.sn is exist - process it [07:51:07]wFMCommunicate request_size=4 [07:51:07]MH_SAM_APDU [07:51:07]CAPDU: 80 11 00 00 [07:51:07]Write to MH i2c: E2 08 00 48 04 80 11 00 00 00 00 00 00 C6 [07:51:07]Write i2c OK [07:51:07]MH_I2C_Read... [07:51:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:07]Read from MH i2c: E2 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 17 00 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 17 00 48 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1C [07:51:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:51:07]wFMCommunicate OK [07:51:07]requested_item fd.num is exist - process it [07:51:07]SAM_PROTO_GetFieldsCounters [07:51:07]wFMCommunicate request_size=4 [07:51:07]MH_SAM_APDU [07:51:07]CAPDU: 80 13 00 00 [07:51:07]Write to MH i2c: E2 08 00 49 04 80 13 00 00 00 00 00 00 C9 [07:51:07]Write i2c OK [07:51:07]MH_I2C_Read... [07:51:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:51:07]Read from MH i2c: E2 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 62 00 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 62 00 49 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 79 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [07:51:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 79 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:51:07]wFMCommunicate OK [07:51:07]SAM_PROTO_GetFieldsCounters done [07:51:07]requested_item shift.num is exist - process it [07:51:07]requested_item shift.opened is exist - process it [07:51:07]req_shift_opened [07:51:07]FM_GetShiftState [07:51:07]SAM_PROTO_GetShiftState [07:51:07]wFMCommunicate request_size=4 [07:51:07]MH_SAM_APDU [07:51:07]CAPDU: 80 13 01 00 [07:51:07]Write to MH i2c: E2 08 00 4A 04 80 13 01 00 00 00 00 00 CB [07:51:07]Write i2c OK [07:51:07]MH_I2C_Read... [07:51:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:07]Read from MH i2c: E2 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 0E 00 [07:51:07]MH_I2C_Read... [07:51:07]Read from MH i2c: E2 0E 00 4A 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B1 [07:51:07]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:51:07]wFMCommunicate OK [07:51:07]SAM_PROTO_GetShiftState done [07:51:07]FM_GetShiftState done [07:51:07]req_shift_opened done [07:51:07]requested_item shift.open_date is exist - process it [07:51:07]req_shift_open_date [07:51:07]req_shift_open_date done [07:51:07]produce_requested_data done [07:51:07]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32377,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [07:51:07]process_action_free close_receipt [07:51:07]json_value_free [07:51:07]json_value_free done [07:51:07]process_json_proto returns [07:51:07]Send response to host [07:51:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32377,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [07:51:07]free response buf [07:51:07]execute_script done [07:51:07]execute_script returns [07:51:07]free content buf [07:51:07]Sock 7.Close socket [07:51:07]Sock 7.Thread stoped [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:22]accept exits with 9 [07:51:22]New connection [07:51:22]New thread 3067342180 created [07:51:22]Thread 3067198820 joined [07:51:22]Waiting for new connection... [07:51:22] Sock 9.Parse request [07:51:22]Sock 9.Check first char [07:51:22]Sock 9.First char is OK [07:51:22]request: POST /json_proto HTTP/1.0 [07:51:22]Method: POST [07:51:22]URL: /json_proto [07:51:22]Method is POST - this is cgi request [07:51:22]url: /json_proto [07:51:22]query_string will be loaded in cgi processing [07:51:22]execute_cgi json_proto POST (null) [07:51:22]execute_cgi path=json_proto method=POST [07:51:22]POST find Content-Length [07:51:22]Host: 172.17.47.135:8080 [07:51:22]Content-Length: 697 [07:51:22]Content-Type: application/json [07:51:22] [07:51:22]POST finish read [07:51:22]Found Content-Length = 697 [07:51:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32377, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 10.000, "sum" : 642.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 642.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:22]execute_script... [07:51:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32377, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543174", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 10.000, "sum" : 642.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 642.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:51:22]POST & json_proto [07:51:22]process_json_proto [07:51:22]json parsed OK: [07:51:22]protocol is kg_v1.0 [07:51:22]action value=close_receipt [07:51:22]process_action close_receipt [07:51:22]cmd_close_receipt [07:51:22]MH_GetDate [07:51:22]Write to MH i2c: F0 00 00 4B 04 3E [07:51:22]Write i2c OK [07:51:22]MH_I2C_Read... [07:51:22]Read from MH i2c: F0 [07:51:22]MH_I2C_Read... [07:51:22]Read from MH i2c: F0 09 00 [07:51:22]MH_I2C_Read... [07:51:22]Read from MH i2c: F0 09 00 4B 04 00 7D EA B2 67 19 D8 DE 66 FC [07:51:22]GetLastDocTimeStamp 1739778666 [07:51:22]current date 1739778685 [07:51:22]FM_GetShiftState [07:51:22]SAM_PROTO_GetShiftState [07:51:22]wFMCommunicate request_size=4 [07:51:22]MH_SAM_APDU [07:51:22]CAPDU: 80 13 01 00 [07:51:22]Write to MH i2c: E2 08 00 4C 04 80 13 01 00 00 00 00 00 CD [07:51:22]Write i2c OK [07:51:22]MH_I2C_Read... [07:51:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:22]Read from MH i2c: E2 [07:51:22]MH_I2C_Read... [07:51:22]Read from MH i2c: E2 0E 00 [07:51:22]MH_I2C_Read... [07:51:22]Read from MH i2c: E2 0E 00 4C 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B3 [07:51:22]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:51:22]wFMCommunicate OK [07:51:22]SAM_PROTO_GetShiftState done [07:51:22]FM_GetShiftState done [07:51:22]opened in 1739750979 [07:51:22]opened+sec_in_day 1739837379 [07:51:22]quantity*price = 64200 [07:51:22]sum+1 = 64201 [07:51:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 642.00 НСП 1% : 5.68 НДС 12% : 68.18 Наличными: 642.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 9 17.02.2025 07:51 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФД осн.: 32377 ФМ осн.: 0000000000959282 ФМ: 0000000000959282 ФД: 32378 ФПД: 210822060023789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T075125&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32378&fm=210822060023789&tin=02508201610067®Number=0000000000146237&sum=64200 [07:51:24]StoreToDocumentArchive [07:51:24]shift 382 fd 32378 [07:51:24]save to /storage/0382/doc_00032378 [07:51:24]save last doc name /storage/0382/doc_00032378 to /storage/kkm_last_doc_name [07:51:24]save OK [07:51:24]Clear old archive folders... [07:51:24]ProcessDocumentItem done err = 0, tmpTLVsize=279 [07:51:24]tlvbuf is 00349C50 [07:51:24]SAM_PROTO_ClearQueue [07:51:24]wFMCommunicate request_size=4 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 09 00 00 [07:51:24]Write to MH i2c: E2 08 00 5B 04 80 09 00 00 00 00 00 00 D1 [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 5B 04 00 90 00 D3 [07:51:24]RAPDU: 90 00 [07:51:24]wFMCommunicate OK [07:51:24]SAM_PROTO_ClearQueue done [07:51:24]KKMCreateOFDPacket [07:51:24]OFDProtocolAddRootSTLVToBuf [07:51:24]FM_MakeSignedData [07:51:24]FM_MakeSignedData [07:51:24]SAM_PROTO_SignData [07:51:24]wFMCommunicate request_size=4 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 0D 01 02 [07:51:24]Write to MH i2c: E2 08 00 5C 04 80 0D 01 02 00 00 00 00 D9 [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 5C 04 00 90 00 D4 [07:51:24]RAPDU: 90 00 [07:51:24]wFMCommunicate OK [07:51:24]wFMCommunicate request_size=255 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 02 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 7D EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 79 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 [07:51:24]Write to MH i2c: E2 02 01 5D 04 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 02 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 7D EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 79 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 00 00 E5 [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 5D 04 00 90 00 D5 [07:51:24]RAPDU: 90 00 [07:51:24]wFMCommunicate OK [07:51:24]wFMCommunicate request_size=38 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7E 00 00 35 04 06 00 BF BD D5 FF 9F ED [07:51:24]Write to MH i2c: E2 29 00 5E 04 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7E 00 00 35 04 06 00 BF BD D5 FF 9F ED 00 00 3C [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 03 00 5E 04 00 90 00 D6 [07:51:24]RAPDU: 90 00 [07:51:24]wFMCommunicate OK [07:51:24]wFMCommunicate request_size=4 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 0D 03 02 [07:51:24]Write to MH i2c: E2 08 00 5F 04 80 0D 03 02 00 00 00 00 DE [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 0B 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 0B 00 5F 04 00 F1 3E 7E 24 E1 50 47 E5 90 00 0D [07:51:24]RAPDU: F1 3E 7E 24 E1 50 47 E5 90 00 [07:51:24]wFMCommunicate OK [07:51:24]SAM_PROTO_SignData done [07:51:24]FM_MakeSignedData done [07:51:24]CreateOFDProtocolMessage [07:51:24]wFMCommunicate request_size=4 [07:51:24]MH_SAM_APDU [07:51:24]CAPDU: 80 11 00 00 [07:51:24]Write to MH i2c: E2 08 00 60 04 80 11 00 00 00 00 00 00 DE [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:24]Read from MH i2c: E2 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 17 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: E2 17 00 60 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 34 [07:51:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:51:24]wFMCommunicate OK [07:51:24]CreateOFDProtocolMessage done [07:51:24]OFDSenderStorePacket 32378 [07:51:24]StoreOFDPacket docnum=32378 [07:51:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2B 01 00 00 E5 56 23 01 81 CD 5A 03 01 00 03 00 17 01 1E 04 01 00 02 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 7D EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 79 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7E 00 00 35 04 06 00 BF BD D5 FF 9F ED F1 3E 7E 24 E1 50 47 E5 [07:51:24]CheckFolder [07:51:24]dirname=/storage/ofd_packets [07:51:24]CheckFolder done [07:51:24]ProducePacketName [07:51:24]name=ofd_packets/00032378 [07:51:24]NVStorageSaveData ofd_packets/00032378 [07:51:24]File name is /storage/ofd_packets/00032378 [07:51:24]Write 329 bytes [07:51:24]NVStorageSaveData done [07:51:24]OFDSenderStorePacket done [07:51:24]KKMCreateOFDPacket done [07:51:24]NVStorageSaveData kkm_last_timestamp [07:51:24]File name is /storage/kkm_last_timestamp [07:51:24]Write 4 bytes [07:51:24]NVStorageSaveData done [07:51:24]ExternCall_PrintAddStr [07:51:24]wPrintStart [07:51:24]Write to MH i2c: 01 00 00 61 04 65 [07:51:24]Write i2c OK [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: 01 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: 01 07 00 [07:51:24]MH_I2C_Read... [07:51:24]Read from MH i2c: 01 07 00 61 04 00 00 00 00 00 FF 0F 7A [07:51:24]RasterBufferAndPrint [07:51:24]line Счет N : (1)6543174 [07:51:24]line ИНН: 02508201610067 [07:51:24]line Контрольно-Кассовый Чек [07:51:24]line ВОЗВРАТ ПРОДАЖИ [07:51:24]line ТРК (МРК, ГНК) : 22 [07:51:24]line Товар: 2710124130 [07:51:24]line Аи-92-К-5 [07:51:24]line 10.000 * 64.20 [07:51:24]line = 642.00 [07:51:24]line НДС 12% НСП 1% [07:51:24]line > о реализуемом товаре [07:51:24]line ИТОГО: 642.00 [07:51:24]line НСП 1% : 5.68 [07:51:24]line НДС 12% : 68.18 [07:51:24]line Наличными: 642.00 [07:51:24]line Безнал.: 0.00 [07:51:24]line Место: АЗС № 96 "Партнер Нефть" [07:51:24]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [07:51:24]line СНО: Общий режим [07:51:24]line Чек 9 17.02.2025 07:51 [07:51:24]line Смена: 382 ФФД: 1.0 [07:51:24]line ЗНМ: 0300000059 [07:51:24]line РНМ: 0000000000146237 [07:51:24]line Версия ККМ: v1.0 [07:51:24]line ФД осн.: 32377 [07:51:24]line ФМ осн.: 0000000000959282 [07:51:24]line ФМ: 0000000000959282 [07:51:24]line ФД: 32378 [07:51:24]line ФПД: 210822060023789 [07:51:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T075125&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32378&fm=210822060023789&tin=02508201610067®Number=0000000000146237&sum=64200 [07:51:24]OFD Sender: Processing packet 32378 [packets to send 104, broken 103] [07:51:24]ProducePacketName [07:51:24]name=ofd_packets/00032378 [07:51:24]OFD Sender: To server: pG, [07:51:24]CommunicateWithHost lk.salyk.kg:30040 [07:51:24]ConnectInit lk.salyk.kg [07:51:24]written 0, free lines is 4095 [07:51:25]Connected sock=10 [07:51:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2B 01 00 00 E5 56 23 01 81 CD 5A 03 01 00 03 00 17 01 1E 04 01 00 02 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 C8 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 1A 00 00 00 00 07 04 06 00 C8 FA 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 7D EA B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 79 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7E 00 00 35 04 06 00 BF BD D5 FF 9F ED F1 3E 7E 24 E1 50 47 E5 [07:51:25]Write to MH i2c: 01 00 00 8B 04 8F [07:51:25]Write i2c OK [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: 01 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: 01 07 00 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: 01 07 00 8B 04 00 00 00 00 00 05 0D A8 [07:51:25]RasterBufferAndPrint [07:51:25]line [07:51:25]line [07:51:25]line [07:51:25]line [07:51:25]line [07:51:25]written 0, free lines is 3339 [07:51:25]MH_Cut [07:51:25]Write to MH i2c: D1 01 00 92 04 01 68 [07:51:25]Write i2c OK [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: D1 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: D1 01 00 [07:51:25]MH_I2C_Read... [07:51:25]Read from MH i2c: D1 01 00 92 04 00 67 [07:51:25]Write to MH i2c: 01 00 00 93 04 97 [07:51:25]Write i2c OK [07:51:25]MH_I2C_Read... [07:51:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 B6 ED 47 00 06 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7E 00 00 F4 03 04 00 21 94 B2 67 B6 04 01 00 00 05 22 50 7D 1C A9 FD C2 [07:51:25]CommunicateWithHost err = 0 [07:51:25]CheckOFDResponse [07:51:25]1017 (14) - 77093643461234 [07:51:25]1041 (16) - 0000000000959282 [07:51:25]1040 (4) - 32378 [07:51:25]1012 (4) - 17.02.2025 01:42 [07:51:25]1206 (1) - 0 [07:51:25]OFD Sender: Remove packet 32378 [07:51:25]ProducePacketName [07:51:25]name=ofd_packets/00032378 [07:51:25]NVStorageDeleteData [07:51:26]*** Cut start [07:51:26]*** Partial cut [07:51:26]*** CUTSNS_PIN = 1 [07:51:26]OFD Sender: No OFD packet to send [07:51:26]*** CUTSNS_PIN = 0 [07:51:26]*** Brake cut motor [07:51:26]Read from MH i2c: 01 [07:51:26]MH_I2C_Read... [07:51:26]*** Stop cut motor [07:51:26]*** Cut end [07:51:26]Read from MH i2c: 01 07 00 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: 01 07 00 93 04 00 00 00 00 00 FF 0F AC [07:51:26]process_action close_receipt done [07:51:26]requested_data is exist [07:51:26]produce_requested_data [07:51:26]requested_item fm.sn is exist - process it [07:51:26]wFMCommunicate request_size=4 [07:51:26]MH_SAM_APDU [07:51:26]CAPDU: 80 11 00 00 [07:51:26]Write to MH i2c: E2 08 00 94 04 80 11 00 00 00 00 00 00 12 [07:51:26]Write i2c OK [07:51:26]MH_I2C_Read... [07:51:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:51:26]Read from MH i2c: E2 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 17 00 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 17 00 94 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 68 [07:51:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [07:51:26]wFMCommunicate OK [07:51:26]requested_item fd.num is exist - process it [07:51:26]SAM_PROTO_GetFieldsCounters [07:51:26]wFMCommunicate request_size=4 [07:51:26]MH_SAM_APDU [07:51:26]CAPDU: 80 13 00 00 [07:51:26]Write to MH i2c: E2 08 00 95 04 80 13 00 00 00 00 00 00 15 [07:51:26]Write i2c OK [07:51:26]MH_I2C_Read... [07:51:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:51:26]Read from MH i2c: E2 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 62 00 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 62 00 95 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [07:51:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:51:26]wFMCommunicate OK [07:51:26]SAM_PROTO_GetFieldsCounters done [07:51:26]requested_item shift.num is exist - process it [07:51:26]requested_item shift.opened is exist - process it [07:51:26]req_shift_opened [07:51:26]FM_GetShiftState [07:51:26]SAM_PROTO_GetShiftState [07:51:26]wFMCommunicate request_size=4 [07:51:26]MH_SAM_APDU [07:51:26]CAPDU: 80 13 01 00 [07:51:26]Write to MH i2c: E2 08 00 96 04 80 13 01 00 00 00 00 00 17 [07:51:26]Write i2c OK [07:51:26]MH_I2C_Read... [07:51:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:51:26]Read from MH i2c: E2 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 0E 00 [07:51:26]MH_I2C_Read... [07:51:26]Read from MH i2c: E2 0E 00 96 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FD [07:51:26]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [07:51:26]wFMCommunicate OK [07:51:26]SAM_PROTO_GetShiftState done [07:51:26]FM_GetShiftState done [07:51:26]req_shift_opened done [07:51:26]requested_item shift.open_date is exist - process it [07:51:26]req_shift_open_date [07:51:26]req_shift_open_date done [07:51:26]produce_requested_data done [07:51:26]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32378,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [07:51:26]process_action_free close_receipt [07:51:26]json_value_free [07:51:26]json_value_free done [07:51:26]process_json_proto returns [07:51:26]Send response to host [07:51:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32378,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [07:51:26]free response buf [07:51:26]execute_script done [07:51:26]execute_script returns [07:51:26]free content buf [07:51:26]Sock 9.Close socket [07:51:26]Sock 9.Thread stoped [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [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:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]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:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:28]OFD Sender: No OFD packet to send [08:21:33]OFD Sender: No OFD packet to send [08:21:38]OFD Sender: No OFD packet to send [08:21:43]OFD Sender: No OFD packet to send [08:21:48]OFD Sender: No OFD packet to send [08:21:53]OFD Sender: No OFD packet to send [08:21:58]OFD Sender: No OFD packet to send [08:22:03]OFD Sender: No OFD packet to send [08:22:08]OFD Sender: No OFD packet to send [08:22:13]OFD Sender: No OFD packet to send [08:22:18]OFD Sender: No OFD packet to send [08:22:23]OFD Sender: No OFD packet to send [08:22:28]OFD Sender: No OFD packet to send [08:22:33]OFD Sender: No OFD packet to send [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:18]OFD Sender: No OFD packet to send [08:23:23]OFD Sender: No OFD packet to send [08:23:28]OFD Sender: No OFD packet to send [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:05]accept exits with 7 [08:24:05]New connection [08:24:05]New thread 3067198820 created [08:24:05]Thread 3067342180 joined [08:24:05]Waiting for new connection... [08:24:05] Sock 7.Parse request [08:24:05]Sock 7.Check first char [08:24:05]Sock 7.First char is OK [08:24:05]request: POST /json_proto HTTP/1.0 [08:24:05]Method: POST [08:24:05]URL: /json_proto [08:24:05]Method is POST - this is cgi request [08:24:05]url: /json_proto [08:24:05]query_string will be loaded in cgi processing [08:24:05]execute_cgi json_proto POST (null) [08:24:05]execute_cgi path=json_proto method=POST [08:24:05]POST find Content-Length [08:24:05]Host: 172.17.47.135:8080 [08:24:05]Content-Length: 915 [08:24:05]Content-Type: application/json [08:24:05] [08:24:05]POST finish read [08:24:05]Found Content-Length = 915 [08:24:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130639", "tax_sys" : 0, "items" : [ { "code": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B.", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 158.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:05]execute_script... [08:24: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)130639", "tax_sys" : 0, "items" : [ { "code": "4690329000476", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B.", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 158.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:05]POST & json_proto [08:24:05]process_json_proto [08:24:05]json parsed OK: [08:24:05]protocol is kg_v1.0 [08:24:05]action value=close_receipt [08:24:05]process_action close_receipt [08:24:05]cmd_close_receipt [08:24:05]MH_GetDate [08:24:05]Write to MH i2c: F0 00 00 97 04 8A [08:24:05]Write i2c OK [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 09 00 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: F0 09 00 97 04 00 27 F2 B2 67 19 D8 DE 66 FA [08:24:05]GetLastDocTimeStamp 1739778685 [08:24:05]current date 1739780647 [08:24:05]FM_GetShiftState [08:24:05]SAM_PROTO_GetShiftState [08:24:05]wFMCommunicate request_size=4 [08:24:05]MH_SAM_APDU [08:24:05]CAPDU: 80 13 01 00 [08:24:05]Write to MH i2c: E2 08 00 98 04 80 13 01 00 00 00 00 00 19 [08:24:05]Write i2c OK [08:24:05]MH_I2C_Read... [08:24:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:05]Read from MH i2c: E2 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: E2 0E 00 [08:24:05]MH_I2C_Read... [08:24:05]Read from MH i2c: E2 0E 00 98 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FF [08:24:05]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:24:05]wFMCommunicate OK [08:24:05]SAM_PROTO_GetShiftState done [08:24:05]FM_GetShiftState done [08:24:05]opened in 1739750979 [08:24:05]opened+sec_in_day 1739837379 [08:24:05]quantity*price = 2400 [08:24:05]sum+1 = 2401 [08:24:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4620006996716 Водка Талка 0,1л. 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 158.00 НСП 1% : 1.40 НДС 12% : 16.78 Наличными: 158.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 10 17.02.2025 08:24 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32379 ФПД: 238333591963250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T082407&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32379&fm=238333591963250&tin=02508201610067®Number=0000000000146237&sum=15800 0 [08:24:06]StoreToDocumentArchive [08:24:06]shift 382 fd 32379 [08:24:06]save to /storage/0382/doc_00032379 [08:24:06]save last doc name /storage/0382/doc_00032379 to /storage/kkm_last_doc_name [08:24:06]save OK [08:24:06]Clear old archive folders... [08:24:06]ProcessDocumentItem done err = 0, tmpTLVsize=383 [08:24:06]tlvbuf is 003369D0 [08:24:06]SAM_PROTO_ClearQueue [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 09 00 00 [08:24:06]Write to MH i2c: E2 08 00 A5 04 80 09 00 00 00 00 00 00 1B [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 A5 04 00 90 00 1D [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]SAM_PROTO_ClearQueue done [08:24:06]KKMCreateOFDPacket [08:24:06]OFDProtocolAddRootSTLVToBuf [08:24:06]FM_MakeSignedData [08:24:06]FM_MakeSignedData [08:24:06]SAM_PROTO_SignData [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 01 02 [08:24:06]Write to MH i2c: E2 08 00 A6 04 80 0D 01 02 00 00 00 00 23 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 A6 04 00 90 00 1E [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=255 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C [08:24:06]Write to MH i2c: E2 02 01 A7 04 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 94 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 A7 04 00 90 00 1F [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=142 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 06 00 00 00 00 07 04 06 00 B8 3D 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 27 F2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7E 00 00 35 04 06 00 D8 C3 5D 16 46 72 [08:24:06]Write to MH i2c: E2 91 00 A8 04 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 06 00 00 00 00 07 04 06 00 B8 3D 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 27 F2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7E 00 00 35 04 06 00 D8 C3 5D 16 46 72 00 00 69 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 03 00 A8 04 00 90 00 20 [08:24:06]RAPDU: 90 00 [08:24:06]wFMCommunicate OK [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 0D 03 02 [08:24:06]Write to MH i2c: E2 08 00 A9 04 80 0D 03 02 00 00 00 00 28 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 0B 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 0B 00 A9 04 00 44 B6 68 21 37 5E 12 27 90 00 7A [08:24:06]RAPDU: 44 B6 68 21 37 5E 12 27 90 00 [08:24:06]wFMCommunicate OK [08:24:06]SAM_PROTO_SignData done [08:24:06]FM_MakeSignedData done [08:24:06]CreateOFDProtocolMessage [08:24:06]wFMCommunicate request_size=4 [08:24:06]MH_SAM_APDU [08:24:06]CAPDU: 80 11 00 00 [08:24:06]Write to MH i2c: E2 08 00 AA 04 80 11 00 00 00 00 00 00 28 [08:24:06]Write i2c OK [08:24:06]MH_I2C_Read... [08:24:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:06]Read from MH i2c: E2 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 17 00 [08:24:06]MH_I2C_Read... [08:24:06]Read from MH i2c: E2 17 00 AA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7E [08:24:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:24:06]wFMCommunicate OK [08:24:06]CreateOFDProtocolMessage done [08:24:06]OFDSenderStorePacket 32379 [08:24:07]StoreOFDPacket docnum=32379 [08:24:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 93 01 00 00 4B 0B 8B 01 E0 39 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 06 00 00 00 00 07 04 06 00 B8 3D 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 27 F2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7E 00 00 35 04 06 00 D8 C3 5D 16 46 72 44 B6 68 21 37 5E 12 27 [08:24:07]CheckFolder [08:24:07]dirname=/storage/ofd_packets [08:24:07]CheckFolder done [08:24:07]ProducePacketName [08:24:07]name=ofd_packets/00032379 [08:24:07]NVStorageSaveData ofd_packets/00032379 [08:24:07]File name is /storage/ofd_packets/00032379 [08:24:07]Write 433 bytes [08:24:07]NVStorageSaveData done [08:24:07]OFDSenderStorePacket done [08:24:07]KKMCreateOFDPacket done [08:24:07]NVStorageSaveData kkm_last_timestamp [08:24:07]File name is /storage/kkm_last_timestamp [08:24:07]Write 4 bytes [08:24:07]NVStorageSaveData done [08:24:07]ExternCall_PrintAddStr [08:24:07]wPrintStart [08:24:07]Write to MH i2c: 01 00 00 AB 04 AF [08:24:07]OFD Sender: Processing packet 32379 [packets to send 104, broken 103] [08:24:07]ProducePacketName [08:24:07]name=ofd_packets/00032379 [08:24:07]OFD Sender: To server: pG, [08:24:07]CommunicateWithHost lk.salyk.kg:30040 [08:24:07]ConnectInit lk.salyk.kg [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 AB 04 00 00 00 00 00 FF 0F C4 [08:24:07]RasterBufferAndPrint [08:24:07]line Счет N : (3)130639 [08:24:07]line ИНН: 02508201610067 [08:24:07]line Контрольно-Кассовый Чек [08:24:07]line ПРОДАЖА [08:24:07]line Товар: 4690329000476 [08:24:07]line Сух Кириешки шашлык 40г [08:24:07]line 1.000 * 24.00 [08:24:07]line = 24.00 [08:24:07]line НДС 12% НСП 1% [08:24:07]line > о реализуемом товаре [08:24:07]line Товар: 4620006996716 [08:24:07]line Водка Талка 0,1л. [08:24:07]line 1.000 * 134.00 [08:24:07]line = 134.00 [08:24:07]line НДС 12% НСП 1% [08:24:07]line > о реализуемом товаре [08:24:07]line ИТОГО: 158.00 [08:24:07]line НСП 1% : 1.40 [08:24:07]line НДС 12% : 16.78 [08:24:07]line Наличными: 158.00 [08:24:07]line Безнал.: 0.00 [08:24:07]line Место: АЗС № 96 "Партнер Нефть" [08:24:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:24:07]line СНО: Общий режим [08:24:07]line Чек 10 17.02.2025 08:24 [08:24:07]line Смена: 382 ФФД: 1.0 [08:24:07]line ЗНМ: 0300000059 [08:24:07]line РНМ: 0000000000146237 [08:24:07]line Версия ККМ: v1.0 [08:24:07]line ФМ: 0000000000959282 [08:24:07]line ФД: 32379 [08:24:07]line ФПД: 238333591963250 [08:24:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T082407&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32379&fm=238333591963250&tin=02508201610067®Number=0000000000146237&sum=15800 [08:24:07]line 0 [08:24:07]written 0, free lines is 4095 [08:24:07]Connected sock=10 [08:24:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 93 01 00 00 4B 0B 8B 01 E0 39 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 30 34 37 36 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 3D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 06 00 00 00 00 07 04 06 00 B8 3D 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 27 F2 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7E 00 00 35 04 06 00 D8 C3 5D 16 46 72 44 B6 68 21 37 5E 12 27 [08:24:07]Write to MH i2c: 01 00 00 D9 04 DD [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 EA 0C DA [08:24:07]RasterBufferAndPrint [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]line [08:24:07]written 0, free lines is 3312 [08:24:07]MH_Cut [08:24:07]Write to MH i2c: D1 01 00 E0 04 01 B6 [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 01 00 [08:24:07]MH_I2C_Read... [08:24:07]Read from MH i2c: D1 01 00 E0 04 00 B5 [08:24:07]Write to MH i2c: 01 00 00 E1 04 E5 [08:24:07]Write i2c OK [08:24:07]MH_I2C_Read... [08:24:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C2 A6 47 00 F3 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7E 00 00 F4 03 04 00 CC 9B B2 67 B6 04 01 00 00 04 A1 AC F2 67 FF 16 DE [08:24:08]CommunicateWithHost err = 0 [08:24:08]CheckOFDResponse [08:24:08]1017 (14) - 77093643461234 [08:24:08]1041 (16) - 0000000000959282 [08:24:08]1040 (4) - 32379 [08:24:08]1012 (4) - 17.02.2025 02:15 [08:24:08]1206 (1) - 0 [08:24:08]OFD Sender: Remove packet 32379 [08:24:08]ProducePacketName [08:24:08]name=ofd_packets/00032379 [08:24:08]NVStorageDeleteData [08:24:08]*** Cut start [08:24:08]*** Partial cut [08:24:08]*** CUTSNS_PIN = 1 [08:24:08]*** CUTSNS_PIN = 0 [08:24:08]OFD Sender: No OFD packet to send [08:24:08]*** Brake cut motor [08:24:09]Read from MH i2c: 01 [08:24:09]MH_I2C_Read... [08:24:09]*** Stop cut motor [08:24:09]*** Cut end [08:24:09]Read from MH i2c: 01 07 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: 01 07 00 E1 04 00 00 00 00 00 FF 0F FA [08:24:09]process_action close_receipt done [08:24:09]requested_data is exist [08:24:09]produce_requested_data [08:24:09]requested_item fm.sn is exist - process it [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 11 00 00 [08:24:09]Write to MH i2c: E2 08 00 E2 04 80 11 00 00 00 00 00 00 60 [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 17 00 [08:24:09]MH_I2C_Read... [08:24:09]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 35 39 32 38 32 90 00 B6 [08:24:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:24:09]wFMCommunicate OK [08:24:09]requested_item fd.num is exist - process it [08:24:09]SAM_PROTO_GetFieldsCounters [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 13 00 00 [08:24:09]Write to MH i2c: E2 08 00 E3 04 80 13 00 00 00 00 00 00 63 [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 62 00 [08:24:09]MH_I2C_Read... [08:24:09]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 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [08:24:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:24:09]wFMCommunicate OK [08:24:09]SAM_PROTO_GetFieldsCounters done [08:24:09]requested_item shift.num is exist - process it [08:24:09]requested_item shift.opened is exist - process it [08:24:09]req_shift_opened [08:24:09]FM_GetShiftState [08:24:09]SAM_PROTO_GetShiftState [08:24:09]wFMCommunicate request_size=4 [08:24:09]MH_SAM_APDU [08:24:09]CAPDU: 80 13 01 00 [08:24:09]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [08:24:09]Write i2c OK [08:24:09]MH_I2C_Read... [08:24:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:09]Read from MH i2c: E2 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 0E 00 [08:24:09]MH_I2C_Read... [08:24:09]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 4B [08:24:09]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:24:09]wFMCommunicate OK [08:24:09]SAM_PROTO_GetShiftState done [08:24:09]FM_GetShiftState done [08:24:09]req_shift_opened done [08:24:09]requested_item shift.open_date is exist - process it [08:24:09]req_shift_open_date [08:24:09]req_shift_open_date done [08:24:09]produce_requested_data done [08:24:09]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32379,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [08:24:09]process_action_free close_receipt [08:24:09]json_value_free [08:24:09]json_value_free done [08:24:09]process_json_proto returns [08:24:09]Send response to host [08:24:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32379,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [08:24:09]free response buf [08:24:09]execute_script done [08:24:09]execute_script returns [08:24:09]free content buf [08:24:09]Sock 7.Close socket [08:24:09]Sock 7.Thread stoped [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:28]accept exits with 9 [08:35:28]New connection [08:35:28]New thread 3067342180 created [08:35:28]Thread 3067198820 joined [08:35:28]Waiting for new connection... [08:35:28] Sock 9.Parse request [08:35:28]Sock 9.Check first char [08:35:28]Sock 9.First char is OK [08:35:28]request: POST /json_proto HTTP/1.0 [08:35:28]Method: POST [08:35:28]URL: /json_proto [08:35:28]Method is POST - this is cgi request [08:35:28]url: /json_proto [08:35:28]query_string will be loaded in cgi processing [08:35:28]execute_cgi json_proto POST (null) [08:35:28]execute_cgi path=json_proto method=POST [08:35:28]POST find Content-Length [08:35:28]Host: 172.17.47.135:8080 [08:35:28]Content-Length: 646 [08:35:28]Content-Type: application/json [08:35:28] [08:35:28]POST finish read [08:35:28]Found Content-Length = 646 [08:35:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130640", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:35:28]execute_script... [08:35:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130640", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:35:28]POST & json_proto [08:35:28]process_json_proto [08:35:28]json parsed OK: [08:35:28]protocol is kg_v1.0 [08:35:28]action value=close_receipt [08:35:28]process_action close_receipt [08:35:28]cmd_close_receipt [08:35:28]MH_GetDate [08:35:28]Write to MH i2c: F0 00 00 E5 04 D8 [08:35:28]Write i2c OK [08:35:28]MH_I2C_Read... [08:35:28]Read from MH i2c: F0 [08:35:28]MH_I2C_Read... [08:35:28]Read from MH i2c: F0 09 00 [08:35:28]MH_I2C_Read... [08:35:28]Read from MH i2c: F0 09 00 E5 04 00 D3 F4 B2 67 19 D8 DE 66 F6 [08:35:28]GetLastDocTimeStamp 1739780647 [08:35:28]current date 1739781331 [08:35:28]FM_GetShiftState [08:35:28]SAM_PROTO_GetShiftState [08:35:28]wFMCommunicate request_size=4 [08:35:28]MH_SAM_APDU [08:35:28]CAPDU: 80 13 01 00 [08:35:28]Write to MH i2c: E2 08 00 E6 04 80 13 01 00 00 00 00 00 67 [08:35:28]Write i2c OK [08:35:28]MH_I2C_Read... [08:35:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:35:29]Read from MH i2c: E2 [08:35:29]MH_I2C_Read... [08:35:29]Read from MH i2c: E2 0E 00 [08:35:29]MH_I2C_Read... [08:35:29]Read from MH i2c: E2 0E 00 E6 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 4D [08:35:29]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:35:29]wFMCommunicate OK [08:35:29]SAM_PROTO_GetShiftState done [08:35:29]FM_GetShiftState done [08:35:29]opened in 1739750979 [08:35:29]opened+sec_in_day 1739837379 [08:35:29]quantity*price = 13900 [08:35:29]sum+1 = 13901 [08:35:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 11 17.02.2025 08:35 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32380 ФПД: 131379317455241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T083531&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32380&fm=131379317455241&tin=02508201610067®Number=0000000000146237&sum=13900 0 [08:35:30]StoreToDocumentArchive [08:35:30]shift 382 fd 32380 [08:35:30]save to /storage/0382/doc_00032380 [08:35:30]save last doc name /storage/0382/doc_00032380 to /storage/kkm_last_doc_name [08:35:30]save OK [08:35:30]Clear old archive folders... [08:35:30]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:35:30]tlvbuf is 00343460 [08:35:30]SAM_PROTO_ClearQueue [08:35:30]wFMCommunicate request_size=4 [08:35:30]MH_SAM_APDU [08:35:30]CAPDU: 80 09 00 00 [08:35:30]Write to MH i2c: E2 08 00 F3 04 80 09 00 00 00 00 00 00 69 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:35:30]Read from MH i2c: E2 03 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 F3 04 00 90 00 6B [08:35:30]RAPDU: 90 00 [08:35:30]wFMCommunicate OK [08:35:30]SAM_PROTO_ClearQueue done [08:35:30]KKMCreateOFDPacket [08:35:30]OFDProtocolAddRootSTLVToBuf [08:35:30]FM_MakeSignedData [08:35:30]FM_MakeSignedData [08:35:30]SAM_PROTO_SignData [08:35:30]wFMCommunicate request_size=4 [08:35:30]MH_SAM_APDU [08:35:30]CAPDU: 80 0D 01 02 [08:35:30]Write to MH i2c: E2 08 00 F4 04 80 0D 01 02 00 00 00 00 71 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 F4 04 00 90 00 6C [08:35:30]RAPDU: 90 00 [08:35:30]wFMCommunicate OK [08:35:30]wFMCommunicate request_size=255 [08:35:30]MH_SAM_APDU [08:35:30]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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0B 00 00 00 F4 03 04 00 D3 F4 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 [08:35:30]Write to MH i2c: E2 02 01 F5 04 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0B 00 00 00 F4 03 04 00 D3 F4 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 00 00 70 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 F5 04 00 90 00 6D [08:35:30]RAPDU: 90 00 [08:35:30]wFMCommunicate OK [08:35:30]wFMCommunicate request_size=41 [08:35:30]MH_SAM_APDU [08:35:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7E 00 00 35 04 06 00 77 7D 21 8C 39 89 [08:35:30]Write to MH i2c: E2 2C 00 F6 04 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7E 00 00 35 04 06 00 77 7D 21 8C 39 89 00 00 A3 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 03 00 F6 04 00 90 00 6E [08:35:30]RAPDU: 90 00 [08:35:30]wFMCommunicate OK [08:35:30]wFMCommunicate request_size=4 [08:35:30]MH_SAM_APDU [08:35:30]CAPDU: 80 0D 03 02 [08:35:30]Write to MH i2c: E2 08 00 F7 04 80 0D 03 02 00 00 00 00 76 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 0B 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 0B 00 F7 04 00 73 56 EC BA 08 D4 56 10 90 00 28 [08:35:30]RAPDU: 73 56 EC BA 08 D4 56 10 90 00 [08:35:30]wFMCommunicate OK [08:35:30]SAM_PROTO_SignData done [08:35:30]FM_MakeSignedData done [08:35:30]CreateOFDProtocolMessage [08:35:30]wFMCommunicate request_size=4 [08:35:30]MH_SAM_APDU [08:35:30]CAPDU: 80 11 00 00 [08:35:30]Write to MH i2c: E2 08 00 F8 04 80 11 00 00 00 00 00 00 76 [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:35:30]Read from MH i2c: E2 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 17 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: E2 17 00 F8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 CC [08:35:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:35:30]wFMCommunicate OK [08:35:30]CreateOFDProtocolMessage done [08:35:30]OFDSenderStorePacket 32380 [08:35:30]StoreOFDPacket docnum=32380 [08:35:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 BF 9A 26 01 97 C6 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0B 00 00 00 F4 03 04 00 D3 F4 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7E 00 00 35 04 06 00 77 7D 21 8C 39 89 73 56 EC BA 08 D4 56 10 [08:35:30]CheckFolder [08:35:30]dirname=/storage/ofd_packets [08:35:30]CheckFolder done [08:35:30]ProducePacketName [08:35:30]name=ofd_packets/00032380 [08:35:30]NVStorageSaveData ofd_packets/00032380 [08:35:30]File name is /storage/ofd_packets/00032380 [08:35:30]Write 332 bytes [08:35:30]NVStorageSaveData done [08:35:30]OFDSenderStorePacket done [08:35:30]KKMCreateOFDPacket done [08:35:30]NVStorageSaveData kkm_last_timestamp [08:35:30]File name is /storage/kkm_last_timestamp [08:35:30]Write 4 bytes [08:35:30]NVStorageSaveData done [08:35:30]ExternCall_PrintAddStr [08:35:30]wPrintStart [08:35:30]Write to MH i2c: 01 00 00 F9 04 FD [08:35:30]Write i2c OK [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: 01 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: 01 07 00 [08:35:30]MH_I2C_Read... [08:35:30]Read from MH i2c: 01 07 00 F9 04 00 00 00 00 00 FF 0F 12 [08:35:30]RasterBufferAndPrint [08:35:30]line Счет N : (3)130640 [08:35:30]line ИНН: 02508201610067 [08:35:30]line Контрольно-Кассовый Чек [08:35:30]line ПРОДАЖА [08:35:30]line Товар: 2000036220012 [08:35:30]line Кофе Капучино XL(GABB TRADE) [08:35:30]line 1.000 * 139.00 [08:35:30]line = 139.00 [08:35:30]line НДС 12% НСП 1% [08:35:30]line > о реализуемом товаре [08:35:30]line ИТОГО: 139.00 [08:35:30]line НСП 1% : 1.23 [08:35:30]line НДС 12% : 14.76 [08:35:30]line Наличными: 139.00 [08:35:30]line Безнал.: 0.00 [08:35:30]line Место: АЗС № 96 "Партнер Нефть" [08:35:30]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:35:30]line СНО: Общий режим [08:35:30]line Чек 11 17.02.2025 08:35 [08:35:30]line Смена: 382 ФФД: 1.0 [08:35:30]line ЗНМ: 0300000059 [08:35:30]line РНМ: 0000000000146237 [08:35:30]line Версия ККМ: v1.0 [08:35:30]line ФМ: 0000000000959282 [08:35:30]line ФД: 32380 [08:35:30]line ФПД: 131379317455241 [08:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T083531&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32380&fm=131379317455241&tin=02508201610067®Number=0000000000146237&sum=13900 [08:35:31]line 0 [08:35:31]OFD Sender: Processing packet 32380 [packets to send 104, broken 103] [08:35:31]ProducePacketName [08:35:31]name=ofd_packets/00032380 [08:35:31]OFD Sender: To server: pG, [08:35:31]CommunicateWithHost lk.salyk.kg:30040 [08:35:31]ConnectInit lk.salyk.kg [08:35:31]written 0, free lines is 4095 [08:35:31]Connected sock=7 [08:35:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 BF 9A 26 01 97 C6 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0B 00 00 00 F4 03 04 00 D3 F4 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7E 00 00 35 04 06 00 77 7D 21 8C 39 89 73 56 EC BA 08 D4 56 10 [08:35:31]Write to MH i2c: 01 00 00 22 05 27 [08:35:31]Write i2c OK [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: 01 [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: 01 07 00 [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: 01 07 00 22 05 00 00 00 00 00 12 0D 4D [08:35:31]RasterBufferAndPrint [08:35:31]line [08:35:31]line [08:35:31]line [08:35:31]line [08:35:31]line [08:35:31]written 0, free lines is 3352 [08:35:31]MH_Cut [08:35:31]Write to MH i2c: D1 01 00 29 05 01 00 [08:35:31]Write i2c OK [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: D1 [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: D1 01 00 [08:35:31]MH_I2C_Read... [08:35:31]Read from MH i2c: D1 01 00 29 05 00 FF [08:35:31]Write to MH i2c: 01 00 00 2A 05 2F [08:35:31]Write i2c OK [08:35:31]MH_I2C_Read... [08:35:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C2 30 47 00 3C 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 7C 7E 00 00 F4 03 04 00 77 9E B2 67 B6 04 01 00 00 26 D0 F6 E3 0F BD 7A 13 [08:35:31]CommunicateWithHost err = 0 [08:35:31]CheckOFDResponse [08:35:31]1017 (14) - 77093643461234 [08:35:31]1041 (16) - 0000000000959282 [08:35:31]1040 (4) - 32380 [08:35:31]1012 (4) - 17.02.2025 02:27 [08:35:31]1206 (1) - 0 [08:35:31]OFD Sender: Remove packet 32380 [08:35:31]ProducePacketName [08:35:31]name=ofd_packets/00032380 [08:35:31]NVStorageDeleteData [08:35:32]*** Cut start [08:35:32]*** Partial cut [08:35:32]*** CUTSNS_PIN = 1 [08:35:32]*** CUTSNS_PIN = 0 [08:35:32]OFD Sender: No OFD packet to send [08:35:32]*** Brake cut motor [08:35:32]Read from MH i2c: 01 [08:35:32]MH_I2C_Read... [08:35:32]*** Stop cut motor [08:35:32]*** Cut end [08:35:32]Read from MH i2c: 01 07 00 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: 01 07 00 2A 05 00 00 00 00 00 FF 0F 44 [08:35:32]process_action close_receipt done [08:35:32]requested_data is exist [08:35:32]produce_requested_data [08:35:32]requested_item fm.sn is exist - process it [08:35:32]wFMCommunicate request_size=4 [08:35:32]MH_SAM_APDU [08:35:32]CAPDU: 80 11 00 00 [08:35:32]Write to MH i2c: E2 08 00 2B 05 80 11 00 00 00 00 00 00 AA [08:35:32]Write i2c OK [08:35:32]MH_I2C_Read... [08:35:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:35:32]Read from MH i2c: E2 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 17 00 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 17 00 2B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [08:35:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:35:32]wFMCommunicate OK [08:35:32]requested_item fd.num is exist - process it [08:35:32]SAM_PROTO_GetFieldsCounters [08:35:32]wFMCommunicate request_size=4 [08:35:32]MH_SAM_APDU [08:35:32]CAPDU: 80 13 00 00 [08:35:32]Write to MH i2c: E2 08 00 2C 05 80 13 00 00 00 00 00 00 AD [08:35:32]Write i2c OK [08:35:32]MH_I2C_Read... [08:35:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:35:32]Read from MH i2c: E2 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 62 00 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 62 00 2C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [08:35:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:35:32]wFMCommunicate OK [08:35:32]SAM_PROTO_GetFieldsCounters done [08:35:32]requested_item shift.num is exist - process it [08:35:32]requested_item shift.opened is exist - process it [08:35:32]req_shift_opened [08:35:32]FM_GetShiftState [08:35:32]SAM_PROTO_GetShiftState [08:35:32]wFMCommunicate request_size=4 [08:35:32]MH_SAM_APDU [08:35:32]CAPDU: 80 13 01 00 [08:35:32]Write to MH i2c: E2 08 00 2D 05 80 13 01 00 00 00 00 00 AF [08:35:32]Write i2c OK [08:35:32]MH_I2C_Read... [08:35:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:35:32]Read from MH i2c: E2 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 0E 00 [08:35:32]MH_I2C_Read... [08:35:32]Read from MH i2c: E2 0E 00 2D 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 95 [08:35:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:35:32]wFMCommunicate OK [08:35:32]SAM_PROTO_GetShiftState done [08:35:32]FM_GetShiftState done [08:35:32]req_shift_opened done [08:35:32]requested_item shift.open_date is exist - process it [08:35:32]req_shift_open_date [08:35:32]req_shift_open_date done [08:35:32]produce_requested_data done [08:35:32]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32380,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [08:35:32]process_action_free close_receipt [08:35:32]json_value_free [08:35:32]json_value_free done [08:35:32]process_json_proto returns [08:35:32]Send response to host [08:35:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32380,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [08:35:32]free response buf [08:35:32]execute_script done [08:35:32]execute_script returns [08:35:32]free content buf [08:35:32]Sock 9.Close socket [08:35:32]Sock 9.Thread stoped [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:34]accept exits with 10 [08:43:34]New connection [08:43:34]New thread 3067198820 created [08:43:34]Thread 3067342180 joined [08:43:34]Waiting for new connection... [08:43:34] Sock 10.Parse request [08:43:34]Sock 10.Check first char [08:43:34]Sock 10.First char is OK [08:43:34]request: POST /json_proto HTTP/1.0 [08:43:34]Method: POST [08:43:34]URL: /json_proto [08:43:34]Method is POST - this is cgi request [08:43:34]url: /json_proto [08:43:34]query_string will be loaded in cgi processing [08:43:34]execute_cgi json_proto POST (null) [08:43:34]execute_cgi path=json_proto method=POST [08:43:34]POST find Content-Length [08:43:34]Host: 172.17.47.135:8080 [08:43:34]Content-Length: 628 [08:43:34]Content-Type: application/json [08:43:34] [08:43:34]POST finish read [08:43:34]Found Content-Length = 628 [08:43:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130641", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:34]execute_script... [08:43: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)130641", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:34]POST & json_proto [08:43:34]process_json_proto [08:43:34]json parsed OK: [08:43:34]protocol is kg_v1.0 [08:43:34]action value=close_receipt [08:43:34]process_action close_receipt [08:43:34]cmd_close_receipt [08:43:34]MH_GetDate [08:43:34]Write to MH i2c: F0 00 00 2E 05 22 [08:43:34]Write i2c OK [08:43:34]MH_I2C_Read... [08:43:34]Read from MH i2c: F0 [08:43:34]MH_I2C_Read... [08:43:34]Read from MH i2c: F0 09 00 [08:43:34]MH_I2C_Read... [08:43:34]Read from MH i2c: F0 09 00 2E 05 00 B8 F6 B2 67 19 D8 DE 66 27 [08:43:34]GetLastDocTimeStamp 1739781331 [08:43:34]current date 1739781816 [08:43:34]FM_GetShiftState [08:43:34]SAM_PROTO_GetShiftState [08:43:34]wFMCommunicate request_size=4 [08:43:34]MH_SAM_APDU [08:43:34]CAPDU: 80 13 01 00 [08:43:34]Write to MH i2c: E2 08 00 2F 05 80 13 01 00 00 00 00 00 B1 [08:43:34]Write i2c OK [08:43:34]MH_I2C_Read... [08:43:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:34]Read from MH i2c: E2 [08:43:34]MH_I2C_Read... [08:43:34]Read from MH i2c: E2 0E 00 [08:43:34]MH_I2C_Read... [08:43:34]Read from MH i2c: E2 0E 00 2F 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 97 [08:43:34]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:43:34]wFMCommunicate OK [08:43:34]SAM_PROTO_GetShiftState done [08:43:34]FM_GetShiftState done [08:43:34]opened in 1739750979 [08:43:34]opened+sec_in_day 1739837379 [08:43:34]quantity*price = 13900 [08:43:34]sum+1 = 13901 [08:43:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 12 17.02.2025 08:43 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32381 ФПД: 42056429849789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T084336&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32381&fm=42056429849789&tin=02508201610067®Number=0000000000146237&sum=13900 0 [08:43:35]StoreToDocumentArchive [08:43:35]shift 382 fd 32381 [08:43:35]save to /storage/0382/doc_00032381 [08:43:35]save last doc name /storage/0382/doc_00032381 to /storage/kkm_last_doc_name [08:43:35]save OK [08:43:35]Clear old archive folders... [08:43:35]ProcessDocumentItem done err = 0, tmpTLVsize=276 [08:43:35]tlvbuf is 0032BFC0 [08:43:35]SAM_PROTO_ClearQueue [08:43:35]wFMCommunicate request_size=4 [08:43:35]MH_SAM_APDU [08:43:35]CAPDU: 80 09 00 00 [08:43:35]Write to MH i2c: E2 08 00 3C 05 80 09 00 00 00 00 00 00 B3 [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 3C 05 00 90 00 B5 [08:43:35]RAPDU: 90 00 [08:43:35]wFMCommunicate OK [08:43:35]SAM_PROTO_ClearQueue done [08:43:35]KKMCreateOFDPacket [08:43:35]OFDProtocolAddRootSTLVToBuf [08:43:35]FM_MakeSignedData [08:43:35]FM_MakeSignedData [08:43:35]SAM_PROTO_SignData [08:43:35]wFMCommunicate request_size=4 [08:43:35]MH_SAM_APDU [08:43:35]CAPDU: 80 0D 01 02 [08:43:35]Write to MH i2c: E2 08 00 3D 05 80 0D 01 02 00 00 00 00 BB [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 3D 05 00 90 00 B6 [08:43:35]RAPDU: 90 00 [08:43:35]wFMCommunicate OK [08:43:35]wFMCommunicate request_size=255 [08:43:35]MH_SAM_APDU [08:43:35]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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0C 00 00 00 F4 03 04 00 B8 F6 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 [08:43:35]Write to MH i2c: E2 02 01 3E 05 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0C 00 00 00 F4 03 04 00 B8 F6 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 00 00 AE [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 3E 05 00 90 00 B7 [08:43:35]RAPDU: 90 00 [08:43:35]wFMCommunicate OK [08:43:35]wFMCommunicate request_size=35 [08:43:35]MH_SAM_APDU [08:43:35]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7E 00 00 35 04 06 00 26 40 06 8F CC BD [08:43:35]Write to MH i2c: E2 26 00 3F 05 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7E 00 00 35 04 06 00 26 40 06 8F CC BD 00 00 33 [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 03 00 3F 05 00 90 00 B8 [08:43:35]RAPDU: 90 00 [08:43:35]wFMCommunicate OK [08:43:35]wFMCommunicate request_size=4 [08:43:35]MH_SAM_APDU [08:43:35]CAPDU: 80 0D 03 02 [08:43:35]Write to MH i2c: E2 08 00 40 05 80 0D 03 02 00 00 00 00 C0 [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 0B 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 0B 00 40 05 00 F2 D9 93 48 5C 3E F3 4B 90 00 3F [08:43:35]RAPDU: F2 D9 93 48 5C 3E F3 4B 90 00 [08:43:35]wFMCommunicate OK [08:43:35]SAM_PROTO_SignData done [08:43:35]FM_MakeSignedData done [08:43:35]CreateOFDProtocolMessage [08:43:35]wFMCommunicate request_size=4 [08:43:35]MH_SAM_APDU [08:43:35]CAPDU: 80 11 00 00 [08:43:35]Write to MH i2c: E2 08 00 41 05 80 11 00 00 00 00 00 00 C0 [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:35]Read from MH i2c: E2 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 17 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: E2 17 00 41 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 16 [08:43:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:43:35]wFMCommunicate OK [08:43:35]CreateOFDProtocolMessage done [08:43:35]OFDSenderStorePacket 32381 [08:43:35]StoreOFDPacket docnum=32381 [08:43:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 A2 3F 20 01 F6 61 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0C 00 00 00 F4 03 04 00 B8 F6 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7E 00 00 35 04 06 00 26 40 06 8F CC BD F2 D9 93 48 5C 3E F3 4B [08:43:35]CheckFolder [08:43:35]dirname=/storage/ofd_packets [08:43:35]CheckFolder done [08:43:35]ProducePacketName [08:43:35]name=ofd_packets/00032381 [08:43:35]NVStorageSaveData ofd_packets/00032381 [08:43:35]File name is /storage/ofd_packets/00032381 [08:43:35]Write 326 bytes [08:43:35]NVStorageSaveData done [08:43:35]OFDSenderStorePacket done [08:43:35]KKMCreateOFDPacket done [08:43:35]NVStorageSaveData kkm_last_timestamp [08:43:35]File name is /storage/kkm_last_timestamp [08:43:35]Write 4 bytes [08:43:35]NVStorageSaveData done [08:43:35]ExternCall_PrintAddStr [08:43:35]wPrintStart [08:43:35]Write to MH i2c: 01 00 00 42 05 47 [08:43:35]Write i2c OK [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: 01 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: 01 07 00 [08:43:35]MH_I2C_Read... [08:43:35]Read from MH i2c: 01 07 00 42 05 00 00 00 00 00 FF 0F 5C [08:43:35]RasterBufferAndPrint [08:43:35]line Счет N : (3)130641 [08:43:35]line ИНН: 02508201610067 [08:43:35]line Контрольно-Кассовый Чек [08:43:35]line ПРОДАЖА [08:43:35]line Товар: 2000036230011 [08:43:35]line Кофе Латте XL(GABB TRADE) [08:43:35]line 1.000 * 139.00 [08:43:35]line = 139.00 [08:43:35]line НДС 12% НСП 1% [08:43:35]line > о реализуемом товаре [08:43:35]line ИТОГО: 139.00 [08:43:35]line НСП 1% : 1.23 [08:43:35]line НДС 12% : 14.76 [08:43:35]line Наличными: 139.00 [08:43:35]line Безнал.: 0.00 [08:43:35]line Место: АЗС № 96 "Партнер Нефть" [08:43:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:43:35]line СНО: Общий режим [08:43:35]line Чек 12 17.02.2025 08:43 [08:43:35]line Смена: 382 ФФД: 1.0 [08:43:35]line ЗНМ: 0300000059 [08:43:35]line РНМ: 0000000000146237 [08:43:35]line Версия ККМ: v1.0 [08:43:35]line ФМ: 0000000000959282 [08:43:35]line ФД: 32381 [08:43:35]line ФПД: 42056429849789 [08:43:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T084336&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32381&fm=42056429849789&tin=02508201610067®Number=0000000000146237&sum=13900 [08:43:36]line 0 [08:43:36]OFD Sender: Processing packet 32381 [packets to send 104, broken 103] [08:43:36]ProducePacketName [08:43:36]name=ofd_packets/00032381 [08:43:36]OFD Sender: To server: pG, [08:43:36]CommunicateWithHost lk.salyk.kg:30040 [08:43:36]ConnectInit lk.salyk.kg [08:43:36]written 0, free lines is 4095 [08:43:36]Connected sock=9 [08:43:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 A2 3F 20 01 F6 61 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 0C 00 00 00 F4 03 04 00 B8 F6 B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7E 00 00 35 04 06 00 26 40 06 8F CC BD F2 D9 93 48 5C 3E F3 4B [08:43:36]Write to MH i2c: 01 00 00 6A 05 6F [08:43:36]Write i2c OK [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: 01 [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: 01 07 00 [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: 01 07 00 6A 05 00 00 00 00 00 22 0D A5 [08:43:36]RasterBufferAndPrint [08:43:36]line [08:43:36]line [08:43:36]line [08:43:36]line [08:43:36]line [08:43:36]written 0, free lines is 3369 [08:43:36]MH_Cut [08:43:36]Write to MH i2c: D1 01 00 71 05 01 48 [08:43:36]Write i2c OK [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: D1 [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: D1 01 00 [08:43:36]MH_I2C_Read... [08:43:36]Read from MH i2c: D1 01 00 71 05 00 47 [08:43:36]Write to MH i2c: 01 00 00 72 05 77 [08:43:36]Write i2c OK [08:43:36]MH_I2C_Read... [08:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 FF 75 47 00 5A 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 35 39 32 38 32 10 04 04 00 7D 7E 00 00 F4 03 04 00 5C A0 B2 67 B6 04 01 00 00 A1 41 86 7E 4F 68 08 67 [08:43:36]CommunicateWithHost err = 0 [08:43:36]CheckOFDResponse [08:43:36]1017 (14) - 77093643461234 [08:43:36]1041 (16) - 0000000000959282 [08:43:36]1040 (4) - 32381 [08:43:36]1012 (4) - 17.02.2025 02:35 [08:43:36]1206 (1) - 0 [08:43:36]OFD Sender: Remove packet 32381 [08:43:36]ProducePacketName [08:43:36]name=ofd_packets/00032381 [08:43:36]NVStorageDeleteData [08:43:37]OFD Sender: No OFD packet to send [08:43:37]*** Cut start [08:43:37]*** Partial cut [08:43:37]*** CUTSNS_PIN = 1 [08:43:37]*** CUTSNS_PIN = 0 [08:43:37]*** Brake cut motor [08:43:37]Read from MH i2c: 01 [08:43:37]MH_I2C_Read... [08:43:37]*** Stop cut motor [08:43:37]*** Cut end [08:43:37]Read from MH i2c: 01 07 00 [08:43:37]MH_I2C_Read... [08:43:37]Read from MH i2c: 01 07 00 72 05 00 00 00 00 00 FF 0F 8C [08:43:37]process_action close_receipt done [08:43:37]requested_data is exist [08:43:37]produce_requested_data [08:43:37]requested_item fm.sn is exist - process it [08:43:37]wFMCommunicate request_size=4 [08:43:37]MH_SAM_APDU [08:43:37]CAPDU: 80 11 00 00 [08:43:37]Write to MH i2c: E2 08 00 73 05 80 11 00 00 00 00 00 00 F2 [08:43:37]Write i2c OK [08:43:37]MH_I2C_Read... [08:43:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:37]Read from MH i2c: E2 [08:43:37]MH_I2C_Read... [08:43:37]Read from MH i2c: E2 17 00 [08:43:37]MH_I2C_Read... [08:43:37]Read from MH i2c: E2 17 00 73 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 48 [08:43:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:43:37]wFMCommunicate OK [08:43:37]requested_item fd.num is exist - process it [08:43:37]SAM_PROTO_GetFieldsCounters [08:43:37]wFMCommunicate request_size=4 [08:43:37]MH_SAM_APDU [08:43:37]CAPDU: 80 13 00 00 [08:43:37]Write to MH i2c: E2 08 00 74 05 80 13 00 00 00 00 00 00 F5 [08:43:37]Write i2c OK [08:43:37]MH_I2C_Read... [08:43:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:38]Read from MH i2c: E2 [08:43:38]MH_I2C_Read... [08:43:38]Read from MH i2c: E2 62 00 [08:43:38]MH_I2C_Read... [08:43:38]Read from MH i2c: E2 62 00 74 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [08:43:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:43:38]wFMCommunicate OK [08:43:38]SAM_PROTO_GetFieldsCounters done [08:43:38]requested_item shift.num is exist - process it [08:43:38]requested_item shift.opened is exist - process it [08:43:38]req_shift_opened [08:43:38]FM_GetShiftState [08:43:38]SAM_PROTO_GetShiftState [08:43:38]wFMCommunicate request_size=4 [08:43:38]MH_SAM_APDU [08:43:38]CAPDU: 80 13 01 00 [08:43:38]Write to MH i2c: E2 08 00 75 05 80 13 01 00 00 00 00 00 F7 [08:43:38]Write i2c OK [08:43:38]MH_I2C_Read... [08:43:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:38]Read from MH i2c: E2 [08:43:38]MH_I2C_Read... [08:43:38]Read from MH i2c: E2 0E 00 [08:43:38]MH_I2C_Read... [08:43:38]Read from MH i2c: E2 0E 00 75 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DD [08:43:38]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:43:38]wFMCommunicate OK [08:43:38]SAM_PROTO_GetShiftState done [08:43:38]FM_GetShiftState done [08:43:38]req_shift_opened done [08:43:38]requested_item shift.open_date is exist - process it [08:43:38]req_shift_open_date [08:43:38]req_shift_open_date done [08:43:38]produce_requested_data done [08:43:38]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32381,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [08:43:38]process_action_free close_receipt [08:43:38]json_value_free [08:43:38]json_value_free done [08:43:38]process_json_proto returns [08:43:38]Send response to host [08:43:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32381,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [08:43:38]free response buf [08:43:38]execute_script done [08:43:38]execute_script returns [08:43:38]free content buf [08:43:38]Sock 10.Close socket [08:43:38]Sock 10.Thread stoped [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:27]OFD Sender: No OFD packet to send [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 13 [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]*** Starting fw at address 01020100 (2007E328 010249C5) [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]*** Waiting for read because exit forced [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 540000000057256E (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: 13902319+1725880345=1739782664 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [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 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 14 [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 60 00 FF FF 7F [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 09 FA B2 67 19 D8 DE 66 50 [08:57:45]Current date/time: 17.02.2025 08:57 [08:57:45]FM_Init [08:57:45]wFMConnect [08:57:45]MH_SAM_On [08:57:45]Write to MH i2c: E0 00 00 08 00 E7 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_init finished! [08:57:45]*** atr: [08:57:45]*** 0F 3B D5 18 FF 81 91 FE [08:57:45]*** 1F C3 80 73 C8 21 10 0A [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]*** 00 00 00 00 00 00 00 00 [08:57:45]Read from MH i2c: E0 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E0 10 00 [08:57:45]MH_I2C_Read... [08:57:45]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 [08:57:45]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [08:57:45]wFMCommunicate request_size=10 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [08:57:45]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [08:57:45]RAPDU: 90 00 [08:57:45]wFMCommunicate OK [08:57:45]wFMCommunicate request_size=4 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 11 00 00 [08:57:45]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 17 00 [08:57:45]MH_I2C_Read... [08:57:45]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 35 39 32 38 32 90 00 DA [08:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:57:45]wFMCommunicate OK [08:57:45]Detected FM SN is 0000000000959282 [08:57:45]Stored FM SN is 0000000000959282 [08:57:45]wFMCommunicate request_size=9 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 16 00 00 04 04 F4 00 00 [08:57:45]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 04 F4 00 00 00 00 8A [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [08:57:45]RAPDU: 90 00 [08:57:45]wFMCommunicate OK [08:57:45]FM PIN OK [08:57:45]wFMCommunicate request_size=8 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 14 04 00 03 02 00 01 [08:57:45]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [08:57:45]RAPDU: 90 00 [08:57:45]wFMCommunicate OK [08:57:45]wFMCommunicate request_size=13 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [08:57:45]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 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [08:57:45]RAPDU: 90 00 [08:57:45]wFMCommunicate OK [08:57:45]wFMCommunicate request_size=4 [08:57:45]MH_SAM_APDU [08:57:45]CAPDU: 80 11 00 00 [08:57:45]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:45]Read from MH i2c: E2 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: E2 17 00 [08:57:45]MH_I2C_Read... [08:57:45]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 35 39 32 38 32 90 00 DE [08:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:57:45]wFMCommunicate OK [08:57:45]DocumentArchiveInit [08:57:45]Start Httpd... [08:57:45]Httpd thread 3067841892 created [08:57:45]Write to MH i2c: 01 00 00 0F 00 0F [08:57:45]Write i2c OK [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: 01 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: 01 07 00 [08:57:45]MH_I2C_Read... [08:57:45]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [08:57:45]MH Int Process started [08:57:45]Allocated Socket 8 [08:57:45]Bind OK [08:57:45]Listen OK [08:57:45]httpd running on port 8080 [08:57:45]Waiting for new connection... [08:57:45]OFD Sender: No OFD packet to send [08:57:50]accept exits with 9 [08:57:50]New connection [08:57:50]New thread 3067555172 created [08:57:50]Waiting for new connection... [08:57:50] Sock 9.Parse request [08:57:50]Sock 9.Check first char [08:57:50]Sock 9.First char is OK [08:57:50]request: POST /json_proto HTTP/1.0 [08:57:50]Method: POST [08:57:50]URL: /json_proto [08:57:50]Method is POST - this is cgi request [08:57:50]url: /json_proto [08:57:50]query_string will be loaded in cgi processing [08:57:50]execute_cgi json_proto POST (null) [08:57:50]execute_cgi path=json_proto method=POST [08:57:50]POST find Content-Length [08:57:50]Host: 172.17.47.135:8080 [08:57:50]Content-Length: 215 [08:57:50]Content-Type: application/json [08:57:50] [08:57:50]POST finish read [08:57:50]Found Content-Length = 215 [08:57:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:50]execute_script... [08:57:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:50]POST & json_proto [08:57:50]process_json_proto [08:57:50]json parsed OK: [08:57:50]protocol is kg_v1.0 [08:57:50]action value=get_value [08:57:50]process_action get_value [08:57:50]cmd_get_value [08:57:50]process_action get_value done [08:57:50]requested_data is exist [08:57:50]produce_requested_data [08:57:50]requested_item kkm.sn is exist - process it [08:57:50]requested_item kkm.ver is exist - process it [08:57:50]requested_item fm.sn is exist - process it [08:57:50]wFMCommunicate request_size=4 [08:57:50]MH_SAM_APDU [08:57:50]CAPDU: 80 11 00 00 [08:57:50]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [08:57:50]Write i2c OK [08:57:50]MH_I2C_Read... [08:57:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:50]Read from MH i2c: E2 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 17 00 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E0 [08:57:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:57:50]wFMCommunicate OK [08:57:50]requested_item fd.num is exist - process it [08:57:50]SAM_PROTO_GetFieldsCounters [08:57:50]wFMCommunicate request_size=4 [08:57:50]MH_SAM_APDU [08:57:50]CAPDU: 80 13 00 00 [08:57:50]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [08:57:50]Write i2c OK [08:57:50]MH_I2C_Read... [08:57:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:57:50]Read from MH i2c: E2 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 62 00 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [08:57:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:57:50]wFMCommunicate OK [08:57:50]SAM_PROTO_GetFieldsCounters done [08:57:50]requested_item shift.num is exist - process it [08:57:50]requested_item shift.opened is exist - process it [08:57:50]req_shift_opened [08:57:50]FM_GetShiftState [08:57:50]SAM_PROTO_GetShiftState [08:57:50]wFMCommunicate request_size=4 [08:57:50]MH_SAM_APDU [08:57:50]CAPDU: 80 13 01 00 [08:57:50]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [08:57:50]OFD Sender: No OFD packet to send [08:57:50]Write i2c OK [08:57:50]MH_I2C_Read... [08:57:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:50]Read from MH i2c: E2 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 0E 00 [08:57:50]MH_I2C_Read... [08:57:50]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 75 [08:57:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [08:57:50]wFMCommunicate OK [08:57:50]SAM_PROTO_GetShiftState done [08:57:50]FM_GetShiftState done [08:57:50]req_shift_opened done [08:57:50]requested_item shift.open_date is exist - process it [08:57:50]req_shift_open_date [08:57:50]req_shift_open_date done [08:57:50]produce_requested_data done [08:57:50]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32381,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [08:57:50]process_action_free get_value [08:57:50]json_value_free [08:57:50]json_value_free done [08:57:50]process_json_proto returns [08:57:50]Send response to host [08:57:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32381,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [08:57:50]free response buf [08:57:50]execute_script done [08:57:50]execute_script returns [08:57:50]free content buf [08:57:50]Sock 9.Close socket [08:57:50]Sock 9.Thread stoped [08:57:50]accept exits with 7 [08:57:50]New connection [08:57:50]New thread 3067411812 created [08:57:50]Thread 3067555172 joined [08:57:50]Waiting for new connection... [08:57:50] Sock 7.Parse request [08:57:50]Sock 7.Check first char [08:57:50]Sock 7.First char is OK [08:57:50]request: POST /json_proto HTTP/1.0 [08:57:50]Method: POST [08:57:50]URL: /json_proto [08:57:50]Method is POST - this is cgi request [08:57:50]url: /json_proto [08:57:50]query_string will be loaded in cgi processing [08:57:50]execute_cgi json_proto POST (null) [08:57:50]execute_cgi path=json_proto method=POST [08:57:50]POST find Content-Length [08:57:50]Host: 172.17.47.135:8080 [08:57:50]Content-Length: 331 [08:57:50]Content-Type: application/json [08:57:50] [08:57:50]POST finish read [08:57:50]Found Content-Length = 331 [08:57:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:57:50]execute_script... [08:57:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:57:50]POST & json_proto [08:57:50]process_json_proto [08:57:50]json parsed OK: [08:57:50]protocol is kg_v1.0 [08:57:50]action value=get_value [08:57:50]process_action get_value [08:57:50]cmd_get_value [08:57:50]process_action get_value done [08:57:50]requested_data is exist [08:57:50]produce_requested_data [08:57:50]requested_item fm.sale.total is exist - process it [08:57:50]SAM_PROTO_GetFMData [08:57:50]wFMCommunicate request_size=4 [08:57:50]MH_SAM_APDU [08:57:50]CAPDU: 80 13 03 00 [08:57:50]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [08:57:50]Write i2c OK [08:57:50]MH_I2C_Read... [08:57:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:57:51]Read from MH i2c: E2 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 80 7B 00 00 69 04 A0 00 6F 04 04 00 F9 79 00 00 B1 04 04 00 82 71 93 57 70 04 04 00 FD 5A DE 27 72 04 04 00 85 16 B5 2F 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 28 0B 4D 09 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 BD 61 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 9F [08:57:51]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 80 7B 00 00 69 04 A0 00 6F 04 04 00 F9 79 00 00 B1 04 04 00 82 71 93 57 70 04 04 00 FD 5A DE 27 72 04 04 00 85 16 B5 2F 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 28 0B 4D 09 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 BD 61 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 [08:57:51]wFMCommunicate OK [08:57:51]wFMCommunicate request_size=4 [08:57:51]MH_SAM_APDU [08:57:51]CAPDU: 80 17 00 00 [08:57:51]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [08:57:51]Write i2c OK [08:57:51]MH_I2C_Read... [08:57:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:51]Read from MH i2c: E2 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 77 [08:57:51]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [08:57:51]wFMCommunicate OK [08:57:51]wFMCommunicate request_size=4 [08:57:51]MH_SAM_APDU [08:57:51]CAPDU: 80 17 00 00 [08:57:51]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [08:57:51]Write i2c OK [08:57:51]MH_I2C_Read... [08:57:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:51]Read from MH i2c: E2 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 [08:57:51]MH_I2C_Read... [08:57:51]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [08:57:51]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [08:57:51]wFMCommunicate OK [08:57:51]wFMCommunicate request_size=4 [08:57:51]MH_SAM_APDU [08:57:51]CAPDU: 80 17 00 00 [08:57:51]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [08:57:51]Write i2c OK [08:57:51]MH_I2C_Read... [08:57:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:52]Read from MH i2c: E2 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 FD 00 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [08:57:52]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [08:57:52]wFMCommunicate OK [08:57:52]wFMCommunicate request_size=4 [08:57:52]MH_SAM_APDU [08:57:52]CAPDU: 80 17 00 00 [08:57:52]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [08:57:52]Write i2c OK [08:57:52]MH_I2C_Read... [08:57:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [08:57:52]Read from MH i2c: E2 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 E1 00 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [08:57:52]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:57:52]wFMCommunicate OK [08:57:52]SAM_PROTO_GetFMData done [08:57:52]requested_item fm.sale_refund.total is exist - process it [08:57:52]requested_item fm.buy.total is exist - process it [08:57:52]requested_item shift.sale.total is exist - process it [08:57:52]SAM_PROTO_GetShiftData [08:57:52]wFMCommunicate request_size=4 [08:57:52]MH_SAM_APDU [08:57:52]CAPDU: 80 13 02 00 [08:57:52]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [08:57:52]Write i2c OK [08:57:52]MH_I2C_Read... [08:57:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:57:52]Read from MH i2c: E2 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 FD 00 [08:57:52]MH_I2C_Read... [08:57:52]Read from MH i2c: E2 FD 00 18 00 00 B5 04 AA 04 B1 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 BB 4B 05 70 04 03 00 38 3E 02 72 04 03 00 83 0D 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F9 8F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FF 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 90 00 7B [08:57:52]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 BB 4B 05 70 04 03 00 38 3E 02 72 04 03 00 83 0D 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 F9 8F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FF 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 90 00 [08:57:52]wFMCommunicate OK [08:57:52]wFMCommunicate request_size=4 [08:57:52]MH_SAM_APDU [08:57:52]CAPDU: 80 17 00 00 [08:57:52]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [08:57:52]Write i2c OK [08:57:52]MH_I2C_Read... [08:57:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:53]Read from MH i2c: E2 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 19 00 00 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 F4 [08:57:53]RAPDU: 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 90 00 [08:57:53]wFMCommunicate OK [08:57:53]wFMCommunicate request_size=4 [08:57:53]MH_SAM_APDU [08:57:53]CAPDU: 80 17 00 00 [08:57:53]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [08:57:53]Write i2c OK [08:57:53]MH_I2C_Read... [08:57:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:53]Read from MH i2c: E2 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 1A 00 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 57 [08:57:53]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [08:57:53]wFMCommunicate OK [08:57:53]wFMCommunicate request_size=4 [08:57:53]MH_SAM_APDU [08:57:53]CAPDU: 80 17 00 00 [08:57:53]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [08:57:53]Write i2c OK [08:57:53]MH_I2C_Read... [08:57:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:57:53]Read from MH i2c: E2 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 [08:57:53]MH_I2C_Read... [08:57:53]Read from MH i2c: E2 FD 00 1B 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 13 [08:57:53]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 90 00 [08:57:53]wFMCommunicate OK [08:57:53]wFMCommunicate request_size=4 [08:57:53]MH_SAM_APDU [08:57:53]CAPDU: 80 17 00 00 [08:57:53]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [08:57:53]Write i2c OK [08:57:53]MH_I2C_Read... [08:57:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [08:57:54]Read from MH i2c: E2 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: E2 D2 00 [08:57:54]MH_I2C_Read... [08:57:54]Read from MH i2c: E2 D2 00 1C 00 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [08:57:54]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:57:54]wFMCommunicate OK [08:57:54]SAM_PROTO_GetShiftData done [08:57:54]requested_item shift.sale.total_cash is exist - process it [08:57:54]requested_item shift.sale_refund.total is exist - process it [08:57:54]requested_item shift.sale_refund.total_cash is exist - process it [08:57:54]requested_item shift.buy.total is exist - process it [08:57:54]requested_item shift.buy.total_cash is exist - process it [08:57:54]produce_requested_data done [08:57:54]produce_requested_data return {"fm.sale.total":14692806.42,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":3470.67,"shift.sale.total_cash":1470.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:57:54]process_action_free get_value [08:57:54]json_value_free [08:57:54]json_value_free done [08:57:54]process_json_proto returns [08:57:54]Send response to host [08:57:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14692806.42,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":3470.67,"shift.sale.total_cash":1470.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:57:54]free response buf [08:57:54]execute_script done [08:57:54]execute_script returns [08:57:54]free content buf [08:57:54]Sock 7.Close socket [08:57:54]Sock 7.Thread stoped [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]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]accept exits with 9 [09:10:41]New connection [09:10:41]New thread 3067555172 created [09:10:41]Thread 3067411812 joined [09:10:41]Waiting for new connection... [09:10:41] Sock 9.Parse request [09:10:41]Sock 9.Check first char [09:10:41]Sock 9.First char is OK [09:10:41]request: POST /json_proto HTTP/1.0 [09:10:41]Method: POST [09:10:41]URL: /json_proto [09:10:41]Method is POST - this is cgi request [09:10:41]url: /json_proto [09:10:41]query_string will be loaded in cgi processing [09:10:41]execute_cgi json_proto POST (null) [09:10:41]execute_cgi path=json_proto method=POST [09:10:41]POST find Content-Length [09:10:41]Host: 172.17.47.135:8080 [09:10:41]Content-Length: 619 [09:10:41]Content-Type: application/json [09:10:41] [09:10:41]POST finish read [09:10:41]Found Content-Length = 619 [09:10:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130642", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:41]execute_script... [09:10: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)130642", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:41]POST & json_proto [09:10:41]process_json_proto [09:10:41]json parsed OK: [09:10:41]protocol is kg_v1.0 [09:10:41]action value=close_receipt [09:10:41]process_action close_receipt [09:10:41]cmd_close_receipt [09:10:41]MH_GetDate [09:10:41]Write to MH i2c: F0 00 00 1D 00 0C [09:10:41]Write i2c OK [09:10:41]MH_I2C_Read... [09:10:41]Read from MH i2c: F0 [09:10:41]MH_I2C_Read... [09:10:41]Read from MH i2c: F0 09 00 [09:10:41]MH_I2C_Read... [09:10:41]Read from MH i2c: F0 09 00 1D 00 00 11 FD B2 67 19 D8 DE 66 71 [09:10:41]GetLastDocTimeStamp 1739781816 [09:10:41]current date 1739783441 [09:10:41]FM_GetShiftState [09:10:41]SAM_PROTO_GetShiftState [09:10:41]wFMCommunicate request_size=4 [09:10:41]MH_SAM_APDU [09:10:41]CAPDU: 80 13 01 00 [09:10:41]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [09:10:41]Write i2c OK [09:10:41]MH_I2C_Read... [09:10:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:41]Read from MH i2c: E2 [09:10:41]MH_I2C_Read... [09:10:41]Read from MH i2c: E2 0E 00 [09:10:41]MH_I2C_Read... [09:10:41]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 81 [09:10:41]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:10:41]wFMCommunicate OK [09:10:41]SAM_PROTO_GetShiftState done [09:10:41]FM_GetShiftState done [09:10:41]opened in 1739750979 [09:10:41]opened+sec_in_day 1739837379 [09:10:41]quantity*price = 30200 [09:10:41]sum+1 = 30201 [09:10:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 302.00 НСП 1% : 2.67 НДС 12% : 32.07 Наличными: 302.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 13 17.02.2025 09:10 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32382 ФПД: 214220126351132 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T091041&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32382&fm=214220126351132&tin=02508201610067®Number=0000000000146237&sum=30200 0 [09:10:42]StoreToDocumentArchive [09:10:42]shift 382 fd 32382 [09:10:42]save to /storage/0382/doc_00032382 [09:10:42]save last doc name /storage/0382/doc_00032382 to /storage/kkm_last_doc_name [09:10:42]save OK [09:10:42]Clear old archive folders... [09:10:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:10:42]tlvbuf is 004B66C0 [09:10:42]SAM_PROTO_ClearQueue [09:10:42]wFMCommunicate request_size=4 [09:10:42]MH_SAM_APDU [09:10:42]CAPDU: 80 09 00 00 [09:10:42]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [09:10:42]RAPDU: 90 00 [09:10:42]wFMCommunicate OK [09:10:42]SAM_PROTO_ClearQueue done [09:10:42]KKMCreateOFDPacket [09:10:42]OFDProtocolAddRootSTLVToBuf [09:10:42]FM_MakeSignedData [09:10:42]FM_MakeSignedData [09:10:42]SAM_PROTO_SignData [09:10:42]wFMCommunicate request_size=4 [09:10:42]MH_SAM_APDU [09:10:42]CAPDU: 80 0D 01 02 [09:10:42]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [09:10:42]RAPDU: 90 00 [09:10:42]wFMCommunicate OK [09:10:42]wFMCommunicate request_size=255 [09:10:42]MH_SAM_APDU [09:10: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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 11 FD B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [09:10:42]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 11 FD B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 FA [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:42]Read from MH i2c: E2 03 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [09:10:42]RAPDU: 90 00 [09:10:42]wFMCommunicate OK [09:10:42]wFMCommunicate request_size=30 [09:10:42]MH_SAM_APDU [09:10:42]CAPDU: 80 0D 02 02 19 30 39 35 39 32 38 32 10 04 04 00 7E 7E 00 00 35 04 06 00 C2 D5 02 88 EF 1C [09:10:42]Write to MH i2c: E2 21 00 2E 00 80 0D 02 02 19 00 30 39 35 39 32 38 32 10 04 04 00 7E 7E 00 00 35 04 06 00 C2 D5 02 88 EF 1C 00 00 CC [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [09:10:42]RAPDU: 90 00 [09:10:42]wFMCommunicate OK [09:10:42]wFMCommunicate request_size=4 [09:10:42]MH_SAM_APDU [09:10:42]CAPDU: 80 0D 03 02 [09:10:42]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 0B 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 0B 00 2F 00 00 06 AB 84 CC C4 F9 F1 3C 90 00 96 [09:10:42]RAPDU: 06 AB 84 CC C4 F9 F1 3C 90 00 [09:10:42]wFMCommunicate OK [09:10:42]SAM_PROTO_SignData done [09:10:42]FM_MakeSignedData done [09:10:42]CreateOFDProtocolMessage [09:10:42]wFMCommunicate request_size=4 [09:10:42]MH_SAM_APDU [09:10:42]CAPDU: 80 11 00 00 [09:10:42]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:42]Read from MH i2c: E2 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 17 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [09:10:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:10:42]wFMCommunicate OK [09:10:42]CreateOFDProtocolMessage done [09:10:42]OFDSenderStorePacket 32382 [09:10:42]StoreOFDPacket docnum=32382 [09:10:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 23 01 00 00 97 5D 1B 01 0C B8 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 11 FD B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7E 00 00 35 04 06 00 C2 D5 02 88 EF 1C 06 AB 84 CC C4 F9 F1 3C [09:10:42]CheckFolder [09:10:42]dirname=/storage/ofd_packets [09:10:42]CheckFolder done [09:10:42]ProducePacketName [09:10:42]name=ofd_packets/00032382 [09:10:42]NVStorageSaveData ofd_packets/00032382 [09:10:42]File name is /storage/ofd_packets/00032382 [09:10:42]Write 321 bytes [09:10:42]NVStorageSaveData done [09:10:42]OFDSenderStorePacket done [09:10:42]KKMCreateOFDPacket done [09:10:42]NVStorageSaveData kkm_last_timestamp [09:10:42]File name is /storage/kkm_last_timestamp [09:10:42]Write 4 bytes [09:10:42]NVStorageSaveData done [09:10:42]ExternCall_PrintAddStr [09:10:42]wPrintStart [09:10:42]Write to MH i2c: 01 00 00 31 00 31 [09:10:42]Write i2c OK [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: 01 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: 01 07 00 [09:10:42]MH_I2C_Read... [09:10:42]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [09:10:42]RasterBufferAndPrint [09:10:42]line Счет N : (3)130642 [09:10:42]line ИНН: 02508201610067 [09:10:42]line Контрольно-Кассовый Чек [09:10:42]line ПРОДАЖА [09:10:42]line Товар: 47802995 [09:10:42]line Сигареты Winston XS Silver [09:10:42]line 2.000 * 151.00 [09:10:42]line = 302.00 [09:10:42]line НДС 12% НСП 1% [09:10:42]line > о реализуемом товаре [09:10:42]line ИТОГО: 302.00 [09:10:42]line НСП 1% : 2.67 [09:10:42]line НДС 12% : 32.07 [09:10:42]line Наличными: 302.00 [09:10:42]line Безнал.: 0.00 [09:10:42]line Место: АЗС № 96 "Партнер Нефть" [09:10:42]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:10:42]line СНО: Общий режим [09:10:42]line Чек 13 17.02.2025 09:10 [09:10:42]line Смена: 382 ФФД: 1.0 [09:10:42]line ЗНМ: 0300000059 [09:10:42]line РНМ: 0000000000146237 [09:10:42]line Версия ККМ: v1.0 [09:10:42]line ФМ: 0000000000959282 [09:10:42]line ФД: 32382 [09:10:42]line ФПД: 214220126351132 [09:10:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T091041&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32382&fm=214220126351132&tin=02508201610067®Number=0000000000146237&sum=30200 [09:10:42]line 0 [09:10:42]written 0, free lines is 4095 [09:10:42]OFD Sender: Processing packet 32382 [packets to send 104, broken 103] [09:10:42]ProducePacketName [09:10:42]name=ofd_packets/00032382 [09:10:42]OFD Sender: To server: pG, [09:10:42]CommunicateWithHost lk.salyk.kg:30040 [09:10:42]ConnectInit lk.salyk.kg [09:10:43]Write to MH i2c: 01 00 00 59 00 59 [09:10:43]Write i2c OK [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: 01 [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: 01 07 00 [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 24 0D 91 [09:10:43]RasterBufferAndPrint [09:10:43]line [09:10:43]line [09:10:43]line [09:10:43]line [09:10:43]line [09:10:43]written 0, free lines is 3370 [09:10:43]MH_Cut [09:10:43]Write to MH i2c: D1 01 00 60 00 01 32 [09:10:43]Write i2c OK [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: D1 [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: D1 01 00 [09:10:43]MH_I2C_Read... [09:10:43]Read from MH i2c: D1 01 00 60 00 00 31 [09:10:43]Write to MH i2c: 01 00 00 61 00 61 [09:10:43]Write i2c OK [09:10:43]MH_I2C_Read... [09:10:43]Connected sock=10 [09:10:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 23 01 00 00 97 5D 1B 01 0C B8 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 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 11 FD B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7E 00 00 35 04 06 00 C2 D5 02 88 EF 1C 06 AB 84 CC C4 F9 F1 3C [09:10:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 13 8E 47 00 65 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7E 00 00 F4 03 04 00 B5 A6 B2 67 B6 04 01 00 00 4E 0F 1F 19 EC C8 A7 02 [09:10:43]CommunicateWithHost err = 0 [09:10:43]CheckOFDResponse [09:10:43]1017 (14) - 77093643461234 [09:10:43]1041 (16) - 0000000000959282 [09:10:43]1040 (4) - 32382 [09:10:43]1012 (4) - 17.02.2025 03:02 [09:10:43]1206 (1) - 0 [09:10:43]OFD Sender: Remove packet 32382 [09:10:43]ProducePacketName [09:10:43]name=ofd_packets/00032382 [09:10:43]NVStorageDeleteData [09:10:43]*** Cut start [09:10:43]*** Partial cut [09:10:43]*** CUTSNS_PIN = 1 [09:10:43]*** CUTSNS_PIN = 0 [09:10:44]*** Brake cut motor [09:10:44]OFD Sender: No OFD packet to send [09:10:44]Read from MH i2c: 01 [09:10:44]MH_I2C_Read... [09:10:44]*** Stop cut motor [09:10:44]*** Cut end [09:10:44]Read from MH i2c: 01 07 00 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [09:10:44]process_action close_receipt done [09:10:44]requested_data is exist [09:10:44]produce_requested_data [09:10:44]requested_item fm.sn is exist - process it [09:10:44]wFMCommunicate request_size=4 [09:10:44]MH_SAM_APDU [09:10:44]CAPDU: 80 11 00 00 [09:10:44]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [09:10:44]Write i2c OK [09:10:44]MH_I2C_Read... [09:10:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:44]Read from MH i2c: E2 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 17 00 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 32 [09:10:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:10:44]wFMCommunicate OK [09:10:44]requested_item fd.num is exist - process it [09:10:44]SAM_PROTO_GetFieldsCounters [09:10:44]wFMCommunicate request_size=4 [09:10:44]MH_SAM_APDU [09:10:44]CAPDU: 80 13 00 00 [09:10:44]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [09:10:44]Write i2c OK [09:10:44]MH_I2C_Read... [09:10:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:10:44]Read from MH i2c: E2 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 62 00 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [09:10:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:10:44]wFMCommunicate OK [09:10:44]SAM_PROTO_GetFieldsCounters done [09:10:44]requested_item shift.num is exist - process it [09:10:44]requested_item shift.opened is exist - process it [09:10:44]req_shift_opened [09:10:44]FM_GetShiftState [09:10:44]SAM_PROTO_GetShiftState [09:10:44]wFMCommunicate request_size=4 [09:10:44]MH_SAM_APDU [09:10:44]CAPDU: 80 13 01 00 [09:10:44]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [09:10:44]Write i2c OK [09:10:44]MH_I2C_Read... [09:10:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:44]Read from MH i2c: E2 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 0E 00 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C7 [09:10:44]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:10:44]wFMCommunicate OK [09:10:44]SAM_PROTO_GetShiftState done [09:10:44]FM_GetShiftState done [09:10:44]req_shift_opened done [09:10:44]requested_item shift.open_date is exist - process it [09:10:44]req_shift_open_date [09:10:44]req_shift_open_date done [09:10:44]produce_requested_data done [09:10:44]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32382,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [09:10:44]process_action_free close_receipt [09:10:44]json_value_free [09:10:44]json_value_free done [09:10:44]process_json_proto returns [09:10:44]Send response to host [09:10:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32382,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [09:10:44]free response buf [09:10:44]execute_script done [09:10:44]execute_script returns [09:10:44]free content buf [09:10:44]Sock 9.Close socket [09:10:44]Sock 9.Thread stoped [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:50]accept exits with 7 [09:19:50]New connection [09:19:50]New thread 3067411812 created [09:19:50]Thread 3067555172 joined [09:19:50]Waiting for new connection... [09:19:50] Sock 7.Parse request [09:19:50]Sock 7.Check first char [09:19:50]Sock 7.First char is OK [09:19:50]request: POST /json_proto HTTP/1.0 [09:19:50]Method: POST [09:19:50]URL: /json_proto [09:19:50]Method is POST - this is cgi request [09:19:50]url: /json_proto [09:19:50]query_string will be loaded in cgi processing [09:19:50]execute_cgi json_proto POST (null) [09:19:50]execute_cgi path=json_proto method=POST [09:19:50]POST find Content-Length [09:19:50]Host: 172.17.47.135:8080 [09:19:50]Content-Length: 623 [09:19:50]Content-Type: application/json [09:19:50] [09:19:50]POST finish read [09:19:50]Found Content-Length = 623 [09:19:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130643", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [09:19:50]execute_script... [09:19:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130643", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [09:19:50]POST & json_proto [09:19:50]process_json_proto [09:19:50]json parsed OK: [09:19:50]protocol is kg_v1.0 [09:19:50]action value=close_receipt [09:19:50]process_action close_receipt [09:19:50]cmd_close_receipt [09:19:50]MH_GetDate [09:19:50]Write to MH i2c: F0 00 00 65 00 54 [09:19:50]Write i2c OK [09:19:50]MH_I2C_Read... [09:19:50]Read from MH i2c: F0 [09:19:50]MH_I2C_Read... [09:19:50]Read from MH i2c: F0 09 00 [09:19:50]MH_I2C_Read... [09:19:50]Read from MH i2c: F0 09 00 65 00 00 36 FF B2 67 19 D8 DE 66 E0 [09:19:50]GetLastDocTimeStamp 1739783441 [09:19:50]current date 1739783990 [09:19:50]FM_GetShiftState [09:19:50]SAM_PROTO_GetShiftState [09:19:50]wFMCommunicate request_size=4 [09:19:50]MH_SAM_APDU [09:19:50]CAPDU: 80 13 01 00 [09:19:50]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [09:19:50]Write i2c OK [09:19:50]MH_I2C_Read... [09:19:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:50]Read from MH i2c: E2 [09:19:50]MH_I2C_Read... [09:19:50]Read from MH i2c: E2 0E 00 [09:19:50]MH_I2C_Read... [09:19:50]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C9 [09:19:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:19:50]wFMCommunicate OK [09:19:50]SAM_PROTO_GetShiftState done [09:19:50]FM_GetShiftState done [09:19:50]opened in 1739750979 [09:19:50]opened+sec_in_day 1739837379 [09:19:50]quantity*price = 15100 [09:19:50]sum+1 = 15101 [09:19:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 14 17.02.2025 09:19 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32383 ФПД: 37898062794632 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T091950&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32383&fm=37898062794632&tin=02508201610067®Number=0000000000146237&sum=15100 0 [09:19:51]StoreToDocumentArchive [09:19:51]shift 382 fd 32383 [09:19:51]save to /storage/0382/doc_00032383 [09:19:51]save last doc name /storage/0382/doc_00032383 to /storage/kkm_last_doc_name [09:19:51]save OK [09:19:51]Clear old archive folders... [09:19:51]ProcessDocumentItem done err = 0, tmpTLVsize=275 [09:19:51]tlvbuf is 004B6A00 [09:19:51]SAM_PROTO_ClearQueue [09:19:51]wFMCommunicate request_size=4 [09:19:51]MH_SAM_APDU [09:19:51]CAPDU: 80 09 00 00 [09:19:51]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [09:19:51]RAPDU: 90 00 [09:19:51]wFMCommunicate OK [09:19:51]SAM_PROTO_ClearQueue done [09:19:51]KKMCreateOFDPacket [09:19:51]OFDProtocolAddRootSTLVToBuf [09:19:51]FM_MakeSignedData [09:19:51]FM_MakeSignedData [09:19:51]SAM_PROTO_SignData [09:19:51]wFMCommunicate request_size=4 [09:19:51]MH_SAM_APDU [09:19:51]CAPDU: 80 0D 01 02 [09:19:51]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [09:19:51]RAPDU: 90 00 [09:19:51]wFMCommunicate OK [09:19:51]wFMCommunicate request_size=255 [09:19:51]MH_SAM_APDU [09:19:51]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 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 0E 00 00 00 F4 03 04 00 36 FF B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 [09:19:51]Write to MH i2c: E2 02 01 75 00 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 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 0E 00 00 00 F4 03 04 00 36 FF B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 00 00 15 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:51]Read from MH i2c: E2 03 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [09:19:51]RAPDU: 90 00 [09:19:51]wFMCommunicate OK [09:19:51]wFMCommunicate request_size=34 [09:19:51]MH_SAM_APDU [09:19:51]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7E 00 00 35 04 06 00 22 77 D4 92 0F 88 [09:19:51]Write to MH i2c: E2 25 00 76 00 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7E 00 00 35 04 06 00 22 77 D4 92 0F 88 00 00 47 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:19:51]RAPDU: 90 00 [09:19:51]wFMCommunicate OK [09:19:51]wFMCommunicate request_size=4 [09:19:51]MH_SAM_APDU [09:19:51]CAPDU: 80 0D 03 02 [09:19:51]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 0B 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 0B 00 77 00 00 0B C4 5F F0 A2 03 44 F1 90 00 EB [09:19:51]RAPDU: 0B C4 5F F0 A2 03 44 F1 90 00 [09:19:51]wFMCommunicate OK [09:19:51]SAM_PROTO_SignData done [09:19:51]FM_MakeSignedData done [09:19:51]CreateOFDProtocolMessage [09:19:51]wFMCommunicate request_size=4 [09:19:51]MH_SAM_APDU [09:19:51]CAPDU: 80 11 00 00 [09:19:51]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:51]Read from MH i2c: E2 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 17 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 48 [09:19:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:19:51]wFMCommunicate OK [09:19:51]CreateOFDProtocolMessage done [09:19:51]OFDSenderStorePacket 32383 [09:19:51]StoreOFDPacket docnum=32383 [09:19:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 48 68 1F 01 97 E5 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 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 0E 00 00 00 F4 03 04 00 36 FF B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7E 00 00 35 04 06 00 22 77 D4 92 0F 88 0B C4 5F F0 A2 03 44 F1 [09:19:51]CheckFolder [09:19:51]dirname=/storage/ofd_packets [09:19:51]CheckFolder done [09:19:51]ProducePacketName [09:19:51]name=ofd_packets/00032383 [09:19:51]NVStorageSaveData ofd_packets/00032383 [09:19:51]File name is /storage/ofd_packets/00032383 [09:19:51]Write 325 bytes [09:19:51]NVStorageSaveData done [09:19:51]OFDSenderStorePacket done [09:19:51]KKMCreateOFDPacket done [09:19:51]NVStorageSaveData kkm_last_timestamp [09:19:51]File name is /storage/kkm_last_timestamp [09:19:51]Write 4 bytes [09:19:51]NVStorageSaveData done [09:19:51]ExternCall_PrintAddStr [09:19:51]wPrintStart [09:19:51]Write to MH i2c: 01 00 00 79 00 79 [09:19:51]Write i2c OK [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: 01 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: 01 07 00 [09:19:51]MH_I2C_Read... [09:19:51]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [09:19:51]RasterBufferAndPrint [09:19:51]line Счет N : (3)130643 [09:19:51]line ИНН: 02508201610067 [09:19:51]line Контрольно-Кассовый Чек [09:19:51]line ПРОДАЖА [09:19:51]line Товар: 48743587 [09:19:51]line Сигареты Winston XStyle Silver [09:19:51]line 1.000 * 151.00 [09:19:51]line = 151.00 [09:19:51]line НДС 12% НСП 1% [09:19:51]line > о реализуемом товаре [09:19:51]line ИТОГО: 151.00 [09:19:51]line НСП 1% : 1.34 [09:19:51]line НДС 12% : 16.03 [09:19:51]line Наличными: 151.00 [09:19:51]line Безнал.: 0.00 [09:19:51]line Место: АЗС № 96 "Партнер Нефть" [09:19:51]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:19:51]line СНО: Общий режим [09:19:51]line Чек 14 17.02.2025 09:19 [09:19:51]line Смена: 382 ФФД: 1.0 [09:19:51]line ЗНМ: 0300000059 [09:19:51]line РНМ: 0000000000146237 [09:19:51]line Версия ККМ: v1.0 [09:19:51]line ФМ: 0000000000959282 [09:19:51]line ФД: 32383 [09:19:51]line ФПД: 37898062794632 [09:19:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T091950&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32383&fm=37898062794632&tin=02508201610067®Number=0000000000146237&sum=15100 [09:19:52]line 0 [09:19:52]OFD Sender: Processing packet 32383 [packets to send 104, broken 103] [09:19:52]ProducePacketName [09:19:52]name=ofd_packets/00032383 [09:19:52]OFD Sender: To server: pG, [09:19:52]CommunicateWithHost lk.salyk.kg:30040 [09:19:52]ConnectInit lk.salyk.kg [09:19:52]written 0, free lines is 4095 [09:19:52]Write to MH i2c: 01 00 00 A2 00 A2 [09:19:52]Write i2c OK [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: 01 [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: 01 07 00 [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 05 0D BB [09:19:52]RasterBufferAndPrint [09:19:52]line [09:19:52]line [09:19:52]line [09:19:52]line [09:19:52]line [09:19:52]written 0, free lines is 3339 [09:19:52]MH_Cut [09:19:52]Write to MH i2c: D1 01 00 A9 00 01 7B [09:19:52]Write i2c OK [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: D1 [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: D1 01 00 [09:19:52]MH_I2C_Read... [09:19:52]Read from MH i2c: D1 01 00 A9 00 00 7A [09:19:52]Write to MH i2c: 01 00 00 AA 00 AA [09:19:52]Write i2c OK [09:19:52]MH_I2C_Read... [09:19:53]Connected sock=10 [09:19:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 48 68 1F 01 97 E5 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 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 0E 00 00 00 F4 03 04 00 36 FF B2 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7E 00 00 35 04 06 00 22 77 D4 92 0F 88 0B C4 5F F0 A2 03 44 F1 [09:19:53]*** Cut start [09:19:53]*** Partial cut [09:19:53]*** CUTSNS_PIN = 1 [09:19:53]*** CUTSNS_PIN = 0 [09:19:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 81 02 47 00 22 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 35 39 32 38 32 10 04 04 00 7F 7E 00 00 F4 03 04 00 DB A8 B2 67 B6 04 01 00 00 07 09 1A 1F 65 04 24 5A [09:19:53]CommunicateWithHost err = 0 [09:19:53]CheckOFDResponse [09:19:53]1017 (14) - 77093643461234 [09:19:53]1041 (16) - 0000000000959282 [09:19:53]1040 (4) - 32383 [09:19:53]1012 (4) - 17.02.2025 03:11 [09:19:53]1206 (1) - 0 [09:19:53]OFD Sender: Remove packet 32383 [09:19:53]ProducePacketName [09:19:53]name=ofd_packets/00032383 [09:19:53]NVStorageDeleteData [09:19:53]*** Brake cut motor [09:19:53]OFD Sender: No OFD packet to send [09:19:53]Read from MH i2c: 01 [09:19:53]MH_I2C_Read... [09:19:53]*** Stop cut motor [09:19:53]*** Cut end [09:19:53]Read from MH i2c: 01 07 00 [09:19:53]MH_I2C_Read... [09:19:53]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [09:19:53]process_action close_receipt done [09:19:53]requested_data is exist [09:19:53]produce_requested_data [09:19:53]requested_item fm.sn is exist - process it [09:19:53]wFMCommunicate request_size=4 [09:19:53]MH_SAM_APDU [09:19:53]CAPDU: 80 11 00 00 [09:19:53]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [09:19:53]Write i2c OK [09:19:53]MH_I2C_Read... [09:19:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:19:53]Read from MH i2c: E2 [09:19:53]MH_I2C_Read... [09:19:53]Read from MH i2c: E2 17 00 [09:19:53]MH_I2C_Read... [09:19:53]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7B [09:19:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:19:53]wFMCommunicate OK [09:19:53]requested_item fd.num is exist - process it [09:19:53]SAM_PROTO_GetFieldsCounters [09:19:53]wFMCommunicate request_size=4 [09:19:53]MH_SAM_APDU [09:19:53]CAPDU: 80 13 00 00 [09:19:53]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [09:19:53]Write i2c OK [09:19:53]MH_I2C_Read... [09:19:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:19:54]Read from MH i2c: E2 [09:19:54]MH_I2C_Read... [09:19:54]Read from MH i2c: E2 62 00 [09:19:54]MH_I2C_Read... [09:19:54]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [09:19:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:19:54]wFMCommunicate OK [09:19:54]SAM_PROTO_GetFieldsCounters done [09:19:54]requested_item shift.num is exist - process it [09:19:54]requested_item shift.opened is exist - process it [09:19:54]req_shift_opened [09:19:54]FM_GetShiftState [09:19:54]SAM_PROTO_GetShiftState [09:19:54]wFMCommunicate request_size=4 [09:19:54]MH_SAM_APDU [09:19:54]CAPDU: 80 13 01 00 [09:19:54]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [09:19:54]Write i2c OK [09:19:54]MH_I2C_Read... [09:19:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:19:54]Read from MH i2c: E2 [09:19:54]MH_I2C_Read... [09:19:54]Read from MH i2c: E2 0E 00 [09:19:54]MH_I2C_Read... [09:19:54]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 10 [09:19:54]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:19:54]wFMCommunicate OK [09:19:54]SAM_PROTO_GetShiftState done [09:19:54]FM_GetShiftState done [09:19:54]req_shift_opened done [09:19:54]requested_item shift.open_date is exist - process it [09:19:54]req_shift_open_date [09:19:54]req_shift_open_date done [09:19:54]produce_requested_data done [09:19:54]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32383,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [09:19:54]process_action_free close_receipt [09:19:54]json_value_free [09:19:54]json_value_free done [09:19:54]process_json_proto returns [09:19:54]Send response to host [09:19:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32383,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [09:19:54]free response buf [09:19:54]execute_script done [09:19:54]execute_script returns [09:19:54]free content buf [09:19:54]Sock 7.Close socket [09:19:54]Sock 7.Thread stoped [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:30]OFD Sender: No OFD packet to send [09:36:35]OFD Sender: No OFD packet to send [09:36:40]OFD Sender: No OFD packet to send [09:36:45]OFD Sender: No OFD packet to send [09:36:50]OFD Sender: No OFD packet to send [09:36:55]OFD Sender: No OFD packet to send [09:37:00]OFD Sender: No OFD packet to send [09:37:05]OFD Sender: No OFD packet to send [09:37:10]OFD Sender: No OFD packet to send [09:37:15]OFD Sender: No OFD packet to send [09:37:20]OFD Sender: No OFD packet to send [09:37:25]OFD Sender: No OFD packet to send [09:37:30]OFD Sender: No OFD packet to send [09:37:35]OFD Sender: No OFD packet to send [09:37:40]OFD Sender: No OFD packet to send [09:37:45]OFD Sender: No OFD packet to send [09:37:50]OFD Sender: No OFD packet to send [09:37:55]OFD Sender: No OFD packet to send [09:38:00]OFD Sender: No OFD packet to send [09:38:05]OFD Sender: No OFD packet to send [09:38:10]OFD Sender: No OFD packet to send [09:38:15]OFD Sender: No OFD packet to send [09:38:20]OFD Sender: No OFD packet to send [09:38:25]OFD Sender: No OFD packet to send [09:38:30]OFD Sender: No OFD packet to send [09:38:35]OFD Sender: No OFD packet to send [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]accept exits with 9 [09:44:35]New connection [09:44:35]New thread 3067555172 created [09:44:35]Thread 3067411812 joined [09:44:35]Waiting for new connection... [09:44:35] Sock 9.Parse request [09:44:35]Sock 9.Check first char [09:44:35]Sock 9.First char is OK [09:44:35]request: POST /json_proto HTTP/1.0 [09:44:35]Method: POST [09:44:35]URL: /json_proto [09:44:35]Method is POST - this is cgi request [09:44:35]url: /json_proto [09:44:35]query_string will be loaded in cgi processing [09:44:35]execute_cgi json_proto POST (null) [09:44:35]execute_cgi path=json_proto method=POST [09:44:35]POST find Content-Length [09:44:35]Host: 172.17.47.135:8080 [09:44:35]Content-Length: 934 [09:44:35]Content-Type: application/json [09:44:35] [09:44:35]POST finish read [09:44:35]Found Content-Length = 934 [09:44:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130644", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:44:35]execute_script... [09:44: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)130644", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:44:35]POST & json_proto [09:44:35]process_json_proto [09:44:35]json parsed OK: [09:44:35]protocol is kg_v1.0 [09:44:35]action value=close_receipt [09:44:35]process_action close_receipt [09:44:35]cmd_close_receipt [09:44:35]MH_GetDate [09:44:35]Write to MH i2c: F0 00 00 AE 00 9D [09:44:35]Write i2c OK [09:44:35]MH_I2C_Read... [09:44:35]Read from MH i2c: F0 [09:44:35]MH_I2C_Read... [09:44:35]Read from MH i2c: F0 09 00 [09:44:35]MH_I2C_Read... [09:44:35]Read from MH i2c: F0 09 00 AE 00 00 04 05 B3 67 19 D8 DE 66 FE [09:44:35]GetLastDocTimeStamp 1739783990 [09:44:35]current date 1739785476 [09:44:35]FM_GetShiftState [09:44:35]SAM_PROTO_GetShiftState [09:44:35]wFMCommunicate request_size=4 [09:44:35]MH_SAM_APDU [09:44:35]CAPDU: 80 13 01 00 [09:44:35]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [09:44:35]Write i2c OK [09:44:35]MH_I2C_Read... [09:44:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:44:35]Read from MH i2c: E2 [09:44:35]MH_I2C_Read... [09:44:35]Read from MH i2c: E2 0E 00 [09:44:35]MH_I2C_Read... [09:44:35]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 12 [09:44:35]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:44:35]wFMCommunicate OK [09:44:35]SAM_PROTO_GetShiftState done [09:44:35]FM_GetShiftState done [09:44:35]opened in 1739750979 [09:44:35]opened+sec_in_day 1739837379 [09:44:35]quantity*price = 9400 [09:44:35]sum+1 = 9401 [09:44:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.01 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 15 17.02.2025 09:44 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32384 ФПД: 111587607552488 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T094436&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32384&fm=111587607552488&tin=02508201610067®Number=0000000000146237&sum=24500 0 [09:44:36]StoreToDocumentArchive [09:44:36]shift 382 fd 32384 [09:44:36]save to /storage/0382/doc_00032384 [09:44:36]save last doc name /storage/0382/doc_00032384 to /storage/kkm_last_doc_name [09:44:36]save OK [09:44:36]Clear old archive folders... [09:44:36]ProcessDocumentItem done err = 0, tmpTLVsize=402 [09:44:36]tlvbuf is 004C6620 [09:44:36]SAM_PROTO_ClearQueue [09:44:36]wFMCommunicate request_size=4 [09:44:36]MH_SAM_APDU [09:44:36]CAPDU: 80 09 00 00 [09:44:36]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [09:44:36]Write i2c OK [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 [09:44:36]MH_I2C_Read... [09:44:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:44:36]Read from MH i2c: E2 03 00 [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [09:44:36]RAPDU: 90 00 [09:44:36]wFMCommunicate OK [09:44:36]SAM_PROTO_ClearQueue done [09:44:36]KKMCreateOFDPacket [09:44:36]OFDProtocolAddRootSTLVToBuf [09:44:36]FM_MakeSignedData [09:44:36]FM_MakeSignedData [09:44:36]SAM_PROTO_SignData [09:44:36]wFMCommunicate request_size=4 [09:44:36]MH_SAM_APDU [09:44:36]CAPDU: 80 0D 01 02 [09:44:36]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [09:44:36]Write i2c OK [09:44:36]MH_I2C_Read... [09:44:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:44:36]Read from MH i2c: E2 [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 03 00 [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [09:44:36]RAPDU: 90 00 [09:44:36]wFMCommunicate OK [09:44:36]wFMCommunicate request_size=255 [09:44:36]MH_SAM_APDU [09:44:36]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 B4 5F 00 00 00 [09:44:36]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 B4 5F 00 00 00 00 00 C3 [09:44:36]Write i2c OK [09:44:36]MH_I2C_Read... [09:44:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:44:36]Read from MH i2c: E2 [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 03 00 [09:44:36]MH_I2C_Read... [09:44:36]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [09:44:36]RAPDU: 90 00 [09:44:36]wFMCommunicate OK [09:44:36]wFMCommunicate request_size=161 [09:44:36]MH_SAM_APDU [09:44:36]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 04 05 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7E 00 00 35 04 06 00 65 7D 03 B5 A1 E8 [09:44:36]Write to MH i2c: E2 A4 00 BF 00 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 04 05 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7E 00 00 35 04 06 00 65 7D 03 B5 A1 E8 00 00 A0 [09:44:36]Write i2c OK [09:44:36]MH_I2C_Read... [09:44:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:44:37]Read from MH i2c: E2 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 03 00 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [09:44:37]RAPDU: 90 00 [09:44:37]wFMCommunicate OK [09:44:37]wFMCommunicate request_size=4 [09:44:37]MH_SAM_APDU [09:44:37]CAPDU: 80 0D 03 02 [09:44:37]Write to MH i2c: E2 08 00 C0 00 80 0D 03 02 00 00 00 00 3B [09:44:37]Write i2c OK [09:44:37]MH_I2C_Read... [09:44:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:44:37]Read from MH i2c: E2 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 0B 00 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 0B 00 C0 00 00 F5 E9 FE B5 ED EC C0 77 90 00 DD [09:44:37]RAPDU: F5 E9 FE B5 ED EC C0 77 90 00 [09:44:37]wFMCommunicate OK [09:44:37]SAM_PROTO_SignData done [09:44:37]FM_MakeSignedData done [09:44:37]CreateOFDProtocolMessage [09:44:37]wFMCommunicate request_size=4 [09:44:37]MH_SAM_APDU [09:44:37]CAPDU: 80 11 00 00 [09:44:37]Write to MH i2c: E2 08 00 C1 00 80 11 00 00 00 00 00 00 3B [09:44:37]Write i2c OK [09:44:37]MH_I2C_Read... [09:44:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:44:37]Read from MH i2c: E2 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 17 00 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: E2 17 00 C1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 91 [09:44:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:44:37]wFMCommunicate OK [09:44:37]CreateOFDProtocolMessage done [09:44:37]OFDSenderStorePacket 32384 [09:44:37]StoreOFDPacket docnum=32384 [09:44:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 A6 01 00 00 FB 7D 9E 01 60 E1 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 04 05 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7E 00 00 35 04 06 00 65 7D 03 B5 A1 E8 F5 E9 FE B5 ED EC C0 77 [09:44:37]CheckFolder [09:44:37]dirname=/storage/ofd_packets [09:44:37]CheckFolder done [09:44:37]ProducePacketName [09:44:37]name=ofd_packets/00032384 [09:44:37]NVStorageSaveData ofd_packets/00032384 [09:44:37]File name is /storage/ofd_packets/00032384 [09:44:37]Write 452 bytes [09:44:37]NVStorageSaveData done [09:44:37]OFDSenderStorePacket done [09:44:37]KKMCreateOFDPacket done [09:44:37]NVStorageSaveData kkm_last_timestamp [09:44:37]File name is /storage/kkm_last_timestamp [09:44:37]Write 4 bytes [09:44:37]NVStorageSaveData done [09:44:37]ExternCall_PrintAddStr [09:44:37]wPrintStart [09:44:37]Write to MH i2c: 01 00 00 C2 00 C2 [09:44:37]Write i2c OK [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: 01 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: 01 07 00 [09:44:37]MH_I2C_Read... [09:44:37]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [09:44:37]RasterBufferAndPrint [09:44:37]line Счет N : (3)130644 [09:44:37]line ИНН: 02508201610067 [09:44:37]line Контрольно-Кассовый Чек [09:44:37]line ПРОДАЖА [09:44:37]line Товар: 4700000480364 [09:44:37]line Напиток энерг Nitro экзотик 0.45 ж/б [09:44:37]line 1.000 * 94.00 [09:44:37]line = 94.00 [09:44:37]line НДС 12% НСП 1% [09:44:37]line > о реализуемом товаре [09:44:37]line Товар: 48743570 [09:44:37]line Сигареты Winston XStyle Blue [09:44:37]line 1.000 * 151.00 [09:44:37]line = 151.00 [09:44:37]line НДС 12% НСП 1% [09:44:37]line > о реализуемом товаре [09:44:37]line ИТОГО: 245.00 [09:44:37]line НСП 1% : 2.17 [09:44:37]line НДС 12% : 26.01 [09:44:37]line Наличными: 245.00 [09:44:37]line Безнал.: 0.00 [09:44:37]line Место: АЗС № 96 "Партнер Нефть" [09:44:37]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:44:37]line СНО: Общий режим [09:44:37]line Чек 15 17.02.2025 09:44 [09:44:37]line Смена: 382 ФФД: 1.0 [09:44:37]line ЗНМ: 0300000059 [09:44:37]line РНМ: 0000000000146237 [09:44:37]line Версия ККМ: v1.0 [09:44:37]line ФМ: 0000000000959282 [09:44:37]line ФД: 32384 [09:44:37]line ФПД: 111587607552488 [09:44:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T094436&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32384&fm=111587607552488&tin=02508201610067®Number=0000000000146237&sum=24500 [09:44:37]line 0 [09:44:37]OFD Sender: Processing packet 32384 [packets to send 104, broken 103] [09:44:37]ProducePacketName [09:44:37]name=ofd_packets/00032384 [09:44:37]OFD Sender: To server: pG, [09:44:37]CommunicateWithHost lk.salyk.kg:30040 [09:44:37]ConnectInit lk.salyk.kg [09:44:37]written 0, free lines is 4095 [09:44:38]Write to MH i2c: 01 00 00 F1 00 F1 [09:44:38]Write i2c OK [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: 01 [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: 01 07 00 [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: 01 07 00 F1 00 00 00 00 00 00 9F 0C A3 [09:44:38]RasterBufferAndPrint [09:44:38]line [09:44:38]line [09:44:38]line [09:44:38]line [09:44:38]line [09:44:38]written 0, free lines is 3237 [09:44:38]Connected sock=10 [09:44:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 A6 01 00 00 FB 7D 9E 01 60 E1 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 04 05 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7E 00 00 35 04 06 00 65 7D 03 B5 A1 E8 F5 E9 FE B5 ED EC C0 77 [09:44:38]MH_Cut [09:44:38]Write to MH i2c: D1 01 00 F8 00 01 CA [09:44:38]Write i2c OK [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: D1 [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: D1 01 00 [09:44:38]MH_I2C_Read... [09:44:38]Read from MH i2c: D1 01 00 F8 00 00 C9 [09:44:38]Write to MH i2c: 01 00 00 F9 00 F9 [09:44:38]Write i2c OK [09:44:38]MH_I2C_Read... [09:44:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 03 C4 47 00 D2 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 80 7E 00 00 F4 03 04 00 A8 AE B2 67 B6 04 01 00 00 05 5C A6 DC BE 4F C6 EB [09:44:38]CommunicateWithHost err = 0 [09:44:38]CheckOFDResponse [09:44:38]1017 (14) - 77093643461234 [09:44:38]1041 (16) - 0000000000959282 [09:44:38]1040 (4) - 32384 [09:44:38]1012 (4) - 17.02.2025 03:36 [09:44:38]1206 (1) - 0 [09:44:38]OFD Sender: Remove packet 32384 [09:44:38]ProducePacketName [09:44:38]name=ofd_packets/00032384 [09:44:38]NVStorageDeleteData [09:44:38]*** Cut start [09:44:38]*** Partial cut [09:44:38]*** CUTSNS_PIN = 1 [09:44:38]*** CUTSNS_PIN = 0 [09:44:38]OFD Sender: No OFD packet to send [09:44:39]*** Brake cut motor [09:44:39]Read from MH i2c: 01 [09:44:39]MH_I2C_Read... [09:44:39]*** Stop cut motor [09:44:39]*** Cut end [09:44:39]Read from MH i2c: 01 07 00 [09:44:39]MH_I2C_Read... [09:44:39]Read from MH i2c: 01 07 00 F9 00 00 00 00 00 00 FF 0F 0E [09:44:39]process_action close_receipt done [09:44:39]requested_data is exist [09:44:39]produce_requested_data [09:44:39]requested_item fm.sn is exist - process it [09:44:39]wFMCommunicate request_size=4 [09:44:39]MH_SAM_APDU [09:44:39]CAPDU: 80 11 00 00 [09:44:39]Write to MH i2c: E2 08 00 FA 00 80 11 00 00 00 00 00 00 74 [09:44:39]Write i2c OK [09:44:39]MH_I2C_Read... [09:44:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:44:39]Read from MH i2c: E2 [09:44:39]MH_I2C_Read... [09:44:39]Read from MH i2c: E2 17 00 [09:44:39]MH_I2C_Read... [09:44:39]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 35 39 32 38 32 90 00 CA [09:44:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:44:39]wFMCommunicate OK [09:44:39]requested_item fd.num is exist - process it [09:44:39]SAM_PROTO_GetFieldsCounters [09:44:39]wFMCommunicate request_size=4 [09:44:39]MH_SAM_APDU [09:44:39]CAPDU: 80 13 00 00 [09:44:39]Write to MH i2c: E2 08 00 FB 00 80 13 00 00 00 00 00 00 77 [09:44:39]Write i2c OK [09:44:39]MH_I2C_Read... [09:44:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:44:39]Read from MH i2c: E2 [09:44:39]MH_I2C_Read... [09:44:39]Read from MH i2c: E2 62 00 [09:44:39]MH_I2C_Read... [09:44:39]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 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 80 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [09:44:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 80 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:44:39]wFMCommunicate OK [09:44:39]SAM_PROTO_GetFieldsCounters done [09:44:39]requested_item shift.num is exist - process it [09:44:39]requested_item shift.opened is exist - process it [09:44:39]req_shift_opened [09:44:39]FM_GetShiftState [09:44:39]SAM_PROTO_GetShiftState [09:44:39]wFMCommunicate request_size=4 [09:44:39]MH_SAM_APDU [09:44:39]CAPDU: 80 13 01 00 [09:44:39]Write to MH i2c: E2 08 00 FC 00 80 13 01 00 00 00 00 00 79 [09:44:39]Write i2c OK [09:44:39]MH_I2C_Read... [09:44:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:44:39]Read from MH i2c: E2 [09:44:39]MH_I2C_Read... [09:44:39]Read from MH i2c: E2 0E 00 [09:44:39]MH_I2C_Read... [09:44:39]Read from MH i2c: E2 0E 00 FC 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5F [09:44:39]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:44:39]wFMCommunicate OK [09:44:39]SAM_PROTO_GetShiftState done [09:44:39]FM_GetShiftState done [09:44:39]req_shift_opened done [09:44:39]requested_item shift.open_date is exist - process it [09:44:39]req_shift_open_date [09:44:39]req_shift_open_date done [09:44:39]produce_requested_data done [09:44:39]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32384,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [09:44:39]process_action_free close_receipt [09:44:39]json_value_free [09:44:39]json_value_free done [09:44:39]process_json_proto returns [09:44:39]Send response to host [09:44:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32384,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [09:44:39]free response buf [09:44:39]execute_script done [09:44:39]execute_script returns [09:44:39]free content buf [09:44:39]Sock 9.Close socket [09:44:39]Sock 9.Thread stoped [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45: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:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]ConnectInit Can't connect to host [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:58]recv_with_timeout no data received [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:32]accept exits with 7 [09:58:32]New connection [09:58:32]New thread 3067411812 created [09:58:32]Thread 3067555172 joined [09:58:32]Waiting for new connection... [09:58:32] Sock 7.Parse request [09:58:32]Sock 7.Check first char [09:58:32]Sock 7.First char is OK [09:58:32]request: POST /json_proto HTTP/1.0 [09:58:32]Method: POST [09:58:32]URL: /json_proto [09:58:32]Method is POST - this is cgi request [09:58:32]url: /json_proto [09:58:32]query_string will be loaded in cgi processing [09:58:32]execute_cgi json_proto POST (null) [09:58:32]execute_cgi path=json_proto method=POST [09:58:32]POST find Content-Length [09:58:32]Host: 172.17.47.135:8080 [09:58:32]Content-Length: 629 [09:58:32]Content-Type: application/json [09:58:32] [09:58:32]POST finish read [09:58:32]Found Content-Length = 629 [09:58:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130645", "tax_sys" : 0, "items" : [ { "code": "4870200194030", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Granat \u0436/\u0431 0,25\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:32]execute_script... [09:58: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)130645", "tax_sys" : 0, "items" : [ { "code": "4870200194030", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Granat \u0436/\u0431 0,25\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:32]POST & json_proto [09:58:32]process_json_proto [09:58:32]json parsed OK: [09:58:32]protocol is kg_v1.0 [09:58:32]action value=close_receipt [09:58:32]process_action close_receipt [09:58:32]cmd_close_receipt [09:58:32]MH_GetDate [09:58:32]Write to MH i2c: F0 00 00 FD 00 EC [09:58:32]Write i2c OK [09:58:32]MH_I2C_Read... [09:58:32]Read from MH i2c: F0 [09:58:32]MH_I2C_Read... [09:58:32]Read from MH i2c: F0 09 00 [09:58:32]MH_I2C_Read... [09:58:32]Read from MH i2c: F0 09 00 FD 00 00 48 08 B3 67 19 D8 DE 66 94 [09:58:32]GetLastDocTimeStamp 1739785476 [09:58:32]current date 1739786312 [09:58:32]FM_GetShiftState [09:58:32]SAM_PROTO_GetShiftState [09:58:32]wFMCommunicate request_size=4 [09:58:32]MH_SAM_APDU [09:58:32]CAPDU: 80 13 01 00 [09:58:32]Write to MH i2c: E2 08 00 FE 00 80 13 01 00 00 00 00 00 7B [09:58:32]Write i2c OK [09:58:32]MH_I2C_Read... [09:58:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:32]Read from MH i2c: E2 [09:58:32]MH_I2C_Read... [09:58:32]Read from MH i2c: E2 0E 00 [09:58:32]MH_I2C_Read... [09:58:32]Read from MH i2c: E2 0E 00 FE 00 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 61 [09:58:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:58:32]wFMCommunicate OK [09:58:32]SAM_PROTO_GetShiftState done [09:58:32]FM_GetShiftState done [09:58:32]opened in 1739750979 [09:58:32]opened+sec_in_day 1739837379 [09:58:32]quantity*price = 9900 [09:58:32]sum+1 = 9901 [09:58:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 99.00 НСП 1% : 0.88 НДС 12% : 10.51 Наличными: 99.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 16 17.02.2025 09:58 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32385 ФПД: 139015244312782 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T095832&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32385&fm=139015244312782&tin=02508201610067®Number=0000000000146237&sum=9900 0 [09:58:33]StoreToDocumentArchive [09:58:33]shift 382 fd 32385 [09:58:33]save to /storage/0382/doc_00032385 [09:58:33]save last doc name /storage/0382/doc_00032385 to /storage/kkm_last_doc_name [09:58:33]save OK [09:58:33]Clear old archive folders... [09:58:33]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:58:33]tlvbuf is 004C61E0 [09:58:33]SAM_PROTO_ClearQueue [09:58:33]wFMCommunicate request_size=4 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 09 00 00 [09:58:33]Write to MH i2c: E2 08 00 0B 01 80 09 00 00 00 00 00 00 7E [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 0B 01 00 90 00 80 [09:58:33]RAPDU: 90 00 [09:58:33]wFMCommunicate OK [09:58:33]SAM_PROTO_ClearQueue done [09:58:33]KKMCreateOFDPacket [09:58:33]OFDProtocolAddRootSTLVToBuf [09:58:33]FM_MakeSignedData [09:58:33]FM_MakeSignedData [09:58:33]SAM_PROTO_SignData [09:58:33]wFMCommunicate request_size=4 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 0D 01 02 [09:58:33]Write to MH i2c: E2 08 00 0C 01 80 0D 01 02 00 00 00 00 86 [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [09:58:33]RAPDU: 90 00 [09:58:33]wFMCommunicate OK [09:58:33]wFMCommunicate request_size=255 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 48 08 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 [09:58:33]Write to MH i2c: E2 02 01 0D 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 48 08 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 00 00 9E [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [09:58:33]RAPDU: 90 00 [09:58:33]wFMCommunicate OK [09:58:33]wFMCommunicate request_size=35 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7E 00 00 35 04 06 00 7E 6F 02 41 70 CE [09:58:33]Write to MH i2c: E2 26 00 0E 01 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7E 00 00 35 04 06 00 7E 6F 02 41 70 CE 00 00 EC [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [09:58:33]RAPDU: 90 00 [09:58:33]wFMCommunicate OK [09:58:33]wFMCommunicate request_size=4 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 0D 03 02 [09:58:33]Write to MH i2c: E2 08 00 0F 01 80 0D 03 02 00 00 00 00 8B [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 0B 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 0B 00 0F 01 00 54 C9 DB 95 1A A0 51 09 90 00 2D [09:58:33]RAPDU: 54 C9 DB 95 1A A0 51 09 90 00 [09:58:33]wFMCommunicate OK [09:58:33]SAM_PROTO_SignData done [09:58:33]FM_MakeSignedData done [09:58:33]CreateOFDProtocolMessage [09:58:33]wFMCommunicate request_size=4 [09:58:33]MH_SAM_APDU [09:58:33]CAPDU: 80 11 00 00 [09:58:33]Write to MH i2c: E2 08 00 10 01 80 11 00 00 00 00 00 00 8B [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:33]Read from MH i2c: E2 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: E2 17 00 [09:58:33]MH_I2C_Read... [09:58:33]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 35 39 32 38 32 90 00 E1 [09:58:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:58:33]wFMCommunicate OK [09:58:33]CreateOFDProtocolMessage done [09:58:33]OFDSenderStorePacket 32385 [09:58:33]StoreOFDPacket docnum=32385 [09:58:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 21 E9 20 01 96 01 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 48 08 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7E 00 00 35 04 06 00 7E 6F 02 41 70 CE 54 C9 DB 95 1A A0 51 09 [09:58:33]CheckFolder [09:58:33]dirname=/storage/ofd_packets [09:58:33]CheckFolder done [09:58:33]ProducePacketName [09:58:33]name=ofd_packets/00032385 [09:58:33]NVStorageSaveData ofd_packets/00032385 [09:58:33]File name is /storage/ofd_packets/00032385 [09:58:33]Write 326 bytes [09:58:33]NVStorageSaveData done [09:58:33]OFDSenderStorePacket done [09:58:33]KKMCreateOFDPacket done [09:58:33]NVStorageSaveData kkm_last_timestamp [09:58:33]File name is /storage/kkm_last_timestamp [09:58:33]Write 4 bytes [09:58:33]NVStorageSaveData done [09:58:33]ExternCall_PrintAddStr [09:58:33]wPrintStart [09:58:33]Write to MH i2c: 01 00 00 11 01 12 [09:58:33]Write i2c OK [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: 01 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: 01 07 00 [09:58:33]MH_I2C_Read... [09:58:33]Read from MH i2c: 01 07 00 11 01 00 00 00 00 00 FF 0F 27 [09:58:33]RasterBufferAndPrint [09:58:33]line Счет N : (3)130645 [09:58:33]line ИНН: 02508201610067 [09:58:33]line Контрольно-Кассовый Чек [09:58:33]line ПРОДАЖА [09:58:33]line Товар: 4870200194030 [09:58:33]line Напиток Granat ж/б 0,25л [09:58:33]line 1.000 * 99.00 [09:58:33]line = 99.00 [09:58:33]line НДС 12% НСП 1% [09:58:33]line > о реализуемом товаре [09:58:33]line ИТОГО: 99.00 [09:58:33]line НСП 1% : 0.88 [09:58:33]line НДС 12% : 10.51 [09:58:33]line Наличными: 99.00 [09:58:33]line Безнал.: 0.00 [09:58:33]line Место: АЗС № 96 "Партнер Нефть" [09:58:33]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:58:33]line СНО: Общий режим [09:58:33]line Чек 16 17.02.2025 09:58 [09:58:33]line Смена: 382 ФФД: 1.0 [09:58:33]line ЗНМ: 0300000059 [09:58:33]line РНМ: 0000000000146237 [09:58:33]line Версия ККМ: v1.0 [09:58:33]line ФМ: 0000000000959282 [09:58:33]line ФД: 32385 [09:58:33]line ФПД: 139015244312782 [09:58:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T095832&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32385&fm=139015244312782&tin=02508201610067®Number=0000000000146237&sum=9900 [09:58:34]line 0 [09:58:34]OFD Sender: Processing packet 32385 [packets to send 104, broken 103] [09:58:34]ProducePacketName [09:58:34]name=ofd_packets/00032385 [09:58:34]OFD Sender: To server: pG, [09:58:34]CommunicateWithHost lk.salyk.kg:30040 [09:58:34]ConnectInit lk.salyk.kg [09:58:34]written 0, free lines is 4095 [09:58:34]Connected sock=10 [09:58:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 21 E9 20 01 96 01 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 48 08 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7E 00 00 35 04 06 00 7E 6F 02 41 70 CE 54 C9 DB 95 1A A0 51 09 [09:58:34]Write to MH i2c: 01 00 00 39 01 3A [09:58:34]Write i2c OK [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: 01 [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: 01 07 00 [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: 01 07 00 39 01 00 00 00 00 00 20 0D 6E [09:58:34]RasterBufferAndPrint [09:58:34]line [09:58:34]line [09:58:34]line [09:58:34]line [09:58:34]line [09:58:34]written 0, free lines is 3366 [09:58:34]MH_Cut [09:58:34]Write to MH i2c: D1 01 00 40 01 01 13 [09:58:34]Write i2c OK [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: D1 [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: D1 01 00 [09:58:34]MH_I2C_Read... [09:58:34]Read from MH i2c: D1 01 00 40 01 00 12 [09:58:34]Write to MH i2c: 01 00 00 41 01 42 [09:58:34]Write i2c OK [09:58:34]MH_I2C_Read... [09:58:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 24 19 47 00 CA E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7E 00 00 F4 03 04 00 ED B1 B2 67 B6 04 01 00 00 57 B1 46 9D D4 CE 63 8D [09:58:34]CommunicateWithHost err = 0 [09:58:34]CheckOFDResponse [09:58:34]1017 (14) - 77093643461234 [09:58:34]1041 (16) - 0000000000959282 [09:58:34]1040 (4) - 32385 [09:58:34]1012 (4) - 17.02.2025 03:50 [09:58:34]1206 (1) - 0 [09:58:34]OFD Sender: Remove packet 32385 [09:58:34]ProducePacketName [09:58:34]name=ofd_packets/00032385 [09:58:34]NVStorageDeleteData [09:58:35]*** Cut start [09:58:35]*** Partial cut [09:58:35]*** CUTSNS_PIN = 1 [09:58:35]OFD Sender: No OFD packet to send [09:58:35]*** CUTSNS_PIN = 0 [09:58:35]*** Brake cut motor [09:58:35]Read from MH i2c: 01 [09:58:35]MH_I2C_Read... [09:58:35]*** Stop cut motor [09:58:35]*** Cut end [09:58:35]Read from MH i2c: 01 07 00 [09:58:35]MH_I2C_Read... [09:58:35]Read from MH i2c: 01 07 00 41 01 00 00 00 00 00 FF 0F 57 [09:58:35]process_action close_receipt done [09:58:35]requested_data is exist [09:58:35]produce_requested_data [09:58:35]requested_item fm.sn is exist - process it [09:58:35]wFMCommunicate request_size=4 [09:58:35]MH_SAM_APDU [09:58:35]CAPDU: 80 11 00 00 [09:58:35]Write to MH i2c: E2 08 00 42 01 80 11 00 00 00 00 00 00 BD [09:58:35]Write i2c OK [09:58:35]MH_I2C_Read... [09:58:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:35]Read from MH i2c: E2 [09:58:35]MH_I2C_Read... [09:58:35]Read from MH i2c: E2 17 00 [09:58:35]MH_I2C_Read... [09:58:35]Read from MH i2c: E2 17 00 42 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 13 [09:58:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:58:35]wFMCommunicate OK [09:58:35]requested_item fd.num is exist - process it [09:58:35]SAM_PROTO_GetFieldsCounters [09:58:35]wFMCommunicate request_size=4 [09:58:35]MH_SAM_APDU [09:58:35]CAPDU: 80 13 00 00 [09:58:35]Write to MH i2c: E2 08 00 43 01 80 13 00 00 00 00 00 00 C0 [09:58:35]Write i2c OK [09:58:35]MH_I2C_Read... [09:58:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:58:36]Read from MH i2c: E2 [09:58:36]MH_I2C_Read... [09:58:36]Read from MH i2c: E2 62 00 [09:58:36]MH_I2C_Read... [09:58:36]Read from MH i2c: E2 62 00 43 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 81 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [09:58:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 81 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:58:36]wFMCommunicate OK [09:58:36]SAM_PROTO_GetFieldsCounters done [09:58:36]requested_item shift.num is exist - process it [09:58:36]requested_item shift.opened is exist - process it [09:58:36]req_shift_opened [09:58:36]FM_GetShiftState [09:58:36]SAM_PROTO_GetShiftState [09:58:36]wFMCommunicate request_size=4 [09:58:36]MH_SAM_APDU [09:58:36]CAPDU: 80 13 01 00 [09:58:36]Write to MH i2c: E2 08 00 44 01 80 13 01 00 00 00 00 00 C2 [09:58:36]Write i2c OK [09:58:36]MH_I2C_Read... [09:58:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:36]Read from MH i2c: E2 [09:58:36]MH_I2C_Read... [09:58:36]Read from MH i2c: E2 0E 00 [09:58:36]MH_I2C_Read... [09:58:36]Read from MH i2c: E2 0E 00 44 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A8 [09:58:36]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [09:58:36]wFMCommunicate OK [09:58:36]SAM_PROTO_GetShiftState done [09:58:36]FM_GetShiftState done [09:58:36]req_shift_opened done [09:58:36]requested_item shift.open_date is exist - process it [09:58:36]req_shift_open_date [09:58:36]req_shift_open_date done [09:58:36]produce_requested_data done [09:58:36]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32385,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [09:58:36]process_action_free close_receipt [09:58:36]json_value_free [09:58:36]json_value_free done [09:58:36]process_json_proto returns [09:58:36]Send response to host [09:58:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32385,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [09:58:36]free response buf [09:58:36]execute_script done [09:58:36]execute_script returns [09:58:36]free content buf [09:58:36]Sock 7.Close socket [09:58:36]Sock 7.Thread stoped [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:22]recv_with_timeout no data received [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:44]recv_with_timeout no data received [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:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]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:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:18]recv_with_timeout no data received [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]accept exits with 9 [10:16:01]New connection [10:16:01]New thread 3067555172 created [10:16:01]Thread 3067411812 joined [10:16:01]Waiting for new connection... [10:16:01] Sock 9.Parse request [10:16:01]Sock 9.Check first char [10:16:01]Sock 9.First char is OK [10:16:01]request: POST /json_proto HTTP/1.0 [10:16:01]Method: POST [10:16:01]URL: /json_proto [10:16:01]Method is POST - this is cgi request [10:16:01]url: /json_proto [10:16:01]query_string will be loaded in cgi processing [10:16:01]execute_cgi json_proto POST (null) [10:16:01]execute_cgi path=json_proto method=POST [10:16:01]POST find Content-Length [10:16:01]Host: 172.17.47.135:8080 [10:16:01]Content-Length: 646 [10:16:01]Content-Type: application/json [10:16:01] [10:16:01]POST finish read [10:16:01]Found Content-Length = 646 [10:16:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130646", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:01]execute_script... [10:16:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130646", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:16:01]POST & json_proto [10:16:01]process_json_proto [10:16:01]json parsed OK: [10:16:01]protocol is kg_v1.0 [10:16:01]action value=close_receipt [10:16:01]process_action close_receipt [10:16:01]cmd_close_receipt [10:16:01]MH_GetDate [10:16:01]Write to MH i2c: F0 00 00 45 01 35 [10:16:01]Write i2c OK [10:16:01]MH_I2C_Read... [10:16:01]Read from MH i2c: F0 [10:16:01]MH_I2C_Read... [10:16:01]Read from MH i2c: F0 09 00 [10:16:01]MH_I2C_Read... [10:16:01]Read from MH i2c: F0 09 00 45 01 00 61 0C B3 67 19 D8 DE 66 FA [10:16:01]GetLastDocTimeStamp 1739786312 [10:16:01]current date 1739787361 [10:16:01]FM_GetShiftState [10:16:01]SAM_PROTO_GetShiftState [10:16:01]wFMCommunicate request_size=4 [10:16:01]MH_SAM_APDU [10:16:01]CAPDU: 80 13 01 00 [10:16:01]Write to MH i2c: E2 08 00 46 01 80 13 01 00 00 00 00 00 C4 [10:16:01]Write i2c OK [10:16:01]MH_I2C_Read... [10:16:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:01]Read from MH i2c: E2 [10:16:01]MH_I2C_Read... [10:16:01]Read from MH i2c: E2 0E 00 [10:16:01]MH_I2C_Read... [10:16:01]Read from MH i2c: E2 0E 00 46 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 AA [10:16:01]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:16:01]wFMCommunicate OK [10:16:01]SAM_PROTO_GetShiftState done [10:16:01]FM_GetShiftState done [10:16:01]opened in 1739750979 [10:16:01]opened+sec_in_day 1739837379 [10:16:01]quantity*price = 13900 [10:16:01]sum+1 = 13901 [10:16:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 17 17.02.2025 10:16 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32386 ФПД: 106212524476075 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T101601&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32386&fm=106212524476075&tin=02508201610067®Number=0000000000146237&sum=13900 0 [10:16:02]StoreToDocumentArchive [10:16:02]shift 382 fd 32386 [10:16:02]save to /storage/0382/doc_00032386 [10:16:02]save last doc name /storage/0382/doc_00032386 to /storage/kkm_last_doc_name [10:16:02]save OK [10:16:02]Clear old archive folders... [10:16:02]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:16:02]tlvbuf is 004C2C80 [10:16:02]SAM_PROTO_ClearQueue [10:16:02]wFMCommunicate request_size=4 [10:16:02]MH_SAM_APDU [10:16:02]CAPDU: 80 09 00 00 [10:16:02]Write to MH i2c: E2 08 00 53 01 80 09 00 00 00 00 00 00 C6 [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 53 01 00 90 00 C8 [10:16:02]RAPDU: 90 00 [10:16:02]wFMCommunicate OK [10:16:02]SAM_PROTO_ClearQueue done [10:16:02]KKMCreateOFDPacket [10:16:02]OFDProtocolAddRootSTLVToBuf [10:16:02]FM_MakeSignedData [10:16:02]FM_MakeSignedData [10:16:02]SAM_PROTO_SignData [10:16:02]wFMCommunicate request_size=4 [10:16:02]MH_SAM_APDU [10:16:02]CAPDU: 80 0D 01 02 [10:16:02]Write to MH i2c: E2 08 00 54 01 80 0D 01 02 00 00 00 00 CE [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 54 01 00 90 00 C9 [10:16:02]RAPDU: 90 00 [10:16:02]wFMCommunicate OK [10:16:02]wFMCommunicate request_size=255 [10:16:02]MH_SAM_APDU [10:16:02]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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 11 00 00 00 F4 03 04 00 61 0C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 [10:16:02]Write to MH i2c: E2 02 01 55 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 11 00 00 00 F4 03 04 00 61 0C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 00 00 7A [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:02]Read from MH i2c: E2 03 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 55 01 00 90 00 CA [10:16:02]RAPDU: 90 00 [10:16:02]wFMCommunicate OK [10:16:02]wFMCommunicate request_size=41 [10:16:02]MH_SAM_APDU [10:16:02]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7E 00 00 35 04 06 00 60 99 87 CA C6 AB [10:16:02]Write to MH i2c: E2 2C 00 56 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7E 00 00 35 04 06 00 60 99 87 CA C6 AB 00 00 5E [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [10:16:02]RAPDU: 90 00 [10:16:02]wFMCommunicate OK [10:16:02]wFMCommunicate request_size=4 [10:16:02]MH_SAM_APDU [10:16:02]CAPDU: 80 0D 03 02 [10:16:02]Write to MH i2c: E2 08 00 57 01 80 0D 03 02 00 00 00 00 D3 [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 0B 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 0B 00 57 01 00 8D 51 B2 B1 9C BD 64 68 90 00 3A [10:16:02]RAPDU: 8D 51 B2 B1 9C BD 64 68 90 00 [10:16:02]wFMCommunicate OK [10:16:02]SAM_PROTO_SignData done [10:16:02]FM_MakeSignedData done [10:16:02]CreateOFDProtocolMessage [10:16:02]wFMCommunicate request_size=4 [10:16:02]MH_SAM_APDU [10:16:02]CAPDU: 80 11 00 00 [10:16:02]Write to MH i2c: E2 08 00 58 01 80 11 00 00 00 00 00 00 D3 [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:02]Read from MH i2c: E2 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 17 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: E2 17 00 58 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 29 [10:16:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:16:02]wFMCommunicate OK [10:16:02]CreateOFDProtocolMessage done [10:16:02]OFDSenderStorePacket 32386 [10:16:02]StoreOFDPacket docnum=32386 [10:16:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 DF 27 26 01 B1 AF 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 11 00 00 00 F4 03 04 00 61 0C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7E 00 00 35 04 06 00 60 99 87 CA C6 AB 8D 51 B2 B1 9C BD 64 68 [10:16:02]CheckFolder [10:16:02]dirname=/storage/ofd_packets [10:16:02]CheckFolder done [10:16:02]ProducePacketName [10:16:02]name=ofd_packets/00032386 [10:16:02]NVStorageSaveData ofd_packets/00032386 [10:16:02]File name is /storage/ofd_packets/00032386 [10:16:02]Write 332 bytes [10:16:02]NVStorageSaveData done [10:16:02]OFDSenderStorePacket done [10:16:02]KKMCreateOFDPacket done [10:16:02]NVStorageSaveData kkm_last_timestamp [10:16:02]File name is /storage/kkm_last_timestamp [10:16:02]Write 4 bytes [10:16:02]NVStorageSaveData done [10:16:02]ExternCall_PrintAddStr [10:16:02]wPrintStart [10:16:02]Write to MH i2c: 01 00 00 59 01 5A [10:16:02]Write i2c OK [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: 01 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: 01 07 00 [10:16:02]MH_I2C_Read... [10:16:02]Read from MH i2c: 01 07 00 59 01 00 00 00 00 00 FF 0F 6F [10:16:02]RasterBufferAndPrint [10:16:02]line Счет N : (3)130646 [10:16:02]line ИНН: 02508201610067 [10:16:02]line Контрольно-Кассовый Чек [10:16:02]line ПРОДАЖА [10:16:02]line Товар: 2000036220012 [10:16:02]line Кофе Капучино XL(GABB TRADE) [10:16:02]line 1.000 * 139.00 [10:16:02]line = 139.00 [10:16:02]line НДС 12% НСП 1% [10:16:02]line > о реализуемом товаре [10:16:02]line ИТОГО: 139.00 [10:16:02]line НСП 1% : 1.23 [10:16:02]line НДС 12% : 14.76 [10:16:02]line Наличными: 139.00 [10:16:02]line Безнал.: 0.00 [10:16:02]line Место: АЗС № 96 "Партнер Нефть" [10:16:02]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:16:02]line СНО: Общий режим [10:16:02]line Чек 17 17.02.2025 10:16 [10:16:02]line Смена: 382 ФФД: 1.0 [10:16:02]line ЗНМ: 0300000059 [10:16:02]line РНМ: 0000000000146237 [10:16:02]line Версия ККМ: v1.0 [10:16:02]line ФМ: 0000000000959282 [10:16:02]line ФД: 32386 [10:16:02]line ФПД: 106212524476075 [10:16:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T101601&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32386&fm=106212524476075&tin=02508201610067®Number=0000000000146237&sum=13900 [10:16:02]line 0 [10:16:02]written 0, free lines is 4095 [10:16:02]OFD Sender: Processing packet 32386 [packets to send 104, broken 103] [10:16:02]ProducePacketName [10:16:02]name=ofd_packets/00032386 [10:16:02]OFD Sender: To server: pG, [10:16:02]CommunicateWithHost lk.salyk.kg:30040 [10:16:02]ConnectInit lk.salyk.kg [10:16:03]Write to MH i2c: 01 00 00 82 01 83 [10:16:03]Write i2c OK [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: 01 [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: 01 07 00 [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: 01 07 00 82 01 00 00 00 00 00 04 0D 9B [10:16:03]RasterBufferAndPrint [10:16:03]line [10:16:03]line [10:16:03]line [10:16:03]line [10:16:03]line [10:16:03]written 0, free lines is 3338 [10:16:03]MH_Cut [10:16:03]Write to MH i2c: D1 01 00 89 01 01 5C [10:16:03]Write i2c OK [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: D1 [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: D1 01 00 [10:16:03]MH_I2C_Read... [10:16:03]Read from MH i2c: D1 01 00 89 01 00 5B [10:16:03]Write to MH i2c: 01 00 00 8A 01 8B [10:16:03]Write i2c OK [10:16:03]MH_I2C_Read... [10:16:03]Connected sock=10 [10:16:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 DF 27 26 01 B1 AF 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 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 11 00 00 00 F4 03 04 00 61 0C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7E 00 00 35 04 06 00 60 99 87 CA C6 AB 8D 51 B2 B1 9C BD 64 68 [10:16:03]*** Cut start [10:16:03]*** Partial cut [10:16:03]*** CUTSNS_PIN = 1 [10:16:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 67 74 47 00 AC 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7E 00 00 F4 03 04 00 05 B6 B2 67 B6 04 01 00 00 EB 0C 2D 09 49 20 6C C7 [10:16:03]CommunicateWithHost err = 0 [10:16:03]CheckOFDResponse [10:16:03]1017 (14) - 77093643461234 [10:16:03]1041 (16) - 0000000000959282 [10:16:03]1040 (4) - 32386 [10:16:03]1012 (4) - 17.02.2025 04:07 [10:16:03]1206 (1) - 0 [10:16:03]OFD Sender: Remove packet 32386 [10:16:03]ProducePacketName [10:16:03]name=ofd_packets/00032386 [10:16:03]NVStorageDeleteData [10:16:03]*** CUTSNS_PIN = 0 [10:16:04]*** Brake cut motor [10:16:04]OFD Sender: No OFD packet to send [10:16:04]Read from MH i2c: 01 [10:16:04]MH_I2C_Read... [10:16:04]*** Stop cut motor [10:16:04]*** Cut end [10:16:04]Read from MH i2c: 01 07 00 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: 01 07 00 8A 01 00 00 00 00 00 FF 0F A0 [10:16:04]process_action close_receipt done [10:16:04]requested_data is exist [10:16:04]produce_requested_data [10:16:04]requested_item fm.sn is exist - process it [10:16:04]wFMCommunicate request_size=4 [10:16:04]MH_SAM_APDU [10:16:04]CAPDU: 80 11 00 00 [10:16:04]Write to MH i2c: E2 08 00 8B 01 80 11 00 00 00 00 00 00 06 [10:16:04]Write i2c OK [10:16:04]MH_I2C_Read... [10:16:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:16:04]Read from MH i2c: E2 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 17 00 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 17 00 8B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5C [10:16:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:16:04]wFMCommunicate OK [10:16:04]requested_item fd.num is exist - process it [10:16:04]SAM_PROTO_GetFieldsCounters [10:16:04]wFMCommunicate request_size=4 [10:16:04]MH_SAM_APDU [10:16:04]CAPDU: 80 13 00 00 [10:16:04]Write to MH i2c: E2 08 00 8C 01 80 13 00 00 00 00 00 00 09 [10:16:04]Write i2c OK [10:16:04]MH_I2C_Read... [10:16:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:16:04]Read from MH i2c: E2 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 62 00 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 62 00 8C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 82 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [10:16:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 82 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:16:04]wFMCommunicate OK [10:16:04]SAM_PROTO_GetFieldsCounters done [10:16:04]requested_item shift.num is exist - process it [10:16:04]requested_item shift.opened is exist - process it [10:16:04]req_shift_opened [10:16:04]FM_GetShiftState [10:16:04]SAM_PROTO_GetShiftState [10:16:04]wFMCommunicate request_size=4 [10:16:04]MH_SAM_APDU [10:16:04]CAPDU: 80 13 01 00 [10:16:04]Write to MH i2c: E2 08 00 8D 01 80 13 01 00 00 00 00 00 0B [10:16:04]Write i2c OK [10:16:04]MH_I2C_Read... [10:16:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:16:04]Read from MH i2c: E2 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 0E 00 [10:16:04]MH_I2C_Read... [10:16:04]Read from MH i2c: E2 0E 00 8D 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F1 [10:16:04]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:16:04]wFMCommunicate OK [10:16:04]SAM_PROTO_GetShiftState done [10:16:04]FM_GetShiftState done [10:16:04]req_shift_opened done [10:16:04]requested_item shift.open_date is exist - process it [10:16:04]req_shift_open_date [10:16:04]req_shift_open_date done [10:16:04]produce_requested_data done [10:16:04]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32386,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [10:16:04]process_action_free close_receipt [10:16:04]json_value_free [10:16:04]json_value_free done [10:16:04]process_json_proto returns [10:16:04]Send response to host [10:16:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32386,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [10:16:04]free response buf [10:16:04]execute_script done [10:16:04]execute_script returns [10:16:04]free content buf [10:16:04]Sock 9.Close socket [10:16:04]Sock 9.Thread stoped [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:12]recv_with_timeout no data received [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:01]accept exits with 7 [10:28:01]New connection [10:28:01]New thread 3067411812 created [10:28:01]Thread 3067555172 joined [10:28:01]Waiting for new connection... [10:28:01] Sock 7.Parse request [10:28:01]Sock 7.Check first char [10:28:01]Sock 7.First char is OK [10:28:01]request: POST /json_proto HTTP/1.0 [10:28:01]Method: POST [10:28:01]URL: /json_proto [10:28:01]Method is POST - this is cgi request [10:28:01]url: /json_proto [10:28:01]query_string will be loaded in cgi processing [10:28:01]execute_cgi json_proto POST (null) [10:28:01]execute_cgi path=json_proto method=POST [10:28:01]POST find Content-Length [10:28:01]Host: 172.17.47.135:8080 [10:28:01]Content-Length: 1442 [10:28:01]Content-Type: application/json [10:28:01] [10:28:01]POST finish read [10:28:01]Found Content-Length = 1442 [10:28:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130647", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870200194030", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Granat \u0436/\u0431 0,25\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620016303269", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 80 VOK", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 438.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:01]execute_script... [10:28:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130647", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870200194030", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Granat \u0436/\u0431 0,25\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620016303269", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 80 VOK", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 438.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:01]POST & json_proto [10:28:01]process_json_proto [10:28:01]json parsed OK: [10:28:01]protocol is kg_v1.0 [10:28:01]action value=close_receipt [10:28:01]process_action close_receipt [10:28:01]cmd_close_receipt [10:28:01]MH_GetDate [10:28:01]Write to MH i2c: F0 00 00 8E 01 7E [10:28:01]Write i2c OK [10:28:01]MH_I2C_Read... [10:28:01]Read from MH i2c: F0 [10:28:01]MH_I2C_Read... [10:28:01]Read from MH i2c: F0 09 00 [10:28:01]MH_I2C_Read... [10:28:01]Read from MH i2c: F0 09 00 8E 01 00 32 0F B3 67 19 D8 DE 66 17 [10:28:01]GetLastDocTimeStamp 1739787361 [10:28:01]current date 1739788082 [10:28:01]FM_GetShiftState [10:28:01]SAM_PROTO_GetShiftState [10:28:01]wFMCommunicate request_size=4 [10:28:01]MH_SAM_APDU [10:28:01]CAPDU: 80 13 01 00 [10:28:02]Write to MH i2c: E2 08 00 8F 01 80 13 01 00 00 00 00 00 0D [10:28:02]Write i2c OK [10:28:02]MH_I2C_Read... [10:28:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:02]Read from MH i2c: E2 [10:28:02]MH_I2C_Read... [10:28:02]Read from MH i2c: E2 0E 00 [10:28:02]MH_I2C_Read... [10:28:02]Read from MH i2c: E2 0E 00 8F 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F3 [10:28:02]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:28:02]wFMCommunicate OK [10:28:02]SAM_PROTO_GetShiftState done [10:28:02]FM_GetShiftState done [10:28:02]opened in 1739750979 [10:28:02]opened+sec_in_day 1739837379 [10:28:02]quantity*price = 4900 [10:28:02]sum+1 = 4901 [10:28:02]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870200194030 Напиток Granat ж/б 0,25л 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620016303269 Влажная туалетная бумага 80 VOK 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 438.00 НСП 1% : 3.88 НДС 12% : 46.50 Наличными: 438.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 18 17.02.2025 10:28 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32387 ФПД: 229846387086847 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T102802&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32387&fm=229846387086847&tin=02508201610067®Number=0000000000146237&sum=43800 0 [10:28:03]StoreToDocumentArchive [10:28:03]shift 382 fd 32387 [10:28:03]save to /storage/0382/doc_00032387 [10:28:03]save last doc name /storage/0382/doc_00032387 to /storage/kkm_last_doc_name [10:28:03]save OK [10:28:03]Clear old archive folders... [10:28:03]ProcessDocumentItem done err = 0, tmpTLVsize=608 [10:28:03]tlvbuf is 004C25C0 [10:28:03]SAM_PROTO_ClearQueue [10:28:03]wFMCommunicate request_size=4 [10:28:03]MH_SAM_APDU [10:28:03]CAPDU: 80 09 00 00 [10:28:03]Write to MH i2c: E2 08 00 9C 01 80 09 00 00 00 00 00 00 0F [10:28:03]Write i2c OK [10:28:03]MH_I2C_Read... [10:28:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:03]Read from MH i2c: E2 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 9C 01 00 90 00 11 [10:28:03]RAPDU: 90 00 [10:28:03]wFMCommunicate OK [10:28:03]SAM_PROTO_ClearQueue done [10:28:03]KKMCreateOFDPacket [10:28:03]OFDProtocolAddRootSTLVToBuf [10:28:03]FM_MakeSignedData [10:28:03]FM_MakeSignedData [10:28:03]SAM_PROTO_SignData [10:28:03]wFMCommunicate request_size=4 [10:28:03]MH_SAM_APDU [10:28:03]CAPDU: 80 0D 01 02 [10:28:03]Write to MH i2c: E2 08 00 9D 01 80 0D 01 02 00 00 00 00 17 [10:28:03]Write i2c OK [10:28:03]MH_I2C_Read... [10:28:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:03]Read from MH i2c: E2 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 9D 01 00 90 00 12 [10:28:03]RAPDU: 90 00 [10:28:03]wFMCommunicate OK [10:28:03]wFMCommunicate request_size=255 [10:28:03]MH_SAM_APDU [10:28:03]CAPDU: 80 0D 02 02 FA 03 00 60 02 1E 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 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [10:28:03]Write to MH i2c: E2 02 01 9E 01 80 0D 02 02 FA 00 03 00 60 02 1E 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 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 0D [10:28:03]Write i2c OK [10:28:03]MH_I2C_Read... [10:28:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:03]Read from MH i2c: E2 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 9E 01 00 90 00 13 [10:28:03]RAPDU: 90 00 [10:28:03]wFMCommunicate OK [10:28:03]wFMCommunicate request_size=255 [10:28:03]MH_SAM_APDU [10:28:03]CAPDU: 80 0D 02 02 FA 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 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 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 12 00 00 00 00 07 [10:28:03]Write to MH i2c: E2 02 01 9F 01 80 0D 02 02 FA 00 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 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 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 12 00 00 00 00 07 00 00 5B [10:28:03]Write i2c OK [10:28:03]MH_I2C_Read... [10:28:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:03]Read from MH i2c: E2 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 [10:28:03]MH_I2C_Read... [10:28:03]Read from MH i2c: E2 03 00 9F 01 00 90 00 14 [10:28:03]RAPDU: 90 00 [10:28:03]wFMCommunicate OK [10:28:03]wFMCommunicate request_size=117 [10:28:03]MH_SAM_APDU [10:28:03]CAPDU: 80 0D 02 02 70 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 32 0F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7E 00 00 35 04 06 00 D1 0B 48 41 55 FF [10:28:03]Write to MH i2c: E2 78 00 A0 01 80 0D 02 02 70 00 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 32 0F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7E 00 00 35 04 06 00 D1 0B 48 41 55 FF 00 00 98 [10:28:03]Write i2c OK [10:28:03]MH_I2C_Read... [10:28:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:04]Read from MH i2c: E2 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 03 00 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 03 00 A0 01 00 90 00 15 [10:28:04]RAPDU: 90 00 [10:28:04]wFMCommunicate OK [10:28:04]wFMCommunicate request_size=4 [10:28:04]MH_SAM_APDU [10:28:04]CAPDU: 80 0D 03 02 [10:28:04]Write to MH i2c: E2 08 00 A1 01 80 0D 03 02 00 00 00 00 1D [10:28:04]Write i2c OK [10:28:04]MH_I2C_Read... [10:28:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:04]Read from MH i2c: E2 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 0B 00 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 0B 00 A1 01 00 4F D7 C4 8E 1C 2D 2E 6E 90 00 7B [10:28:04]RAPDU: 4F D7 C4 8E 1C 2D 2E 6E 90 00 [10:28:04]wFMCommunicate OK [10:28:04]SAM_PROTO_SignData done [10:28:04]FM_MakeSignedData done [10:28:04]CreateOFDProtocolMessage [10:28:04]wFMCommunicate request_size=4 [10:28:04]MH_SAM_APDU [10:28:04]CAPDU: 80 11 00 00 [10:28:04]Write to MH i2c: E2 08 00 A2 01 80 11 00 00 00 00 00 00 1D [10:28:04]Write i2c OK [10:28:04]MH_I2C_Read... [10:28:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:04]Read from MH i2c: E2 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 17 00 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: E2 17 00 A2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 73 [10:28:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:28:04]wFMCommunicate OK [10:28:04]CreateOFDProtocolMessage done [10:28:04]OFDSenderStorePacket 32387 [10:28:04]StoreOFDPacket docnum=32387 [10:28:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 74 02 00 00 33 98 6C 02 C1 31 5A 03 01 00 03 00 60 02 1E 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 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 32 0F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7E 00 00 35 04 06 00 D1 0B 48 41 55 FF 4F D7 C4 8E 1C 2D 2E 6E [10:28:04]CheckFolder [10:28:04]dirname=/storage/ofd_packets [10:28:04]CheckFolder done [10:28:04]ProducePacketName [10:28:04]name=ofd_packets/00032387 [10:28:04]NVStorageSaveData ofd_packets/00032387 [10:28:04]File name is /storage/ofd_packets/00032387 [10:28:04]Write 658 bytes [10:28:04]NVStorageSaveData done [10:28:04]OFDSenderStorePacket done [10:28:04]KKMCreateOFDPacket done [10:28:04]NVStorageSaveData kkm_last_timestamp [10:28:04]File name is /storage/kkm_last_timestamp [10:28:04]Write 4 bytes [10:28:04]NVStorageSaveData done [10:28:04]ExternCall_PrintAddStr [10:28:04]wPrintStart [10:28:04]Write to MH i2c: 01 00 00 A3 01 A4 [10:28:04]Write i2c OK [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: 01 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: 01 07 00 [10:28:04]MH_I2C_Read... [10:28:04]Read from MH i2c: 01 07 00 A3 01 00 00 00 00 00 FF 0F B9 [10:28:04]RasterBufferAndPrint [10:28:04]line Счет N : (3)130647 [10:28:04]line ИНН: 02508201610067 [10:28:04]line Контрольно-Кассовый Чек [10:28:04]line ПРОДАЖА [10:28:04]line Товар: 40822426 [10:28:04]line Вода Бонаква 0,5л б/г [10:28:04]line 1.000 * 49.00 [10:28:04]line = 49.00 [10:28:04]line НДС 12% НСП 1% [10:28:04]line > о реализуемом товаре [10:28:04]line Товар: 4870200194030 [10:28:04]line Напиток Granat ж/б 0,25л [10:28:04]line 1.000 * 99.00 [10:28:04]line = 99.00 [10:28:04]line НДС 12% НСП 1% [10:28:04]line > о реализуемом товаре [10:28:04]line Товар: 48743587 [10:28:04]line Сигареты Winston XStyle Silver [10:28:04]line 1.000 * 151.00 [10:28:04]line = 151.00 [10:28:04]line НДС 12% НСП 1% [10:28:04]line > о реализуемом товаре [10:28:04]line Товар: 4620016303269 [10:28:04]line Влажная туалетная бумага 80 VOK [10:28:04]line 1.000 * 139.00 [10:28:04]line = 139.00 [10:28:04]line НДС 12% НСП 1% [10:28:04]line > о реализуемом товаре [10:28:04]line ИТОГО: 438.00 [10:28:04]line НСП 1% : 3.88 [10:28:04]line НДС 12% : 46.50 [10:28:04]line Наличными: 438.00 [10:28:04]line Безнал.: 0.00 [10:28:04]line Место: АЗС № 96 "Партнер Нефть" [10:28:04]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:28:04]line СНО: Общий режим [10:28:04]line Чек 18 17.02.2025 10:28 [10:28:04]line Смена: 382 ФФД: 1.0 [10:28:04]line ЗНМ: 0300000059 [10:28:04]line РНМ: 0000000000146237 [10:28:04]line Версия ККМ: v1.0 [10:28:04]line ФМ: 0000000000959282 [10:28:04]line ФД: 32387 [10:28:04]line ФПД: 229846387086847 [10:28:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T102802&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32387&fm=229846387086847&tin=02508201610067®Number=0000000000146237&sum=43800 [10:28:04]OFD Sender: Processing packet 32387 [packets to send 104, broken 103] [10:28:04]ProducePacketName [10:28:04]name=ofd_packets/00032387 [10:28:04]OFD Sender: To server: pG, [10:28:04]CommunicateWithHost lk.salyk.kg:30040 [10:28:04]ConnectInit lk.salyk.kg [10:28:04]line 0 [10:28:04]written 0, free lines is 4095 [10:28:04]Connected sock=10 [10:28:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 74 02 00 00 33 98 6C 02 C1 31 5A 03 01 00 03 00 60 02 1E 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 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 37 30 32 30 30 31 39 34 30 33 30 06 04 22 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 72 61 6E 61 74 20 D0 B6 2F D0 B1 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 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 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 32 0F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7E 00 00 35 04 06 00 D1 0B 48 41 55 FF 4F D7 C4 8E 1C 2D 2E 6E [10:28:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 FD 53 47 00 1E 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7E 00 00 F4 03 04 00 D7 B8 B2 67 B6 04 01 00 00 29 17 46 A0 6C 28 2A F4 [10:28:05]CommunicateWithHost err = 0 [10:28:05]CheckOFDResponse [10:28:05]1017 (14) - 77093643461234 [10:28:05]1041 (16) - 0000000000959282 [10:28:05]1040 (4) - 32387 [10:28:05]1012 (4) - 17.02.2025 04:19 [10:28:05]1206 (1) - 0 [10:28:05]OFD Sender: Remove packet 32387 [10:28:05]ProducePacketName [10:28:05]name=ofd_packets/00032387 [10:28:05]NVStorageDeleteData [10:28:05]Write to MH i2c: 01 00 00 DF 01 E0 [10:28:05]Write i2c OK [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: 01 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: 01 07 00 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 29 0C 1C [10:28:05]RasterBufferAndPrint [10:28:05]line [10:28:05]line [10:28:05]line [10:28:05]line [10:28:05]line [10:28:05]written 0, free lines is 3119 [10:28:05]MH_Cut [10:28:05]Write to MH i2c: D1 01 00 E6 01 01 B9 [10:28:05]Write i2c OK [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: D1 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: D1 01 00 [10:28:05]MH_I2C_Read... [10:28:05]Read from MH i2c: D1 01 00 E6 01 00 B8 [10:28:05]Write to MH i2c: 01 00 00 E7 01 E8 [10:28:05]Write i2c OK [10:28:05]MH_I2C_Read... [10:28:05]OFD Sender: No OFD packet to send [10:28:05]*** Cut start [10:28:05]*** Partial cut [10:28:05]*** CUTSNS_PIN = 1 [10:28:05]*** CUTSNS_PIN = 0 [10:28:06]*** Brake cut motor [10:28:06]Read from MH i2c: 01 [10:28:06]MH_I2C_Read... [10:28:06]*** Stop cut motor [10:28:06]*** Cut end [10:28:06]Read from MH i2c: 01 07 00 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 FF 0F FD [10:28:06]process_action close_receipt done [10:28:06]requested_data is exist [10:28:06]produce_requested_data [10:28:06]requested_item fm.sn is exist - process it [10:28:06]wFMCommunicate request_size=4 [10:28:06]MH_SAM_APDU [10:28:06]CAPDU: 80 11 00 00 [10:28:06]Write to MH i2c: E2 08 00 E8 01 80 11 00 00 00 00 00 00 63 [10:28:06]Write i2c OK [10:28:06]MH_I2C_Read... [10:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:06]Read from MH i2c: E2 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 17 00 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 17 00 E8 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B9 [10:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:28:06]wFMCommunicate OK [10:28:06]requested_item fd.num is exist - process it [10:28:06]SAM_PROTO_GetFieldsCounters [10:28:06]wFMCommunicate request_size=4 [10:28:06]MH_SAM_APDU [10:28:06]CAPDU: 80 13 00 00 [10:28:06]Write to MH i2c: E2 08 00 E9 01 80 13 00 00 00 00 00 00 66 [10:28:06]Write i2c OK [10:28:06]MH_I2C_Read... [10:28:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:06]Read from MH i2c: E2 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 62 00 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 62 00 E9 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 83 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [10:28:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 83 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:06]wFMCommunicate OK [10:28:06]SAM_PROTO_GetFieldsCounters done [10:28:06]requested_item shift.num is exist - process it [10:28:06]requested_item shift.opened is exist - process it [10:28:06]req_shift_opened [10:28:06]FM_GetShiftState [10:28:06]SAM_PROTO_GetShiftState [10:28:06]wFMCommunicate request_size=4 [10:28:06]MH_SAM_APDU [10:28:06]CAPDU: 80 13 01 00 [10:28:06]Write to MH i2c: E2 08 00 EA 01 80 13 01 00 00 00 00 00 68 [10:28:06]Write i2c OK [10:28:06]MH_I2C_Read... [10:28:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:06]Read from MH i2c: E2 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 0E 00 [10:28:06]MH_I2C_Read... [10:28:06]Read from MH i2c: E2 0E 00 EA 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 4E [10:28:06]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:28:06]wFMCommunicate OK [10:28:06]SAM_PROTO_GetShiftState done [10:28:06]FM_GetShiftState done [10:28:06]req_shift_opened done [10:28:06]requested_item shift.open_date is exist - process it [10:28:06]req_shift_open_date [10:28:06]req_shift_open_date done [10:28:06]produce_requested_data done [10:28:06]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32387,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [10:28:06]process_action_free close_receipt [10:28:06]json_value_free [10:28:06]json_value_free done [10:28:06]process_json_proto returns [10:28:06]Send response to host [10:28:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32387,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [10:28:06]free response buf [10:28:06]execute_script done [10:28:06]execute_script returns [10:28:06]free content buf [10:28:06]Sock 7.Close socket [10:28:06]Sock 7.Thread stoped [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:31]recv_with_timeout no data received [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:50]OFD Sender: No OFD packet to send [10:28:55]OFD Sender: No OFD packet to send [10:29:00]OFD Sender: No OFD packet to send [10:29:05]OFD Sender: No OFD packet to send [10:29:10]OFD Sender: No OFD packet to send [10:29:15]OFD Sender: No OFD packet to send [10:29:20]OFD Sender: No OFD packet to send [10:29:25]OFD Sender: No OFD packet to send [10:29:30]OFD Sender: No OFD packet to send [10:29:35]OFD Sender: No OFD packet to send [10:29:40]OFD Sender: No OFD packet to send [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:01]recv_with_timeout no data received [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:21]OFD Sender: No OFD packet to send [10:35:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]OFD Sender: No OFD packet to send [10:36:51]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:11]OFD Sender: No OFD packet to send [10:37:16]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:01]OFD Sender: No OFD packet to send [10:38:06]OFD Sender: No OFD packet to send [10:38:11]OFD Sender: No OFD packet to send [10:38:16]OFD Sender: No OFD packet to send [10:38:21]OFD Sender: No OFD packet to send [10:38:26]OFD Sender: No OFD packet to send [10:38:31]OFD Sender: No OFD packet to send [10:38:36]OFD Sender: No OFD packet to send [10:38:41]OFD Sender: No OFD packet to send [10:38:46]OFD Sender: No OFD packet to send [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:50]accept exits with 9 [10:42:50]New connection [10:42:50]New thread 3067555172 created [10:42:50]Thread 3067411812 joined [10:42:50]Waiting for new connection... [10:42:50] Sock 9.Parse request [10:42:50]Sock 9.Check first char [10:42:50]Sock 9.First char is OK [10:42:50]request: POST /json_proto HTTP/1.0 [10:42:50]Method: POST [10:42:50]URL: /json_proto [10:42:50]Method is POST - this is cgi request [10:42:50]url: /json_proto [10:42:50]query_string will be loaded in cgi processing [10:42:50]execute_cgi json_proto POST (null) [10:42:50]execute_cgi path=json_proto method=POST [10:42:50]POST find Content-Length [10:42:50]Host: 172.17.47.135:8080 [10:42:50]Content-Length: 937 [10:42:50]Content-Type: application/json [10:42:50] [10:42:50]POST finish read [10:42:50]Found Content-Length = 937 [10:42:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130648", "tax_sys" : 0, "items" : [ { "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:50]execute_script... [10:42:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130648", "tax_sys" : 0, "items" : [ { "code": "5449000131836", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 Zero 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:42:50]POST & json_proto [10:42:50]process_json_proto [10:42:50]json parsed OK: [10:42:50]protocol is kg_v1.0 [10:42:50]action value=close_receipt [10:42:50]process_action close_receipt [10:42:50]cmd_close_receipt [10:42:50]MH_GetDate [10:42:50]Write to MH i2c: F0 00 00 EB 01 DB [10:42:50]Write i2c OK [10:42:50]MH_I2C_Read... [10:42:50]Read from MH i2c: F0 [10:42:50]MH_I2C_Read... [10:42:50]Read from MH i2c: F0 09 00 [10:42:50]MH_I2C_Read... [10:42:50]Read from MH i2c: F0 09 00 EB 01 00 AB 12 B3 67 19 D8 DE 66 F0 [10:42:50]GetLastDocTimeStamp 1739788082 [10:42:50]current date 1739788971 [10:42:50]FM_GetShiftState [10:42:50]SAM_PROTO_GetShiftState [10:42:50]wFMCommunicate request_size=4 [10:42:50]MH_SAM_APDU [10:42:50]CAPDU: 80 13 01 00 [10:42:50]Write to MH i2c: E2 08 00 EC 01 80 13 01 00 00 00 00 00 6A [10:42:50]Write i2c OK [10:42:50]MH_I2C_Read... [10:42:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:50]Read from MH i2c: E2 [10:42:50]MH_I2C_Read... [10:42:50]Read from MH i2c: E2 0E 00 [10:42:50]MH_I2C_Read... [10:42:50]Read from MH i2c: E2 0E 00 EC 01 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 50 [10:42:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:42:50]wFMCommunicate OK [10:42:50]SAM_PROTO_GetShiftState done [10:42:50]FM_GetShiftState done [10:42:50]opened in 1739750979 [10:42:50]opened+sec_in_day 1739837379 [10:42:50]quantity*price = 5900 [10:42:50]sum+1 = 5901 [10:42:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607084351361 Бисквит Чоко пай 4шт 1.000 * 129.00 = 129.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 188.00 НСП 1% : 1.66 НДС 12% : 19.96 Наличными: 188.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 19 17.02.2025 10:42 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32388 ФПД: 99703181355803 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T104251&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32388&fm=99703181355803&tin=02508201610067®Number=0000000000146237&sum=18800 0 [10:42:51]StoreToDocumentArchive [10:42:51]shift 382 fd 32388 [10:42:51]save to /storage/0382/doc_00032388 [10:42:51]save last doc name /storage/0382/doc_00032388 to /storage/kkm_last_doc_name [10:42:51]save OK [10:42:51]Clear old archive folders... [10:42:51]ProcessDocumentItem done err = 0, tmpTLVsize=393 [10:42:51]tlvbuf is 004A7A90 [10:42:51]SAM_PROTO_ClearQueue [10:42:51]wFMCommunicate request_size=4 [10:42:51]MH_SAM_APDU [10:42:51]CAPDU: 80 09 00 00 [10:42:51]Write to MH i2c: E2 08 00 F9 01 80 09 00 00 00 00 00 00 6C [10:42:51]OFD Sender: No OFD packet to send [10:42:51]Write i2c OK [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 [10:42:51]MH_I2C_Read... [10:42:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:42:51]Read from MH i2c: E2 03 00 [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 03 00 F9 01 00 90 00 6E [10:42:51]RAPDU: 90 00 [10:42:51]wFMCommunicate OK [10:42:51]SAM_PROTO_ClearQueue done [10:42:51]KKMCreateOFDPacket [10:42:51]OFDProtocolAddRootSTLVToBuf [10:42:51]FM_MakeSignedData [10:42:51]FM_MakeSignedData [10:42:51]SAM_PROTO_SignData [10:42:51]wFMCommunicate request_size=4 [10:42:51]MH_SAM_APDU [10:42:51]CAPDU: 80 0D 01 02 [10:42:51]Write to MH i2c: E2 08 00 FA 01 80 0D 01 02 00 00 00 00 74 [10:42:51]Write i2c OK [10:42:51]MH_I2C_Read... [10:42:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:42:51]Read from MH i2c: E2 [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 03 00 [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 03 00 FA 01 00 90 00 6F [10:42:51]RAPDU: 90 00 [10:42:51]wFMCommunicate OK [10:42:51]wFMCommunicate request_size=255 [10:42:51]MH_SAM_APDU [10:42:51]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 [10:42:51]Write to MH i2c: E2 02 01 FB 01 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 43 [10:42:51]Write i2c OK [10:42:51]MH_I2C_Read... [10:42:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:51]Read from MH i2c: E2 [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 03 00 [10:42:51]MH_I2C_Read... [10:42:51]Read from MH i2c: E2 03 00 FB 01 00 90 00 70 [10:42:51]RAPDU: 90 00 [10:42:51]wFMCommunicate OK [10:42:51]wFMCommunicate request_size=152 [10:42:51]MH_SAM_APDU [10:42:51]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 AB 12 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7E 00 00 35 04 06 00 5A AD F4 B5 2B 1B [10:42:51]Write to MH i2c: E2 9B 00 FC 01 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 AB 12 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7E 00 00 35 04 06 00 5A AD F4 B5 2B 1B 00 00 59 [10:42:51]Write i2c OK [10:42:51]MH_I2C_Read... [10:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:42:52]Read from MH i2c: E2 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 03 00 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [10:42:52]RAPDU: 90 00 [10:42:52]wFMCommunicate OK [10:42:52]wFMCommunicate request_size=4 [10:42:52]MH_SAM_APDU [10:42:52]CAPDU: 80 0D 03 02 [10:42:52]Write to MH i2c: E2 08 00 FD 01 80 0D 03 02 00 00 00 00 79 [10:42:52]Write i2c OK [10:42:52]MH_I2C_Read... [10:42:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:42:52]Read from MH i2c: E2 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 0B 00 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 0B 00 FD 01 00 EF A8 6A 55 91 1E 27 65 90 00 0B [10:42:52]RAPDU: EF A8 6A 55 91 1E 27 65 90 00 [10:42:52]wFMCommunicate OK [10:42:52]SAM_PROTO_SignData done [10:42:52]FM_MakeSignedData done [10:42:52]CreateOFDProtocolMessage [10:42:52]wFMCommunicate request_size=4 [10:42:52]MH_SAM_APDU [10:42:52]CAPDU: 80 11 00 00 [10:42:52]Write to MH i2c: E2 08 00 FE 01 80 11 00 00 00 00 00 00 79 [10:42:52]Write i2c OK [10:42:52]MH_I2C_Read... [10:42:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:52]Read from MH i2c: E2 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 17 00 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: E2 17 00 FE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 CF [10:42:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:42:52]wFMCommunicate OK [10:42:52]CreateOFDProtocolMessage done [10:42:52]OFDSenderStorePacket 32388 [10:42:52]StoreOFDPacket docnum=32388 [10:42:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 9D 01 00 00 B5 A4 95 01 76 0E 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 AB 12 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7E 00 00 35 04 06 00 5A AD F4 B5 2B 1B EF A8 6A 55 91 1E 27 65 [10:42:52]CheckFolder [10:42:52]dirname=/storage/ofd_packets [10:42:52]CheckFolder done [10:42:52]ProducePacketName [10:42:52]name=ofd_packets/00032388 [10:42:52]NVStorageSaveData ofd_packets/00032388 [10:42:52]File name is /storage/ofd_packets/00032388 [10:42:52]Write 443 bytes [10:42:52]NVStorageSaveData done [10:42:52]OFDSenderStorePacket done [10:42:52]KKMCreateOFDPacket done [10:42:52]NVStorageSaveData kkm_last_timestamp [10:42:52]File name is /storage/kkm_last_timestamp [10:42:52]Write 4 bytes [10:42:52]NVStorageSaveData done [10:42:52]ExternCall_PrintAddStr [10:42:52]wPrintStart [10:42:52]Write to MH i2c: 01 00 00 FF 01 00 [10:42:52]Write i2c OK [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: 01 [10:42:52]MH_I2C_Read... [10:42:52]OFD Sender: Processing packet 32388 [packets to send 104, broken 103] [10:42:52]ProducePacketName [10:42:52]name=ofd_packets/00032388 [10:42:52]OFD Sender: To server: pG, [10:42:52]CommunicateWithHost lk.salyk.kg:30040 [10:42:52]ConnectInit lk.salyk.kg [10:42:52]Read from MH i2c: 01 07 00 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: 01 07 00 FF 01 00 00 00 00 00 FF 0F 15 [10:42:52]RasterBufferAndPrint [10:42:52]line Счет N : (3)130648 [10:42:52]line ИНН: 02508201610067 [10:42:52]line Контрольно-Кассовый Чек [10:42:52]line ПРОДАЖА [10:42:52]line Товар: 5449000131836 [10:42:52]line Напиток Кока-Кола Zero 0,5л [10:42:52]line 1.000 * 59.00 [10:42:52]line = 59.00 [10:42:52]line НДС 12% НСП 1% [10:42:52]line > о реализуемом товаре [10:42:52]line Товар: 4607084351361 [10:42:52]line Бисквит Чоко пай 4шт [10:42:52]line 1.000 * 129.00 [10:42:52]line = 129.00 [10:42:52]line НДС 12% НСП 1% [10:42:52]line > о реализуемом товаре [10:42:52]line ИТОГО: 188.00 [10:42:52]line НСП 1% : 1.66 [10:42:52]line НДС 12% : 19.96 [10:42:52]line Наличными: 188.00 [10:42:52]line Безнал.: 0.00 [10:42:52]line Место: АЗС № 96 "Партнер Нефть" [10:42:52]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:42:52]line СНО: Общий режим [10:42:52]line Чек 19 17.02.2025 10:42 [10:42:52]line Смена: 382 ФФД: 1.0 [10:42:52]line ЗНМ: 0300000059 [10:42:52]line РНМ: 0000000000146237 [10:42:52]line Версия ККМ: v1.0 [10:42:52]line ФМ: 0000000000959282 [10:42:52]line ФД: 32388 [10:42:52]line ФПД: 99703181355803 [10:42:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T104251&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32388&fm=99703181355803&tin=02508201610067®Number=0000000000146237&sum=18800 [10:42:52]line 0 [10:42:52]written 0, free lines is 4095 [10:42:52]Connected sock=7 [10:42:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 9D 01 00 00 B5 A4 95 01 76 0E 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 33 31 38 33 36 06 04 2B 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 5A 65 72 6F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 AB 12 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7E 00 00 35 04 06 00 5A AD F4 B5 2B 1B EF A8 6A 55 91 1E 27 65 [10:42:52]Write to MH i2c: 01 00 00 2D 02 2F [10:42:52]Write i2c OK [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: 01 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: 01 07 00 [10:42:52]MH_I2C_Read... [10:42:52]Read from MH i2c: 01 07 00 2D 02 00 00 00 00 00 E3 0C 25 [10:42:53]RasterBufferAndPrint [10:42:53]line [10:42:53]line [10:42:53]line [10:42:53]line [10:42:53]line [10:42:53]written 0, free lines is 3305 [10:42:53]MH_Cut [10:42:53]Write to MH i2c: D1 01 00 34 02 01 08 [10:42:53]Write i2c OK [10:42:53]MH_I2C_Read... [10:42:53]Read from MH i2c: D1 [10:42:53]MH_I2C_Read... [10:42:53]Read from MH i2c: D1 01 00 [10:42:53]MH_I2C_Read... [10:42:53]Read from MH i2c: D1 01 00 34 02 00 07 [10:42:53]Write to MH i2c: 01 00 00 35 02 37 [10:42:53]Write i2c OK [10:42:53]MH_I2C_Read... [10:42:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 65 6D 47 00 2D A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 84 7E 00 00 F4 03 04 00 4F BC B2 67 B6 04 01 00 00 98 4E F9 B7 A6 07 F1 78 [10:42:53]CommunicateWithHost err = 0 [10:42:53]CheckOFDResponse [10:42:53]1017 (14) - 77093643461234 [10:42:53]1041 (16) - 0000000000959282 [10:42:53]1040 (4) - 32388 [10:42:53]1012 (4) - 17.02.2025 04:34 [10:42:53]1206 (1) - 0 [10:42:53]OFD Sender: Remove packet 32388 [10:42:53]ProducePacketName [10:42:53]name=ofd_packets/00032388 [10:42:53]NVStorageDeleteData [10:42:53]*** Cut start [10:42:53]*** Partial cut [10:42:53]*** CUTSNS_PIN = 1 [10:42:53]*** CUTSNS_PIN = 0 [10:42:53]OFD Sender: No OFD packet to send [10:42:53]*** Brake cut motor [10:42:54]Read from MH i2c: 01 [10:42:54]MH_I2C_Read... [10:42:54]*** Stop cut motor [10:42:54]*** Cut end [10:42:54]Read from MH i2c: 01 07 00 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: 01 07 00 35 02 00 00 00 00 00 FF 0F 4C [10:42:54]process_action close_receipt done [10:42:54]requested_data is exist [10:42:54]produce_requested_data [10:42:54]requested_item fm.sn is exist - process it [10:42:54]wFMCommunicate request_size=4 [10:42:54]MH_SAM_APDU [10:42:54]CAPDU: 80 11 00 00 [10:42:54]Write to MH i2c: E2 08 00 36 02 80 11 00 00 00 00 00 00 B2 [10:42:54]Write i2c OK [10:42:54]MH_I2C_Read... [10:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:42:54]Read from MH i2c: E2 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 17 00 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 17 00 36 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 08 [10:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:42:54]wFMCommunicate OK [10:42:54]requested_item fd.num is exist - process it [10:42:54]SAM_PROTO_GetFieldsCounters [10:42:54]wFMCommunicate request_size=4 [10:42:54]MH_SAM_APDU [10:42:54]CAPDU: 80 13 00 00 [10:42:54]Write to MH i2c: E2 08 00 37 02 80 13 00 00 00 00 00 00 B5 [10:42:54]Write i2c OK [10:42:54]MH_I2C_Read... [10:42:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:42:54]Read from MH i2c: E2 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 62 00 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 62 00 37 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 84 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [10:42:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 84 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:42:54]wFMCommunicate OK [10:42:54]SAM_PROTO_GetFieldsCounters done [10:42:54]requested_item shift.num is exist - process it [10:42:54]requested_item shift.opened is exist - process it [10:42:54]req_shift_opened [10:42:54]FM_GetShiftState [10:42:54]SAM_PROTO_GetShiftState [10:42:54]wFMCommunicate request_size=4 [10:42:54]MH_SAM_APDU [10:42:54]CAPDU: 80 13 01 00 [10:42:54]Write to MH i2c: E2 08 00 38 02 80 13 01 00 00 00 00 00 B7 [10:42:54]Write i2c OK [10:42:54]MH_I2C_Read... [10:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:42:54]Read from MH i2c: E2 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 0E 00 [10:42:54]MH_I2C_Read... [10:42:54]Read from MH i2c: E2 0E 00 38 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 9D [10:42:54]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:42:54]wFMCommunicate OK [10:42:54]SAM_PROTO_GetShiftState done [10:42:54]FM_GetShiftState done [10:42:54]req_shift_opened done [10:42:54]requested_item shift.open_date is exist - process it [10:42:54]req_shift_open_date [10:42:54]req_shift_open_date done [10:42:54]produce_requested_data done [10:42:54]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32388,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [10:42:54]process_action_free close_receipt [10:42:54]json_value_free [10:42:54]json_value_free done [10:42:54]process_json_proto returns [10:42:54]Send response to host [10:42:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32388,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [10:42:54]free response buf [10:42:54]execute_script done [10:42:54]execute_script returns [10:42:54]free content buf [10:42:54]Sock 9.Close socket [10:42:54]Sock 9.Thread stoped [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:50]recv_with_timeout no data received [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:36]recv_with_timeout no data received [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:30]accept exits with 10 [10:53:30]New connection [10:53:30]New thread 3067411812 created [10:53:30]Thread 3067555172 joined [10:53:30]Waiting for new connection... [10:53:30] Sock 10.Parse request [10:53:30]Sock 10.Check first char [10:53:30]Sock 10.First char is OK [10:53:30]request: POST /json_proto HTTP/1.0 [10:53:30]Method: POST [10:53:30]URL: /json_proto [10:53:30]Method is POST - this is cgi request [10:53:30]url: /json_proto [10:53:30]query_string will be loaded in cgi processing [10:53:30]execute_cgi json_proto POST (null) [10:53:30]execute_cgi path=json_proto method=POST [10:53:30]POST find Content-Length [10:53:30]Host: 172.17.47.135:8080 [10:53:30]Content-Length: 800 [10:53:30]Content-Type: application/json [10:53:30] [10:53:30]POST finish read [10:53:30]Found Content-Length = 800 [10:53:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130649", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:53:30]execute_script... [10:53:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130649", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:53:30]POST & json_proto [10:53:30]process_json_proto [10:53:30]json parsed OK: [10:53:30]protocol is kg_v1.0 [10:53:30]action value=close_receipt [10:53:30]process_action close_receipt [10:53:30]cmd_close_receipt [10:53:30]MH_GetDate [10:53:30]Write to MH i2c: F0 00 00 39 02 2A [10:53:30]Write i2c OK [10:53:30]MH_I2C_Read... [10:53:30]Read from MH i2c: F0 [10:53:30]MH_I2C_Read... [10:53:30]Read from MH i2c: F0 09 00 [10:53:30]MH_I2C_Read... [10:53:30]Read from MH i2c: F0 09 00 39 02 00 2B 15 B3 67 19 D8 DE 66 C2 [10:53:30]GetLastDocTimeStamp 1739788971 [10:53:30]current date 1739789611 [10:53:30]FM_GetShiftState [10:53:30]SAM_PROTO_GetShiftState [10:53:30]wFMCommunicate request_size=4 [10:53:30]MH_SAM_APDU [10:53:30]CAPDU: 80 13 01 00 [10:53:30]Write to MH i2c: E2 08 00 3A 02 80 13 01 00 00 00 00 00 B9 [10:53:30]Write i2c OK [10:53:30]MH_I2C_Read... [10:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:53:30]Read from MH i2c: E2 [10:53:30]MH_I2C_Read... [10:53:30]Read from MH i2c: E2 0E 00 [10:53:30]MH_I2C_Read... [10:53:30]Read from MH i2c: E2 0E 00 3A 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 9F [10:53:30]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:53:30]wFMCommunicate OK [10:53:30]SAM_PROTO_GetShiftState done [10:53:30]FM_GetShiftState done [10:53:30]opened in 1739750979 [10:53:30]opened+sec_in_day 1739837379 [10:53:30]quantity*price = 15100 [10:53:30]sum+1 = 15101 [10:53:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 0.00 Безнал.: 151.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 20 17.02.2025 10:53 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32389 ФПД: 45055591182913 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T105331&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32389&fm=45055591182913&tin=02508201610067®Number=0000000000146237&sum=15100 0 [10:53:31]StoreToDocumentArchive [10:53:31]shift 382 fd 32389 [10:53:31]save to /storage/0382/doc_00032389 [10:53:31]save last doc name /storage/0382/doc_00032389 to /storage/kkm_last_doc_name [10:53:31]save OK [10:53:31]Clear old archive folders... [10:53:31]ProcessDocumentItem done err = 0, tmpTLVsize=275 [10:53:31]tlvbuf is 004A5480 [10:53:31]SAM_PROTO_ClearQueue [10:53:31]wFMCommunicate request_size=4 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 09 00 00 [10:53:31]Write to MH i2c: E2 08 00 47 02 80 09 00 00 00 00 00 00 BB [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 47 02 00 90 00 BD [10:53:31]RAPDU: 90 00 [10:53:31]wFMCommunicate OK [10:53:31]SAM_PROTO_ClearQueue done [10:53:31]KKMCreateOFDPacket [10:53:31]OFDProtocolAddRootSTLVToBuf [10:53:31]FM_MakeSignedData [10:53:31]FM_MakeSignedData [10:53:31]SAM_PROTO_SignData [10:53:31]wFMCommunicate request_size=4 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 0D 01 02 [10:53:31]Write to MH i2c: E2 08 00 48 02 80 0D 01 02 00 00 00 00 C3 [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 48 02 00 90 00 BE [10:53:31]RAPDU: 90 00 [10:53:31]wFMCommunicate OK [10:53:31]wFMCommunicate request_size=255 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2B 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 [10:53:31]Write to MH i2c: E2 02 01 49 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2B 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 00 00 FD [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 49 02 00 90 00 BF [10:53:31]RAPDU: 90 00 [10:53:31]wFMCommunicate OK [10:53:31]wFMCommunicate request_size=34 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7E 00 00 35 04 06 00 28 FA 52 81 F2 41 [10:53:31]Write to MH i2c: E2 25 00 4A 02 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7E 00 00 35 04 06 00 28 FA 52 81 F2 41 00 00 B5 [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 03 00 4A 02 00 90 00 C0 [10:53:31]RAPDU: 90 00 [10:53:31]wFMCommunicate OK [10:53:31]wFMCommunicate request_size=4 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 0D 03 02 [10:53:31]Write to MH i2c: E2 08 00 4B 02 80 0D 03 02 00 00 00 00 C8 [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 0B 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 0B 00 4B 02 00 06 EC 0E 34 FF D7 3E 67 90 00 78 [10:53:31]RAPDU: 06 EC 0E 34 FF D7 3E 67 90 00 [10:53:31]wFMCommunicate OK [10:53:31]SAM_PROTO_SignData done [10:53:31]FM_MakeSignedData done [10:53:31]CreateOFDProtocolMessage [10:53:31]wFMCommunicate request_size=4 [10:53:31]MH_SAM_APDU [10:53:31]CAPDU: 80 11 00 00 [10:53:31]Write to MH i2c: E2 08 00 4C 02 80 11 00 00 00 00 00 00 C8 [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:53:31]Read from MH i2c: E2 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 17 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: E2 17 00 4C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1E [10:53:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:53:31]wFMCommunicate OK [10:53:31]CreateOFDProtocolMessage done [10:53:31]OFDSenderStorePacket 32389 [10:53:31]StoreOFDPacket docnum=32389 [10:53:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 4E 49 1F 01 6D 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2B 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7E 00 00 35 04 06 00 28 FA 52 81 F2 41 06 EC 0E 34 FF D7 3E 67 [10:53:31]CheckFolder [10:53:31]dirname=/storage/ofd_packets [10:53:31]CheckFolder done [10:53:31]ProducePacketName [10:53:31]name=ofd_packets/00032389 [10:53:31]NVStorageSaveData ofd_packets/00032389 [10:53:31]File name is /storage/ofd_packets/00032389 [10:53:31]Write 325 bytes [10:53:31]NVStorageSaveData done [10:53:31]OFDSenderStorePacket done [10:53:31]KKMCreateOFDPacket done [10:53:31]NVStorageSaveData kkm_last_timestamp [10:53:31]File name is /storage/kkm_last_timestamp [10:53:31]Write 4 bytes [10:53:31]NVStorageSaveData done [10:53:31]ExternCall_PrintAddStr [10:53:31]wPrintStart [10:53:31]Write to MH i2c: 01 00 00 4D 02 4F [10:53:31]Write i2c OK [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: 01 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: 01 07 00 [10:53:31]MH_I2C_Read... [10:53:31]Read from MH i2c: 01 07 00 4D 02 00 00 00 00 00 FF 0F 64 [10:53:31]RasterBufferAndPrint [10:53:31]line Счет N : (3)130649 [10:53:31]line ИНН: 02508201610067 [10:53:31]line Контрольно-Кассовый Чек [10:53:31]line ПРОДАЖА [10:53:31]line Товар: 48743587 [10:53:31]line Сигареты Winston XStyle Silver [10:53:31]line 1.000 * 151.00 [10:53:31]line = 151.00 [10:53:31]line НДС 12% НСП 1% [10:53:31]line > о реализуемом товаре [10:53:31]line ИТОГО: 151.00 [10:53:31]line НСП 1% : 1.34 [10:53:31]line НДС 12% : 16.03 [10:53:31]line Наличными: 0.00 [10:53:31]line Безнал.: 151.00 [10:53:31]line Место: АЗС № 96 "Партнер Нефть" [10:53:31]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:53:31]line СНО: Общий режим [10:53:31]line Чек 20 17.02.2025 10:53 [10:53:31]line Смена: 382 ФФД: 1.0 [10:53:31]line ЗНМ: 0300000059 [10:53:31]line РНМ: 0000000000146237 [10:53:31]line Версия ККМ: v1.0 [10:53:31]line Платежная система: Бакай Банк [10:53:31]line ФМ: 0000000000959282 [10:53:31]line ФД: 32389 [10:53:31]line ФПД: 45055591182913 [10:53:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T105331&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32389&fm=45055591182913&tin=02508201610067®Number=0000000000146237&sum=15100 [10:53:32]line 0 [10:53:32]OFD Sender: Processing packet 32389 [packets to send 104, broken 103] [10:53:32]ProducePacketName [10:53:32]name=ofd_packets/00032389 [10:53:32]OFD Sender: To server: pG, [10:53:32]CommunicateWithHost lk.salyk.kg:30040 [10:53:32]ConnectInit lk.salyk.kg [10:53:32]written 0, free lines is 4095 [10:53:32]Connected sock=9 [10:53:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 4E 49 1F 01 6D 0A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2B 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7E 00 00 35 04 06 00 28 FA 52 81 F2 41 06 EC 0E 34 FF D7 3E 67 [10:53:32]Write to MH i2c: 01 00 00 78 02 7A [10:53:32]Write i2c OK [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: 01 [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: 01 07 00 [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: 01 07 00 78 02 00 00 00 00 00 EE 0C 7B [10:53:32]RasterBufferAndPrint [10:53:32]line [10:53:32]line [10:53:32]line [10:53:32]line [10:53:32]line [10:53:32]written 0, free lines is 3317 [10:53:32]MH_Cut [10:53:32]Write to MH i2c: D1 01 00 7F 02 01 53 [10:53:32]Write i2c OK [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: D1 [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: D1 01 00 [10:53:32]MH_I2C_Read... [10:53:32]Read from MH i2c: D1 01 00 7F 02 00 52 [10:53:32]Write to MH i2c: 01 00 00 80 02 82 [10:53:32]Write i2c OK [10:53:32]MH_I2C_Read... [10:53:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 B4 E0 47 00 89 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7E 00 00 F4 03 04 00 CF BE B2 67 B6 04 01 00 00 12 90 18 35 36 0F 31 D9 [10:53:33]CommunicateWithHost err = 0 [10:53:33]CheckOFDResponse [10:53:33]1017 (14) - 77093643461234 [10:53:33]1041 (16) - 0000000000959282 [10:53:33]1040 (4) - 32389 [10:53:33]1012 (4) - 17.02.2025 04:45 [10:53:33]1206 (1) - 0 [10:53:33]OFD Sender: Remove packet 32389 [10:53:33]ProducePacketName [10:53:33]name=ofd_packets/00032389 [10:53:33]NVStorageDeleteData [10:53:33]*** Cut start [10:53:33]*** Partial cut [10:53:33]*** CUTSNS_PIN = 1 [10:53:33]*** CUTSNS_PIN = 0 [10:53:33]*** Brake cut motor [10:53:33]OFD Sender: No OFD packet to send [10:53:33]Read from MH i2c: 01 [10:53:33]MH_I2C_Read... [10:53:33]*** Stop cut motor [10:53:33]*** Cut end [10:53:33]Read from MH i2c: 01 07 00 [10:53:33]MH_I2C_Read... [10:53:33]Read from MH i2c: 01 07 00 80 02 00 00 00 00 00 FF 0F 97 [10:53:33]process_action close_receipt done [10:53:33]requested_data is exist [10:53:33]produce_requested_data [10:53:33]requested_item fm.sn is exist - process it [10:53:33]wFMCommunicate request_size=4 [10:53:33]MH_SAM_APDU [10:53:33]CAPDU: 80 11 00 00 [10:53:33]Write to MH i2c: E2 08 00 81 02 80 11 00 00 00 00 00 00 FD [10:53:33]Write i2c OK [10:53:33]MH_I2C_Read... [10:53:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:53:34]Read from MH i2c: E2 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 17 00 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 17 00 81 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 53 [10:53:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:53:34]wFMCommunicate OK [10:53:34]requested_item fd.num is exist - process it [10:53:34]SAM_PROTO_GetFieldsCounters [10:53:34]wFMCommunicate request_size=4 [10:53:34]MH_SAM_APDU [10:53:34]CAPDU: 80 13 00 00 [10:53:34]Write to MH i2c: E2 08 00 82 02 80 13 00 00 00 00 00 00 00 [10:53:34]Write i2c OK [10:53:34]MH_I2C_Read... [10:53:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:53:34]Read from MH i2c: E2 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 62 00 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 62 00 82 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 85 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [10:53:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 85 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:53:34]wFMCommunicate OK [10:53:34]SAM_PROTO_GetFieldsCounters done [10:53:34]requested_item shift.num is exist - process it [10:53:34]requested_item shift.opened is exist - process it [10:53:34]req_shift_opened [10:53:34]FM_GetShiftState [10:53:34]SAM_PROTO_GetShiftState [10:53:34]wFMCommunicate request_size=4 [10:53:34]MH_SAM_APDU [10:53:34]CAPDU: 80 13 01 00 [10:53:34]Write to MH i2c: E2 08 00 83 02 80 13 01 00 00 00 00 00 02 [10:53:34]Write i2c OK [10:53:34]MH_I2C_Read... [10:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:53:34]Read from MH i2c: E2 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 0E 00 [10:53:34]MH_I2C_Read... [10:53:34]Read from MH i2c: E2 0E 00 83 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 E8 [10:53:34]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:53:34]wFMCommunicate OK [10:53:34]SAM_PROTO_GetShiftState done [10:53:34]FM_GetShiftState done [10:53:34]req_shift_opened done [10:53:34]requested_item shift.open_date is exist - process it [10:53:34]req_shift_open_date [10:53:34]req_shift_open_date done [10:53:34]produce_requested_data done [10:53:34]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32389,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [10:53:34]process_action_free close_receipt [10:53:34]json_value_free [10:53:34]json_value_free done [10:53:34]process_json_proto returns [10:53:34]Send response to host [10:53:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32389,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [10:53:34]free response buf [10:53:34]execute_script done [10:53:34]execute_script returns [10:53:34]free content buf [10:53:34]Sock 10.Close socket [10:53:34]Sock 10.Thread stoped [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:58]OFD Sender: No OFD packet to send [10:55:03]OFD Sender: No OFD packet to send [10:55:08]OFD Sender: No OFD packet to send [10:55:13]OFD Sender: No OFD packet to send [10:55:18]OFD Sender: No OFD packet to send [10:55:23]OFD Sender: No OFD packet to send [10:55:28]OFD Sender: No OFD packet to send [10:55:33]OFD Sender: No OFD packet to send [10:55:38]OFD Sender: No OFD packet to send [10:55:43]OFD Sender: No OFD packet to send [10:55:47]accept exits with 7 [10:55:47]New connection [10:55:47]New thread 3067555172 created [10:55:47]Thread 3067411812 joined [10:55:47]Waiting for new connection... [10:55:47] Sock 7.Parse request [10:55:47]Sock 7.Check first char [10:55:47]Sock 7.First char is OK [10:55:47]request: POST /json_proto HTTP/1.0 [10:55:47]Method: POST [10:55:47]URL: /json_proto [10:55:47]Method is POST - this is cgi request [10:55:47]url: /json_proto [10:55:47]query_string will be loaded in cgi processing [10:55:47]execute_cgi json_proto POST (null) [10:55:47]execute_cgi path=json_proto method=POST [10:55:47]POST find Content-Length [10:55:47]Host: 172.17.47.135:8080 [10:55:47]Content-Length: 700 [10:55:47]Content-Type: application/json [10:55:47] [10:55:47]POST finish read [10:55:47]Found Content-Length = 700 [10:55:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130650", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:47]execute_script... [10:55:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130650", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:55:47]POST & json_proto [10:55:47]process_json_proto [10:55:47]json parsed OK: [10:55:47]protocol is kg_v1.0 [10:55:47]action value=close_receipt [10:55:47]process_action close_receipt [10:55:47]cmd_close_receipt [10:55:47]MH_GetDate [10:55:47]Write to MH i2c: F0 00 00 84 02 75 [10:55:47]Write i2c OK [10:55:47]MH_I2C_Read... [10:55:47]Read from MH i2c: F0 [10:55:47]MH_I2C_Read... [10:55:47]Read from MH i2c: F0 09 00 [10:55:47]MH_I2C_Read... [10:55:47]Read from MH i2c: F0 09 00 84 02 00 B3 15 B3 67 19 D8 DE 66 95 [10:55:47]GetLastDocTimeStamp 1739789611 [10:55:47]current date 1739789747 [10:55:47]FM_GetShiftState [10:55:47]SAM_PROTO_GetShiftState [10:55:47]wFMCommunicate request_size=4 [10:55:47]MH_SAM_APDU [10:55:47]CAPDU: 80 13 01 00 [10:55:47]Write to MH i2c: E2 08 00 85 02 80 13 01 00 00 00 00 00 04 [10:55:47]Write i2c OK [10:55:47]MH_I2C_Read... [10:55:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:47]Read from MH i2c: E2 [10:55:47]MH_I2C_Read... [10:55:47]Read from MH i2c: E2 0E 00 [10:55:47]MH_I2C_Read... [10:55:47]Read from MH i2c: E2 0E 00 85 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 EA [10:55:47]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:55:47]wFMCommunicate OK [10:55:47]SAM_PROTO_GetShiftState done [10:55:47]FM_GetShiftState done [10:55:47]opened in 1739750979 [10:55:47]opened+sec_in_day 1739837379 [10:55:47]quantity*price = 9400 [10:55:47]sum+1 = 9401 [10:55:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 94.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 21 17.02.2025 10:55 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32390 ФПД: 189010152576974 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T105548&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32390&fm=189010152576974&tin=02508201610067®Number=0000000000146237&sum=9400 0 [10:55:48]StoreToDocumentArchive [10:55:48]shift 382 fd 32390 [10:55:48]save to /storage/0382/doc_00032390 [10:55:48]save last doc name /storage/0382/doc_00032390 to /storage/kkm_last_doc_name [10:55:48]save OK [10:55:48]Clear old archive folders... [10:55:48]ProcessDocumentItem done err = 0, tmpTLVsize=303 [10:55:48]tlvbuf is 004F2050 [10:55:48]SAM_PROTO_ClearQueue [10:55:48]wFMCommunicate request_size=4 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 09 00 00 [10:55:48]Write to MH i2c: E2 08 00 92 02 80 09 00 00 00 00 00 00 06 [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 92 02 00 90 00 08 [10:55:48]RAPDU: 90 00 [10:55:48]wFMCommunicate OK [10:55:48]SAM_PROTO_ClearQueue done [10:55:48]KKMCreateOFDPacket [10:55:48]OFDProtocolAddRootSTLVToBuf [10:55:48]FM_MakeSignedData [10:55:48]FM_MakeSignedData [10:55:48]SAM_PROTO_SignData [10:55:48]wFMCommunicate request_size=4 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 0D 01 02 [10:55:48]Write to MH i2c: E2 08 00 93 02 80 0D 01 02 00 00 00 00 0E [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 93 02 00 90 00 09 [10:55:48]RAPDU: 90 00 [10:55:48]wFMCommunicate OK [10:55:48]wFMCommunicate request_size=255 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 B4 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D [10:55:48]Write to MH i2c: E2 02 01 94 02 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 B4 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 00 00 5D [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 94 02 00 90 00 0A [10:55:48]RAPDU: 90 00 [10:55:48]wFMCommunicate OK [10:55:48]wFMCommunicate request_size=62 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7E 00 00 35 04 06 00 AB E7 5B 00 D7 CE [10:55:48]Write to MH i2c: E2 41 00 95 02 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7E 00 00 35 04 06 00 AB E7 5B 00 D7 CE 00 00 E3 [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 03 00 95 02 00 90 00 0B [10:55:48]RAPDU: 90 00 [10:55:48]wFMCommunicate OK [10:55:48]wFMCommunicate request_size=4 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 0D 03 02 [10:55:48]Write to MH i2c: E2 08 00 96 02 80 0D 03 02 00 00 00 00 13 [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 0B 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 0B 00 96 02 00 CA 18 7D AB 22 68 B6 A6 90 00 04 [10:55:48]RAPDU: CA 18 7D AB 22 68 B6 A6 90 00 [10:55:48]wFMCommunicate OK [10:55:48]SAM_PROTO_SignData done [10:55:48]FM_MakeSignedData done [10:55:48]CreateOFDProtocolMessage [10:55:48]wFMCommunicate request_size=4 [10:55:48]MH_SAM_APDU [10:55:48]CAPDU: 80 11 00 00 [10:55:48]Write to MH i2c: E2 08 00 97 02 80 11 00 00 00 00 00 00 13 [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:48]Read from MH i2c: E2 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 17 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: E2 17 00 97 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 69 [10:55:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:55:48]wFMCommunicate OK [10:55:48]CreateOFDProtocolMessage done [10:55:48]OFDSenderStorePacket 32390 [10:55:48]StoreOFDPacket docnum=32390 [10:55:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 BF 64 3B 01 0E 8D 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 B4 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7E 00 00 35 04 06 00 AB E7 5B 00 D7 CE CA 18 7D AB 22 68 B6 A6 [10:55:48]CheckFolder [10:55:48]dirname=/storage/ofd_packets [10:55:48]CheckFolder done [10:55:48]ProducePacketName [10:55:48]name=ofd_packets/00032390 [10:55:48]NVStorageSaveData ofd_packets/00032390 [10:55:48]File name is /storage/ofd_packets/00032390 [10:55:48]Write 353 bytes [10:55:48]NVStorageSaveData done [10:55:48]OFDSenderStorePacket done [10:55:48]KKMCreateOFDPacket done [10:55:48]NVStorageSaveData kkm_last_timestamp [10:55:48]File name is /storage/kkm_last_timestamp [10:55:48]Write 4 bytes [10:55:48]NVStorageSaveData done [10:55:48]ExternCall_PrintAddStr [10:55:48]wPrintStart [10:55:48]Write to MH i2c: 01 00 00 98 02 9A [10:55:48]Write i2c OK [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: 01 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: 01 07 00 [10:55:48]MH_I2C_Read... [10:55:48]Read from MH i2c: 01 07 00 98 02 00 00 00 00 00 FF 0F AF [10:55:48]RasterBufferAndPrint [10:55:48]line Счет N : (3)130650 [10:55:48]line ИНН: 02508201610067 [10:55:48]line Контрольно-Кассовый Чек [10:55:48]line ПРОДАЖА [10:55:48]line Товар: 4700000482757 [10:55:48]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [10:55:48]line 1.000 * 94.00 [10:55:48]line = 94.00 [10:55:48]line НДС 12% НСП 1% [10:55:48]line > о реализуемом товаре [10:55:48]line ИТОГО: 94.00 [10:55:48]line НСП 1% : 0.83 [10:55:48]line НДС 12% : 9.98 [10:55:48]line Наличными: 94.00 [10:55:48]line Безнал.: 0.00 [10:55:48]line Место: АЗС № 96 "Партнер Нефть" [10:55:48]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:55:48]line СНО: Общий режим [10:55:48]line Чек 21 17.02.2025 10:55 [10:55:48]line Смена: 382 ФФД: 1.0 [10:55:48]line ЗНМ: 0300000059 [10:55:48]line РНМ: 0000000000146237 [10:55:48]line Версия ККМ: v1.0 [10:55:48]line ФМ: 0000000000959282 [10:55:48]line ФД: 32390 [10:55:48]line ФПД: 189010152576974 [10:55:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T105548&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32390&fm=189010152576974&tin=02508201610067®Number=0000000000146237&sum=9400 [10:55:49]line 0 [10:55:49]OFD Sender: Processing packet 32390 [packets to send 104, broken 103] [10:55:49]ProducePacketName [10:55:49]name=ofd_packets/00032390 [10:55:49]OFD Sender: To server: pG, [10:55:49]CommunicateWithHost lk.salyk.kg:30040 [10:55:49]ConnectInit lk.salyk.kg [10:55:49]written 0, free lines is 4095 [10:55:49]Write to MH i2c: 01 00 00 C1 02 C3 [10:55:49]Write i2c OK [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: 01 [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: 01 07 00 [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FA 0C D0 [10:55:49]RasterBufferAndPrint [10:55:49]line [10:55:49]line [10:55:49]line [10:55:49]line [10:55:49]line [10:55:49]written 0, free lines is 3327 [10:55:49]MH_Cut [10:55:49]Write to MH i2c: D1 01 00 C8 02 01 9C [10:55:49]Write i2c OK [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: D1 [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: D1 01 00 [10:55:49]MH_I2C_Read... [10:55:49]Read from MH i2c: D1 01 00 C8 02 00 9B [10:55:49]Write to MH i2c: 01 00 00 C9 02 CB [10:55:49]Write i2c OK [10:55:49]MH_I2C_Read... [10:55:50]*** Cut start [10:55:50]*** Partial cut [10:55:50]*** CUTSNS_PIN = 1 [10:55:50]*** CUTSNS_PIN = 0 [10:55:50]*** Brake cut motor [10:55:50]Read from MH i2c: 01 [10:55:50]MH_I2C_Read... [10:55:50]*** Stop cut motor [10:55:50]*** Cut end [10:55:50]Read from MH i2c: 01 07 00 [10:55:50]MH_I2C_Read... [10:55:50]Read from MH i2c: 01 07 00 C9 02 00 00 00 00 00 FF 0F E0 [10:55:50]process_action close_receipt done [10:55:50]requested_data is exist [10:55:50]produce_requested_data [10:55:50]requested_item fm.sn is exist - process it [10:55:50]wFMCommunicate request_size=4 [10:55:50]MH_SAM_APDU [10:55:50]CAPDU: 80 11 00 00 [10:55:50]Write to MH i2c: E2 08 00 CA 02 80 11 00 00 00 00 00 00 46 [10:55:50]Write i2c OK [10:55:50]MH_I2C_Read... [10:55:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:55:50]Read from MH i2c: E2 [10:55:50]MH_I2C_Read... [10:55:50]Read from MH i2c: E2 17 00 [10:55:50]MH_I2C_Read... [10:55:50]Read from MH i2c: E2 17 00 CA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 9C [10:55:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:55:50]wFMCommunicate OK [10:55:50]requested_item fd.num is exist - process it [10:55:50]SAM_PROTO_GetFieldsCounters [10:55:50]wFMCommunicate request_size=4 [10:55:50]MH_SAM_APDU [10:55:50]CAPDU: 80 13 00 00 [10:55:50]Write to MH i2c: E2 08 00 CB 02 80 13 00 00 00 00 00 00 49 [10:55:50]Write i2c OK [10:55:50]MH_I2C_Read... [10:55:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:55:51]Read from MH i2c: E2 [10:55:51]MH_I2C_Read... [10:55:51]Read from MH i2c: E2 62 00 [10:55:51]MH_I2C_Read... [10:55:51]Read from MH i2c: E2 62 00 CB 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 86 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [10:55:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 86 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:55:51]wFMCommunicate OK [10:55:51]SAM_PROTO_GetFieldsCounters done [10:55:51]requested_item shift.num is exist - process it [10:55:51]requested_item shift.opened is exist - process it [10:55:51]req_shift_opened [10:55:51]FM_GetShiftState [10:55:51]SAM_PROTO_GetShiftState [10:55:51]wFMCommunicate request_size=4 [10:55:51]MH_SAM_APDU [10:55:51]CAPDU: 80 13 01 00 [10:55:51]Write to MH i2c: E2 08 00 CC 02 80 13 01 00 00 00 00 00 4B [10:55:51]Write i2c OK [10:55:51]MH_I2C_Read... [10:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:55:51]Read from MH i2c: E2 [10:55:51]MH_I2C_Read... [10:55:51]Read from MH i2c: E2 0E 00 [10:55:51]MH_I2C_Read... [10:55:51]Read from MH i2c: E2 0E 00 CC 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 31 [10:55:51]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [10:55:51]wFMCommunicate OK [10:55:51]SAM_PROTO_GetShiftState done [10:55:51]FM_GetShiftState done [10:55:51]req_shift_opened done [10:55:51]requested_item shift.open_date is exist - process it [10:55:51]req_shift_open_date [10:55:51]req_shift_open_date done [10:55:51]produce_requested_data done [10:55:51]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32390,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [10:55:51]process_action_free close_receipt [10:55:51]json_value_free [10:55:51]json_value_free done [10:55:51]process_json_proto returns [10:55:51]Send response to host [10:55:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32390,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [10:55:51]free response buf [10:55:51]execute_script done [10:55:51]execute_script returns [10:55:51]free content buf [10:55:51]Sock 7.Close socket [10:55:51]Sock 7.Thread stoped [10:55:54]ConnectInit Can't take IP for lk.salyk.kg [10:55:54]CommunicateWithHost connect error [10:55:54]CommunicateWithHost err = -1 [10:55:54]OFD Sender: Server communicate error [10:55:59]OFD Sender: Processing packet 32390 [packets to send 104, broken 103] [10:55:59]ProducePacketName [10:55:59]name=ofd_packets/00032390 [10:55:59]OFD Sender: To server: pG, [10:55:59]CommunicateWithHost lk.salyk.kg:30040 [10:55:59]ConnectInit lk.salyk.kg [10:56:04]ConnectInit Can't take IP for lk.salyk.kg [10:56:04]CommunicateWithHost connect error [10:56:04]CommunicateWithHost err = -1 [10:56:04]OFD Sender: Server communicate error [10:56:09]OFD Sender: Processing packet 32390 [packets to send 104, broken 103] [10:56:09]ProducePacketName [10:56:09]name=ofd_packets/00032390 [10:56:09]OFD Sender: To server: pG, [10:56:09]CommunicateWithHost lk.salyk.kg:30040 [10:56:09]ConnectInit lk.salyk.kg [10:56:09]Connected sock=7 [10:56:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 BF 64 3B 01 0E 8D 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 B4 15 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7E 00 00 35 04 06 00 AB E7 5B 00 D7 CE CA 18 7D AB 22 68 B6 A6 [10:56:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 3A 2F 47 00 8A 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7E 00 00 F4 03 04 00 6C BF B2 67 B6 04 01 00 00 AC 8E 26 F9 59 CE 35 5A [10:56:09]CommunicateWithHost err = 0 [10:56:09]CheckOFDResponse [10:56:09]1017 (14) - 77093643461234 [10:56:09]1041 (16) - 0000000000959282 [10:56:09]1040 (4) - 32390 [10:56:09]1012 (4) - 17.02.2025 04:47 [10:56:09]1206 (1) - 0 [10:56:09]OFD Sender: Remove packet 32390 [10:56:09]ProducePacketName [10:56:09]name=ofd_packets/00032390 [10:56:09]NVStorageDeleteData [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:52]recv_with_timeout no data received [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:09]recv_with_timeout no data received [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:56]OFD Sender: No OFD packet to send [11:08:01]OFD Sender: No OFD packet to send [11:08:06]OFD Sender: No OFD packet to send [11:08:11]OFD Sender: No OFD packet to send [11:08:16]OFD Sender: No OFD packet to send [11:08:21]OFD Sender: No OFD packet to send [11:08:26]OFD Sender: No OFD packet to send [11:08:31]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:21]accept exits with 10 [11:10:21]New connection [11:10:21]New thread 3067411812 created [11:10:21]Thread 3067555172 joined [11:10:21]Waiting for new connection... [11:10:21] Sock 10.Parse request [11:10:21]Sock 10.Check first char [11:10:21]Sock 10.First char is OK [11:10:21]request: POST /json_proto HTTP/1.0 [11:10:21]Method: POST [11:10:21]URL: /json_proto [11:10:21]Method is POST - this is cgi request [11:10:21]url: /json_proto [11:10:21]query_string will be loaded in cgi processing [11:10:21]execute_cgi json_proto POST (null) [11:10:21]execute_cgi path=json_proto method=POST [11:10:21]POST find Content-Length [11:10:21]Host: 172.17.47.135:8080 [11:10:21]Content-Length: 817 [11:10:21]Content-Type: application/json [11:10:21] [11:10:21]POST finish read [11:10:21]Found Content-Length = 817 [11:10:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543256", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 400.61 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:21]execute_script... [11:10:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543256", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 400.61 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:21]POST & json_proto [11:10:21]process_json_proto [11:10:21]json parsed OK: [11:10:21]protocol is kg_v1.0 [11:10:21]action value=close_receipt [11:10:21]process_action close_receipt [11:10:21]cmd_close_receipt [11:10:21]MH_GetDate [11:10:21]Write to MH i2c: F0 00 00 CD 02 BE [11:10:21]Write i2c OK [11:10:21]MH_I2C_Read... [11:10:21]Read from MH i2c: F0 [11:10:21]MH_I2C_Read... [11:10:21]Read from MH i2c: F0 09 00 [11:10:21]MH_I2C_Read... [11:10:21]Read from MH i2c: F0 09 00 CD 02 00 1E 19 B3 67 19 D8 DE 66 4D [11:10:21]GetLastDocTimeStamp 1739789748 [11:10:21]current date 1739790622 [11:10:21]FM_GetShiftState [11:10:21]SAM_PROTO_GetShiftState [11:10:21]wFMCommunicate request_size=4 [11:10:21]MH_SAM_APDU [11:10:21]CAPDU: 80 13 01 00 [11:10:21]Write to MH i2c: E2 08 00 CE 02 80 13 01 00 00 00 00 00 4D [11:10:21]Write i2c OK [11:10:21]MH_I2C_Read... [11:10:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:21]Read from MH i2c: E2 [11:10:21]MH_I2C_Read... [11:10:21]Read from MH i2c: E2 0E 00 [11:10:21]MH_I2C_Read... [11:10:21]Read from MH i2c: E2 0E 00 CE 02 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 33 [11:10:21]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:10:21]wFMCommunicate OK [11:10:21]SAM_PROTO_GetShiftState done [11:10:21]FM_GetShiftState done [11:10:21]opened in 1739750979 [11:10:21]opened+sec_in_day 1739837379 [11:10:21]quantity*price = 40060 [11:10:21]sum+1 = 40062 [11:10:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.61 НСП 1% : 3.54 НДС 12% : 42.54 Наличными: 0.00 Безнал.: 400.61 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 22 17.02.2025 11:10 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32391 ФПД: 65872429338066 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111022&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32391&fm=65872429338066&tin=02508201610067®Number=0000000000146237&sum=40061 [11:10:22]StoreToDocumentArchive [11:10:22]shift 382 fd 32391 [11:10:22]save to /storage/0382/doc_00032391 [11:10:22]save last doc name /storage/0382/doc_00032391 to /storage/kkm_last_doc_name [11:10:22]save OK [11:10:22]Clear old archive folders... [11:10:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:10:22]tlvbuf is 004C0CD0 [11:10:22]SAM_PROTO_ClearQueue [11:10:22]wFMCommunicate request_size=4 [11:10:22]MH_SAM_APDU [11:10:22]CAPDU: 80 09 00 00 [11:10:22]Write to MH i2c: E2 08 00 DB 02 80 09 00 00 00 00 00 00 4F [11:10:22]Write i2c OK [11:10:22]MH_I2C_Read... [11:10:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:10:22]Read from MH i2c: E2 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 DB 02 00 90 00 51 [11:10:22]RAPDU: 90 00 [11:10:22]wFMCommunicate OK [11:10:22]SAM_PROTO_ClearQueue done [11:10:22]KKMCreateOFDPacket [11:10:22]OFDProtocolAddRootSTLVToBuf [11:10:22]FM_MakeSignedData [11:10:22]FM_MakeSignedData [11:10:22]SAM_PROTO_SignData [11:10:22]wFMCommunicate request_size=4 [11:10:22]MH_SAM_APDU [11:10:22]CAPDU: 80 0D 01 02 [11:10:22]Write to MH i2c: E2 08 00 DC 02 80 0D 01 02 00 00 00 00 57 [11:10:22]Write i2c OK [11:10:22]MH_I2C_Read... [11:10:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:10:22]Read from MH i2c: E2 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 DC 02 00 90 00 52 [11:10:22]RAPDU: 90 00 [11:10:22]wFMCommunicate OK [11:10:22]wFMCommunicate request_size=255 [11:10:22]MH_SAM_APDU [11:10:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1E 19 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7E 00 00 35 04 06 00 3B [11:10:22]Write to MH i2c: E2 02 01 DD 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1E 19 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7E 00 00 35 04 06 00 3B 00 00 89 [11:10:22]Write i2c OK [11:10:22]MH_I2C_Read... [11:10:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:22]Read from MH i2c: E2 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 [11:10:22]MH_I2C_Read... [11:10:22]Read from MH i2c: E2 03 00 DD 02 00 90 00 53 [11:10:22]RAPDU: 90 00 [11:10:22]wFMCommunicate OK [11:10:22]wFMCommunicate request_size=10 [11:10:22]MH_SAM_APDU [11:10:22]CAPDU: 80 0D 02 02 05 E9 1E C0 4D D2 [11:10:22]Write to MH i2c: E2 0D 00 DE 02 80 0D 02 02 05 00 E9 1E C0 4D D2 00 00 4A [11:10:22]Write i2c OK [11:10:22]MH_I2C_Read... [11:10:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:23]Read from MH i2c: E2 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 03 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 03 00 DE 02 00 90 00 54 [11:10:23]RAPDU: 90 00 [11:10:23]wFMCommunicate OK [11:10:23]wFMCommunicate request_size=4 [11:10:23]MH_SAM_APDU [11:10:23]CAPDU: 80 0D 03 02 [11:10:23]Write to MH i2c: E2 08 00 DF 02 80 0D 03 02 00 00 00 00 5C [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:10:23]Read from MH i2c: E2 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 0B 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 0B 00 DF 02 00 3E 4C 8C 47 51 9A 1A 13 90 00 D2 [11:10:23]RAPDU: 3E 4C 8C 47 51 9A 1A 13 90 00 [11:10:23]wFMCommunicate OK [11:10:23]SAM_PROTO_SignData done [11:10:23]FM_MakeSignedData done [11:10:23]CreateOFDProtocolMessage [11:10:23]wFMCommunicate request_size=4 [11:10:23]MH_SAM_APDU [11:10:23]CAPDU: 80 11 00 00 [11:10:23]Write to MH i2c: E2 08 00 E0 02 80 11 00 00 00 00 00 00 5C [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:23]Read from MH i2c: E2 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 17 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: E2 17 00 E0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B2 [11:10:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:10:23]wFMCommunicate OK [11:10:23]CreateOFDProtocolMessage done [11:10:23]OFDSenderStorePacket 32391 [11:10:23]StoreOFDPacket docnum=32391 [11:10:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 F9 FD 07 01 7A B1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1E 19 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7E 00 00 35 04 06 00 3B E9 1E C0 4D D2 3E 4C 8C 47 51 9A 1A 13 [11:10:23]CheckFolder [11:10:23]dirname=/storage/ofd_packets [11:10:23]CheckFolder done [11:10:23]ProducePacketName [11:10:23]name=ofd_packets/00032391 [11:10:23]NVStorageSaveData ofd_packets/00032391 [11:10:23]File name is /storage/ofd_packets/00032391 [11:10:23]Write 301 bytes [11:10:23]NVStorageSaveData done [11:10:23]OFDSenderStorePacket done [11:10:23]KKMCreateOFDPacket done [11:10:23]NVStorageSaveData kkm_last_timestamp [11:10:23]File name is /storage/kkm_last_timestamp [11:10:23]Write 4 bytes [11:10:23]NVStorageSaveData done [11:10:23]ExternCall_PrintAddStr [11:10:23]wPrintStart [11:10:23]Write to MH i2c: 01 00 00 E1 02 E3 [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 07 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 07 00 E1 02 00 00 00 00 00 FF 0F F8 [11:10:23]RasterBufferAndPrint [11:10:23]line Счет N : (1)6543256 [11:10:23]line ИНН: 02508201610067 [11:10:23]line Контрольно-Кассовый Чек [11:10:23]line ПРОДАЖА [11:10:23]line ТРК (МРК, ГНК) : 12 [11:10:23]line Товар: 2710124130 [11:10:23]line Аи-92-К-5 [11:10:23]line 6.240 * 64.20 [11:10:23]line = 400.61 [11:10:23]line НДС 12% НСП 1% [11:10:23]line > о реализуемом товаре [11:10:23]line ИТОГО: 400.61 [11:10:23]line НСП 1% : 3.54 [11:10:23]line НДС 12% : 42.54 [11:10:23]line Наличными: 0.00 [11:10:23]line Безнал.: 400.61 [11:10:23]line Место: АЗС № 96 "Партнер Нефть" [11:10:23]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:10:23]line СНО: Общий режим [11:10:23]line Чек 22 17.02.2025 11:10 [11:10:23]line Смена: 382 ФФД: 1.0 [11:10:23]line ЗНМ: 0300000059 [11:10:23]line РНМ: 0000000000146237 [11:10:23]line Версия ККМ: v1.0 [11:10:23]line Платежная система: Бакай Банк [11:10:23]line ФМ: 0000000000959282 [11:10:23]line ФД: 32391 [11:10:23]line ФПД: 65872429338066 [11:10:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111022&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32391&fm=65872429338066&tin=02508201610067®Number=0000000000146237&sum=40061 [11:10:23]OFD Sender: Processing packet 32391 [packets to send 104, broken 103] [11:10:23]ProducePacketName [11:10:23]name=ofd_packets/00032391 [11:10:23]OFD Sender: To server: pG, [11:10:23]CommunicateWithHost lk.salyk.kg:30040 [11:10:23]ConnectInit lk.salyk.kg [11:10:23]written 0, free lines is 4095 [11:10:23]Connected sock=9 [11:10:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 F9 FD 07 01 7A B1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7D 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1E 19 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7E 00 00 35 04 06 00 3B E9 1E C0 4D D2 3E 4C 8C 47 51 9A 1A 13 [11:10:23]Write to MH i2c: 01 00 00 0B 03 0E [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 07 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: 01 07 00 0B 03 00 00 00 00 00 FE 0C 1F [11:10:23]RasterBufferAndPrint [11:10:23]line [11:10:23]line [11:10:23]line [11:10:23]line [11:10:23]line [11:10:23]written 0, free lines is 3331 [11:10:23]MH_Cut [11:10:23]Write to MH i2c: D1 01 00 12 03 01 E7 [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: D1 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: D1 01 00 [11:10:23]MH_I2C_Read... [11:10:23]Read from MH i2c: D1 01 00 12 03 00 E6 [11:10:23]Write to MH i2c: 01 00 00 13 03 16 [11:10:23]Write i2c OK [11:10:23]MH_I2C_Read... [11:10:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 F6 C4 47 00 1B 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 87 7E 00 00 F4 03 04 00 C2 C2 B2 67 B6 04 01 00 00 11 99 24 5A 05 FB 4A 02 [11:10:24]CommunicateWithHost err = 0 [11:10:24]CheckOFDResponse [11:10:24]1017 (14) - 77093643461234 [11:10:24]1041 (16) - 0000000000959282 [11:10:24]1040 (4) - 32391 [11:10:24]1012 (4) - 17.02.2025 05:01 [11:10:24]1206 (1) - 0 [11:10:24]OFD Sender: Remove packet 32391 [11:10:24]ProducePacketName [11:10:24]name=ofd_packets/00032391 [11:10:24]NVStorageDeleteData [11:10:24]OFD Sender: No OFD packet to send [11:10:24]*** Cut start [11:10:24]*** Partial cut [11:10:24]*** CUTSNS_PIN = 1 [11:10:24]*** CUTSNS_PIN = 0 [11:10:24]*** Brake cut motor [11:10:25]Read from MH i2c: 01 [11:10:25]MH_I2C_Read... [11:10:25]*** Stop cut motor [11:10:25]*** Cut end [11:10:25]Read from MH i2c: 01 07 00 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: 01 07 00 13 03 00 00 00 00 00 FF 0F 2B [11:10:25]process_action close_receipt done [11:10:25]requested_data is exist [11:10:25]produce_requested_data [11:10:25]requested_item fm.sn is exist - process it [11:10:25]wFMCommunicate request_size=4 [11:10:25]MH_SAM_APDU [11:10:25]CAPDU: 80 11 00 00 [11:10:25]Write to MH i2c: E2 08 00 14 03 80 11 00 00 00 00 00 00 91 [11:10:25]Write i2c OK [11:10:25]MH_I2C_Read... [11:10:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:25]Read from MH i2c: E2 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 17 00 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 17 00 14 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E7 [11:10:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:10:25]wFMCommunicate OK [11:10:25]requested_item fd.num is exist - process it [11:10:25]SAM_PROTO_GetFieldsCounters [11:10:25]wFMCommunicate request_size=4 [11:10:25]MH_SAM_APDU [11:10:25]CAPDU: 80 13 00 00 [11:10:25]Write to MH i2c: E2 08 00 15 03 80 13 00 00 00 00 00 00 94 [11:10:25]Write i2c OK [11:10:25]MH_I2C_Read... [11:10:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:10:25]Read from MH i2c: E2 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 62 00 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 62 00 15 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 7C [11:10:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:10:25]wFMCommunicate OK [11:10:25]SAM_PROTO_GetFieldsCounters done [11:10:25]requested_item shift.num is exist - process it [11:10:25]requested_item shift.opened is exist - process it [11:10:25]req_shift_opened [11:10:25]FM_GetShiftState [11:10:25]SAM_PROTO_GetShiftState [11:10:25]wFMCommunicate request_size=4 [11:10:25]MH_SAM_APDU [11:10:25]CAPDU: 80 13 01 00 [11:10:25]Write to MH i2c: E2 08 00 16 03 80 13 01 00 00 00 00 00 96 [11:10:25]Write i2c OK [11:10:25]MH_I2C_Read... [11:10:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:25]Read from MH i2c: E2 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 0E 00 [11:10:25]MH_I2C_Read... [11:10:25]Read from MH i2c: E2 0E 00 16 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 7C [11:10:25]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:10:25]wFMCommunicate OK [11:10:25]SAM_PROTO_GetShiftState done [11:10:25]FM_GetShiftState done [11:10:25]req_shift_opened done [11:10:25]requested_item shift.open_date is exist - process it [11:10:25]req_shift_open_date [11:10:25]req_shift_open_date done [11:10:25]produce_requested_data done [11:10:25]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32391,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:10:25]process_action_free close_receipt [11:10:25]json_value_free [11:10:25]json_value_free done [11:10:25]process_json_proto returns [11:10:25]Send response to host [11:10:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32391,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:10:25]free response buf [11:10:25]execute_script done [11:10:25]execute_script returns [11:10:25]free content buf [11:10:25]Sock 10.Close socket [11:10:25]Sock 10.Thread stoped [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:46]accept exits with 7 [11:14:46]New connection [11:14:46]New thread 3067555172 created [11:14:46]Thread 3067411812 joined [11:14:46]Waiting for new connection... [11:14:46] Sock 7.Parse request [11:14:46]Sock 7.Check first char [11:14:46]Sock 7.First char is OK [11:14:46]request: POST /json_proto HTTP/1.0 [11:14:46]Method: POST [11:14:46]URL: /json_proto [11:14:46]Method is POST - this is cgi request [11:14:46]url: /json_proto [11:14:46]query_string will be loaded in cgi processing [11:14:46]execute_cgi json_proto POST (null) [11:14:46]execute_cgi path=json_proto method=POST [11:14:46]POST find Content-Length [11:14:46]Host: 172.17.47.135:8080 [11:14:46]Content-Length: 817 [11:14:46]Content-Type: application/json [11:14:46] [11:14:46]POST finish read [11:14:46]Found Content-Length = 817 [11:14:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543259", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "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" : 300.46 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:46]execute_script... [11:14:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543259", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "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" : 300.46 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:46]POST & json_proto [11:14:46]process_json_proto [11:14:46]json parsed OK: [11:14:46]protocol is kg_v1.0 [11:14:46]action value=close_receipt [11:14:46]process_action close_receipt [11:14:46]cmd_close_receipt [11:14:46]MH_GetDate [11:14:46]Write to MH i2c: F0 00 00 17 03 09 [11:14:46]Write i2c OK [11:14:46]MH_I2C_Read... [11:14:46]Read from MH i2c: F0 [11:14:46]MH_I2C_Read... [11:14:46]Read from MH i2c: F0 09 00 [11:14:46]MH_I2C_Read... [11:14:46]Read from MH i2c: F0 09 00 17 03 00 27 1A B3 67 19 D8 DE 66 A2 [11:14:46]GetLastDocTimeStamp 1739790622 [11:14:46]current date 1739790887 [11:14:46]FM_GetShiftState [11:14:46]SAM_PROTO_GetShiftState [11:14:46]wFMCommunicate request_size=4 [11:14:46]MH_SAM_APDU [11:14:46]CAPDU: 80 13 01 00 [11:14:46]Write to MH i2c: E2 08 00 18 03 80 13 01 00 00 00 00 00 98 [11:14:46]Write i2c OK [11:14:46]MH_I2C_Read... [11:14:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:46]Read from MH i2c: E2 [11:14:46]MH_I2C_Read... [11:14:46]Read from MH i2c: E2 0E 00 [11:14:46]MH_I2C_Read... [11:14:46]Read from MH i2c: E2 0E 00 18 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 7E [11:14:46]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:14:46]wFMCommunicate OK [11:14:46]SAM_PROTO_GetShiftState done [11:14:46]FM_GetShiftState done [11:14:46]opened in 1739750979 [11:14:46]opened+sec_in_day 1739837379 [11:14:46]quantity*price = 30045 [11:14:46]sum+1 = 30047 [11:14:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.46 НСП 1% : 2.66 НДС 12% : 31.91 Наличными: 0.00 Безнал.: 300.46 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 23 17.02.2025 11:14 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32392 ФПД: 246455271103689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111447&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32392&fm=246455271103689&tin=02508201610067®Number=0000000000146237&sum=30046 [11:14:47]StoreToDocumentArchive [11:14:47]shift 382 fd 32392 [11:14:47]save to /storage/0382/doc_00032392 [11:14:47]save last doc name /storage/0382/doc_00032392 to /storage/kkm_last_doc_name [11:14:47]save OK [11:14:47]Clear old archive folders... [11:14:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:14:47]tlvbuf is 004F25C0 [11:14:47]SAM_PROTO_ClearQueue [11:14:47]wFMCommunicate request_size=4 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 09 00 00 [11:14:47]Write to MH i2c: E2 08 00 25 03 80 09 00 00 00 00 00 00 9A [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 25 03 00 90 00 9C [11:14:47]RAPDU: 90 00 [11:14:47]wFMCommunicate OK [11:14:47]SAM_PROTO_ClearQueue done [11:14:47]KKMCreateOFDPacket [11:14:47]OFDProtocolAddRootSTLVToBuf [11:14:47]FM_MakeSignedData [11:14:47]FM_MakeSignedData [11:14:47]SAM_PROTO_SignData [11:14:47]wFMCommunicate request_size=4 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 0D 01 02 [11:14:47]Write to MH i2c: E2 08 00 26 03 80 0D 01 02 00 00 00 00 A2 [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 26 03 00 90 00 9D [11:14:47]RAPDU: 90 00 [11:14:47]wFMCommunicate OK [11:14:47]wFMCommunicate request_size=255 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 27 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7E 00 00 35 04 06 00 E0 [11:14:47]Write to MH i2c: E2 02 01 27 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 27 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7E 00 00 35 04 06 00 E0 00 00 12 [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 27 03 00 90 00 9E [11:14:47]RAPDU: 90 00 [11:14:47]wFMCommunicate OK [11:14:47]wFMCommunicate request_size=10 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 0D 02 02 05 26 56 E3 1C C9 [11:14:47]Write to MH i2c: E2 0D 00 28 03 80 0D 02 02 05 00 26 56 E3 1C C9 00 00 F3 [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 03 00 28 03 00 90 00 9F [11:14:47]RAPDU: 90 00 [11:14:47]wFMCommunicate OK [11:14:47]wFMCommunicate request_size=4 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 0D 03 02 [11:14:47]Write to MH i2c: E2 08 00 29 03 80 0D 03 02 00 00 00 00 A7 [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 0B 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 0B 00 29 03 00 26 D2 C7 A0 57 1F 48 F9 90 00 BE [11:14:47]RAPDU: 26 D2 C7 A0 57 1F 48 F9 90 00 [11:14:47]wFMCommunicate OK [11:14:47]SAM_PROTO_SignData done [11:14:47]FM_MakeSignedData done [11:14:47]CreateOFDProtocolMessage [11:14:47]wFMCommunicate request_size=4 [11:14:47]MH_SAM_APDU [11:14:47]CAPDU: 80 11 00 00 [11:14:47]Write to MH i2c: E2 08 00 2A 03 80 11 00 00 00 00 00 00 A7 [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:47]Read from MH i2c: E2 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 17 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: E2 17 00 2A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FD [11:14:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:14:47]wFMCommunicate OK [11:14:47]CreateOFDProtocolMessage done [11:14:47]OFDSenderStorePacket 32392 [11:14:47]StoreOFDPacket docnum=32392 [11:14:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 65 3D 07 01 0C 26 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 27 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7E 00 00 35 04 06 00 E0 26 56 E3 1C C9 26 D2 C7 A0 57 1F 48 F9 [11:14:47]CheckFolder [11:14:47]dirname=/storage/ofd_packets [11:14:47]CheckFolder done [11:14:47]ProducePacketName [11:14:47]name=ofd_packets/00032392 [11:14:47]NVStorageSaveData ofd_packets/00032392 [11:14:47]File name is /storage/ofd_packets/00032392 [11:14:47]Write 301 bytes [11:14:47]NVStorageSaveData done [11:14:47]OFDSenderStorePacket done [11:14:47]KKMCreateOFDPacket done [11:14:47]NVStorageSaveData kkm_last_timestamp [11:14:47]File name is /storage/kkm_last_timestamp [11:14:47]Write 4 bytes [11:14:47]NVStorageSaveData done [11:14:47]ExternCall_PrintAddStr [11:14:47]wPrintStart [11:14:47]Write to MH i2c: 01 00 00 2B 03 2E [11:14:47]Write i2c OK [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: 01 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: 01 07 00 [11:14:47]MH_I2C_Read... [11:14:47]Read from MH i2c: 01 07 00 2B 03 00 00 00 00 00 FF 0F 43 [11:14:47]RasterBufferAndPrint [11:14:47]line Счет N : (1)6543259 [11:14:47]line ИНН: 02508201610067 [11:14:47]line Контрольно-Кассовый Чек [11:14:47]line ПРОДАЖА [11:14:47]line ТРК (МРК, ГНК) : 42 [11:14:47]line Товар: 2710124130 [11:14:47]line Аи-92-К-5 [11:14:47]line 4.680 * 64.20 [11:14:47]line = 300.46 [11:14:47]line НДС 12% НСП 1% [11:14:47]line > о реализуемом товаре [11:14:47]line ИТОГО: 300.46 [11:14:47]line НСП 1% : 2.66 [11:14:47]line НДС 12% : 31.91 [11:14:47]line Наличными: 0.00 [11:14:47]line Безнал.: 300.46 [11:14:47]line Место: АЗС № 96 "Партнер Нефть" [11:14:47]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:14:47]line СНО: Общий режим [11:14:47]line Чек 23 17.02.2025 11:14 [11:14:47]OFD Sender: Processing packet 32392 [packets to send 104, broken 103] [11:14:47]ProducePacketName [11:14:47]name=ofd_packets/00032392 [11:14:47]OFD Sender: To server: pG, [11:14:47]CommunicateWithHost lk.salyk.kg:30040 [11:14:47]ConnectInit lk.salyk.kg [11:14:47]line Смена: 382 ФФД: 1.0 [11:14:47]line ЗНМ: 0300000059 [11:14:47]line РНМ: 0000000000146237 [11:14:47]line Версия ККМ: v1.0 [11:14:47]line Платежная система: Бакай Банк [11:14:48]line ФМ: 0000000000959282 [11:14:48]line ФД: 32392 [11:14:48]line ФПД: 246455271103689 [11:14:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111447&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32392&fm=246455271103689&tin=02508201610067®Number=0000000000146237&sum=30046 [11:14:48]Connected sock=10 [11:14:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 65 3D 07 01 0C 26 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 27 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7E 00 00 35 04 06 00 E0 26 56 E3 1C C9 26 D2 C7 A0 57 1F 48 F9 [11:14:48]written 0, free lines is 4095 [11:14:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 5B D1 47 00 51 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 88 7E 00 00 F4 03 04 00 CA C3 B2 67 B6 04 01 00 00 B9 75 19 D5 7B F5 EA 3D [11:14:48]CommunicateWithHost err = 0 [11:14:48]CheckOFDResponse [11:14:48]1017 (14) - 77093643461234 [11:14:48]1041 (16) - 0000000000959282 [11:14:48]1040 (4) - 32392 [11:14:48]1012 (4) - 17.02.2025 05:06 [11:14:48]1206 (1) - 0 [11:14:48]OFD Sender: Remove packet 32392 [11:14:48]ProducePacketName [11:14:48]name=ofd_packets/00032392 [11:14:48]NVStorageDeleteData [11:14:48]Write to MH i2c: 01 00 00 55 03 58 [11:14:48]Write i2c OK [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: 01 [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: 01 07 00 [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: 01 07 00 55 03 00 00 00 00 00 01 0D 6D [11:14:48]RasterBufferAndPrint [11:14:48]line [11:14:48]line [11:14:48]line [11:14:48]line [11:14:48]line [11:14:48]written 0, free lines is 3335 [11:14:48]MH_Cut [11:14:48]Write to MH i2c: D1 01 00 5C 03 01 31 [11:14:48]Write i2c OK [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: D1 [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: D1 01 00 [11:14:48]MH_I2C_Read... [11:14:48]Read from MH i2c: D1 01 00 5C 03 00 30 [11:14:48]Write to MH i2c: 01 00 00 5D 03 60 [11:14:48]Write i2c OK [11:14:48]MH_I2C_Read... [11:14:49]OFD Sender: No OFD packet to send [11:14:49]*** Cut start [11:14:49]*** Partial cut [11:14:49]*** CUTSNS_PIN = 1 [11:14:49]*** CUTSNS_PIN = 0 [11:14:49]*** Brake cut motor [11:14:50]Read from MH i2c: 01 [11:14:50]MH_I2C_Read... [11:14:50]*** Stop cut motor [11:14:50]*** Cut end [11:14:50]Read from MH i2c: 01 07 00 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: 01 07 00 5D 03 00 00 00 00 00 FF 0F 75 [11:14:50]process_action close_receipt done [11:14:50]requested_data is exist [11:14:50]produce_requested_data [11:14:50]requested_item fm.sn is exist - process it [11:14:50]wFMCommunicate request_size=4 [11:14:50]MH_SAM_APDU [11:14:50]CAPDU: 80 11 00 00 [11:14:50]Write to MH i2c: E2 08 00 5E 03 80 11 00 00 00 00 00 00 DB [11:14:50]Write i2c OK [11:14:50]MH_I2C_Read... [11:14:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:50]Read from MH i2c: E2 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 17 00 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 17 00 5E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 31 [11:14:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:14:50]wFMCommunicate OK [11:14:50]requested_item fd.num is exist - process it [11:14:50]SAM_PROTO_GetFieldsCounters [11:14:50]wFMCommunicate request_size=4 [11:14:50]MH_SAM_APDU [11:14:50]CAPDU: 80 13 00 00 [11:14:50]Write to MH i2c: E2 08 00 5F 03 80 13 00 00 00 00 00 00 DE [11:14:50]Write i2c OK [11:14:50]MH_I2C_Read... [11:14:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:14:50]Read from MH i2c: E2 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 62 00 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 62 00 5F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 88 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 CA [11:14:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 88 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:14:50]wFMCommunicate OK [11:14:50]SAM_PROTO_GetFieldsCounters done [11:14:50]requested_item shift.num is exist - process it [11:14:50]requested_item shift.opened is exist - process it [11:14:50]req_shift_opened [11:14:50]FM_GetShiftState [11:14:50]SAM_PROTO_GetShiftState [11:14:50]wFMCommunicate request_size=4 [11:14:50]MH_SAM_APDU [11:14:50]CAPDU: 80 13 01 00 [11:14:50]Write to MH i2c: E2 08 00 60 03 80 13 01 00 00 00 00 00 E0 [11:14:50]Write i2c OK [11:14:50]MH_I2C_Read... [11:14:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:50]Read from MH i2c: E2 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 0E 00 [11:14:50]MH_I2C_Read... [11:14:50]Read from MH i2c: E2 0E 00 60 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C6 [11:14:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:14:50]wFMCommunicate OK [11:14:50]SAM_PROTO_GetShiftState done [11:14:50]FM_GetShiftState done [11:14:50]req_shift_opened done [11:14:50]requested_item shift.open_date is exist - process it [11:14:50]req_shift_open_date [11:14:50]req_shift_open_date done [11:14:50]produce_requested_data done [11:14:50]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32392,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:14:50]process_action_free close_receipt [11:14:50]json_value_free [11:14:50]json_value_free done [11:14:50]process_json_proto returns [11:14:50]Send response to host [11:14:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32392,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:14:50]free response buf [11:14:50]execute_script done [11:14:50]execute_script returns [11:14:50]free content buf [11:14:50]Sock 7.Close socket [11:14:50]Sock 7.Thread stoped [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:20]accept exits with 9 [11:16:20]New connection [11:16:20]New thread 3067411812 created [11:16:20]Thread 3067555172 joined [11:16:20]Waiting for new connection... [11:16:20] Sock 9.Parse request [11:16:20]Sock 9.Check first char [11:16:20]Sock 9.First char is OK [11:16:20]request: POST /json_proto HTTP/1.0 [11:16:20]Method: POST [11:16:20]URL: /json_proto [11:16:20]Method is POST - this is cgi request [11:16:20]url: /json_proto [11:16:20]query_string will be loaded in cgi processing [11:16:20]execute_cgi json_proto POST (null) [11:16:20]execute_cgi path=json_proto method=POST [11:16:20]POST find Content-Length [11:16:20]Host: 172.17.47.135:8080 [11:16:20]Content-Length: 793 [11:16:20]Content-Type: application/json [11:16:20] [11:16:20]POST finish read [11:16:20]Found Content-Length = 793 [11:16:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543258", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 30.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A72949", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:20]execute_script... [11:16:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543258", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 30.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A72949", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:20]POST & json_proto [11:16:20]process_json_proto [11:16:20]json parsed OK: [11:16:20]protocol is kg_v1.0 [11:16:20]action value=close_receipt [11:16:20]process_action close_receipt [11:16:20]cmd_close_receipt [11:16:20]MH_GetDate [11:16:20]Write to MH i2c: F0 00 00 61 03 53 [11:16:20]Write i2c OK [11:16:20]MH_I2C_Read... [11:16:20]Read from MH i2c: F0 [11:16:20]MH_I2C_Read... [11:16:20]Read from MH i2c: F0 09 00 [11:16:20]MH_I2C_Read... [11:16:20]Read from MH i2c: F0 09 00 61 03 00 85 1A B3 67 19 D8 DE 66 4A [11:16:20]GetLastDocTimeStamp 1739790887 [11:16:20]current date 1739790981 [11:16:20]FM_GetShiftState [11:16:20]SAM_PROTO_GetShiftState [11:16:20]wFMCommunicate request_size=4 [11:16:20]MH_SAM_APDU [11:16:20]CAPDU: 80 13 01 00 [11:16:20]Write to MH i2c: E2 08 00 62 03 80 13 01 00 00 00 00 00 E2 [11:16:20]Write i2c OK [11:16:20]MH_I2C_Read... [11:16:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:20]Read from MH i2c: E2 [11:16:20]MH_I2C_Read... [11:16:20]Read from MH i2c: E2 0E 00 [11:16:20]MH_I2C_Read... [11:16:20]Read from MH i2c: E2 0E 00 62 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C8 [11:16:20]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:16:20]wFMCommunicate OK [11:16:20]SAM_PROTO_GetShiftState done [11:16:20]FM_GetShiftState done [11:16:20]opened in 1739750979 [11:16:20]opened+sec_in_day 1739837379 [11:16:20]quantity*price = 0 [11:16:20]sum+1 = 1 [11:16:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 24 17.02.2025 11:16 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 72949 ФМ: 0000000000959282 ФД: 32393 ФПД: 63012017593084 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111621&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32393&fm=63012017593084&tin=02508201610067®Number=0000000000146237&sum=0 [11:16:22]StoreToDocumentArchive [11:16:22]shift 382 fd 32393 [11:16:22]save to /storage/0382/doc_00032393 [11:16:22]save last doc name /storage/0382/doc_00032393 to /storage/kkm_last_doc_name [11:16:22]save OK [11:16:22]Clear old archive folders... [11:16:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:16:22]tlvbuf is 004A7E50 [11:16:22]SAM_PROTO_ClearQueue [11:16:22]wFMCommunicate request_size=4 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 09 00 00 [11:16:22]Write to MH i2c: E2 08 00 6F 03 80 09 00 00 00 00 00 00 E4 [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 6F 03 00 90 00 E6 [11:16:22]RAPDU: 90 00 [11:16:22]wFMCommunicate OK [11:16:22]SAM_PROTO_ClearQueue done [11:16:22]KKMCreateOFDPacket [11:16:22]OFDProtocolAddRootSTLVToBuf [11:16:22]FM_MakeSignedData [11:16:22]FM_MakeSignedData [11:16:22]SAM_PROTO_SignData [11:16:22]wFMCommunicate request_size=4 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 0D 01 02 [11:16:22]Write to MH i2c: E2 08 00 70 03 80 0D 01 02 00 00 00 00 EC [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 70 03 00 90 00 E7 [11:16:22]RAPDU: 90 00 [11:16:22]wFMCommunicate OK [11:16:22]wFMCommunicate request_size=255 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 85 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7E 00 00 35 04 06 00 39 [11:16:22]Write to MH i2c: E2 02 01 71 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 85 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7E 00 00 35 04 06 00 39 00 00 2C [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 71 03 00 90 00 E8 [11:16:22]RAPDU: 90 00 [11:16:22]wFMCommunicate OK [11:16:22]wFMCommunicate request_size=10 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 0D 02 02 05 4F 20 EC DA FC [11:16:22]Write to MH i2c: E2 0D 00 72 03 80 0D 02 02 05 00 4F 20 EC DA FC 00 00 2A [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 03 00 72 03 00 90 00 E9 [11:16:22]RAPDU: 90 00 [11:16:22]wFMCommunicate OK [11:16:22]wFMCommunicate request_size=4 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 0D 03 02 [11:16:22]Write to MH i2c: E2 08 00 73 03 80 0D 03 02 00 00 00 00 F1 [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 0B 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 0B 00 73 03 00 4C 68 46 DE 9F 73 BA FC 90 00 92 [11:16:22]RAPDU: 4C 68 46 DE 9F 73 BA FC 90 00 [11:16:22]wFMCommunicate OK [11:16:22]SAM_PROTO_SignData done [11:16:22]FM_MakeSignedData done [11:16:22]CreateOFDProtocolMessage [11:16:22]wFMCommunicate request_size=4 [11:16:22]MH_SAM_APDU [11:16:22]CAPDU: 80 11 00 00 [11:16:22]Write to MH i2c: E2 08 00 74 03 80 11 00 00 00 00 00 00 F1 [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:22]Read from MH i2c: E2 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: E2 17 00 [11:16:22]MH_I2C_Read... [11:16:22]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 35 39 32 38 32 90 00 47 [11:16:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:16:22]wFMCommunicate OK [11:16:22]CreateOFDProtocolMessage done [11:16:22]OFDSenderStorePacket 32393 [11:16:22]StoreOFDPacket docnum=32393 [11:16:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 AB A0 07 01 3D E7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 85 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7E 00 00 35 04 06 00 39 4F 20 EC DA FC 4C 68 46 DE 9F 73 BA FC [11:16:22]CheckFolder [11:16:22]dirname=/storage/ofd_packets [11:16:22]CheckFolder done [11:16:22]ProducePacketName [11:16:22]name=ofd_packets/00032393 [11:16:22]NVStorageSaveData ofd_packets/00032393 [11:16:22]File name is /storage/ofd_packets/00032393 [11:16:22]Write 301 bytes [11:16:22]NVStorageSaveData done [11:16:22]OFDSenderStorePacket done [11:16:22]KKMCreateOFDPacket done [11:16:22]NVStorageSaveData kkm_last_timestamp [11:16:22]File name is /storage/kkm_last_timestamp [11:16:22]Write 4 bytes [11:16:22]NVStorageSaveData done [11:16:22]ExternCall_PrintAddStr [11:16:22]wPrintStart [11:16:22]Write to MH i2c: 01 00 00 75 03 78 [11:16:22]Write i2c OK [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: 01 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: 01 07 00 [11:16:22]MH_I2C_Read... [11:16:22]Read from MH i2c: 01 07 00 75 03 00 00 00 00 00 FF 0F 8D [11:16:22]RasterBufferAndPrint [11:16:22]line Счет N : (1)6543258 [11:16:22]line ИНН: 02508201610067 [11:16:22]line Контрольно-Кассовый Чек [11:16:22]line ПРОДАЖА [11:16:22]line ТРК (МРК, ГНК) : 12 [11:16:22]line Товар: 2710124130 [11:16:22]line Аи-92-К-5 [11:16:22]line 30.000 * 0.00 [11:16:22]line = 0.00 [11:16:22]line НДС 12% НСП 1% [11:16:22]line > о реализуемом товаре [11:16:22]line ИТОГО: 0.00 [11:16:22]line НСП 1% : 0.00 [11:16:22]line НДС 12% : 0.00 [11:16:22]line Наличными: 0.00 [11:16:22]line Безнал.: 0.00 [11:16:22]line Место: АЗС № 96 "Партнер Нефть" [11:16:22]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:16:22]line СНО: Общий режим [11:16:22]line Чек 24 17.02.2025 11:16 [11:16:22]line Смена: 382 ФФД: 1.0 [11:16:22]line ЗНМ: 0300000059 [11:16:22]line РНМ: 0000000000146237 [11:16:22]line Версия ККМ: v1.0 [11:16:22]line Талоны: Топливная Карта [11:16:22]line 72949 [11:16:22]line ФМ: 0000000000959282 [11:16:22]line ФД: 32393 [11:16:22]line ФПД: 63012017593084 [11:16:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111621&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32393&fm=63012017593084&tin=02508201610067®Number=0000000000146237&sum=0 [11:16:22]OFD Sender: Processing packet 32393 [packets to send 104, broken 103] [11:16:22]ProducePacketName [11:16:22]name=ofd_packets/00032393 [11:16:22]OFD Sender: To server: pG, [11:16:22]CommunicateWithHost lk.salyk.kg:30040 [11:16:22]ConnectInit lk.salyk.kg [11:16:22]written 0, free lines is 4095 [11:16:23]Write to MH i2c: 01 00 00 9F 03 A2 [11:16:23]Write i2c OK [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: 01 [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: 01 07 00 [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: 01 07 00 9F 03 00 00 00 00 00 FD 0C B2 [11:16:23]RasterBufferAndPrint [11:16:23]line [11:16:23]line [11:16:23]line [11:16:23]line [11:16:23]line [11:16:23]written 0, free lines is 3331 [11:16:23]MH_Cut [11:16:23]Write to MH i2c: D1 01 00 A6 03 01 7B [11:16:23]Write i2c OK [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: D1 [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: D1 01 00 [11:16:23]MH_I2C_Read... [11:16:23]Read from MH i2c: D1 01 00 A6 03 00 7A [11:16:23]Write to MH i2c: 01 00 00 A7 03 AA [11:16:23]Write i2c OK [11:16:23]MH_I2C_Read... [11:16:24]*** Cut start [11:16:24]*** Partial cut [11:16:24]*** CUTSNS_PIN = 1 [11:16:24]*** CUTSNS_PIN = 0 [11:16:24]*** Brake cut motor [11:16:24]Read from MH i2c: 01 [11:16:24]MH_I2C_Read... [11:16:24]*** Stop cut motor [11:16:24]*** Cut end [11:16:24]Read from MH i2c: 01 07 00 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: 01 07 00 A7 03 00 00 00 00 00 FF 0F BF [11:16:24]process_action close_receipt done [11:16:24]requested_data is exist [11:16:24]produce_requested_data [11:16:24]requested_item fm.sn is exist - process it [11:16:24]wFMCommunicate request_size=4 [11:16:24]MH_SAM_APDU [11:16:24]CAPDU: 80 11 00 00 [11:16:24]Write to MH i2c: E2 08 00 A8 03 80 11 00 00 00 00 00 00 25 [11:16:24]Write i2c OK [11:16:24]MH_I2C_Read... [11:16:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:24]Read from MH i2c: E2 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 17 00 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 17 00 A8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7B [11:16:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:16:24]wFMCommunicate OK [11:16:24]requested_item fd.num is exist - process it [11:16:24]SAM_PROTO_GetFieldsCounters [11:16:24]wFMCommunicate request_size=4 [11:16:24]MH_SAM_APDU [11:16:24]CAPDU: 80 13 00 00 [11:16:24]Write to MH i2c: E2 08 00 A9 03 80 13 00 00 00 00 00 00 28 [11:16:24]Write i2c OK [11:16:24]MH_I2C_Read... [11:16:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:16:24]Read from MH i2c: E2 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 62 00 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 62 00 A9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 89 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 18 [11:16:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 89 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:16:24]wFMCommunicate OK [11:16:24]SAM_PROTO_GetFieldsCounters done [11:16:24]requested_item shift.num is exist - process it [11:16:24]requested_item shift.opened is exist - process it [11:16:24]req_shift_opened [11:16:24]FM_GetShiftState [11:16:24]SAM_PROTO_GetShiftState [11:16:24]wFMCommunicate request_size=4 [11:16:24]MH_SAM_APDU [11:16:24]CAPDU: 80 13 01 00 [11:16:24]Write to MH i2c: E2 08 00 AA 03 80 13 01 00 00 00 00 00 2A [11:16:24]Write i2c OK [11:16:24]MH_I2C_Read... [11:16:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:24]Read from MH i2c: E2 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 0E 00 [11:16:24]MH_I2C_Read... [11:16:24]Read from MH i2c: E2 0E 00 AA 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 10 [11:16:24]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:16:24]wFMCommunicate OK [11:16:24]SAM_PROTO_GetShiftState done [11:16:24]FM_GetShiftState done [11:16:24]req_shift_opened done [11:16:24]requested_item shift.open_date is exist - process it [11:16:24]req_shift_open_date [11:16:24]req_shift_open_date done [11:16:24]produce_requested_data done [11:16:24]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32393,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:16:24]process_action_free close_receipt [11:16:24]json_value_free [11:16:24]json_value_free done [11:16:24]process_json_proto returns [11:16:24]Send response to host [11:16:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32393,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:16:24]free response buf [11:16:24]execute_script done [11:16:24]execute_script returns [11:16:24]free content buf [11:16:24]Sock 9.Close socket [11:16:24]Sock 9.Thread stoped [11:17:05]accept exits with 10 [11:17:05]New connection [11:17:05]New thread 3067555172 created [11:17:05]Thread 3067411812 joined [11:17:05]Waiting for new connection... [11:17:05] Sock 10.Parse request [11:17:05]Sock 10.Check first char [11:17:05]Sock 10.First char is OK [11:17:05]request: POST /json_proto HTTP/1.0 [11:17:05]Method: POST [11:17:05]URL: /json_proto [11:17:05]Method is POST - this is cgi request [11:17:05]url: /json_proto [11:17:05]query_string will be loaded in cgi processing [11:17:05]execute_cgi json_proto POST (null) [11:17:05]execute_cgi path=json_proto method=POST [11:17:05]POST find Content-Length [11:17:05]Host: 172.17.47.135:8080 [11:17:05]Content-Length: 678 [11:17:05]Content-Type: application/json [11:17:05] [11:17:05]POST finish read [11:17:05]Found Content-Length = 678 [11:17:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543260", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 3.120, "sum" : 200.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:05]execute_script... [11:17:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543260", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 3.120, "sum" : 200.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:17:05]POST & json_proto [11:17:05]process_json_proto [11:17:05]json parsed OK: [11:17:05]protocol is kg_v1.0 [11:17:05]action value=close_receipt [11:17:05]process_action close_receipt [11:17:05]cmd_close_receipt [11:17:05]MH_GetDate [11:17:05]Write to MH i2c: F0 00 00 AB 03 9D [11:17:05]Write i2c OK [11:17:05]MH_I2C_Read... [11:17:05]Read from MH i2c: F0 [11:17:05]MH_I2C_Read... [11:17:05]Read from MH i2c: F0 09 00 [11:17:05]MH_I2C_Read... [11:17:05]Read from MH i2c: F0 09 00 AB 03 00 B2 1A B3 67 19 D8 DE 66 C1 [11:17:05]GetLastDocTimeStamp 1739790981 [11:17:05]current date 1739791026 [11:17:05]FM_GetShiftState [11:17:05]SAM_PROTO_GetShiftState [11:17:05]wFMCommunicate request_size=4 [11:17:05]MH_SAM_APDU [11:17:05]CAPDU: 80 13 01 00 [11:17:05]Write to MH i2c: E2 08 00 AC 03 80 13 01 00 00 00 00 00 2C [11:17:05]Write i2c OK [11:17:05]MH_I2C_Read... [11:17:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:05]Read from MH i2c: E2 [11:17:05]MH_I2C_Read... [11:17:05]Read from MH i2c: E2 0E 00 [11:17:05]MH_I2C_Read... [11:17:05]Read from MH i2c: E2 0E 00 AC 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 12 [11:17:05]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:17:05]wFMCommunicate OK [11:17:05]SAM_PROTO_GetShiftState done [11:17:05]FM_GetShiftState done [11:17:05]opened in 1739750979 [11:17:05]opened+sec_in_day 1739837379 [11:17:05]quantity*price = 20030 [11:17:05]sum+1 = 20031 [11:17:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.30 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.27 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 25 17.02.2025 11:17 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32394 ФПД: 265939848199307 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111706&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32394&fm=265939848199307&tin=02508201610067®Number=0000000000146237&sum=20000 [11:17:07]StoreToDocumentArchive [11:17:07]shift 382 fd 32394 [11:17:07]save to /storage/0382/doc_00032394 [11:17:07]save last doc name /storage/0382/doc_00032394 to /storage/kkm_last_doc_name [11:17:07]save OK [11:17:07]Clear old archive folders... [11:17:07]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:17:07]tlvbuf is 004BDF30 [11:17:07]SAM_PROTO_ClearQueue [11:17:07]wFMCommunicate request_size=4 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 09 00 00 [11:17:07]Write to MH i2c: E2 08 00 B9 03 80 09 00 00 00 00 00 00 2E [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 B9 03 00 90 00 30 [11:17:07]RAPDU: 90 00 [11:17:07]wFMCommunicate OK [11:17:07]SAM_PROTO_ClearQueue done [11:17:07]KKMCreateOFDPacket [11:17:07]OFDProtocolAddRootSTLVToBuf [11:17:07]FM_MakeSignedData [11:17:07]FM_MakeSignedData [11:17:07]SAM_PROTO_SignData [11:17:07]wFMCommunicate request_size=4 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 0D 01 02 [11:17:07]Write to MH i2c: E2 08 00 BA 03 80 0D 01 02 00 00 00 00 36 [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 BA 03 00 90 00 31 [11:17:07]RAPDU: 90 00 [11:17:07]wFMCommunicate OK [11:17:07]wFMCommunicate request_size=255 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B2 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7E 00 00 35 04 06 00 F1 [11:17:07]Write to MH i2c: E2 02 01 BB 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B2 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7E 00 00 35 04 06 00 F1 00 00 91 [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 BB 03 00 90 00 32 [11:17:07]RAPDU: 90 00 [11:17:07]wFMCommunicate OK [11:17:07]wFMCommunicate request_size=10 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 0D 02 02 05 DE F2 2E FC 8B [11:17:07]Write to MH i2c: E2 0D 00 BC 03 80 0D 02 02 05 00 DE F2 2E FC 8B 00 00 C8 [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 03 00 BC 03 00 90 00 33 [11:17:07]RAPDU: 90 00 [11:17:07]wFMCommunicate OK [11:17:07]wFMCommunicate request_size=4 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 0D 03 02 [11:17:07]Write to MH i2c: E2 08 00 BD 03 80 0D 03 02 00 00 00 00 3B [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 0B 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 0B 00 BD 03 00 0D 16 B8 ED 3F CB F4 16 90 00 18 [11:17:07]RAPDU: 0D 16 B8 ED 3F CB F4 16 90 00 [11:17:07]wFMCommunicate OK [11:17:07]SAM_PROTO_SignData done [11:17:07]FM_MakeSignedData done [11:17:07]CreateOFDProtocolMessage [11:17:07]wFMCommunicate request_size=4 [11:17:07]MH_SAM_APDU [11:17:07]CAPDU: 80 11 00 00 [11:17:07]Write to MH i2c: E2 08 00 BE 03 80 11 00 00 00 00 00 00 3B [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:07]Read from MH i2c: E2 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 17 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: E2 17 00 BE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 91 [11:17:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:17:07]wFMCommunicate OK [11:17:07]CreateOFDProtocolMessage done [11:17:07]OFDSenderStorePacket 32394 [11:17:07]StoreOFDPacket docnum=32394 [11:17:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 12 AB 07 01 E6 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B2 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7E 00 00 35 04 06 00 F1 DE F2 2E FC 8B 0D 16 B8 ED 3F CB F4 16 [11:17:07]CheckFolder [11:17:07]dirname=/storage/ofd_packets [11:17:07]CheckFolder done [11:17:07]ProducePacketName [11:17:07]name=ofd_packets/00032394 [11:17:07]NVStorageSaveData ofd_packets/00032394 [11:17:07]File name is /storage/ofd_packets/00032394 [11:17:07]Write 301 bytes [11:17:07]NVStorageSaveData done [11:17:07]OFDSenderStorePacket done [11:17:07]KKMCreateOFDPacket done [11:17:07]NVStorageSaveData kkm_last_timestamp [11:17:07]File name is /storage/kkm_last_timestamp [11:17:07]Write 4 bytes [11:17:07]NVStorageSaveData done [11:17:07]ExternCall_PrintAddStr [11:17:07]wPrintStart [11:17:07]Write to MH i2c: 01 00 00 BF 03 C2 [11:17:07]Write i2c OK [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: 01 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: 01 07 00 [11:17:07]MH_I2C_Read... [11:17:07]Read from MH i2c: 01 07 00 BF 03 00 00 00 00 00 FF 0F D7 [11:17:07]RasterBufferAndPrint [11:17:07]line Счет N : (1)6543260 [11:17:07]line ИНН: 02508201610067 [11:17:07]line Контрольно-Кассовый Чек [11:17:07]line ПРОДАЖА [11:17:07]line ТРК (МРК, ГНК) : 32 [11:17:07]line Товар: 2710124130 [11:17:07]line Аи-92-К-5 [11:17:07]line 3.120 * 64.20 [11:17:07]line = 200.30 [11:17:07]line НДС 12% НСП 1% [11:17:07]line > о реализуемом товаре [11:17:07]line ОКРУГЛЕНИЕ: -0.30 [11:17:07]line ИТОГО: 200.00 [11:17:07]line Внесено: 200.00 [11:17:07]line СДАЧА: 0.00 [11:17:07]line НСП 1% : 1.77 [11:17:07]line НДС 12% : 21.27 [11:17:07]line Наличными: 200.00 [11:17:07]line Безнал.: 0.00 [11:17:07]line Место: АЗС № 96 "Партнер Нефть" [11:17:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:17:07]line СНО: Общий режим [11:17:07]line Чек 25 17.02.2025 11:17 [11:17:07]line Смена: 382 ФФД: 1.0 [11:17:07]line ЗНМ: 0300000059 [11:17:07]line РНМ: 0000000000146237 [11:17:07]line Версия ККМ: v1.0 [11:17:07]line ФМ: 0000000000959282 [11:17:07]line ФД: 32394 [11:17:07]line ФПД: 265939848199307 [11:17:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T111706&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32394&fm=265939848199307&tin=02508201610067®Number=0000000000146237&sum=20000 [11:17:07]written 0, free lines is 4095 [11:17:08]Write to MH i2c: 01 00 00 EA 03 ED [11:17:08]Write i2c OK [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: 01 [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: 01 07 00 [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: 01 07 00 EA 03 00 00 00 00 00 EF 0C EF [11:17:08]RasterBufferAndPrint [11:17:08]line [11:17:08]line [11:17:08]line [11:17:08]line [11:17:08]line [11:17:08]written 0, free lines is 3317 [11:17:08]MH_Cut [11:17:08]Write to MH i2c: D1 01 00 F1 03 01 C6 [11:17:08]Write i2c OK [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: D1 [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: D1 01 00 [11:17:08]MH_I2C_Read... [11:17:08]Read from MH i2c: D1 01 00 F1 03 00 C5 [11:17:08]Write to MH i2c: 01 00 00 F2 03 F5 [11:17:08]Write i2c OK [11:17:08]MH_I2C_Read... [11:17:09]*** Cut start [11:17:09]*** Partial cut [11:17:09]*** CUTSNS_PIN = 1 [11:17:09]*** CUTSNS_PIN = 0 [11:17:09]*** Brake cut motor [11:17:09]Read from MH i2c: 01 [11:17:09]MH_I2C_Read... [11:17:09]*** Stop cut motor [11:17:09]*** Cut end [11:17:09]Read from MH i2c: 01 07 00 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: 01 07 00 F2 03 00 00 00 00 00 FF 0F 0A [11:17:09]process_action close_receipt done [11:17:09]requested_data is exist [11:17:09]produce_requested_data [11:17:09]requested_item fm.sn is exist - process it [11:17:09]wFMCommunicate request_size=4 [11:17:09]MH_SAM_APDU [11:17:09]CAPDU: 80 11 00 00 [11:17:09]Write to MH i2c: E2 08 00 F3 03 80 11 00 00 00 00 00 00 70 [11:17:09]Write i2c OK [11:17:09]MH_I2C_Read... [11:17:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:17:09]Read from MH i2c: E2 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 17 00 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 17 00 F3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C6 [11:17:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:17:09]wFMCommunicate OK [11:17:09]requested_item fd.num is exist - process it [11:17:09]SAM_PROTO_GetFieldsCounters [11:17:09]wFMCommunicate request_size=4 [11:17:09]MH_SAM_APDU [11:17:09]CAPDU: 80 13 00 00 [11:17:09]Write to MH i2c: E2 08 00 F4 03 80 13 00 00 00 00 00 00 73 [11:17:09]Write i2c OK [11:17:09]MH_I2C_Read... [11:17:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:17:09]Read from MH i2c: E2 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 62 00 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 62 00 F4 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 67 [11:17:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:17:09]wFMCommunicate OK [11:17:09]SAM_PROTO_GetFieldsCounters done [11:17:09]requested_item shift.num is exist - process it [11:17:09]requested_item shift.opened is exist - process it [11:17:09]req_shift_opened [11:17:09]FM_GetShiftState [11:17:09]SAM_PROTO_GetShiftState [11:17:09]wFMCommunicate request_size=4 [11:17:09]MH_SAM_APDU [11:17:09]CAPDU: 80 13 01 00 [11:17:09]Write to MH i2c: E2 08 00 F5 03 80 13 01 00 00 00 00 00 75 [11:17:09]Write i2c OK [11:17:09]MH_I2C_Read... [11:17:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:17:09]Read from MH i2c: E2 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 0E 00 [11:17:09]MH_I2C_Read... [11:17:09]Read from MH i2c: E2 0E 00 F5 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5B [11:17:09]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:17:09]wFMCommunicate OK [11:17:09]SAM_PROTO_GetShiftState done [11:17:09]FM_GetShiftState done [11:17:09]req_shift_opened done [11:17:09]requested_item shift.open_date is exist - process it [11:17:09]req_shift_open_date [11:17:09]req_shift_open_date done [11:17:09]produce_requested_data done [11:17:09]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32394,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:17:09]process_action_free close_receipt [11:17:09]json_value_free [11:17:09]json_value_free done [11:17:09]process_json_proto returns [11:17:09]Send response to host [11:17:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32394,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:17:09]free response buf [11:17:09]execute_script done [11:17:09]execute_script returns [11:17:09]free content buf [11:17:09]Sock 10.Close socket [11:17:09]Sock 10.Thread stoped [11:18:37]ConnectInit Can't connect to host [11:18:37]CommunicateWithHost connect error [11:18:37]CommunicateWithHost err = -1 [11:18:37]OFD Sender: Server communicate error [11:18:37]OFD Sender: Processing packet 32393 [packets to send 105, broken 103] [11:18:37]ProducePacketName [11:18:37]name=ofd_packets/00032393 [11:18:37]OFD Sender: To server: pG, [11:18:37]CommunicateWithHost lk.salyk.kg:30040 [11:18:37]ConnectInit lk.salyk.kg [11:18:37]Connected sock=7 [11:18:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 AB A0 07 01 3D E7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 85 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7E 00 00 35 04 06 00 39 4F 20 EC DA FC 4C 68 46 DE 9F 73 BA FC [11:18:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 F9 43 47 00 96 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 89 7E 00 00 F4 03 04 00 B0 C4 B2 67 B6 04 01 00 00 D6 55 C4 88 3F 33 F1 67 [11:18:38]CommunicateWithHost err = 0 [11:18:38]CheckOFDResponse [11:18:38]1017 (14) - 77093643461234 [11:18:38]1041 (16) - 0000000000959282 [11:18:38]1040 (4) - 32393 [11:18:38]1012 (4) - 17.02.2025 05:10 [11:18:38]1206 (1) - 0 [11:18:38]OFD Sender: Remove packet 32393 [11:18:38]ProducePacketName [11:18:38]name=ofd_packets/00032393 [11:18:38]NVStorageDeleteData [11:18:39]OFD Sender: Processing packet 32394 [packets to send 104, broken 103] [11:18:39]ProducePacketName [11:18:39]name=ofd_packets/00032394 [11:18:39]OFD Sender: To server: pG, [11:18:39]CommunicateWithHost lk.salyk.kg:30040 [11:18:39]ConnectInit lk.salyk.kg [11:18:40]Connected sock=7 [11:18:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 12 AB 07 01 E6 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 B2 1A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7E 00 00 35 04 06 00 F1 DE F2 2E FC 8B 0D 16 B8 ED 3F CB F4 16 [11:18:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 06 E9 47 00 1D 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7E 00 00 F4 03 04 00 B2 C4 B2 67 B6 04 01 00 00 5D 28 4B 62 1D 5B E2 93 [11:18:40]CommunicateWithHost err = 0 [11:18:40]CheckOFDResponse [11:18:40]1017 (14) - 77093643461234 [11:18:40]1041 (16) - 0000000000959282 [11:18:40]1040 (4) - 32394 [11:18:40]1012 (4) - 17.02.2025 05:10 [11:18:40]1206 (1) - 0 [11:18:40]OFD Sender: Remove packet 32394 [11:18:40]ProducePacketName [11:18:40]name=ofd_packets/00032394 [11:18:40]NVStorageDeleteData [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:13]accept exits with 9 [11:20:13]New connection [11:20:13]New thread 3067411812 created [11:20:13]Thread 3067555172 joined [11:20:13]Waiting for new connection... [11:20:13] Sock 9.Parse request [11:20:13]Sock 9.Check first char [11:20:13]Sock 9.First char is OK [11:20:13]request: POST /json_proto HTTP/1.0 [11:20:13]Method: POST [11:20:13]URL: /json_proto [11:20:13]Method is POST - this is cgi request [11:20:13]url: /json_proto [11:20:13]query_string will be loaded in cgi processing [11:20:13]execute_cgi json_proto POST (null) [11:20:13]execute_cgi path=json_proto method=POST [11:20:13]POST find Content-Length [11:20:13]Host: 172.17.47.135:8080 [11:20:13]Content-Length: 817 [11:20:13]Content-Type: application/json [11:20:13] [11:20:13]POST finish read [11:20:13]Found Content-Length = 817 [11:20:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543261", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 3.120, "sum" : 200.30, "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" : 200.30 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:20:13]execute_script... [11:20: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 : (1)6543261", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 3.120, "sum" : 200.30, "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" : 200.30 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:20:13]POST & json_proto [11:20:13]process_json_proto [11:20:13]json parsed OK: [11:20:13]protocol is kg_v1.0 [11:20:13]action value=close_receipt [11:20:13]process_action close_receipt [11:20:13]cmd_close_receipt [11:20:13]MH_GetDate [11:20:13]Write to MH i2c: F0 00 00 F6 03 E8 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: F0 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: F0 09 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: F0 09 00 F6 03 00 6E 1B B3 67 19 D8 DE 66 C9 [11:20:13]GetLastDocTimeStamp 1739791026 [11:20:13]current date 1739791214 [11:20:13]FM_GetShiftState [11:20:13]SAM_PROTO_GetShiftState [11:20:13]wFMCommunicate request_size=4 [11:20:13]MH_SAM_APDU [11:20:13]CAPDU: 80 13 01 00 [11:20:13]Write to MH i2c: E2 08 00 F7 03 80 13 01 00 00 00 00 00 77 [11:20:13]Write i2c OK [11:20:13]MH_I2C_Read... [11:20:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:13]Read from MH i2c: E2 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 0E 00 [11:20:13]MH_I2C_Read... [11:20:13]Read from MH i2c: E2 0E 00 F7 03 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5D [11:20:13]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:20:13]wFMCommunicate OK [11:20:13]SAM_PROTO_GetShiftState done [11:20:13]FM_GetShiftState done [11:20:13]opened in 1739750979 [11:20:13]opened+sec_in_day 1739837379 [11:20:13]quantity*price = 20030 [11:20:13]sum+1 = 20031 [11:20:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.30 НСП 1% : 1.77 НДС 12% : 21.27 Наличными: 0.00 Безнал.: 200.30 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 26 17.02.2025 11:20 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32395 ФПД: 142103637369975 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112014&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32395&fm=142103637369975&tin=02508201610067®Number=0000000000146237&sum=20030 [11:20:14]StoreToDocumentArchive [11:20:14]shift 382 fd 32395 [11:20:14]save to /storage/0382/doc_00032395 [11:20:14]save last doc name /storage/0382/doc_00032395 to /storage/kkm_last_doc_name [11:20:14]save OK [11:20:14]Clear old archive folders... [11:20:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:20:14]tlvbuf is B6F6D610 [11:20:14]SAM_PROTO_ClearQueue [11:20:14]wFMCommunicate request_size=4 [11:20:14]MH_SAM_APDU [11:20:14]CAPDU: 80 09 00 00 [11:20:14]Write to MH i2c: E2 08 00 04 04 80 09 00 00 00 00 00 00 7A [11:20:14]Write i2c OK [11:20:14]MH_I2C_Read... [11:20:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:20:14]Read from MH i2c: E2 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 03 00 [11:20:14]MH_I2C_Read... [11:20:14]Read from MH i2c: E2 03 00 04 04 00 90 00 7C [11:20:14]RAPDU: 90 00 [11:20:14]wFMCommunicate OK [11:20:14]SAM_PROTO_ClearQueue done [11:20:14]KKMCreateOFDPacket [11:20:14]OFDProtocolAddRootSTLVToBuf [11:20:14]FM_MakeSignedData [11:20:14]FM_MakeSignedData [11:20:14]SAM_PROTO_SignData [11:20:14]wFMCommunicate request_size=4 [11:20:14]MH_SAM_APDU [11:20:14]CAPDU: 80 0D 01 02 [11:20:14]Write to MH i2c: E2 08 00 05 04 80 0D 01 02 00 00 00 00 82 [11:20:14]Write i2c OK [11:20:14]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 05 04 00 90 00 7D [11:20:15]RAPDU: 90 00 [11:20:15]wFMCommunicate OK [11:20:15]wFMCommunicate request_size=255 [11:20:15]MH_SAM_APDU [11:20:15]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3E 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3E 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 6E 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7E 00 00 35 04 06 00 81 [11:20:15]Write to MH i2c: E2 02 01 06 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3E 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3E 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 6E 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7E 00 00 35 04 06 00 81 00 00 68 [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 06 04 00 90 00 7E [11:20:15]RAPDU: 90 00 [11:20:15]wFMCommunicate OK [11:20:15]wFMCommunicate request_size=10 [11:20:15]MH_SAM_APDU [11:20:15]CAPDU: 80 0D 02 02 05 3E 14 D3 A4 77 [11:20:15]Write to MH i2c: E2 0D 00 07 04 80 0D 02 02 05 00 3E 14 D3 A4 77 00 00 CF [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 03 00 07 04 00 90 00 7F [11:20:15]RAPDU: 90 00 [11:20:15]wFMCommunicate OK [11:20:15]wFMCommunicate request_size=4 [11:20:15]MH_SAM_APDU [11:20:15]CAPDU: 80 0D 03 02 [11:20:15]Write to MH i2c: E2 08 00 08 04 80 0D 03 02 00 00 00 00 87 [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 0B 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 0B 00 08 04 00 C8 42 78 C4 CE D2 43 E7 90 00 98 [11:20:15]RAPDU: C8 42 78 C4 CE D2 43 E7 90 00 [11:20:15]wFMCommunicate OK [11:20:15]SAM_PROTO_SignData done [11:20:15]FM_MakeSignedData done [11:20:15]CreateOFDProtocolMessage [11:20:15]wFMCommunicate request_size=4 [11:20:15]MH_SAM_APDU [11:20:15]CAPDU: 80 11 00 00 [11:20:15]Write to MH i2c: E2 08 00 09 04 80 11 00 00 00 00 00 00 87 [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:15]Read from MH i2c: E2 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: E2 17 00 [11:20:15]MH_I2C_Read... [11:20:15]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 35 39 32 38 32 90 00 DD [11:20:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:20:15]wFMCommunicate OK [11:20:15]CreateOFDProtocolMessage done [11:20:15]OFDSenderStorePacket 32395 [11:20:15]StoreOFDPacket docnum=32395 [11:20:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 73 4B 07 01 EB 3B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3E 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3E 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 6E 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7E 00 00 35 04 06 00 81 3E 14 D3 A4 77 C8 42 78 C4 CE D2 43 E7 [11:20:15]CheckFolder [11:20:15]dirname=/storage/ofd_packets [11:20:15]CheckFolder done [11:20:15]ProducePacketName [11:20:15]name=ofd_packets/00032395 [11:20:15]NVStorageSaveData ofd_packets/00032395 [11:20:15]File name is /storage/ofd_packets/00032395 [11:20:15]Write 301 bytes [11:20:15]NVStorageSaveData done [11:20:15]OFDSenderStorePacket done [11:20:15]KKMCreateOFDPacket done [11:20:15]NVStorageSaveData kkm_last_timestamp [11:20:15]File name is /storage/kkm_last_timestamp [11:20:15]Write 4 bytes [11:20:15]NVStorageSaveData done [11:20:15]ExternCall_PrintAddStr [11:20:15]wPrintStart [11:20:15]Write to MH i2c: 01 00 00 0A 04 0E [11:20:15]Write i2c OK [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: 01 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: 01 07 00 [11:20:15]MH_I2C_Read... [11:20:15]Read from MH i2c: 01 07 00 0A 04 00 00 00 00 00 FF 0F 23 [11:20:15]RasterBufferAndPrint [11:20:15]line Счет N : (1)6543261 [11:20:15]line ИНН: 02508201610067 [11:20:15]line Контрольно-Кассовый Чек [11:20:15]line ПРОДАЖА [11:20:15]line ТРК (МРК, ГНК) : 22 [11:20:15]line Товар: 2710124130 [11:20:15]line Аи-92-К-5 [11:20:15]line 3.120 * 64.20 [11:20:15]line = 200.30 [11:20:15]line НДС 12% НСП 1% [11:20:15]line > о реализуемом товаре [11:20:15]line ИТОГО: 200.30 [11:20:15]line НСП 1% : 1.77 [11:20:15]line НДС 12% : 21.27 [11:20:15]line Наличными: 0.00 [11:20:15]line Безнал.: 200.30 [11:20:15]line Место: АЗС № 96 "Партнер Нефть" [11:20:15]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:20:15]line СНО: Общий режим [11:20:15]line Чек 26 17.02.2025 11:20 [11:20:15]line Смена: 382 ФФД: 1.0 [11:20:15]line ЗНМ: 0300000059 [11:20:15]line РНМ: 0000000000146237 [11:20:15]line Версия ККМ: v1.0 [11:20:15]line Платежная система: Бакай Банк [11:20:15]line ФМ: 0000000000959282 [11:20:15]line ФД: 32395 [11:20:15]line ФПД: 142103637369975 [11:20:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112014&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32395&fm=142103637369975&tin=02508201610067®Number=0000000000146237&sum=20030 [11:20:15]OFD Sender: Processing packet 32395 [packets to send 104, broken 103] [11:20:15]ProducePacketName [11:20:15]name=ofd_packets/00032395 [11:20:15]OFD Sender: To server: pG, [11:20:15]CommunicateWithHost lk.salyk.kg:30040 [11:20:15]ConnectInit lk.salyk.kg [11:20:15]written 0, free lines is 4095 [11:20:16]Write to MH i2c: 01 00 00 34 04 38 [11:20:16]Write i2c OK [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: 01 [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: 01 07 00 [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: 01 07 00 34 04 00 00 00 00 00 FF 0C 4A [11:20:16]RasterBufferAndPrint [11:20:16]line [11:20:16]line [11:20:16]line [11:20:16]line [11:20:16]line [11:20:16]written 0, free lines is 3333 [11:20:16]MH_Cut [11:20:16]Write to MH i2c: D1 01 00 3B 04 01 11 [11:20:16]Write i2c OK [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: D1 [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: D1 01 00 [11:20:16]MH_I2C_Read... [11:20:16]Read from MH i2c: D1 01 00 3B 04 00 10 [11:20:16]Write to MH i2c: 01 00 00 3C 04 40 [11:20:16]Write i2c OK [11:20:16]MH_I2C_Read... [11:20:16]Connected sock=11 [11:20:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 73 4B 07 01 EB 3B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 3E 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3E 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3E 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 6E 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7E 00 00 35 04 06 00 81 3E 14 D3 A4 77 C8 42 78 C4 CE D2 43 E7 [11:20:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 BF 74 47 00 3E EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7E 00 00 F4 03 04 00 13 C5 B2 67 B6 04 01 00 00 2F 8D C9 DF 1D 82 97 C2 [11:20:16]CommunicateWithHost err = 0 [11:20:16]CheckOFDResponse [11:20:16]1017 (14) - 77093643461234 [11:20:16]1041 (16) - 0000000000959282 [11:20:16]1040 (4) - 32395 [11:20:16]1012 (4) - 17.02.2025 05:11 [11:20:16]1206 (1) - 0 [11:20:16]OFD Sender: Remove packet 32395 [11:20:16]ProducePacketName [11:20:16]name=ofd_packets/00032395 [11:20:16]NVStorageDeleteData [11:20:16]*** Cut start [11:20:16]*** Partial cut [11:20:16]*** CUTSNS_PIN = 1 [11:20:16]*** CUTSNS_PIN = 0 [11:20:17]*** Brake cut motor [11:20:17]OFD Sender: No OFD packet to send [11:20:17]Read from MH i2c: 01 [11:20:17]MH_I2C_Read... [11:20:17]*** Stop cut motor [11:20:17]*** Cut end [11:20:17]Read from MH i2c: 01 07 00 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: 01 07 00 3C 04 00 00 00 00 00 FF 0F 55 [11:20:17]process_action close_receipt done [11:20:17]requested_data is exist [11:20:17]produce_requested_data [11:20:17]requested_item fm.sn is exist - process it [11:20:17]wFMCommunicate request_size=4 [11:20:17]MH_SAM_APDU [11:20:17]CAPDU: 80 11 00 00 [11:20:17]Write to MH i2c: E2 08 00 3D 04 80 11 00 00 00 00 00 00 BB [11:20:17]Write i2c OK [11:20:17]MH_I2C_Read... [11:20:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:17]Read from MH i2c: E2 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 17 00 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 17 00 3D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 11 [11:20:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:20:17]wFMCommunicate OK [11:20:17]requested_item fd.num is exist - process it [11:20:17]SAM_PROTO_GetFieldsCounters [11:20:17]wFMCommunicate request_size=4 [11:20:17]MH_SAM_APDU [11:20:17]CAPDU: 80 13 00 00 [11:20:17]Write to MH i2c: E2 08 00 3E 04 80 13 00 00 00 00 00 00 BE [11:20:17]Write i2c OK [11:20:17]MH_I2C_Read... [11:20:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:20:17]Read from MH i2c: E2 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 62 00 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 62 00 3E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [11:20:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:20:17]wFMCommunicate OK [11:20:17]SAM_PROTO_GetFieldsCounters done [11:20:17]requested_item shift.num is exist - process it [11:20:17]requested_item shift.opened is exist - process it [11:20:17]req_shift_opened [11:20:17]FM_GetShiftState [11:20:17]SAM_PROTO_GetShiftState [11:20:17]wFMCommunicate request_size=4 [11:20:17]MH_SAM_APDU [11:20:17]CAPDU: 80 13 01 00 [11:20:17]Write to MH i2c: E2 08 00 3F 04 80 13 01 00 00 00 00 00 C0 [11:20:17]Write i2c OK [11:20:17]MH_I2C_Read... [11:20:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:17]Read from MH i2c: E2 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 0E 00 [11:20:17]MH_I2C_Read... [11:20:17]Read from MH i2c: E2 0E 00 3F 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A6 [11:20:17]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:20:17]wFMCommunicate OK [11:20:17]SAM_PROTO_GetShiftState done [11:20:17]FM_GetShiftState done [11:20:17]req_shift_opened done [11:20:17]requested_item shift.open_date is exist - process it [11:20:17]req_shift_open_date [11:20:17]req_shift_open_date done [11:20:17]produce_requested_data done [11:20:17]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32395,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:20:17]process_action_free close_receipt [11:20:17]json_value_free [11:20:17]json_value_free done [11:20:17]process_json_proto returns [11:20:17]Send response to host [11:20:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32395,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:20:17]free response buf [11:20:17]execute_script done [11:20:17]execute_script returns [11:20:17]free content buf [11:20:17]Sock 9.Close socket [11:20:17]Sock 9.Thread stoped [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:46]accept exits with 7 [11:21:46]New connection [11:21:46]New thread 3067555172 created [11:21:46]Thread 3067411812 joined [11:21:46]Waiting for new connection... [11:21:46] Sock 7.Parse request [11:21:46]Sock 7.Check first char [11:21:46]Sock 7.First char is OK [11:21:46]request: POST /json_proto HTTP/1.0 [11:21:46]Method: POST [11:21:46]URL: /json_proto [11:21:46]Method is POST - this is cgi request [11:21:46]url: /json_proto [11:21:46]query_string will be loaded in cgi processing [11:21:46]execute_cgi json_proto POST (null) [11:21:46]execute_cgi path=json_proto method=POST [11:21:46]POST find Content-Length [11:21:46]Host: 172.17.47.135:8080 [11:21:46]Content-Length: 817 [11:21:46]Content-Type: application/json [11:21:46] [11:21:46]POST finish read [11:21:46]Found Content-Length = 817 [11:21:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543263", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:46]execute_script... [11:21:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543263", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:21:46]POST & json_proto [11:21:46]process_json_proto [11:21:46]json parsed OK: [11:21:46]protocol is kg_v1.0 [11:21:46]action value=close_receipt [11:21:46]process_action close_receipt [11:21:46]cmd_close_receipt [11:21:46]MH_GetDate [11:21:46]Write to MH i2c: F0 00 00 40 04 33 [11:21:46]Write i2c OK [11:21:46]MH_I2C_Read... [11:21:46]Read from MH i2c: F0 [11:21:46]MH_I2C_Read... [11:21:46]Read from MH i2c: F0 09 00 [11:21:46]MH_I2C_Read... [11:21:46]Read from MH i2c: F0 09 00 40 04 00 CB 1B B3 67 19 D8 DE 66 71 [11:21:46]GetLastDocTimeStamp 1739791214 [11:21:46]current date 1739791307 [11:21:46]FM_GetShiftState [11:21:46]SAM_PROTO_GetShiftState [11:21:46]wFMCommunicate request_size=4 [11:21:46]MH_SAM_APDU [11:21:46]CAPDU: 80 13 01 00 [11:21:46]Write to MH i2c: E2 08 00 41 04 80 13 01 00 00 00 00 00 C2 [11:21:46]Write i2c OK [11:21:46]MH_I2C_Read... [11:21:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:46]Read from MH i2c: E2 [11:21:46]MH_I2C_Read... [11:21:46]Read from MH i2c: E2 0E 00 [11:21:46]MH_I2C_Read... [11:21:46]Read from MH i2c: E2 0E 00 41 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A8 [11:21:46]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:21:46]wFMCommunicate OK [11:21:46]SAM_PROTO_GetShiftState done [11:21:46]FM_GetShiftState done [11:21:46]opened in 1739750979 [11:21:46]opened+sec_in_day 1739837379 [11:21:46]quantity*price = 50042 [11:21:46]sum+1 = 50043 [11:21:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.42 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.42 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 27 17.02.2025 11:21 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32396 ФПД: 220291740984666 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112147&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32396&fm=220291740984666&tin=02508201610067®Number=0000000000146237&sum=50042 [11:21:47]StoreToDocumentArchive [11:21:47]shift 382 fd 32396 [11:21:47]save to /storage/0382/doc_00032396 [11:21:47]save last doc name /storage/0382/doc_00032396 to /storage/kkm_last_doc_name [11:21:47]save OK [11:21:47]Clear old archive folders... [11:21:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:21:47]tlvbuf is 004AD100 [11:21:47]SAM_PROTO_ClearQueue [11:21:47]wFMCommunicate request_size=4 [11:21:47]MH_SAM_APDU [11:21:47]CAPDU: 80 09 00 00 [11:21:47]Write to MH i2c: E2 08 00 4E 04 80 09 00 00 00 00 00 00 C4 [11:21:47]Write i2c OK [11:21:47]MH_I2C_Read... [11:21:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:21:47]Read from MH i2c: E2 [11:21:47]MH_I2C_Read... [11:21:47]Read from MH i2c: E2 03 00 [11:21:47]MH_I2C_Read... [11:21:47]Read from MH i2c: E2 03 00 4E 04 00 90 00 C6 [11:21:47]RAPDU: 90 00 [11:21:47]wFMCommunicate OK [11:21:47]SAM_PROTO_ClearQueue done [11:21:47]KKMCreateOFDPacket [11:21:47]OFDProtocolAddRootSTLVToBuf [11:21:47]FM_MakeSignedData [11:21:47]FM_MakeSignedData [11:21:47]SAM_PROTO_SignData [11:21:47]wFMCommunicate request_size=4 [11:21:47]MH_SAM_APDU [11:21:47]CAPDU: 80 0D 01 02 [11:21:47]Write to MH i2c: E2 08 00 4F 04 80 0D 01 02 00 00 00 00 CC [11:21:47]Write i2c OK [11:21:47]MH_I2C_Read... [11:21:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:21:47]Read from MH i2c: E2 [11:21:47]MH_I2C_Read... [11:21:47]Read from MH i2c: E2 03 00 [11:21:47]MH_I2C_Read... [11:21:47]Read from MH i2c: E2 03 00 4F 04 00 90 00 C7 [11:21:47]RAPDU: 90 00 [11:21:47]wFMCommunicate OK [11:21:47]wFMCommunicate request_size=255 [11:21:47]MH_SAM_APDU [11:21:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CB 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7E 00 00 35 04 06 00 C8 [11:21:47]Write to MH i2c: E2 02 01 50 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CB 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7E 00 00 35 04 06 00 C8 00 00 0D [11:21:47]Write i2c OK [11:21:47]MH_I2C_Read... [11:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:48]Read from MH i2c: E2 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 03 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 03 00 50 04 00 90 00 C8 [11:21:48]RAPDU: 90 00 [11:21:48]wFMCommunicate OK [11:21:48]wFMCommunicate request_size=10 [11:21:48]MH_SAM_APDU [11:21:48]CAPDU: 80 0D 02 02 05 5A AA F7 E5 5A [11:21:48]Write to MH i2c: E2 0D 00 51 04 80 0D 02 02 05 00 5A AA F7 E5 5A 00 00 13 [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:21:48]Read from MH i2c: E2 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 03 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 03 00 51 04 00 90 00 C9 [11:21:48]RAPDU: 90 00 [11:21:48]wFMCommunicate OK [11:21:48]wFMCommunicate request_size=4 [11:21:48]MH_SAM_APDU [11:21:48]CAPDU: 80 0D 03 02 [11:21:48]Write to MH i2c: E2 08 00 52 04 80 0D 03 02 00 00 00 00 D1 [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:21:48]Read from MH i2c: E2 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 0B 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 0B 00 52 04 00 BA B3 12 98 BC DE 84 6A 90 00 71 [11:21:48]RAPDU: BA B3 12 98 BC DE 84 6A 90 00 [11:21:48]wFMCommunicate OK [11:21:48]SAM_PROTO_SignData done [11:21:48]FM_MakeSignedData done [11:21:48]CreateOFDProtocolMessage [11:21:48]wFMCommunicate request_size=4 [11:21:48]MH_SAM_APDU [11:21:48]CAPDU: 80 11 00 00 [11:21:48]Write to MH i2c: E2 08 00 53 04 80 11 00 00 00 00 00 00 D1 [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:48]Read from MH i2c: E2 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 17 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: E2 17 00 53 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 27 [11:21:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:21:48]wFMCommunicate OK [11:21:48]CreateOFDProtocolMessage done [11:21:48]OFDSenderStorePacket 32396 [11:21:48]StoreOFDPacket docnum=32396 [11:21:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 28 94 07 01 99 90 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CB 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7E 00 00 35 04 06 00 C8 5A AA F7 E5 5A BA B3 12 98 BC DE 84 6A [11:21:48]CheckFolder [11:21:48]dirname=/storage/ofd_packets [11:21:48]CheckFolder done [11:21:48]ProducePacketName [11:21:48]name=ofd_packets/00032396 [11:21:48]NVStorageSaveData ofd_packets/00032396 [11:21:48]File name is /storage/ofd_packets/00032396 [11:21:48]Write 301 bytes [11:21:48]NVStorageSaveData done [11:21:48]OFDSenderStorePacket done [11:21:48]KKMCreateOFDPacket done [11:21:48]NVStorageSaveData kkm_last_timestamp [11:21:48]File name is /storage/kkm_last_timestamp [11:21:48]Write 4 bytes [11:21:48]NVStorageSaveData done [11:21:48]ExternCall_PrintAddStr [11:21:48]wPrintStart [11:21:48]Write to MH i2c: 01 00 00 54 04 58 [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 07 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 FF 0F 6D [11:21:48]RasterBufferAndPrint [11:21:48]line Счет N : (1)6543263 [11:21:48]line ИНН: 02508201610067 [11:21:48]line Контрольно-Кассовый Чек [11:21:48]line ПРОДАЖА [11:21:48]line ТРК (МРК, ГНК) : 11 [11:21:48]line Товар: 2710124500 [11:21:48]line Аи-95-К-5 [11:21:48]line 6.960 * 71.90 [11:21:48]line = 500.42 [11:21:48]line НДС 12% НСП 1% [11:21:48]line > о реализуемом товаре [11:21:48]line ИТОГО: 500.42 [11:21:48]line НСП 1% : 4.43 [11:21:48]line НДС 12% : 53.14 [11:21:48]line Наличными: 0.00 [11:21:48]line Безнал.: 500.42 [11:21:48]line Место: АЗС № 96 "Партнер Нефть" [11:21:48]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:21:48]line СНО: Общий режим [11:21:48]line Чек 27 17.02.2025 11:21 [11:21:48]line Смена: 382 ФФД: 1.0 [11:21:48]line ЗНМ: 0300000059 [11:21:48]line РНМ: 0000000000146237 [11:21:48]line Версия ККМ: v1.0 [11:21:48]line Платежная система: Бакай Банк [11:21:48]line ФМ: 0000000000959282 [11:21:48]line ФД: 32396 [11:21:48]line ФПД: 220291740984666 [11:21:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112147&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32396&fm=220291740984666&tin=02508201610067®Number=0000000000146237&sum=50042 [11:21:48]written 0, free lines is 4095 [11:21:48]OFD Sender: Processing packet 32396 [packets to send 104, broken 103] [11:21:48]ProducePacketName [11:21:48]name=ofd_packets/00032396 [11:21:48]OFD Sender: To server: pG, [11:21:48]CommunicateWithHost lk.salyk.kg:30040 [11:21:48]ConnectInit lk.salyk.kg [11:21:48]Connected sock=10 [11:21:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 28 94 07 01 99 90 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 CB 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7E 00 00 35 04 06 00 C8 5A AA F7 E5 5A BA B3 12 98 BC DE 84 6A [11:21:48]Write to MH i2c: 01 00 00 7E 04 82 [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 07 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: 01 07 00 7E 04 00 00 00 00 00 02 0D 98 [11:21:48]RasterBufferAndPrint [11:21:48]line [11:21:48]line [11:21:48]line [11:21:48]line [11:21:48]line [11:21:48]written 0, free lines is 3336 [11:21:48]MH_Cut [11:21:48]Write to MH i2c: D1 01 00 85 04 01 5B [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: D1 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: D1 01 00 [11:21:48]MH_I2C_Read... [11:21:48]Read from MH i2c: D1 01 00 85 04 00 5A [11:21:48]Write to MH i2c: 01 00 00 86 04 8A [11:21:48]Write i2c OK [11:21:48]MH_I2C_Read... [11:21:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 04 D4 47 00 B8 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7E 00 00 F4 03 04 00 6F C5 B2 67 B6 04 01 00 00 15 B5 3E F0 EB B7 B4 F1 [11:21:48]CommunicateWithHost err = 0 [11:21:48]CheckOFDResponse [11:21:48]1017 (14) - 77093643461234 [11:21:48]1041 (16) - 0000000000959282 [11:21:48]1040 (4) - 32396 [11:21:48]1012 (4) - 17.02.2025 05:13 [11:21:48]1206 (1) - 0 [11:21:48]OFD Sender: Remove packet 32396 [11:21:48]ProducePacketName [11:21:48]name=ofd_packets/00032396 [11:21:48]NVStorageDeleteData [11:21:49]OFD Sender: No OFD packet to send [11:21:49]*** Cut start [11:21:49]*** Partial cut [11:21:49]*** CUTSNS_PIN = 1 [11:21:49]*** CUTSNS_PIN = 0 [11:21:49]*** Brake cut motor [11:21:50]Read from MH i2c: 01 [11:21:50]MH_I2C_Read... [11:21:50]*** Stop cut motor [11:21:50]*** Cut end [11:21:50]Read from MH i2c: 01 07 00 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: 01 07 00 86 04 00 00 00 00 00 FF 0F 9F [11:21:50]process_action close_receipt done [11:21:50]requested_data is exist [11:21:50]produce_requested_data [11:21:50]requested_item fm.sn is exist - process it [11:21:50]wFMCommunicate request_size=4 [11:21:50]MH_SAM_APDU [11:21:50]CAPDU: 80 11 00 00 [11:21:50]Write to MH i2c: E2 08 00 87 04 80 11 00 00 00 00 00 00 05 [11:21:50]Write i2c OK [11:21:50]MH_I2C_Read... [11:21:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:21:50]Read from MH i2c: E2 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 17 00 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 17 00 87 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5B [11:21:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:21:50]wFMCommunicate OK [11:21:50]requested_item fd.num is exist - process it [11:21:50]SAM_PROTO_GetFieldsCounters [11:21:50]wFMCommunicate request_size=4 [11:21:50]MH_SAM_APDU [11:21:50]CAPDU: 80 13 00 00 [11:21:50]Write to MH i2c: E2 08 00 88 04 80 13 00 00 00 00 00 00 08 [11:21:50]Write i2c OK [11:21:50]MH_I2C_Read... [11:21:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:21:50]Read from MH i2c: E2 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 62 00 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 62 00 88 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 04 [11:21:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:21:50]wFMCommunicate OK [11:21:50]SAM_PROTO_GetFieldsCounters done [11:21:50]requested_item shift.num is exist - process it [11:21:50]requested_item shift.opened is exist - process it [11:21:50]req_shift_opened [11:21:50]FM_GetShiftState [11:21:50]SAM_PROTO_GetShiftState [11:21:50]wFMCommunicate request_size=4 [11:21:50]MH_SAM_APDU [11:21:50]CAPDU: 80 13 01 00 [11:21:50]Write to MH i2c: E2 08 00 89 04 80 13 01 00 00 00 00 00 0A [11:21:50]Write i2c OK [11:21:50]MH_I2C_Read... [11:21:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:21:50]Read from MH i2c: E2 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 0E 00 [11:21:50]MH_I2C_Read... [11:21:50]Read from MH i2c: E2 0E 00 89 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F0 [11:21:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:21:50]wFMCommunicate OK [11:21:50]SAM_PROTO_GetShiftState done [11:21:50]FM_GetShiftState done [11:21:50]req_shift_opened done [11:21:50]requested_item shift.open_date is exist - process it [11:21:50]req_shift_open_date [11:21:50]req_shift_open_date done [11:21:50]produce_requested_data done [11:21:50]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32396,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:21:50]process_action_free close_receipt [11:21:50]json_value_free [11:21:50]json_value_free done [11:21:50]process_json_proto returns [11:21:50]Send response to host [11:21:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32396,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:21:50]free response buf [11:21:50]execute_script done [11:21:50]execute_script returns [11:21:50]free content buf [11:21:50]Sock 7.Close socket [11:21:50]Sock 7.Thread stoped [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:23]accept exits with 9 [11:22:23]New connection [11:22:23]New thread 3067411812 created [11:22:23]Thread 3067555172 joined [11:22:23]Waiting for new connection... [11:22:23] Sock 9.Parse request [11:22:23]Sock 9.Check first char [11:22:23]Sock 9.First char is OK [11:22:23]request: POST /json_proto HTTP/1.0 [11:22:23]Method: POST [11:22:23]URL: /json_proto [11:22:23]Method is POST - this is cgi request [11:22:23]url: /json_proto [11:22:23]query_string will be loaded in cgi processing [11:22:23]execute_cgi json_proto POST (null) [11:22:23]execute_cgi path=json_proto method=POST [11:22:23]POST find Content-Length [11:22:23]Host: 172.17.47.135:8080 [11:22:23]Content-Length: 790 [11:22:23]Content-Type: application/json [11:22:23] [11:22:23]POST finish read [11:22:23]Found Content-Length = 790 [11:22:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543262", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 27.550, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:23]execute_script... [11:22:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543262", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 27.550, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:23]POST & json_proto [11:22:23]process_json_proto [11:22:23]json parsed OK: [11:22:23]protocol is kg_v1.0 [11:22:23]action value=close_receipt [11:22:23]process_action close_receipt [11:22:23]cmd_close_receipt [11:22:23]MH_GetDate [11:22:23]Write to MH i2c: F0 00 00 8A 04 7D [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 09 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 09 00 8A 04 00 F0 1B B3 67 19 D8 DE 66 E0 [11:22:23]GetLastDocTimeStamp 1739791307 [11:22:23]current date 1739791344 [11:22:23]FM_GetShiftState [11:22:23]SAM_PROTO_GetShiftState [11:22:23]wFMCommunicate request_size=4 [11:22:23]MH_SAM_APDU [11:22:23]CAPDU: 80 13 01 00 [11:22:23]Write to MH i2c: E2 08 00 8B 04 80 13 01 00 00 00 00 00 0C [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:23]Read from MH i2c: E2 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: E2 0E 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: E2 0E 00 8B 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F2 [11:22:23]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:22:23]wFMCommunicate OK [11:22:23]SAM_PROTO_GetShiftState done [11:22:23]FM_GetShiftState done [11:22:23]opened in 1739750979 [11:22:23]opened+sec_in_day 1739837379 [11:22:23]quantity*price = 0 [11:22:23]sum+1 = 1 [11:22:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 28 17.02.2025 11:22 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 59898 ФМ: 0000000000959282 ФД: 32397 ФПД: 29717264905985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112224&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32397&fm=29717264905985&tin=02508201610067®Number=0000000000146237&sum=0 [11:22:24]StoreToDocumentArchive [11:22:24]shift 382 fd 32397 [11:22:24]save to /storage/0382/doc_00032397 [11:22:24]save last doc name /storage/0382/doc_00032397 to /storage/kkm_last_doc_name [11:22:24]save OK [11:22:24]Clear old archive folders... [11:22:24]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:22:24]tlvbuf is 004B4330 [11:22:24]SAM_PROTO_ClearQueue [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 09 00 00 [11:22:24]Write to MH i2c: E2 08 00 98 04 80 09 00 00 00 00 00 00 0E [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 98 04 00 90 00 10 [11:22:24]RAPDU: 90 00 [11:22:24]wFMCommunicate OK [11:22:24]SAM_PROTO_ClearQueue done [11:22:24]KKMCreateOFDPacket [11:22:24]OFDProtocolAddRootSTLVToBuf [11:22:24]FM_MakeSignedData [11:22:24]FM_MakeSignedData [11:22:24]SAM_PROTO_SignData [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 0D 01 02 [11:22:24]Write to MH i2c: E2 08 00 99 04 80 0D 01 02 00 00 00 00 16 [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 99 04 00 90 00 11 [11:22:25]RAPDU: 90 00 [11:22:25]wFMCommunicate OK [11:22:25]wFMCommunicate request_size=255 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 F0 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7E 00 00 35 04 06 00 1B 07 17 04 [11:22:25]Write to MH i2c: E2 02 01 9A 04 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 F0 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7E 00 00 35 04 06 00 1B 07 17 04 00 00 82 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 9A 04 00 90 00 12 [11:22:25]RAPDU: 90 00 [11:22:25]wFMCommunicate OK [11:22:25]wFMCommunicate request_size=7 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 0D 02 02 02 B7 01 [11:22:25]Write to MH i2c: E2 0A 00 9B 04 80 0D 02 02 02 00 B7 01 00 00 D5 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 03 00 9B 04 00 90 00 13 [11:22:25]RAPDU: 90 00 [11:22:25]wFMCommunicate OK [11:22:25]wFMCommunicate request_size=4 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 0D 03 02 [11:22:25]Write to MH i2c: E2 08 00 9C 04 80 0D 03 02 00 00 00 00 1B [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 0B 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 0B 00 9C 04 00 5F DC 6A 4D 66 A7 CD E8 90 00 D0 [11:22:25]RAPDU: 5F DC 6A 4D 66 A7 CD E8 90 00 [11:22:25]wFMCommunicate OK [11:22:25]SAM_PROTO_SignData done [11:22:25]FM_MakeSignedData done [11:22:25]CreateOFDProtocolMessage [11:22:25]wFMCommunicate request_size=4 [11:22:25]MH_SAM_APDU [11:22:25]CAPDU: 80 11 00 00 [11:22:25]Write to MH i2c: E2 08 00 9D 04 80 11 00 00 00 00 00 00 1B [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:25]Read from MH i2c: E2 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 17 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: E2 17 00 9D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 71 [11:22:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:22:25]wFMCommunicate OK [11:22:25]CreateOFDProtocolMessage done [11:22:25]OFDSenderStorePacket 32397 [11:22:25]StoreOFDPacket docnum=32397 [11:22:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 67 05 04 01 CD CB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 F0 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7E 00 00 35 04 06 00 1B 07 17 04 B7 01 5F DC 6A 4D 66 A7 CD E8 [11:22:25]CheckFolder [11:22:25]dirname=/storage/ofd_packets [11:22:25]CheckFolder done [11:22:25]ProducePacketName [11:22:25]name=ofd_packets/00032397 [11:22:25]NVStorageSaveData ofd_packets/00032397 [11:22:25]File name is /storage/ofd_packets/00032397 [11:22:25]Write 298 bytes [11:22:25]NVStorageSaveData done [11:22:25]OFDSenderStorePacket done [11:22:25]KKMCreateOFDPacket done [11:22:25]NVStorageSaveData kkm_last_timestamp [11:22:25]File name is /storage/kkm_last_timestamp [11:22:25]Write 4 bytes [11:22:25]NVStorageSaveData done [11:22:25]ExternCall_PrintAddStr [11:22:25]wPrintStart [11:22:25]Write to MH i2c: 01 00 00 9E 04 A2 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 07 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 07 00 9E 04 00 00 00 00 00 FF 0F B7 [11:22:25]RasterBufferAndPrint [11:22:25]line Счет N : (1)6543262 [11:22:25]line ИНН: 02508201610067 [11:22:25]line Контрольно-Кассовый Чек [11:22:25]line ПРОДАЖА [11:22:25]line ТРК (МРК, ГНК) : 43 [11:22:25]line Товар: 2710194210 [11:22:25]line ДТ-К-2 [11:22:25]line 27.550 * 0.00 [11:22:25]line = 0.00 [11:22:25]line НДС 12% НСП 1% [11:22:25]line > о реализуемом товаре [11:22:25]line ИТОГО: 0.00 [11:22:25]line НСП 1% : 0.00 [11:22:25]line НДС 12% : 0.00 [11:22:25]line Наличными: 0.00 [11:22:25]line Безнал.: 0.00 [11:22:25]line Место: АЗС № 96 "Партнер Нефть" [11:22:25]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:22:25]line СНО: Общий режим [11:22:25]line Чек 28 17.02.2025 11:22 [11:22:25]line Смена: 382 ФФД: 1.0 [11:22:25]line ЗНМ: 0300000059 [11:22:25]line РНМ: 0000000000146237 [11:22:25]line Версия ККМ: v1.0 [11:22:25]line Талоны: Топливная Карта [11:22:25]line 59898 [11:22:25]line ФМ: 0000000000959282 [11:22:25]line ФД: 32397 [11:22:25]line ФПД: 29717264905985 [11:22:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112224&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32397&fm=29717264905985&tin=02508201610067®Number=0000000000146237&sum=0 [11:22:25]OFD Sender: Processing packet 32397 [packets to send 104, broken 103] [11:22:25]ProducePacketName [11:22:25]name=ofd_packets/00032397 [11:22:25]OFD Sender: To server: pG, [11:22:25]CommunicateWithHost lk.salyk.kg:30040 [11:22:25]ConnectInit lk.salyk.kg [11:22:25]written 0, free lines is 4095 [11:22:26]Write to MH i2c: 01 00 00 C8 04 CC [11:22:26]Write i2c OK [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: 01 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: 01 07 00 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: 01 07 00 C8 04 00 00 00 00 00 FA 0C D9 [11:22:26]RasterBufferAndPrint [11:22:26]line [11:22:26]line [11:22:26]line [11:22:26]line [11:22:26]line [11:22:26]written 0, free lines is 3328 [11:22:26]MH_Cut [11:22:26]Write to MH i2c: D1 01 00 CF 04 01 A5 [11:22:26]Write i2c OK [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: D1 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: D1 01 00 [11:22:26]MH_I2C_Read... [11:22:26]Read from MH i2c: D1 01 00 CF 04 00 A4 [11:22:26]Write to MH i2c: 01 00 00 D0 04 D4 [11:22:26]Write i2c OK [11:22:26]MH_I2C_Read... [11:22:26]Connected sock=10 [11:22:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 67 05 04 01 CD CB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 9E 6B 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 F0 1B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7E 00 00 35 04 06 00 1B 07 17 04 B7 01 5F DC 6A 4D 66 A7 CD E8 [11:22:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 00 4A 47 00 8F 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 35 39 32 38 32 10 04 04 00 8D 7E 00 00 F4 03 04 00 94 C5 B2 67 B6 04 01 00 00 B8 91 0F 74 49 D0 53 65 [11:22:26]CommunicateWithHost err = 0 [11:22:26]CheckOFDResponse [11:22:26]1017 (14) - 77093643461234 [11:22:26]1041 (16) - 0000000000959282 [11:22:26]1040 (4) - 32397 [11:22:26]1012 (4) - 17.02.2025 05:13 [11:22:26]1206 (1) - 0 [11:22:26]OFD Sender: Remove packet 32397 [11:22:26]ProducePacketName [11:22:26]name=ofd_packets/00032397 [11:22:26]NVStorageDeleteData [11:22:26]*** Cut start [11:22:26]*** Partial cut [11:22:26]*** CUTSNS_PIN = 1 [11:22:26]*** CUTSNS_PIN = 0 [11:22:26]OFD Sender: No OFD packet to send [11:22:27]*** Brake cut motor [11:22:27]Read from MH i2c: 01 [11:22:27]MH_I2C_Read... [11:22:27]*** Stop cut motor [11:22:27]*** Cut end [11:22:27]Read from MH i2c: 01 07 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: 01 07 00 D0 04 00 00 00 00 00 FF 0F E9 [11:22:27]process_action close_receipt done [11:22:27]requested_data is exist [11:22:27]produce_requested_data [11:22:27]requested_item fm.sn is exist - process it [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 11 00 00 [11:22:27]Write to MH i2c: E2 08 00 D1 04 80 11 00 00 00 00 00 00 4F [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 D1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A5 [11:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:22:27]wFMCommunicate OK [11:22:27]requested_item fd.num is exist - process it [11:22:27]SAM_PROTO_GetFieldsCounters [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 13 00 00 [11:22:27]Write to MH i2c: E2 08 00 D2 04 80 13 00 00 00 00 00 00 52 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 62 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 62 00 D2 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [11:22:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_GetFieldsCounters done [11:22:27]requested_item shift.num is exist - process it [11:22:27]requested_item shift.opened is exist - process it [11:22:27]req_shift_opened [11:22:27]FM_GetShiftState [11:22:27]SAM_PROTO_GetShiftState [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 13 01 00 [11:22:27]Write to MH i2c: E2 08 00 D3 04 80 13 01 00 00 00 00 00 54 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0E 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0E 00 D3 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 3A [11:22:27]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_GetShiftState done [11:22:27]FM_GetShiftState done [11:22:27]req_shift_opened done [11:22:27]requested_item shift.open_date is exist - process it [11:22:27]req_shift_open_date [11:22:27]req_shift_open_date done [11:22:27]produce_requested_data done [11:22:27]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32397,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:22:27]process_action_free close_receipt [11:22:27]json_value_free [11:22:27]json_value_free done [11:22:27]process_json_proto returns [11:22:27]Send response to host [11:22:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32397,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:22:27]free response buf [11:22:27]execute_script done [11:22:27]execute_script returns [11:22:27]free content buf [11:22:27]Sock 9.Close socket [11:22:27]Sock 9.Thread stoped [11:22:31]OFD Sender: No OFD packet to send [11:22:36]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:04]accept exits with 7 [11:23:04]New connection [11:23:04]New thread 3067555172 created [11:23:04]Thread 3067411812 joined [11:23:04]Waiting for new connection... [11:23:04] Sock 7.Parse request [11:23:04]Sock 7.Check first char [11:23:04]Sock 7.First char is OK [11:23:04]request: POST /json_proto HTTP/1.0 [11:23:04]Method: POST [11:23:04]URL: /json_proto [11:23:04]Method is POST - this is cgi request [11:23:04]url: /json_proto [11:23:04]query_string will be loaded in cgi processing [11:23:04]execute_cgi json_proto POST (null) [11:23:04]execute_cgi path=json_proto method=POST [11:23:04]POST find Content-Length [11:23:04]Host: 172.17.47.135:8080 [11:23:04]Content-Length: 678 [11:23:04]Content-Type: application/json [11:23:04] [11:23:04]POST finish read [11:23:04]Found Content-Length = 678 [11:23:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543264", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:04]execute_script... [11:23:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543264", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:04]POST & json_proto [11:23:04]process_json_proto [11:23:04]json parsed OK: [11:23:04]protocol is kg_v1.0 [11:23:04]action value=close_receipt [11:23:04]process_action close_receipt [11:23:04]cmd_close_receipt [11:23:04]MH_GetDate [11:23:04]Write to MH i2c: F0 00 00 D4 04 C7 [11:23:04]Write i2c OK [11:23:04]MH_I2C_Read... [11:23:04]Read from MH i2c: F0 [11:23:04]MH_I2C_Read... [11:23:04]Read from MH i2c: F0 09 00 [11:23:04]MH_I2C_Read... [11:23:04]Read from MH i2c: F0 09 00 D4 04 00 19 1C B3 67 19 D8 DE 66 54 [11:23:04]GetLastDocTimeStamp 1739791344 [11:23:04]current date 1739791385 [11:23:04]FM_GetShiftState [11:23:04]SAM_PROTO_GetShiftState [11:23:04]wFMCommunicate request_size=4 [11:23:04]MH_SAM_APDU [11:23:04]CAPDU: 80 13 01 00 [11:23:04]Write to MH i2c: E2 08 00 D5 04 80 13 01 00 00 00 00 00 56 [11:23:04]Write i2c OK [11:23:04]MH_I2C_Read... [11:23:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:04]Read from MH i2c: E2 [11:23:04]MH_I2C_Read... [11:23:04]Read from MH i2c: E2 0E 00 [11:23:04]MH_I2C_Read... [11:23:04]Read from MH i2c: E2 0E 00 D5 04 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 3C [11:23:04]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:23:04]wFMCommunicate OK [11:23:04]SAM_PROTO_GetShiftState done [11:23:04]FM_GetShiftState done [11:23:04]opened in 1739750979 [11:23:04]opened+sec_in_day 1739837379 [11:23:04]quantity*price = 30045 [11:23:04]sum+1 = 30047 [11:23:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.46 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.91 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 29 17.02.2025 11:23 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32398 ФПД: 192531515800536 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112305&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32398&fm=192531515800536&tin=02508201610067®Number=0000000000146237&sum=30000 [11:23:05]StoreToDocumentArchive [11:23:05]shift 382 fd 32398 [11:23:05]save to /storage/0382/doc_00032398 [11:23:05]save last doc name /storage/0382/doc_00032398 to /storage/kkm_last_doc_name [11:23:05]save OK [11:23:05]Clear old archive folders... [11:23:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:23:05]tlvbuf is 004C76A0 [11:23:05]SAM_PROTO_ClearQueue [11:23:05]wFMCommunicate request_size=4 [11:23:05]MH_SAM_APDU [11:23:05]CAPDU: 80 09 00 00 [11:23:05]Write to MH i2c: E2 08 00 E2 04 80 09 00 00 00 00 00 00 58 [11:23:05]Write i2c OK [11:23:05]MH_I2C_Read... [11:23:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:23:05]Read from MH i2c: E2 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 03 00 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 03 00 E2 04 00 90 00 5A [11:23:05]RAPDU: 90 00 [11:23:05]wFMCommunicate OK [11:23:05]SAM_PROTO_ClearQueue done [11:23:05]KKMCreateOFDPacket [11:23:05]OFDProtocolAddRootSTLVToBuf [11:23:05]FM_MakeSignedData [11:23:05]FM_MakeSignedData [11:23:05]SAM_PROTO_SignData [11:23:05]wFMCommunicate request_size=4 [11:23:05]MH_SAM_APDU [11:23:05]CAPDU: 80 0D 01 02 [11:23:05]Write to MH i2c: E2 08 00 E3 04 80 0D 01 02 00 00 00 00 60 [11:23:05]Write i2c OK [11:23:05]MH_I2C_Read... [11:23:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:23:05]Read from MH i2c: E2 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 03 00 [11:23:05]MH_I2C_Read... [11:23:05]Read from MH i2c: E2 03 00 E3 04 00 90 00 5B [11:23:05]RAPDU: 90 00 [11:23:05]wFMCommunicate OK [11:23:05]wFMCommunicate request_size=255 [11:23:05]MH_SAM_APDU [11:23:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 19 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7E 00 00 35 04 06 00 AF [11:23:05]Write to MH i2c: E2 02 01 E4 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 19 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7E 00 00 35 04 06 00 AF 00 00 43 [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 E4 04 00 90 00 5C [11:23:06]RAPDU: 90 00 [11:23:06]wFMCommunicate OK [11:23:06]wFMCommunicate request_size=10 [11:23:06]MH_SAM_APDU [11:23:06]CAPDU: 80 0D 02 02 05 1B 3C 9B 7B D8 [11:23:06]Write to MH i2c: E2 0D 00 E5 04 80 0D 02 02 05 00 1B 3C 9B 7B D8 00 00 B2 [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 03 00 E5 04 00 90 00 5D [11:23:06]RAPDU: 90 00 [11:23:06]wFMCommunicate OK [11:23:06]wFMCommunicate request_size=4 [11:23:06]MH_SAM_APDU [11:23:06]CAPDU: 80 0D 03 02 [11:23:06]Write to MH i2c: E2 08 00 E6 04 80 0D 03 02 00 00 00 00 65 [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 0B 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 0B 00 E6 04 00 9A 57 20 8F B1 96 5C F7 90 00 A0 [11:23:06]RAPDU: 9A 57 20 8F B1 96 5C F7 90 00 [11:23:06]wFMCommunicate OK [11:23:06]SAM_PROTO_SignData done [11:23:06]FM_MakeSignedData done [11:23:06]CreateOFDProtocolMessage [11:23:06]wFMCommunicate request_size=4 [11:23:06]MH_SAM_APDU [11:23:06]CAPDU: 80 11 00 00 [11:23:06]Write to MH i2c: E2 08 00 E7 04 80 11 00 00 00 00 00 00 65 [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:06]Read from MH i2c: E2 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 17 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: E2 17 00 E7 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BB [11:23:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:23:06]wFMCommunicate OK [11:23:06]CreateOFDProtocolMessage done [11:23:06]OFDSenderStorePacket 32398 [11:23:06]StoreOFDPacket docnum=32398 [11:23:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 00 C7 07 01 8E A1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 19 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7E 00 00 35 04 06 00 AF 1B 3C 9B 7B D8 9A 57 20 8F B1 96 5C F7 [11:23:06]CheckFolder [11:23:06]dirname=/storage/ofd_packets [11:23:06]CheckFolder done [11:23:06]ProducePacketName [11:23:06]name=ofd_packets/00032398 [11:23:06]NVStorageSaveData ofd_packets/00032398 [11:23:06]File name is /storage/ofd_packets/00032398 [11:23:06]Write 301 bytes [11:23:06]NVStorageSaveData done [11:23:06]OFDSenderStorePacket done [11:23:06]KKMCreateOFDPacket done [11:23:06]NVStorageSaveData kkm_last_timestamp [11:23:06]File name is /storage/kkm_last_timestamp [11:23:06]Write 4 bytes [11:23:06]NVStorageSaveData done [11:23:06]ExternCall_PrintAddStr [11:23:06]wPrintStart [11:23:06]Write to MH i2c: 01 00 00 E8 04 EC [11:23:06]Write i2c OK [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: 01 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: 01 07 00 [11:23:06]MH_I2C_Read... [11:23:06]Read from MH i2c: 01 07 00 E8 04 00 00 00 00 00 FF 0F 01 [11:23:06]RasterBufferAndPrint [11:23:06]line Счет N : (1)6543264 [11:23:06]line ИНН: 02508201610067 [11:23:06]line Контрольно-Кассовый Чек [11:23:06]line ПРОДАЖА [11:23:06]line ТРК (МРК, ГНК) : 22 [11:23:06]line Товар: 2710124130 [11:23:06]line Аи-92-К-5 [11:23:06]line 4.680 * 64.20 [11:23:06]line = 300.46 [11:23:06]line НДС 12% НСП 1% [11:23:06]line > о реализуемом товаре [11:23:06]line ОКРУГЛЕНИЕ: -0.46 [11:23:06]line ИТОГО: 300.00 [11:23:06]line Внесено: 300.00 [11:23:06]line СДАЧА: 0.00 [11:23:06]line НСП 1% : 2.66 [11:23:06]line НДС 12% : 31.91 [11:23:06]line Наличными: 300.00 [11:23:06]line Безнал.: 0.00 [11:23:06]line Место: АЗС № 96 "Партнер Нефть" [11:23:06]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:23:06]line СНО: Общий режим [11:23:06]line Чек 29 17.02.2025 11:23 [11:23:06]line Смена: 382 ФФД: 1.0 [11:23:06]line ЗНМ: 0300000059 [11:23:06]line РНМ: 0000000000146237 [11:23:06]line Версия ККМ: v1.0 [11:23:06]line ФМ: 0000000000959282 [11:23:06]line ФД: 32398 [11:23:06]line ФПД: 192531515800536 [11:23:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112305&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32398&fm=192531515800536&tin=02508201610067®Number=0000000000146237&sum=30000 [11:23:06]written 0, free lines is 4095 [11:23:06]OFD Sender: Processing packet 32398 [packets to send 104, broken 103] [11:23:06]ProducePacketName [11:23:06]name=ofd_packets/00032398 [11:23:06]OFD Sender: To server: pG, [11:23:06]CommunicateWithHost lk.salyk.kg:30040 [11:23:06]ConnectInit lk.salyk.kg [11:23:06]Connected sock=10 [11:23:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 00 C7 07 01 8E A1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 19 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7E 00 00 35 04 06 00 AF 1B 3C 9B 7B D8 9A 57 20 8F B1 96 5C F7 [11:23:07]Write to MH i2c: 01 00 00 13 05 18 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 07 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: 01 07 00 13 05 00 00 00 00 00 F5 0C 20 [11:23:07]RasterBufferAndPrint [11:23:07]line [11:23:07]line [11:23:07]line [11:23:07]line [11:23:07]line [11:23:07]written 0, free lines is 3323 [11:23:07]MH_Cut [11:23:07]Write to MH i2c: D1 01 00 1A 05 01 F1 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: D1 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: D1 01 00 [11:23:07]MH_I2C_Read... [11:23:07]Read from MH i2c: D1 01 00 1A 05 00 F0 [11:23:07]Write to MH i2c: 01 00 00 1B 05 20 [11:23:07]Write i2c OK [11:23:07]MH_I2C_Read... [11:23:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 62 39 47 00 98 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7E 00 00 F4 03 04 00 BD C5 B2 67 B6 04 01 00 00 58 2E 39 C0 CC AB 3C 7E [11:23:07]CommunicateWithHost err = 0 [11:23:07]CheckOFDResponse [11:23:07]1017 (14) - 77093643461234 [11:23:07]1041 (16) - 0000000000959282 [11:23:07]1040 (4) - 32398 [11:23:07]1012 (4) - 17.02.2025 05:14 [11:23:07]1206 (1) - 0 [11:23:07]OFD Sender: Remove packet 32398 [11:23:07]ProducePacketName [11:23:07]name=ofd_packets/00032398 [11:23:07]NVStorageDeleteData [11:23:07]OFD Sender: No OFD packet to send [11:23:07]*** Cut start [11:23:07]*** Partial cut [11:23:07]*** CUTSNS_PIN = 1 [11:23:07]*** CUTSNS_PIN = 0 [11:23:08]*** Brake cut motor [11:23:08]Read from MH i2c: 01 [11:23:08]MH_I2C_Read... [11:23:08]*** Stop cut motor [11:23:08]*** Cut end [11:23:08]Read from MH i2c: 01 07 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: 01 07 00 1B 05 00 00 00 00 00 FF 0F 35 [11:23:08]process_action close_receipt done [11:23:08]requested_data is exist [11:23:08]produce_requested_data [11:23:08]requested_item fm.sn is exist - process it [11:23:08]wFMCommunicate request_size=4 [11:23:08]MH_SAM_APDU [11:23:08]CAPDU: 80 11 00 00 [11:23:08]Write to MH i2c: E2 08 00 1C 05 80 11 00 00 00 00 00 00 9B [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:08]Read from MH i2c: E2 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 17 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 17 00 1C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F1 [11:23:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:23:08]wFMCommunicate OK [11:23:08]requested_item fd.num is exist - process it [11:23:08]SAM_PROTO_GetFieldsCounters [11:23:08]wFMCommunicate request_size=4 [11:23:08]MH_SAM_APDU [11:23:08]CAPDU: 80 13 00 00 [11:23:08]Write to MH i2c: E2 08 00 1D 05 80 13 00 00 00 00 00 00 9E [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:23:08]Read from MH i2c: E2 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 62 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 62 00 1D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [11:23:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:23:08]wFMCommunicate OK [11:23:08]SAM_PROTO_GetFieldsCounters done [11:23:08]requested_item shift.num is exist - process it [11:23:08]requested_item shift.opened is exist - process it [11:23:08]req_shift_opened [11:23:08]FM_GetShiftState [11:23:08]SAM_PROTO_GetShiftState [11:23:08]wFMCommunicate request_size=4 [11:23:08]MH_SAM_APDU [11:23:08]CAPDU: 80 13 01 00 [11:23:08]Write to MH i2c: E2 08 00 1E 05 80 13 01 00 00 00 00 00 A0 [11:23:08]Write i2c OK [11:23:08]MH_I2C_Read... [11:23:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:08]Read from MH i2c: E2 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 0E 00 [11:23:08]MH_I2C_Read... [11:23:08]Read from MH i2c: E2 0E 00 1E 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 86 [11:23:08]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:23:08]wFMCommunicate OK [11:23:08]SAM_PROTO_GetShiftState done [11:23:08]FM_GetShiftState done [11:23:08]req_shift_opened done [11:23:08]requested_item shift.open_date is exist - process it [11:23:08]req_shift_open_date [11:23:08]req_shift_open_date done [11:23:08]produce_requested_data done [11:23:08]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32398,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:23:08]process_action_free close_receipt [11:23:08]json_value_free [11:23:08]json_value_free done [11:23:08]process_json_proto returns [11:23:08]Send response to host [11:23:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32398,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:23:08]free response buf [11:23:08]execute_script done [11:23:08]execute_script returns [11:23:08]free content buf [11:23:08]Sock 7.Close socket [11:23:08]Sock 7.Thread stoped [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:25]recv_with_timeout no data received [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:37]OFD Sender: No OFD packet to send [11:24:42]OFD Sender: No OFD packet to send [11:24:47]OFD Sender: No OFD packet to send [11:24:52]OFD Sender: No OFD packet to send [11:24:57]OFD Sender: No OFD packet to send [11:25:02]accept exits with 9 [11:25:02]New connection [11:25:02]New thread 3067411812 created [11:25:02]Thread 3067555172 joined [11:25:02]Waiting for new connection... [11:25:02] Sock 9.Parse request [11:25:02]Sock 9.Check first char [11:25:02]Sock 9.First char is OK [11:25:02]request: POST /json_proto HTTP/1.0 [11:25:02]Method: POST [11:25:02]URL: /json_proto [11:25:02]Method is POST - this is cgi request [11:25:02]url: /json_proto [11:25:02]query_string will be loaded in cgi processing [11:25:02]execute_cgi json_proto POST (null) [11:25:02]execute_cgi path=json_proto method=POST [11:25:02]POST find Content-Length [11:25:02]Host: 172.17.47.135:8080 [11:25:02]Content-Length: 678 [11:25:02]Content-Type: application/json [11:25:02] [11:25:02]POST finish read [11:25:02]Found Content-Length = 678 [11:25:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543267", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:02]execute_script... [11:25: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 : (1)6543267", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:02]POST & json_proto [11:25:02]process_json_proto [11:25:02]json parsed OK: [11:25:02]protocol is kg_v1.0 [11:25:02]action value=close_receipt [11:25:02]process_action close_receipt [11:25:02]cmd_close_receipt [11:25:02]MH_GetDate [11:25:02]Write to MH i2c: F0 00 00 1F 05 13 [11:25:02]Write i2c OK [11:25:02]MH_I2C_Read... [11:25:02]Read from MH i2c: F0 [11:25:02]MH_I2C_Read... [11:25:02]Read from MH i2c: F0 09 00 [11:25:02]MH_I2C_Read... [11:25:02]Read from MH i2c: F0 09 00 1F 05 00 8F 1C B3 67 19 D8 DE 66 16 [11:25:02]GetLastDocTimeStamp 1739791385 [11:25:02]current date 1739791503 [11:25:02]FM_GetShiftState [11:25:02]SAM_PROTO_GetShiftState [11:25:02]wFMCommunicate request_size=4 [11:25:02]MH_SAM_APDU [11:25:02]CAPDU: 80 13 01 00 [11:25:02]Write to MH i2c: E2 08 00 20 05 80 13 01 00 00 00 00 00 A2 [11:25:02]Write i2c OK [11:25:02]MH_I2C_Read... [11:25:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:02]Read from MH i2c: E2 [11:25:02]MH_I2C_Read... [11:25:02]Read from MH i2c: E2 0E 00 [11:25:02]MH_I2C_Read... [11:25:02]Read from MH i2c: E2 0E 00 20 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 88 [11:25:02]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:02]wFMCommunicate OK [11:25:02]SAM_PROTO_GetShiftState done [11:25:02]FM_GetShiftState done [11:25:02]opened in 1739750979 [11:25:02]opened+sec_in_day 1739837379 [11:25:02]quantity*price = 40060 [11:25:02]sum+1 = 40062 [11:25:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.54 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 30 17.02.2025 11:25 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32399 ФПД: 130122339995211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112503&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32399&fm=130122339995211&tin=02508201610067®Number=0000000000146237&sum=40000 [11:25:03]StoreToDocumentArchive [11:25:03]shift 382 fd 32399 [11:25:03]save to /storage/0382/doc_00032399 [11:25:03]save last doc name /storage/0382/doc_00032399 to /storage/kkm_last_doc_name [11:25:03]save OK [11:25:03]Clear old archive folders... [11:25:03]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:25:03]tlvbuf is 004C01A0 [11:25:03]SAM_PROTO_ClearQueue [11:25:03]wFMCommunicate request_size=4 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 09 00 00 [11:25:03]Write to MH i2c: E2 08 00 2D 05 80 09 00 00 00 00 00 00 A4 [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:03]Read from MH i2c: E2 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 2D 05 00 90 00 A6 [11:25:03]RAPDU: 90 00 [11:25:03]wFMCommunicate OK [11:25:03]SAM_PROTO_ClearQueue done [11:25:03]KKMCreateOFDPacket [11:25:03]OFDProtocolAddRootSTLVToBuf [11:25:03]FM_MakeSignedData [11:25:03]FM_MakeSignedData [11:25:03]SAM_PROTO_SignData [11:25:03]wFMCommunicate request_size=4 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 0D 01 02 [11:25:03]Write to MH i2c: E2 08 00 2E 05 80 0D 01 02 00 00 00 00 AC [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:03]Read from MH i2c: E2 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 2E 05 00 90 00 A7 [11:25:03]RAPDU: 90 00 [11:25:03]wFMCommunicate OK [11:25:03]wFMCommunicate request_size=255 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 8F 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7E 00 00 35 04 06 00 76 [11:25:03]Write to MH i2c: E2 02 01 2F 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 8F 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7E 00 00 35 04 06 00 76 00 00 23 [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:03]Read from MH i2c: E2 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 2F 05 00 90 00 A8 [11:25:03]RAPDU: 90 00 [11:25:03]wFMCommunicate OK [11:25:03]wFMCommunicate request_size=10 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 0D 02 02 05 58 77 DA 4E 4B [11:25:03]Write to MH i2c: E2 0D 00 30 05 80 0D 02 02 05 00 58 77 DA 4E 4B 00 00 FB [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:03]Read from MH i2c: E2 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 03 00 30 05 00 90 00 A9 [11:25:03]RAPDU: 90 00 [11:25:03]wFMCommunicate OK [11:25:03]wFMCommunicate request_size=4 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 0D 03 02 [11:25:03]Write to MH i2c: E2 08 00 31 05 80 0D 03 02 00 00 00 00 B1 [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:03]Read from MH i2c: E2 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 0B 00 [11:25:03]MH_I2C_Read... [11:25:03]Read from MH i2c: E2 0B 00 31 05 00 D9 06 E7 E3 37 7A A5 30 90 00 E1 [11:25:03]RAPDU: D9 06 E7 E3 37 7A A5 30 90 00 [11:25:03]wFMCommunicate OK [11:25:03]SAM_PROTO_SignData done [11:25:03]FM_MakeSignedData done [11:25:03]CreateOFDProtocolMessage [11:25:03]wFMCommunicate request_size=4 [11:25:03]MH_SAM_APDU [11:25:03]CAPDU: 80 11 00 00 [11:25:03]Write to MH i2c: E2 08 00 32 05 80 11 00 00 00 00 00 00 B1 [11:25:03]Write i2c OK [11:25:03]MH_I2C_Read... [11:25:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:04]Read from MH i2c: E2 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: E2 17 00 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: E2 17 00 32 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 07 [11:25:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:04]wFMCommunicate OK [11:25:04]CreateOFDProtocolMessage done [11:25:04]OFDSenderStorePacket 32399 [11:25:04]StoreOFDPacket docnum=32399 [11:25:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 7A EB 07 01 6C 04 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 8F 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7E 00 00 35 04 06 00 76 58 77 DA 4E 4B D9 06 E7 E3 37 7A A5 30 [11:25:04]CheckFolder [11:25:04]dirname=/storage/ofd_packets [11:25:04]CheckFolder done [11:25:04]ProducePacketName [11:25:04]name=ofd_packets/00032399 [11:25:04]NVStorageSaveData ofd_packets/00032399 [11:25:04]File name is /storage/ofd_packets/00032399 [11:25:04]Write 301 bytes [11:25:04]NVStorageSaveData done [11:25:04]OFDSenderStorePacket done [11:25:04]KKMCreateOFDPacket done [11:25:04]NVStorageSaveData kkm_last_timestamp [11:25:04]File name is /storage/kkm_last_timestamp [11:25:04]Write 4 bytes [11:25:04]NVStorageSaveData done [11:25:04]ExternCall_PrintAddStr [11:25:04]wPrintStart [11:25:04]Write to MH i2c: 01 00 00 33 05 38 [11:25:04]Write i2c OK [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 07 00 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 07 00 33 05 00 00 00 00 00 FF 0F 4D [11:25:04]RasterBufferAndPrint [11:25:04]line Счет N : (1)6543267 [11:25:04]line ИНН: 02508201610067 [11:25:04]line Контрольно-Кассовый Чек [11:25:04]line ПРОДАЖА [11:25:04]line ТРК (МРК, ГНК) : 42 [11:25:04]line Товар: 2710124130 [11:25:04]line Аи-92-К-5 [11:25:04]line 6.240 * 64.20 [11:25:04]line = 400.61 [11:25:04]line НДС 12% НСП 1% [11:25:04]line > о реализуемом товаре [11:25:04]line ОКРУГЛЕНИЕ: -0.61 [11:25:04]line ИТОГО: 400.00 [11:25:04]line Внесено: 400.00 [11:25:04]line СДАЧА: 0.00 [11:25:04]line НСП 1% : 3.54 [11:25:04]line НДС 12% : 42.54 [11:25:04]line Наличными: 400.00 [11:25:04]line Безнал.: 0.00 [11:25:04]line Место: АЗС № 96 "Партнер Нефть" [11:25:04]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:25:04]line СНО: Общий режим [11:25:04]line Чек 30 17.02.2025 11:25 [11:25:04]line Смена: 382 ФФД: 1.0 [11:25:04]line ЗНМ: 0300000059 [11:25:04]line РНМ: 0000000000146237 [11:25:04]line Версия ККМ: v1.0 [11:25:04]line ФМ: 0000000000959282 [11:25:04]line ФД: 32399 [11:25:04]line ФПД: 130122339995211 [11:25:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112503&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32399&fm=130122339995211&tin=02508201610067®Number=0000000000146237&sum=40000 [11:25:04]written 0, free lines is 4095 [11:25:04]OFD Sender: Processing packet 32399 [packets to send 104, broken 103] [11:25:04]ProducePacketName [11:25:04]name=ofd_packets/00032399 [11:25:04]OFD Sender: To server: pG, [11:25:04]CommunicateWithHost lk.salyk.kg:30040 [11:25:04]ConnectInit lk.salyk.kg [11:25:04]Connected sock=10 [11:25:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 7A EB 07 01 6C 04 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 8F 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7E 00 00 35 04 06 00 76 58 77 DA 4E 4B D9 06 E7 E3 37 7A A5 30 [11:25:04]Write to MH i2c: 01 00 00 5E 05 63 [11:25:04]Write i2c OK [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 07 00 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: 01 07 00 5E 05 00 00 00 00 00 F4 0C 6A [11:25:04]RasterBufferAndPrint [11:25:04]line [11:25:04]line [11:25:04]line [11:25:04]line [11:25:04]line [11:25:04]written 0, free lines is 3322 [11:25:04]MH_Cut [11:25:04]Write to MH i2c: D1 01 00 65 05 01 3C [11:25:04]Write i2c OK [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: D1 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: D1 01 00 [11:25:04]MH_I2C_Read... [11:25:04]Read from MH i2c: D1 01 00 65 05 00 3B [11:25:04]Write to MH i2c: 01 00 00 66 05 6B [11:25:04]Write i2c OK [11:25:04]MH_I2C_Read... [11:25:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 7D D0 47 00 A5 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7E 00 00 F4 03 04 00 33 C6 B2 67 B6 04 01 00 00 35 63 60 7A 7A 72 12 98 [11:25:04]CommunicateWithHost err = 0 [11:25:04]CheckOFDResponse [11:25:04]1017 (14) - 77093643461234 [11:25:04]1041 (16) - 0000000000959282 [11:25:04]1040 (4) - 32399 [11:25:04]1012 (4) - 17.02.2025 05:16 [11:25:04]1206 (1) - 0 [11:25:04]OFD Sender: Remove packet 32399 [11:25:04]ProducePacketName [11:25:04]name=ofd_packets/00032399 [11:25:04]NVStorageDeleteData [11:25:05]OFD Sender: No OFD packet to send [11:25:05]*** Cut start [11:25:05]*** Partial cut [11:25:05]*** CUTSNS_PIN = 1 [11:25:05]*** CUTSNS_PIN = 0 [11:25:05]*** Brake cut motor [11:25:06]Read from MH i2c: 01 [11:25:06]MH_I2C_Read... [11:25:06]*** Stop cut motor [11:25:06]*** Cut end [11:25:06]Read from MH i2c: 01 07 00 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: 01 07 00 66 05 00 00 00 00 00 FF 0F 80 [11:25:06]process_action close_receipt done [11:25:06]requested_data is exist [11:25:06]produce_requested_data [11:25:06]requested_item fm.sn is exist - process it [11:25:06]wFMCommunicate request_size=4 [11:25:06]MH_SAM_APDU [11:25:06]CAPDU: 80 11 00 00 [11:25:06]Write to MH i2c: E2 08 00 67 05 80 11 00 00 00 00 00 00 E6 [11:25:06]Write i2c OK [11:25:06]MH_I2C_Read... [11:25:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:06]Read from MH i2c: E2 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 17 00 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 17 00 67 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 3C [11:25:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:06]wFMCommunicate OK [11:25:06]requested_item fd.num is exist - process it [11:25:06]SAM_PROTO_GetFieldsCounters [11:25:06]wFMCommunicate request_size=4 [11:25:06]MH_SAM_APDU [11:25:06]CAPDU: 80 13 00 00 [11:25:06]Write to MH i2c: E2 08 00 68 05 80 13 00 00 00 00 00 00 E9 [11:25:06]Write i2c OK [11:25:06]MH_I2C_Read... [11:25:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:25:06]Read from MH i2c: E2 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 62 00 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 62 00 68 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [11:25:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:25:06]wFMCommunicate OK [11:25:06]SAM_PROTO_GetFieldsCounters done [11:25:06]requested_item shift.num is exist - process it [11:25:06]requested_item shift.opened is exist - process it [11:25:06]req_shift_opened [11:25:06]FM_GetShiftState [11:25:06]SAM_PROTO_GetShiftState [11:25:06]wFMCommunicate request_size=4 [11:25:06]MH_SAM_APDU [11:25:06]CAPDU: 80 13 01 00 [11:25:06]Write to MH i2c: E2 08 00 69 05 80 13 01 00 00 00 00 00 EB [11:25:06]Write i2c OK [11:25:06]MH_I2C_Read... [11:25:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:06]Read from MH i2c: E2 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 0E 00 [11:25:06]MH_I2C_Read... [11:25:06]Read from MH i2c: E2 0E 00 69 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D1 [11:25:06]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:06]wFMCommunicate OK [11:25:06]SAM_PROTO_GetShiftState done [11:25:06]FM_GetShiftState done [11:25:06]req_shift_opened done [11:25:06]requested_item shift.open_date is exist - process it [11:25:06]req_shift_open_date [11:25:06]req_shift_open_date done [11:25:06]produce_requested_data done [11:25:06]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32399,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:25:06]process_action_free close_receipt [11:25:06]json_value_free [11:25:06]json_value_free done [11:25:06]process_json_proto returns [11:25:06]Send response to host [11:25:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32399,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:25:06]free response buf [11:25:06]execute_script done [11:25:06]execute_script returns [11:25:06]free content buf [11:25:06]Sock 9.Close socket [11:25:06]Sock 9.Thread stoped [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:15]accept exits with 7 [11:25:15]New connection [11:25:15]New thread 3067555172 created [11:25:15]Thread 3067411812 joined [11:25:15]Waiting for new connection... [11:25:15] Sock 7.Parse request [11:25:15]Sock 7.Check first char [11:25:15]Sock 7.First char is OK [11:25:15]request: POST /json_proto HTTP/1.0 [11:25:15]Method: POST [11:25:15]URL: /json_proto [11:25:15]Method is POST - this is cgi request [11:25:15]url: /json_proto [11:25:15]query_string will be loaded in cgi processing [11:25:15]execute_cgi json_proto POST (null) [11:25:15]execute_cgi path=json_proto method=POST [11:25:15]POST find Content-Length [11:25:15]Host: 172.17.47.135:8080 [11:25:15]Content-Length: 820 [11:25:15]Content-Type: application/json [11:25:15] [11:25:15]POST finish read [11:25:15]Found Content-Length = 820 [11:25:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543265", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:15]execute_script... [11:25:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543265", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:15]POST & json_proto [11:25:15]process_json_proto [11:25:15]json parsed OK: [11:25:15]protocol is kg_v1.0 [11:25:15]action value=close_receipt [11:25:15]process_action close_receipt [11:25:15]cmd_close_receipt [11:25:15]MH_GetDate [11:25:15]Write to MH i2c: F0 00 00 6A 05 5E [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: F0 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: F0 09 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: F0 09 00 6A 05 00 9C 1C B3 67 19 D8 DE 66 6E [11:25:15]GetLastDocTimeStamp 1739791503 [11:25:15]current date 1739791516 [11:25:15]FM_GetShiftState [11:25:15]SAM_PROTO_GetShiftState [11:25:15]wFMCommunicate request_size=4 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 13 01 00 [11:25:15]Write to MH i2c: E2 08 00 6B 05 80 13 01 00 00 00 00 00 ED [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 0E 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 0E 00 6B 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D3 [11:25:15]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:15]wFMCommunicate OK [11:25:15]SAM_PROTO_GetShiftState done [11:25:15]FM_GetShiftState done [11:25:15]opened in 1739750979 [11:25:15]opened+sec_in_day 1739837379 [11:25:15]quantity*price = 100023 [11:25:15]sum+1 = 100025 [11:25:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.24 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.24 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 31 17.02.2025 11:25 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32400 ФПД: 82208367082811 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112516&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32400&fm=82208367082811&tin=02508201610067®Number=0000000000146237&sum=100024 [11:25:16]StoreToDocumentArchive [11:25:16]shift 382 fd 32400 [11:25:16]save to /storage/0382/doc_00032400 [11:25:16]save last doc name /storage/0382/doc_00032400 to /storage/kkm_last_doc_name [11:25:16]save OK [11:25:16]Clear old archive folders... [11:25:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:25:16]tlvbuf is 00488A80 [11:25:16]SAM_PROTO_ClearQueue [11:25:16]wFMCommunicate request_size=4 [11:25:16]MH_SAM_APDU [11:25:16]CAPDU: 80 09 00 00 [11:25:16]Write to MH i2c: E2 08 00 78 05 80 09 00 00 00 00 00 00 EF [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:16]Read from MH i2c: E2 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 03 00 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 03 00 78 05 00 90 00 F1 [11:25:16]RAPDU: 90 00 [11:25:16]wFMCommunicate OK [11:25:16]SAM_PROTO_ClearQueue done [11:25:16]KKMCreateOFDPacket [11:25:16]OFDProtocolAddRootSTLVToBuf [11:25:16]FM_MakeSignedData [11:25:16]FM_MakeSignedData [11:25:16]SAM_PROTO_SignData [11:25:16]wFMCommunicate request_size=4 [11:25:16]MH_SAM_APDU [11:25:16]CAPDU: 80 0D 01 02 [11:25:16]Write to MH i2c: E2 08 00 79 05 80 0D 01 02 00 00 00 00 F7 [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:17]Read from MH i2c: E2 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 79 05 00 90 00 F2 [11:25:17]RAPDU: 90 00 [11:25:17]wFMCommunicate OK [11:25:17]wFMCommunicate request_size=255 [11:25:17]MH_SAM_APDU [11:25:17]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 9C 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7E 00 00 35 04 06 00 4A [11:25:17]Write to MH i2c: E2 02 01 7A 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 9C 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7E 00 00 35 04 06 00 4A 00 00 EB [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:17]Read from MH i2c: E2 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 7A 05 00 90 00 F3 [11:25:17]RAPDU: 90 00 [11:25:17]wFMCommunicate OK [11:25:17]wFMCommunicate request_size=10 [11:25:17]MH_SAM_APDU [11:25:17]CAPDU: 80 0D 02 02 05 C4 A0 84 7D 3B [11:25:17]Write to MH i2c: E2 0D 00 7B 05 80 0D 02 02 05 00 C4 A0 84 7D 3B 00 00 A4 [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:17]Read from MH i2c: E2 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 03 00 7B 05 00 90 00 F4 [11:25:17]RAPDU: 90 00 [11:25:17]wFMCommunicate OK [11:25:17]wFMCommunicate request_size=4 [11:25:17]MH_SAM_APDU [11:25:17]CAPDU: 80 0D 03 02 [11:25:17]Write to MH i2c: E2 08 00 7C 05 80 0D 03 02 00 00 00 00 FC [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:17]Read from MH i2c: E2 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 0B 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 0B 00 7C 05 00 DD 8B 58 D5 97 8A 05 40 90 00 F8 [11:25:17]RAPDU: DD 8B 58 D5 97 8A 05 40 90 00 [11:25:17]wFMCommunicate OK [11:25:17]SAM_PROTO_SignData done [11:25:17]FM_MakeSignedData done [11:25:17]CreateOFDProtocolMessage [11:25:17]wFMCommunicate request_size=4 [11:25:17]MH_SAM_APDU [11:25:17]CAPDU: 80 11 00 00 [11:25:17]Write to MH i2c: E2 08 00 7D 05 80 11 00 00 00 00 00 00 FC [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:17]Read from MH i2c: E2 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 17 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: E2 17 00 7D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 52 [11:25:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:17]wFMCommunicate OK [11:25:17]CreateOFDProtocolMessage done [11:25:17]OFDSenderStorePacket 32400 [11:25:17]StoreOFDPacket docnum=32400 [11:25:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 FD 03 07 01 4E 35 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 9C 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7E 00 00 35 04 06 00 4A C4 A0 84 7D 3B DD 8B 58 D5 97 8A 05 40 [11:25:17]CheckFolder [11:25:17]dirname=/storage/ofd_packets [11:25:17]CheckFolder done [11:25:17]ProducePacketName [11:25:17]name=ofd_packets/00032400 [11:25:17]NVStorageSaveData ofd_packets/00032400 [11:25:17]File name is /storage/ofd_packets/00032400 [11:25:17]Write 301 bytes [11:25:17]NVStorageSaveData done [11:25:17]OFDSenderStorePacket done [11:25:17]KKMCreateOFDPacket done [11:25:17]NVStorageSaveData kkm_last_timestamp [11:25:17]File name is /storage/kkm_last_timestamp [11:25:17]Write 4 bytes [11:25:17]NVStorageSaveData done [11:25:17]ExternCall_PrintAddStr [11:25:17]wPrintStart [11:25:17]Write to MH i2c: 01 00 00 7E 05 83 [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 07 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 07 00 7E 05 00 00 00 00 00 FF 0F 98 [11:25:17]RasterBufferAndPrint [11:25:17]line Счет N : (1)6543265 [11:25:17]line ИНН: 02508201610067 [11:25:17]line Контрольно-Кассовый Чек [11:25:17]line ПРОДАЖА [11:25:17]line ТРК (МРК, ГНК) : 22 [11:25:17]line Товар: 2710124130 [11:25:17]line Аи-92-К-5 [11:25:17]line 15.580 * 64.20 [11:25:17]line = 1000.24 [11:25:17]line НДС 12% НСП 1% [11:25:17]line > о реализуемом товаре [11:25:17]line ИТОГО: 1000.24 [11:25:17]line НСП 1% : 8.85 [11:25:17]line НДС 12% : 106.22 [11:25:17]line Наличными: 0.00 [11:25:17]line Безнал.: 1000.24 [11:25:17]line Место: АЗС № 96 "Партнер Нефть" [11:25:17]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:25:17]line СНО: Общий режим [11:25:17]line Чек 31 17.02.2025 11:25 [11:25:17]line Смена: 382 ФФД: 1.0 [11:25:17]line ЗНМ: 0300000059 [11:25:17]line РНМ: 0000000000146237 [11:25:17]line Версия ККМ: v1.0 [11:25:17]line Платежная система: Бакай Банк [11:25:17]line ФМ: 0000000000959282 [11:25:17]line ФД: 32400 [11:25:17]line ФПД: 82208367082811 [11:25:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112516&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32400&fm=82208367082811&tin=02508201610067®Number=0000000000146237&sum=100024 [11:25:17]written 0, free lines is 4095 [11:25:17]OFD Sender: Processing packet 32400 [packets to send 104, broken 103] [11:25:17]ProducePacketName [11:25:17]name=ofd_packets/00032400 [11:25:17]OFD Sender: To server: pG, [11:25:17]CommunicateWithHost lk.salyk.kg:30040 [11:25:17]ConnectInit lk.salyk.kg [11:25:17]Connected sock=10 [11:25:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 FD 03 07 01 4E 35 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 9C 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7E 00 00 35 04 06 00 4A C4 A0 84 7D 3B DD 8B 58 D5 97 8A 05 40 [11:25:17]Write to MH i2c: 01 00 00 A8 05 AD [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 07 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: 01 07 00 A8 05 00 00 00 00 00 12 0D D3 [11:25:17]RasterBufferAndPrint [11:25:17]line [11:25:17]line [11:25:17]line [11:25:17]line [11:25:17]line [11:25:17]written 0, free lines is 3352 [11:25:17]MH_Cut [11:25:17]Write to MH i2c: D1 01 00 AF 05 01 86 [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: D1 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: D1 01 00 [11:25:17]MH_I2C_Read... [11:25:17]Read from MH i2c: D1 01 00 AF 05 00 85 [11:25:17]Write to MH i2c: 01 00 00 B0 05 B5 [11:25:17]Write i2c OK [11:25:17]MH_I2C_Read... [11:25:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 45 C3 47 00 73 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 90 7E 00 00 F4 03 04 00 40 C6 B2 67 B6 04 01 00 00 DF 7F B7 9D 3B 00 86 1B [11:25:18]CommunicateWithHost err = 0 [11:25:18]CheckOFDResponse [11:25:18]1017 (14) - 77093643461234 [11:25:18]1041 (16) - 0000000000959282 [11:25:18]1040 (4) - 32400 [11:25:18]1012 (4) - 17.02.2025 05:16 [11:25:18]1206 (1) - 0 [11:25:18]OFD Sender: Remove packet 32400 [11:25:18]ProducePacketName [11:25:18]name=ofd_packets/00032400 [11:25:18]NVStorageDeleteData [11:25:18]*** Cut start [11:25:18]*** Partial cut [11:25:18]*** CUTSNS_PIN = 1 [11:25:18]OFD Sender: No OFD packet to send [11:25:18]*** CUTSNS_PIN = 0 [11:25:18]*** Brake cut motor [11:25:19]Read from MH i2c: 01 [11:25:19]MH_I2C_Read... [11:25:19]*** Stop cut motor [11:25:19]*** Cut end [11:25:19]Read from MH i2c: 01 07 00 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: 01 07 00 B0 05 00 00 00 00 00 FF 0F CA [11:25:19]process_action close_receipt done [11:25:19]requested_data is exist [11:25:19]produce_requested_data [11:25:19]requested_item fm.sn is exist - process it [11:25:19]wFMCommunicate request_size=4 [11:25:19]MH_SAM_APDU [11:25:19]CAPDU: 80 11 00 00 [11:25:19]Write to MH i2c: E2 08 00 B1 05 80 11 00 00 00 00 00 00 30 [11:25:19]Write i2c OK [11:25:19]MH_I2C_Read... [11:25:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:19]Read from MH i2c: E2 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 17 00 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 17 00 B1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 86 [11:25:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:19]wFMCommunicate OK [11:25:19]requested_item fd.num is exist - process it [11:25:19]SAM_PROTO_GetFieldsCounters [11:25:19]wFMCommunicate request_size=4 [11:25:19]MH_SAM_APDU [11:25:19]CAPDU: 80 13 00 00 [11:25:19]Write to MH i2c: E2 08 00 B2 05 80 13 00 00 00 00 00 00 33 [11:25:19]Write i2c OK [11:25:19]MH_I2C_Read... [11:25:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:25:19]Read from MH i2c: E2 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 62 00 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 62 00 B2 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 90 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [11:25:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 90 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:25:19]wFMCommunicate OK [11:25:19]SAM_PROTO_GetFieldsCounters done [11:25:19]requested_item shift.num is exist - process it [11:25:19]requested_item shift.opened is exist - process it [11:25:19]req_shift_opened [11:25:19]FM_GetShiftState [11:25:19]SAM_PROTO_GetShiftState [11:25:19]wFMCommunicate request_size=4 [11:25:19]MH_SAM_APDU [11:25:19]CAPDU: 80 13 01 00 [11:25:19]Write to MH i2c: E2 08 00 B3 05 80 13 01 00 00 00 00 00 35 [11:25:19]Write i2c OK [11:25:19]MH_I2C_Read... [11:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:19]Read from MH i2c: E2 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 0E 00 [11:25:19]MH_I2C_Read... [11:25:19]Read from MH i2c: E2 0E 00 B3 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 1B [11:25:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:19]wFMCommunicate OK [11:25:19]SAM_PROTO_GetShiftState done [11:25:19]FM_GetShiftState done [11:25:19]req_shift_opened done [11:25:19]requested_item shift.open_date is exist - process it [11:25:19]req_shift_open_date [11:25:19]req_shift_open_date done [11:25:19]produce_requested_data done [11:25:19]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32400,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:25:19]process_action_free close_receipt [11:25:19]json_value_free [11:25:19]json_value_free done [11:25:19]process_json_proto returns [11:25:19]Send response to host [11:25:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32400,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:25:19]free response buf [11:25:19]execute_script done [11:25:19]execute_script returns [11:25:19]free content buf [11:25:19]Sock 7.Close socket [11:25:19]Sock 7.Thread stoped [11:25:23]OFD Sender: No OFD packet to send [11:25:24]accept exits with 9 [11:25:24]New connection [11:25:24]New thread 3067411812 created [11:25:24]Thread 3067555172 joined [11:25:24]Waiting for new connection... [11:25:24] Sock 9.Parse request [11:25:24]Sock 9.Check first char [11:25:24]Sock 9.First char is OK [11:25:24]request: POST /json_proto HTTP/1.0 [11:25:24]Method: POST [11:25:24]URL: /json_proto [11:25:24]Method is POST - this is cgi request [11:25:24]url: /json_proto [11:25:24]query_string will be loaded in cgi processing [11:25:24]execute_cgi json_proto POST (null) [11:25:24]execute_cgi path=json_proto method=POST [11:25:24]POST find Content-Length [11:25:24]Host: 172.17.47.135:8080 [11:25:24]Content-Length: 790 [11:25:24]Content-Type: application/json [11:25:24] [11:25:24]POST finish read [11:25:24]Found Content-Length = 790 [11:25:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543266", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:24]execute_script... [11:25:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543266", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:24]POST & json_proto [11:25:24]process_json_proto [11:25:24]json parsed OK: [11:25:24]protocol is kg_v1.0 [11:25:24]action value=close_receipt [11:25:24]process_action close_receipt [11:25:24]cmd_close_receipt [11:25:24]MH_GetDate [11:25:24]Write to MH i2c: F0 00 00 B4 05 A8 [11:25:24]Write i2c OK [11:25:24]MH_I2C_Read... [11:25:24]Read from MH i2c: F0 [11:25:24]MH_I2C_Read... [11:25:24]Read from MH i2c: F0 09 00 [11:25:24]MH_I2C_Read... [11:25:24]Read from MH i2c: F0 09 00 B4 05 00 A5 1C B3 67 19 D8 DE 66 C1 [11:25:24]GetLastDocTimeStamp 1739791516 [11:25:24]current date 1739791525 [11:25:24]FM_GetShiftState [11:25:24]SAM_PROTO_GetShiftState [11:25:24]wFMCommunicate request_size=4 [11:25:24]MH_SAM_APDU [11:25:24]CAPDU: 80 13 01 00 [11:25:24]Write to MH i2c: E2 08 00 B5 05 80 13 01 00 00 00 00 00 37 [11:25:24]Write i2c OK [11:25:24]MH_I2C_Read... [11:25:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:24]Read from MH i2c: E2 [11:25:24]MH_I2C_Read... [11:25:24]Read from MH i2c: E2 0E 00 [11:25:24]MH_I2C_Read... [11:25:24]Read from MH i2c: E2 0E 00 B5 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 1D [11:25:24]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:24]wFMCommunicate OK [11:25:24]SAM_PROTO_GetShiftState done [11:25:24]FM_GetShiftState done [11:25:24]opened in 1739750979 [11:25:24]opened+sec_in_day 1739837379 [11:25:24]quantity*price = 0 [11:25:24]sum+1 = 1 [11:25:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 32 17.02.2025 11:25 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 59898 ФМ: 0000000000959282 ФД: 32401 ФПД: 210846050381467 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112525&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32401&fm=210846050381467&tin=02508201610067®Number=0000000000146237&sum=0 [11:25:25]StoreToDocumentArchive [11:25:25]shift 382 fd 32401 [11:25:25]save to /storage/0382/doc_00032401 [11:25:25]save last doc name /storage/0382/doc_00032401 to /storage/kkm_last_doc_name [11:25:25]save OK [11:25:25]Clear old archive folders... [11:25:25]ProcessDocumentItem done err = 0, tmpTLVsize=248 [11:25:25]tlvbuf is 00501AC0 [11:25:25]SAM_PROTO_ClearQueue [11:25:25]wFMCommunicate request_size=4 [11:25:25]MH_SAM_APDU [11:25:25]CAPDU: 80 09 00 00 [11:25:25]Write to MH i2c: E2 08 00 C2 05 80 09 00 00 00 00 00 00 39 [11:25:25]Write i2c OK [11:25:25]MH_I2C_Read... [11:25:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:25]Read from MH i2c: E2 [11:25:25]MH_I2C_Read... [11:25:25]Read from MH i2c: E2 03 00 [11:25:25]MH_I2C_Read... [11:25:25]Read from MH i2c: E2 03 00 C2 05 00 90 00 3B [11:25:25]RAPDU: 90 00 [11:25:25]wFMCommunicate OK [11:25:25]SAM_PROTO_ClearQueue done [11:25:25]KKMCreateOFDPacket [11:25:25]OFDProtocolAddRootSTLVToBuf [11:25:25]FM_MakeSignedData [11:25:25]FM_MakeSignedData [11:25:25]SAM_PROTO_SignData [11:25:25]wFMCommunicate request_size=4 [11:25:25]MH_SAM_APDU [11:25:25]CAPDU: 80 0D 01 02 [11:25:25]Write to MH i2c: E2 08 00 C3 05 80 0D 01 02 00 00 00 00 41 [11:25:25]Write i2c OK [11:25:25]MH_I2C_Read... [11:25:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:25]Read from MH i2c: E2 [11:25:25]MH_I2C_Read... [11:25:25]Read from MH i2c: E2 03 00 [11:25:25]MH_I2C_Read... [11:25:25]Read from MH i2c: E2 03 00 C3 05 00 90 00 3C [11:25:25]RAPDU: 90 00 [11:25:25]wFMCommunicate OK [11:25:25]wFMCommunicate request_size=255 [11:25:25]MH_SAM_APDU [11:25:25]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 A5 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7E 00 00 35 04 06 00 BF C3 6B EF [11:25:25]Write to MH i2c: E2 02 01 C4 05 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 A5 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7E 00 00 35 04 06 00 BF C3 6B EF 00 00 0A [11:25:25]Write i2c OK [11:25:25]MH_I2C_Read... [11:25:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:26]Read from MH i2c: E2 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 03 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 03 00 C4 05 00 90 00 3D [11:25:26]RAPDU: 90 00 [11:25:26]wFMCommunicate OK [11:25:26]wFMCommunicate request_size=7 [11:25:26]MH_SAM_APDU [11:25:26]CAPDU: 80 0D 02 02 02 6E 9B [11:25:26]Write to MH i2c: E2 0A 00 C5 05 80 0D 02 02 02 00 6E 9B 00 00 51 [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:26]Read from MH i2c: E2 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 03 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 03 00 C5 05 00 90 00 3E [11:25:26]RAPDU: 90 00 [11:25:26]wFMCommunicate OK [11:25:26]wFMCommunicate request_size=4 [11:25:26]MH_SAM_APDU [11:25:26]CAPDU: 80 0D 03 02 [11:25:26]Write to MH i2c: E2 08 00 C6 05 80 0D 03 02 00 00 00 00 46 [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:26]Read from MH i2c: E2 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 0B 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 0B 00 C6 05 00 DF 01 55 8B 4A 46 93 87 90 00 B1 [11:25:26]RAPDU: DF 01 55 8B 4A 46 93 87 90 00 [11:25:26]wFMCommunicate OK [11:25:26]SAM_PROTO_SignData done [11:25:26]FM_MakeSignedData done [11:25:26]CreateOFDProtocolMessage [11:25:26]wFMCommunicate request_size=4 [11:25:26]MH_SAM_APDU [11:25:26]CAPDU: 80 11 00 00 [11:25:26]Write to MH i2c: E2 08 00 C7 05 80 11 00 00 00 00 00 00 46 [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:26]Read from MH i2c: E2 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 17 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: E2 17 00 C7 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 9C [11:25:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:26]wFMCommunicate OK [11:25:26]CreateOFDProtocolMessage done [11:25:26]OFDSenderStorePacket 32401 [11:25:26]StoreOFDPacket docnum=32401 [11:25:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 46 CF 04 01 9E 84 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 A5 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7E 00 00 35 04 06 00 BF C3 6B EF 6E 9B DF 01 55 8B 4A 46 93 87 [11:25:26]CheckFolder [11:25:26]dirname=/storage/ofd_packets [11:25:26]CheckFolder done [11:25:26]ProducePacketName [11:25:26]name=ofd_packets/00032401 [11:25:26]NVStorageSaveData ofd_packets/00032401 [11:25:26]File name is /storage/ofd_packets/00032401 [11:25:26]Write 298 bytes [11:25:26]NVStorageSaveData done [11:25:26]OFDSenderStorePacket done [11:25:26]KKMCreateOFDPacket done [11:25:26]NVStorageSaveData kkm_last_timestamp [11:25:26]File name is /storage/kkm_last_timestamp [11:25:26]Write 4 bytes [11:25:26]NVStorageSaveData done [11:25:26]ExternCall_PrintAddStr [11:25:26]wPrintStart [11:25:26]Write to MH i2c: 01 00 00 C8 05 CD [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 07 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 07 00 C8 05 00 00 00 00 00 FF 0F E2 [11:25:26]RasterBufferAndPrint [11:25:26]line Счет N : (1)6543266 [11:25:26]line ИНН: 02508201610067 [11:25:26]line Контрольно-Кассовый Чек [11:25:26]line ПРОДАЖА [11:25:26]line ТРК (МРК, ГНК) : 13 [11:25:26]line Товар: 2710194210 [11:25:26]line ДТ-К-2 [11:25:26]line 13.780 * 0.00 [11:25:26]line = 0.00 [11:25:26]line НДС 12% НСП 1% [11:25:26]line > о реализуемом товаре [11:25:26]line ИТОГО: 0.00 [11:25:26]line НСП 1% : 0.00 [11:25:26]line НДС 12% : 0.00 [11:25:26]line Наличными: 0.00 [11:25:26]line Безнал.: 0.00 [11:25:26]line Место: АЗС № 96 "Партнер Нефть" [11:25:26]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:25:26]line СНО: Общий режим [11:25:26]line Чек 32 17.02.2025 11:25 [11:25:26]line Смена: 382 ФФД: 1.0 [11:25:26]line ЗНМ: 0300000059 [11:25:26]line РНМ: 0000000000146237 [11:25:26]line Версия ККМ: v1.0 [11:25:26]line Талоны: Топливная Карта [11:25:26]line 59898 [11:25:26]line ФМ: 0000000000959282 [11:25:26]line ФД: 32401 [11:25:26]line ФПД: 210846050381467 [11:25:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T112525&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32401&fm=210846050381467&tin=02508201610067®Number=0000000000146237&sum=0 [11:25:26]OFD Sender: Processing packet 32401 [packets to send 104, broken 103] [11:25:26]ProducePacketName [11:25:26]name=ofd_packets/00032401 [11:25:26]OFD Sender: To server: pG, [11:25:26]CommunicateWithHost lk.salyk.kg:30040 [11:25:26]ConnectInit lk.salyk.kg [11:25:26]written 0, free lines is 4095 [11:25:26]Connected sock=10 [11:25:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 46 CF 04 01 9E 84 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 A5 1C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7E 00 00 35 04 06 00 BF C3 6B EF 6E 9B DF 01 55 8B 4A 46 93 87 [11:25:26]Write to MH i2c: 01 00 00 F2 05 F7 [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 07 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: 01 07 00 F2 05 00 00 00 00 00 11 0D 1C [11:25:26]RasterBufferAndPrint [11:25:26]line [11:25:26]line [11:25:26]line [11:25:26]line [11:25:26]line [11:25:26]written 0, free lines is 3357 [11:25:26]MH_Cut [11:25:26]Write to MH i2c: D1 01 00 F9 05 01 D0 [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: D1 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: D1 01 00 [11:25:26]MH_I2C_Read... [11:25:26]Read from MH i2c: D1 01 00 F9 05 00 CF [11:25:26]Write to MH i2c: 01 00 00 FA 05 FF [11:25:26]Write i2c OK [11:25:26]MH_I2C_Read... [11:25:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 D9 4B 47 00 0E 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 91 7E 00 00 F4 03 04 00 49 C6 B2 67 B6 04 01 00 00 EB 0A 07 FB 98 D8 06 62 [11:25:27]CommunicateWithHost err = 0 [11:25:27]CheckOFDResponse [11:25:27]1017 (14) - 77093643461234 [11:25:27]1041 (16) - 0000000000959282 [11:25:27]1040 (4) - 32401 [11:25:27]1012 (4) - 17.02.2025 05:16 [11:25:27]1206 (1) - 0 [11:25:27]OFD Sender: Remove packet 32401 [11:25:27]ProducePacketName [11:25:27]name=ofd_packets/00032401 [11:25:27]NVStorageDeleteData [11:25:27]*** Cut start [11:25:27]*** Partial cut [11:25:27]*** CUTSNS_PIN = 1 [11:25:27]*** CUTSNS_PIN = 0 [11:25:27]OFD Sender: No OFD packet to send [11:25:27]*** Brake cut motor [11:25:28]Read from MH i2c: 01 [11:25:28]MH_I2C_Read... [11:25:28]*** Stop cut motor [11:25:28]*** Cut end [11:25:28]Read from MH i2c: 01 07 00 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: 01 07 00 FA 05 00 00 00 00 00 FF 0F 14 [11:25:28]process_action close_receipt done [11:25:28]requested_data is exist [11:25:28]produce_requested_data [11:25:28]requested_item fm.sn is exist - process it [11:25:28]wFMCommunicate request_size=4 [11:25:28]MH_SAM_APDU [11:25:28]CAPDU: 80 11 00 00 [11:25:28]Write to MH i2c: E2 08 00 FB 05 80 11 00 00 00 00 00 00 7A [11:25:28]Write i2c OK [11:25:28]MH_I2C_Read... [11:25:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:28]Read from MH i2c: E2 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 17 00 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 17 00 FB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D0 [11:25:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:25:28]wFMCommunicate OK [11:25:28]requested_item fd.num is exist - process it [11:25:28]SAM_PROTO_GetFieldsCounters [11:25:28]wFMCommunicate request_size=4 [11:25:28]MH_SAM_APDU [11:25:28]CAPDU: 80 13 00 00 [11:25:28]Write to MH i2c: E2 08 00 FC 05 80 13 00 00 00 00 00 00 7D [11:25:28]Write i2c OK [11:25:28]MH_I2C_Read... [11:25:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:25:28]Read from MH i2c: E2 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 62 00 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 62 00 FC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 91 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [11:25:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 91 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:25:28]wFMCommunicate OK [11:25:28]SAM_PROTO_GetFieldsCounters done [11:25:28]requested_item shift.num is exist - process it [11:25:28]requested_item shift.opened is exist - process it [11:25:28]req_shift_opened [11:25:28]FM_GetShiftState [11:25:28]SAM_PROTO_GetShiftState [11:25:28]wFMCommunicate request_size=4 [11:25:28]MH_SAM_APDU [11:25:28]CAPDU: 80 13 01 00 [11:25:28]Write to MH i2c: E2 08 00 FD 05 80 13 01 00 00 00 00 00 7F [11:25:28]Write i2c OK [11:25:28]MH_I2C_Read... [11:25:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:28]Read from MH i2c: E2 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 0E 00 [11:25:28]MH_I2C_Read... [11:25:28]Read from MH i2c: E2 0E 00 FD 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 65 [11:25:28]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:25:28]wFMCommunicate OK [11:25:28]SAM_PROTO_GetShiftState done [11:25:28]FM_GetShiftState done [11:25:28]req_shift_opened done [11:25:28]requested_item shift.open_date is exist - process it [11:25:28]req_shift_open_date [11:25:28]req_shift_open_date done [11:25:28]produce_requested_data done [11:25:28]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32401,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:25:28]process_action_free close_receipt [11:25:28]json_value_free [11:25:28]json_value_free done [11:25:28]process_json_proto returns [11:25:28]Send response to host [11:25:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32401,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:25:28]free response buf [11:25:28]execute_script done [11:25:28]execute_script returns [11:25:28]free content buf [11:25:28]Sock 9.Close socket [11:25:28]Sock 9.Thread stoped [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:54]recv_with_timeout no data received [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]OFD Sender: No OFD packet to send [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]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:25]recv_with_timeout no data received [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:38]recv_with_timeout no data received [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:39]accept exits with 7 [11:35:39]New connection [11:35:39]New thread 3067555172 created [11:35:39]Thread 3067411812 joined [11:35:39]Waiting for new connection... [11:35:39] Sock 7.Parse request [11:35:39]Sock 7.Check first char [11:35:39]Sock 7.First char is OK [11:35:39]request: POST /json_proto HTTP/1.0 [11:35:39]Method: POST [11:35:39]URL: /json_proto [11:35:39]Method is POST - this is cgi request [11:35:39]url: /json_proto [11:35:39]query_string will be loaded in cgi processing [11:35:39]execute_cgi json_proto POST (null) [11:35:39]execute_cgi path=json_proto method=POST [11:35:39]POST find Content-Length [11:35:39]Host: 172.17.47.135:8080 [11:35:39]Content-Length: 817 [11:35:39]Content-Type: application/json [11:35:39] [11:35:39]POST finish read [11:35:39]Found Content-Length = 817 [11:35:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543274", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 9.350, "sum" : 600.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 600.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:35:39]execute_script... [11: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 : (1)6543274", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 9.350, "sum" : 600.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 600.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:35:39]POST & json_proto [11:35:39]process_json_proto [11:35:39]json parsed OK: [11:35:39]protocol is kg_v1.0 [11:35:39]action value=close_receipt [11:35:39]process_action close_receipt [11:35:39]cmd_close_receipt [11:35:39]MH_GetDate [11:35:39]Write to MH i2c: F0 00 00 FE 05 F2 [11:35:39]Write i2c OK [11:35:39]MH_I2C_Read... [11:35:39]Read from MH i2c: F0 [11:35:39]MH_I2C_Read... [11:35:39]Read from MH i2c: F0 09 00 [11:35:39]MH_I2C_Read... [11:35:39]Read from MH i2c: F0 09 00 FE 05 00 0C 1F B3 67 19 D8 DE 66 75 [11:35:39]GetLastDocTimeStamp 1739791525 [11:35:39]current date 1739792140 [11:35:39]FM_GetShiftState [11:35:39]SAM_PROTO_GetShiftState [11:35:39]wFMCommunicate request_size=4 [11:35:39]MH_SAM_APDU [11:35:39]CAPDU: 80 13 01 00 [11:35:39]Write to MH i2c: E2 08 00 FF 05 80 13 01 00 00 00 00 00 81 [11:35:39]Write i2c OK [11:35:39]MH_I2C_Read... [11:35:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:39]Read from MH i2c: E2 [11:35:39]MH_I2C_Read... [11:35:39]Read from MH i2c: E2 0E 00 [11:35:39]MH_I2C_Read... [11:35:39]Read from MH i2c: E2 0E 00 FF 05 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 67 [11:35:39]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:35:39]wFMCommunicate OK [11:35:39]SAM_PROTO_GetShiftState done [11:35:39]FM_GetShiftState done [11:35:39]opened in 1739750979 [11:35:39]opened+sec_in_day 1739837379 [11:35:39]quantity*price = 60027 [11:35:39]sum+1 = 60028 [11:35:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.27 НСП 1% : 5.31 НДС 12% : 63.74 Наличными: 0.00 Безнал.: 600.27 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 33 17.02.2025 11:35 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32402 ФПД: 195875170841380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T113540&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32402&fm=195875170841380&tin=02508201610067®Number=0000000000146237&sum=60027 [11:35:40]StoreToDocumentArchive [11:35:40]shift 382 fd 32402 [11:35:40]save to /storage/0382/doc_00032402 [11:35:40]save last doc name /storage/0382/doc_00032402 to /storage/kkm_last_doc_name [11:35:40]save OK [11:35:40]Clear old archive folders... [11:35:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:35:40]tlvbuf is 004D1CA0 [11:35:40]SAM_PROTO_ClearQueue [11:35:40]wFMCommunicate request_size=4 [11:35:40]MH_SAM_APDU [11:35:40]CAPDU: 80 09 00 00 [11:35:40]Write to MH i2c: E2 08 00 0C 06 80 09 00 00 00 00 00 00 84 [11:35:40]Write i2c OK [11:35:40]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 0C 06 00 90 00 86 [11:35:41]RAPDU: 90 00 [11:35:41]wFMCommunicate OK [11:35:41]SAM_PROTO_ClearQueue done [11:35:41]KKMCreateOFDPacket [11:35:41]OFDProtocolAddRootSTLVToBuf [11:35:41]FM_MakeSignedData [11:35:41]FM_MakeSignedData [11:35:41]SAM_PROTO_SignData [11:35:41]wFMCommunicate request_size=4 [11:35:41]MH_SAM_APDU [11:35:41]CAPDU: 80 0D 01 02 [11:35:41]Write to MH i2c: E2 08 00 0D 06 80 0D 01 02 00 00 00 00 8C [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 0D 06 00 90 00 87 [11:35:41]RAPDU: 90 00 [11:35:41]wFMCommunicate OK [11:35:41]wFMCommunicate request_size=255 [11:35:41]MH_SAM_APDU [11:35:41]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7B EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7B EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 0C 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7E 00 00 35 04 06 00 B2 [11:35:41]Write to MH i2c: E2 02 01 0E 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7B EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7B EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 0C 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7E 00 00 35 04 06 00 B2 00 00 57 [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 0E 06 00 90 00 88 [11:35:41]RAPDU: 90 00 [11:35:41]wFMCommunicate OK [11:35:41]wFMCommunicate request_size=10 [11:35:41]MH_SAM_APDU [11:35:41]CAPDU: 80 0D 02 02 05 25 BD FA 73 24 [11:35:41]Write to MH i2c: E2 0D 00 0F 06 80 0D 02 02 05 00 25 BD FA 73 24 00 00 0C [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 03 00 0F 06 00 90 00 89 [11:35:41]RAPDU: 90 00 [11:35:41]wFMCommunicate OK [11:35:41]wFMCommunicate request_size=4 [11:35:41]MH_SAM_APDU [11:35:41]CAPDU: 80 0D 03 02 [11:35:41]Write to MH i2c: E2 08 00 10 06 80 0D 03 02 00 00 00 00 91 [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 0B 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 0B 00 10 06 00 D0 EF 40 A3 03 94 A7 65 90 00 D7 [11:35:41]RAPDU: D0 EF 40 A3 03 94 A7 65 90 00 [11:35:41]wFMCommunicate OK [11:35:41]SAM_PROTO_SignData done [11:35:41]FM_MakeSignedData done [11:35:41]CreateOFDProtocolMessage [11:35:41]wFMCommunicate request_size=4 [11:35:41]MH_SAM_APDU [11:35:41]CAPDU: 80 11 00 00 [11:35:41]Write to MH i2c: E2 08 00 11 06 80 11 00 00 00 00 00 00 91 [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:41]Read from MH i2c: E2 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 17 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: E2 17 00 11 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E7 [11:35:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:35:41]wFMCommunicate OK [11:35:41]CreateOFDProtocolMessage done [11:35:41]OFDSenderStorePacket 32402 [11:35:41]StoreOFDPacket docnum=32402 [11:35:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 F0 0D 07 01 47 C8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7B EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7B EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 0C 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7E 00 00 35 04 06 00 B2 25 BD FA 73 24 D0 EF 40 A3 03 94 A7 65 [11:35:41]CheckFolder [11:35:41]dirname=/storage/ofd_packets [11:35:41]CheckFolder done [11:35:41]ProducePacketName [11:35:41]name=ofd_packets/00032402 [11:35:41]NVStorageSaveData ofd_packets/00032402 [11:35:41]File name is /storage/ofd_packets/00032402 [11:35:41]Write 301 bytes [11:35:41]NVStorageSaveData done [11:35:41]OFDSenderStorePacket done [11:35:41]KKMCreateOFDPacket done [11:35:41]NVStorageSaveData kkm_last_timestamp [11:35:41]File name is /storage/kkm_last_timestamp [11:35:41]Write 4 bytes [11:35:41]NVStorageSaveData done [11:35:41]ExternCall_PrintAddStr [11:35:41]wPrintStart [11:35:41]Write to MH i2c: 01 00 00 12 06 18 [11:35:41]Write i2c OK [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: 01 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: 01 07 00 [11:35:41]MH_I2C_Read... [11:35:41]Read from MH i2c: 01 07 00 12 06 00 00 00 00 00 FF 0F 2D [11:35:41]RasterBufferAndPrint [11:35:41]line Счет N : (1)6543274 [11:35:41]line ИНН: 02508201610067 [11:35:41]line Контрольно-Кассовый Чек [11:35:41]line ПРОДАЖА [11:35:41]line ТРК (МРК, ГНК) : 42 [11:35:41]line Товар: 2710124130 [11:35:41]line Аи-92-К-5 [11:35:41]line 9.350 * 64.20 [11:35:41]line = 600.27 [11:35:41]line НДС 12% НСП 1% [11:35:41]line > о реализуемом товаре [11:35:41]line ИТОГО: 600.27 [11:35:41]line НСП 1% : 5.31 [11:35:41]line НДС 12% : 63.74 [11:35:41]line Наличными: 0.00 [11:35:41]line Безнал.: 600.27 [11:35:41]line Место: АЗС № 96 "Партнер Нефть" [11:35:41]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:35:41]line СНО: Общий режим [11:35:41]line Чек 33 17.02.2025 11:35 [11:35:41]line Смена: 382 ФФД: 1.0 [11:35:41]line ЗНМ: 0300000059 [11:35:41]line РНМ: 0000000000146237 [11:35:41]line Версия ККМ: v1.0 [11:35:41]line Платежная система: Бакай Банк [11:35:41]line ФМ: 0000000000959282 [11:35:41]line ФД: 32402 [11:35:41]line ФПД: 195875170841380 [11:35:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T113540&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32402&fm=195875170841380&tin=02508201610067®Number=0000000000146237&sum=60027 [11:35:41]OFD Sender: Processing packet 32402 [packets to send 104, broken 103] [11:35:41]ProducePacketName [11:35:41]name=ofd_packets/00032402 [11:35:41]OFD Sender: To server: pG, [11:35:41]CommunicateWithHost lk.salyk.kg:30040 [11:35:41]ConnectInit lk.salyk.kg [11:35:41]written 0, free lines is 4095 [11:35:42]Write to MH i2c: 01 00 00 3C 06 42 [11:35:42]Write i2c OK [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: 01 [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: 01 07 00 [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: 01 07 00 3C 06 00 00 00 00 00 00 0D 56 [11:35:42]RasterBufferAndPrint [11:35:42]line [11:35:42]line [11:35:42]line [11:35:42]line [11:35:42]line [11:35:42]written 0, free lines is 3334 [11:35:42]MH_Cut [11:35:42]Write to MH i2c: D1 01 00 43 06 01 1B [11:35:42]Write i2c OK [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: D1 [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: D1 01 00 [11:35:42]MH_I2C_Read... [11:35:42]Read from MH i2c: D1 01 00 43 06 00 1A [11:35:42]Write to MH i2c: 01 00 00 44 06 4A [11:35:42]Write i2c OK [11:35:42]MH_I2C_Read... [11:35:42]Connected sock=11 [11:35:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 F0 0D 07 01 47 C8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7B EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7B EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 0C 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7E 00 00 35 04 06 00 B2 25 BD FA 73 24 D0 EF 40 A3 03 94 A7 65 [11:35:42]*** Cut start [11:35:42]*** Partial cut [11:35:42]*** CUTSNS_PIN = 1 [11:35:42]*** CUTSNS_PIN = 0 [11:35:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 5B ED 47 00 43 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7E 00 00 F4 03 04 00 B1 C8 B2 67 B6 04 01 00 00 B1 1B 7F DC 8B 8B BC A1 [11:35:43]CommunicateWithHost err = 0 [11:35:43]CheckOFDResponse [11:35:43]1017 (14) - 77093643461234 [11:35:43]1041 (16) - 0000000000959282 [11:35:43]1040 (4) - 32402 [11:35:43]1012 (4) - 17.02.2025 05:27 [11:35:43]1206 (1) - 0 [11:35:43]OFD Sender: Remove packet 32402 [11:35:43]ProducePacketName [11:35:43]name=ofd_packets/00032402 [11:35:43]NVStorageDeleteData [11:35:43]*** Brake cut motor [11:35:43]Read from MH i2c: 01 [11:35:43]MH_I2C_Read... [11:35:43]*** Stop cut motor [11:35:43]*** Cut end [11:35:43]Read from MH i2c: 01 07 00 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: 01 07 00 44 06 00 00 00 00 00 FF 0F 5F [11:35:43]process_action close_receipt done [11:35:43]requested_data is exist [11:35:43]produce_requested_data [11:35:43]requested_item fm.sn is exist - process it [11:35:43]wFMCommunicate request_size=4 [11:35:43]MH_SAM_APDU [11:35:43]CAPDU: 80 11 00 00 [11:35:43]Write to MH i2c: E2 08 00 45 06 80 11 00 00 00 00 00 00 C5 [11:35:43]Write i2c OK [11:35:43]MH_I2C_Read... [11:35:43]OFD Sender: No OFD packet to send [11:35:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:43]Read from MH i2c: E2 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 17 00 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 17 00 45 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1B [11:35:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:35:43]wFMCommunicate OK [11:35:43]requested_item fd.num is exist - process it [11:35:43]SAM_PROTO_GetFieldsCounters [11:35:43]wFMCommunicate request_size=4 [11:35:43]MH_SAM_APDU [11:35:43]CAPDU: 80 13 00 00 [11:35:43]Write to MH i2c: E2 08 00 46 06 80 13 00 00 00 00 00 00 C8 [11:35:43]Write i2c OK [11:35:43]MH_I2C_Read... [11:35:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:35:43]Read from MH i2c: E2 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 62 00 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 62 00 46 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 92 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [11: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 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 92 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:35:43]wFMCommunicate OK [11:35:43]SAM_PROTO_GetFieldsCounters done [11:35:43]requested_item shift.num is exist - process it [11:35:43]requested_item shift.opened is exist - process it [11:35:43]req_shift_opened [11:35:43]FM_GetShiftState [11:35:43]SAM_PROTO_GetShiftState [11:35:43]wFMCommunicate request_size=4 [11:35:43]MH_SAM_APDU [11:35:43]CAPDU: 80 13 01 00 [11:35:43]Write to MH i2c: E2 08 00 47 06 80 13 01 00 00 00 00 00 CA [11:35:43]Write i2c OK [11:35:43]MH_I2C_Read... [11:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:43]Read from MH i2c: E2 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 0E 00 [11:35:43]MH_I2C_Read... [11:35:43]Read from MH i2c: E2 0E 00 47 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B0 [11:35:43]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:35:43]wFMCommunicate OK [11:35:43]SAM_PROTO_GetShiftState done [11:35:43]FM_GetShiftState done [11:35:43]req_shift_opened done [11:35:43]requested_item shift.open_date is exist - process it [11:35:43]req_shift_open_date [11:35:43]req_shift_open_date done [11:35:43]produce_requested_data done [11:35:43]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32402,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:35:43]process_action_free close_receipt [11:35:43]json_value_free [11:35:43]json_value_free done [11:35:43]process_json_proto returns [11:35:43]Send response to host [11:35:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32402,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:35:43]free response buf [11:35:43]execute_script done [11:35:43]execute_script returns [11:35:43]free content buf [11:35:43]Sock 7.Close socket [11:35:43]Sock 7.Thread stoped [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:39]accept exits with 9 [11:36:39]New connection [11:36:39]New thread 3067411812 created [11:36:39]Thread 3067555172 joined [11:36:39]Waiting for new connection... [11:36:39] Sock 9.Parse request [11:36:39]Sock 9.Check first char [11:36:39]Sock 9.First char is OK [11:36:39]request: POST /json_proto HTTP/1.0 [11:36:39]Method: POST [11:36:39]URL: /json_proto [11:36:39]Method is POST - this is cgi request [11:36:39]url: /json_proto [11:36:39]query_string will be loaded in cgi processing [11:36:39]execute_cgi json_proto POST (null) [11:36:39]execute_cgi path=json_proto method=POST [11:36:39]POST find Content-Length [11:36:39]Host: 172.17.47.135:8080 [11:36:39]Content-Length: 1821 [11:36:39]Content-Type: application/json [11:36:39] [11:36:39]POST finish read [11:36:39]Found Content-Length = 1821 [11:36:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130651", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:39]execute_script... [11:36:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130651", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:40]POST & json_proto [11:36:40]process_json_proto [11:36:40]json parsed OK: [11:36:40]protocol is kg_v1.0 [11:36:40]action value=close_receipt [11:36:40]process_action close_receipt [11:36:40]cmd_close_receipt [11:36:40]MH_GetDate [11:36:40]Write to MH i2c: F0 00 00 48 06 3D [11:36:40]Write i2c OK [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 09 00 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: F0 09 00 48 06 00 49 1F B3 67 19 D8 DE 66 FD [11:36:40]GetLastDocTimeStamp 1739792140 [11:36:40]current date 1739792201 [11:36:40]FM_GetShiftState [11:36:40]SAM_PROTO_GetShiftState [11:36:40]wFMCommunicate request_size=4 [11:36:40]MH_SAM_APDU [11:36:40]CAPDU: 80 13 01 00 [11:36:40]Write to MH i2c: E2 08 00 49 06 80 13 01 00 00 00 00 00 CC [11:36:40]Write i2c OK [11:36:40]MH_I2C_Read... [11:36:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:40]Read from MH i2c: E2 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: E2 0E 00 [11:36:40]MH_I2C_Read... [11:36:40]Read from MH i2c: E2 0E 00 49 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B2 [11:36:40]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:36:40]wFMCommunicate OK [11:36:40]SAM_PROTO_GetShiftState done [11:36:40]FM_GetShiftState done [11:36:40]opened in 1739750979 [11:36:40]opened+sec_in_day 1739837379 [11:36:40]quantity*price = 9900 [11:36:40]sum+1 = 9901 [11:36:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607010740191 Сух Кириешки салями 40г 1.000 * 24.00 = 24.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620017455554 Мармелад Бонди ассорт пак 70г 1.000 * 44.00 = 44.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.41 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 34 17.02.2025 11:36 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32403 ФПД: 30339888703104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T113641&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32403&fm=30339888703104&tin=02508201610067®Number=0000000000146237&sum=23000 0 [11:36:41]StoreToDocumentArchive [11:36:41]shift 382 fd 32403 [11:36:41]save to /storage/0382/doc_00032403 [11:36:41]save last doc name /storage/0382/doc_00032403 to /storage/kkm_last_doc_name [11:36:41]save OK [11:36:41]Clear old archive folders... [11:36:41]ProcessDocumentItem done err = 0, tmpTLVsize=737 [11:36:41]tlvbuf is 004D1880 [11:36:41]SAM_PROTO_ClearQueue [11:36:41]wFMCommunicate request_size=4 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 09 00 00 [11:36:41]Write to MH i2c: E2 08 00 56 06 80 09 00 00 00 00 00 00 CE [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:41]Read from MH i2c: E2 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 56 06 00 90 00 D0 [11:36:41]RAPDU: 90 00 [11:36:41]wFMCommunicate OK [11:36:41]SAM_PROTO_ClearQueue done [11:36:41]KKMCreateOFDPacket [11:36:41]OFDProtocolAddRootSTLVToBuf [11:36:41]FM_MakeSignedData [11:36:41]FM_MakeSignedData [11:36:41]SAM_PROTO_SignData [11:36:41]wFMCommunicate request_size=4 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 0D 01 02 [11:36:41]Write to MH i2c: E2 08 00 57 06 80 0D 01 02 00 00 00 00 D6 [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:41]Read from MH i2c: E2 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 57 06 00 90 00 D1 [11:36:41]RAPDU: 90 00 [11:36:41]wFMCommunicate OK [11:36:41]wFMCommunicate request_size=255 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 0D 02 02 FA 03 00 E1 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 [11:36:41]Write to MH i2c: E2 02 01 58 06 80 0D 02 02 FA 00 03 00 E1 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 00 00 5D [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:41]Read from MH i2c: E2 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 [11:36:41]MH_I2C_Read... [11:36:41]Read from MH i2c: E2 03 00 58 06 00 90 00 D2 [11:36:41]RAPDU: 90 00 [11:36:41]wFMCommunicate OK [11:36:41]wFMCommunicate request_size=255 [11:36:41]MH_SAM_APDU [11:36:41]CAPDU: 80 0D 02 02 FA 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 [11:36:41]Write to MH i2c: E2 02 01 59 06 80 0D 02 02 FA 00 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 00 00 C4 [11:36:41]Write i2c OK [11:36:41]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 59 06 00 90 00 D3 [11:36:42]RAPDU: 90 00 [11:36:42]wFMCommunicate OK [11:36:42]wFMCommunicate request_size=246 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 0D 02 02 F1 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 49 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7E 00 00 35 04 06 00 1B 98 0E 49 E6 80 [11:36:42]Write to MH i2c: E2 F9 00 5A 06 80 0D 02 02 F1 00 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 49 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7E 00 00 35 04 06 00 1B 98 0E 49 E6 80 00 00 C3 [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 03 00 5A 06 00 90 00 D4 [11:36:42]RAPDU: 90 00 [11:36:42]wFMCommunicate OK [11:36:42]wFMCommunicate request_size=4 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 0D 03 02 [11:36:42]Write to MH i2c: E2 08 00 5B 06 80 0D 03 02 00 00 00 00 DC [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 0B 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 0B 00 5B 06 00 1F 4F C2 7E 94 DC 50 59 90 00 A4 [11:36:42]RAPDU: 1F 4F C2 7E 94 DC 50 59 90 00 [11:36:42]wFMCommunicate OK [11:36:42]SAM_PROTO_SignData done [11:36:42]FM_MakeSignedData done [11:36:42]CreateOFDProtocolMessage [11:36:42]wFMCommunicate request_size=4 [11:36:42]MH_SAM_APDU [11:36:42]CAPDU: 80 11 00 00 [11:36:42]Write to MH i2c: E2 08 00 5C 06 80 11 00 00 00 00 00 00 DC [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:42]Read from MH i2c: E2 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 17 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: E2 17 00 5C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 32 [11:36:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:36:42]wFMCommunicate OK [11:36:42]CreateOFDProtocolMessage done [11:36:42]OFDSenderStorePacket 32403 [11:36:42]StoreOFDPacket docnum=32403 [11:36:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 F5 02 00 00 58 93 ED 02 B1 AD 5A 03 01 00 03 00 E1 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 49 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7E 00 00 35 04 06 00 1B 98 0E 49 E6 80 1F 4F C2 7E 94 DC 50 59 [11:36:42]CheckFolder [11:36:42]dirname=/storage/ofd_packets [11:36:42]CheckFolder done [11:36:42]ProducePacketName [11:36:42]name=ofd_packets/00032403 [11:36:42]NVStorageSaveData ofd_packets/00032403 [11:36:42]File name is /storage/ofd_packets/00032403 [11:36:42]Write 787 bytes [11:36:42]NVStorageSaveData done [11:36:42]OFDSenderStorePacket done [11:36:42]KKMCreateOFDPacket done [11:36:42]NVStorageSaveData kkm_last_timestamp [11:36:42]File name is /storage/kkm_last_timestamp [11:36:42]Write 4 bytes [11:36:42]NVStorageSaveData done [11:36:42]ExternCall_PrintAddStr [11:36:42]wPrintStart [11:36:42]Write to MH i2c: 01 00 00 5D 06 63 [11:36:42]Write i2c OK [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 07 00 [11:36:42]MH_I2C_Read... [11:36:42]Read from MH i2c: 01 07 00 5D 06 00 00 00 00 00 FF 0F 78 [11:36:42]RasterBufferAndPrint [11:36:42]line Счет N : (3)130651 [11:36:42]line ИНН: 02508201610067 [11:36:42]line Контрольно-Кассовый Чек [11:36:42]line ПРОДАЖА [11:36:42]line Товар: 4607015232547 [11:36:42]line Вафли Яшкино с халвой 200г [11:36:42]line 1.000 * 99.00 [11:36:42]line = 99.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line Товар: 54491472 [11:36:42]line Напиток Кока-Кола 0,5л [11:36:42]line 1.000 * 59.00 [11:36:42]line = 59.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line Товар: 4607010740191 [11:36:42]line Сух Кириешки салями 40г [11:36:42]line 1.000 * 24.00 [11:36:42]line = 24.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line Товар: 4620017455554 [11:36:42]line Мармелад Бонди ассорт пак 70г [11:36:42]line 1.000 * 44.00 [11:36:42]line = 44.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line Товар: 2000031750019 [11:36:42]line Пакет Партнер Нефть [11:36:42]line 1.000 * 4.00 [11:36:42]line = 4.00 [11:36:42]line НДС 12% НСП 1% [11:36:42]line > о реализуемом товаре [11:36:42]line ИТОГО: 230.00 [11:36:42]line НСП 1% : 2.03 [11:36:42]line НДС 12% : 24.41 [11:36:42]line Наличными: 230.00 [11:36:42]line Безнал.: 0.00 [11:36:42]line Место: АЗС № 96 "Партнер Нефть" [11:36:42]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:36:42]line СНО: Общий режим [11:36:42]line Чек 34 17.02.2025 11:36 [11:36:42]line Смена: 382 ФФД: 1.0 [11:36:42]line ЗНМ: 0300000059 [11:36:42]line РНМ: 0000000000146237 [11:36:42]line Версия ККМ: v1.0 [11:36:42]line ФМ: 0000000000959282 [11:36:42]line ФД: 32403 [11:36:42]line ФПД: 30339888703104 [11:36:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T113641&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32403&fm=30339888703104&tin=02508201610067®Number=0000000000146237&sum=23000 [11:36:42]line 0 [11:36:42]written 0, free lines is 4095 [11:36:42]OFD Sender: Processing packet 32403 [packets to send 104, broken 103] [11:36:42]ProducePacketName [11:36:42]name=ofd_packets/00032403 [11:36:42]OFD Sender: To server: pG, [11:36:42]CommunicateWithHost lk.salyk.kg:30040 [11:36:42]ConnectInit lk.salyk.kg [11:36:42]Connected sock=10 [11:36:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 F5 02 00 00 58 93 ED 02 B1 AD 5A 03 01 00 03 00 E1 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 49 1F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7E 00 00 35 04 06 00 1B 98 0E 49 E6 80 1F 4F C2 7E 94 DC 50 59 [11:36:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 35 EC 47 00 D8 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 93 7E 00 00 F4 03 04 00 ED C8 B2 67 B6 04 01 00 00 7B D8 FB FE D0 F6 51 24 [11:36:43]CommunicateWithHost err = 0 [11:36:43]CheckOFDResponse [11:36:43]1017 (14) - 77093643461234 [11:36:43]1041 (16) - 0000000000959282 [11:36:43]1040 (4) - 32403 [11:36:43]1012 (4) - 17.02.2025 05:28 [11:36:43]1206 (1) - 0 [11:36:43]OFD Sender: Remove packet 32403 [11:36:43]ProducePacketName [11:36:43]name=ofd_packets/00032403 [11:36:43]NVStorageDeleteData [11:36:43]Write to MH i2c: 01 00 00 9E 06 A4 [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 07 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: 01 07 00 9E 06 00 00 00 00 00 D3 0B 89 [11:36:43]RasterBufferAndPrint [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]line [11:36:43]written 0, free lines is 3037 [11:36:43]MH_Cut [11:36:43]Write to MH i2c: D1 01 00 A5 06 01 7D [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 01 00 [11:36:43]MH_I2C_Read... [11:36:43]Read from MH i2c: D1 01 00 A5 06 00 7C [11:36:43]Write to MH i2c: 01 00 00 A6 06 AC [11:36:43]Write i2c OK [11:36:43]MH_I2C_Read... [11:36:43]OFD Sender: No OFD packet to send [11:36:44]*** Cut start [11:36:44]*** Partial cut [11:36:44]*** CUTSNS_PIN = 1 [11:36:44]*** CUTSNS_PIN = 0 [11:36:44]*** Brake cut motor [11:36:44]Read from MH i2c: 01 [11:36:44]MH_I2C_Read... [11:36:44]*** Stop cut motor [11:36:44]*** Cut end [11:36:44]Read from MH i2c: 01 07 00 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: 01 07 00 A6 06 00 00 00 00 00 FF 0F C1 [11:36:44]process_action close_receipt done [11:36:44]requested_data is exist [11:36:44]produce_requested_data [11:36:44]requested_item fm.sn is exist - process it [11:36:44]wFMCommunicate request_size=4 [11:36:44]MH_SAM_APDU [11:36:44]CAPDU: 80 11 00 00 [11:36:44]Write to MH i2c: E2 08 00 A7 06 80 11 00 00 00 00 00 00 27 [11:36:44]Write i2c OK [11:36:44]MH_I2C_Read... [11:36:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:44]Read from MH i2c: E2 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: E2 17 00 [11:36:44]MH_I2C_Read... [11:36:44]Read from MH i2c: E2 17 00 A7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7D [11:36:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:36:44]wFMCommunicate OK [11:36:44]requested_item fd.num is exist - process it [11:36:44]SAM_PROTO_GetFieldsCounters [11:36:44]wFMCommunicate request_size=4 [11:36:44]MH_SAM_APDU [11:36:44]CAPDU: 80 13 00 00 [11:36:44]Write to MH i2c: E2 08 00 A8 06 80 13 00 00 00 00 00 00 2A [11:36:44]Write i2c OK [11:36:44]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 62 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 62 00 A8 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 93 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 42 [11:36:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 93 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_GetFieldsCounters done [11:36:45]requested_item shift.num is exist - process it [11:36:45]requested_item shift.opened is exist - process it [11:36:45]req_shift_opened [11:36:45]FM_GetShiftState [11:36:45]SAM_PROTO_GetShiftState [11:36:45]wFMCommunicate request_size=4 [11:36:45]MH_SAM_APDU [11:36:45]CAPDU: 80 13 01 00 [11:36:45]Write to MH i2c: E2 08 00 A9 06 80 13 01 00 00 00 00 00 2C [11:36:45]Write i2c OK [11:36:45]MH_I2C_Read... [11:36:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:45]Read from MH i2c: E2 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0E 00 [11:36:45]MH_I2C_Read... [11:36:45]Read from MH i2c: E2 0E 00 A9 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 12 [11:36:45]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:36:45]wFMCommunicate OK [11:36:45]SAM_PROTO_GetShiftState done [11:36:45]FM_GetShiftState done [11:36:45]req_shift_opened done [11:36:45]requested_item shift.open_date is exist - process it [11:36:45]req_shift_open_date [11:36:45]req_shift_open_date done [11:36:45]produce_requested_data done [11:36:45]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32403,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:36:45]process_action_free close_receipt [11:36:45]json_value_free [11:36:45]json_value_free done [11:36:45]process_json_proto returns [11:36:45]Send response to host [11:36:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32403,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:36:45]free response buf [11:36:45]execute_script done [11:36:45]execute_script returns [11:36:45]free content buf [11:36:45]Sock 9.Close socket [11:36:45]Sock 9.Thread stoped [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:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:38]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:00]recv_with_timeout no data received [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:49]OFD Sender: No OFD packet to send [11:42:54]OFD Sender: No OFD packet to send [11:42:59]OFD Sender: No OFD packet to send [11:43:04]OFD Sender: No OFD packet to send [11:43:09]OFD Sender: No OFD packet to send [11:43:14]OFD Sender: No OFD packet to send [11:43:19]OFD Sender: No OFD packet to send [11:43:24]OFD Sender: No OFD packet to send [11:43:29]OFD Sender: No OFD packet to send [11:43:34]OFD Sender: No OFD packet to send [11:43:39]OFD Sender: No OFD packet to send [11:43:44]OFD Sender: No OFD packet to send [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:44]OFD Sender: No OFD packet to send [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]OFD Sender: No OFD packet to send [11:50:39]OFD Sender: No OFD packet to send [11:50:44]OFD Sender: No OFD packet to send [11:50:49]OFD Sender: No OFD packet to send [11:50:54]OFD Sender: No OFD packet to send [11:50:59]OFD Sender: No OFD packet to send [11:51:04]OFD Sender: No OFD packet to send [11:51:09]OFD Sender: No OFD packet to send [11:51:14]OFD Sender: No OFD packet to send [11:51:19]OFD Sender: No OFD packet to send [11:51:24]OFD Sender: No OFD packet to send [11:51:29]OFD Sender: No OFD packet to send [11:51:34]OFD Sender: No OFD packet to send [11:51:39]OFD Sender: No OFD packet to send [11:51:44]OFD Sender: No OFD packet to send [11:51:49]OFD Sender: No OFD packet to send [11:51:54]OFD Sender: No OFD packet to send [11:51:59]OFD Sender: No OFD packet to send [11:52:04]OFD Sender: No OFD packet to send [11:52:09]OFD Sender: No OFD packet to send [11:52:14]OFD Sender: No OFD packet to send [11:52:19]OFD Sender: No OFD packet to send [11:52:24]OFD Sender: No OFD packet to send [11:52:29]OFD Sender: No OFD packet to send [11:52:34]OFD Sender: No OFD packet to send [11:52:39]OFD Sender: No OFD packet to send [11:52:44]OFD Sender: No OFD packet to send [11:52:49]OFD Sender: No OFD packet to send [11:52:54]OFD Sender: No OFD packet to send [11:52:59]OFD Sender: No OFD packet to send [11:53:04]OFD Sender: No OFD packet to send [11:53:09]OFD Sender: No OFD packet to send [11:53:14]OFD Sender: No OFD packet to send [11:53:19]OFD Sender: No OFD packet to send [11:53:24]OFD Sender: No OFD packet to send [11:53:29]OFD Sender: No OFD packet to send [11:53:34]OFD Sender: No OFD packet to send [11:53:35]accept exits with 7 [11:53:35]New connection [11:53:35]New thread 3067555172 created [11:53:35]Thread 3067411812 joined [11:53:35]Waiting for new connection... [11:53:35] Sock 7.Parse request [11:53:35]Sock 7.Check first char [11:53:35]Sock 7.First char is OK [11:53:35]request: POST /json_proto HTTP/1.0 [11:53:35]Method: POST [11:53:35]URL: /json_proto [11:53:35]Method is POST - this is cgi request [11:53:35]url: /json_proto [11:53:35]query_string will be loaded in cgi processing [11:53:35]execute_cgi json_proto POST (null) [11:53:35]execute_cgi path=json_proto method=POST [11:53:35]POST find Content-Length [11:53:35]Host: 172.17.47.135:8080 [11:53:35]Content-Length: 591 [11:53:35]Content-Type: application/json [11:53:35] [11:53:35]POST finish read [11:53:35]Found Content-Length = 591 [11:53:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130652", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:35]execute_script... [11:53: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)130652", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:35]POST & json_proto [11:53:35]process_json_proto [11:53:35]json parsed OK: [11:53:35]protocol is kg_v1.0 [11:53:35]action value=close_receipt [11:53:35]process_action close_receipt [11:53:35]cmd_close_receipt [11:53:35]MH_GetDate [11:53:35]Write to MH i2c: F0 00 00 AA 06 9F [11:53:35]Write i2c OK [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: F0 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: F0 09 00 [11:53:35]MH_I2C_Read... [11:53:35]Read from MH i2c: F0 09 00 AA 06 00 41 23 B3 67 19 D8 DE 66 5B [11:53:35]GetLastDocTimeStamp 1739792201 [11:53:35]current date 1739793217 [11:53:35]FM_GetShiftState [11:53:35]SAM_PROTO_GetShiftState [11:53:35]wFMCommunicate request_size=4 [11:53:35]MH_SAM_APDU [11:53:35]CAPDU: 80 13 01 00 [11:53:35]Write to MH i2c: E2 08 00 AB 06 80 13 01 00 00 00 00 00 2E [11:53:35]Write i2c OK [11:53:35]MH_I2C_Read... [11:53:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:36]Read from MH i2c: E2 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 0E 00 [11:53:36]MH_I2C_Read... [11:53:36]Read from MH i2c: E2 0E 00 AB 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 14 [11:53:36]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:53:36]wFMCommunicate OK [11:53:36]SAM_PROTO_GetShiftState done [11:53:36]FM_GetShiftState done [11:53:36]opened in 1739750979 [11:53:36]opened+sec_in_day 1739837379 [11:53:36]quantity*price = 4500 [11:53:36]sum+1 = 4501 [11:53:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 35 17.02.2025 11:53 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32404 ФПД: 6902251393738 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T115337&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32404&fm=6902251393738&tin=02508201610067®Number=0000000000146237&sum=4500 0 [11:53:37]StoreToDocumentArchive [11:53:37]shift 382 fd 32404 [11:53:37]save to /storage/0382/doc_00032404 [11:53:37]save last doc name /storage/0382/doc_00032404 to /storage/kkm_last_doc_name [11:53:37]save OK [11:53:37]Clear old archive folders... [11:53:37]ProcessDocumentItem done err = 0, tmpTLVsize=266 [11:53:37]tlvbuf is 004CB950 [11:53:37]SAM_PROTO_ClearQueue [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 09 00 00 [11:53:37]Write to MH i2c: E2 08 00 B8 06 80 09 00 00 00 00 00 00 30 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:53:37]Read from MH i2c: E2 03 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 B8 06 00 90 00 32 [11:53:37]RAPDU: 90 00 [11:53:37]wFMCommunicate OK [11:53:37]SAM_PROTO_ClearQueue done [11:53:37]KKMCreateOFDPacket [11:53:37]OFDProtocolAddRootSTLVToBuf [11:53:37]FM_MakeSignedData [11:53:37]FM_MakeSignedData [11:53:37]SAM_PROTO_SignData [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 0D 01 02 [11:53:37]Write to MH i2c: E2 08 00 B9 06 80 0D 01 02 00 00 00 00 38 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 B9 06 00 90 00 33 [11:53:37]RAPDU: 90 00 [11:53:37]wFMCommunicate OK [11:53:37]wFMCommunicate request_size=255 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 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 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 41 23 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 [11:53:37]Write to MH i2c: E2 02 01 BA 06 80 0D 02 02 FA 00 03 00 0A 01 1E 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 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 41 23 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 00 00 5A [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 BA 06 00 90 00 34 [11:53:37]RAPDU: 90 00 [11:53:37]wFMCommunicate OK [11:53:37]wFMCommunicate request_size=25 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 0D 02 02 14 38 32 10 04 04 00 94 7E 00 00 35 04 06 00 06 47 0E 3E 12 CA [11:53:37]Write to MH i2c: E2 1C 00 BB 06 80 0D 02 02 14 00 38 32 10 04 04 00 94 7E 00 00 35 04 06 00 06 47 0E 3E 12 CA 00 00 AB [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 03 00 BB 06 00 90 00 35 [11:53:37]RAPDU: 90 00 [11:53:37]wFMCommunicate OK [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 0D 03 02 [11:53:37]Write to MH i2c: E2 08 00 BC 06 80 0D 03 02 00 00 00 00 3D [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 0B 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 0B 00 BC 06 00 F8 D8 73 45 E7 90 96 DE 90 00 B1 [11:53:37]RAPDU: F8 D8 73 45 E7 90 96 DE 90 00 [11:53:37]wFMCommunicate OK [11:53:37]SAM_PROTO_SignData done [11:53:37]FM_MakeSignedData done [11:53:37]CreateOFDProtocolMessage [11:53:37]wFMCommunicate request_size=4 [11:53:37]MH_SAM_APDU [11:53:37]CAPDU: 80 11 00 00 [11:53:37]Write to MH i2c: E2 08 00 BD 06 80 11 00 00 00 00 00 00 3D [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:37]Read from MH i2c: E2 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 17 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: E2 17 00 BD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 93 [11:53:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:53:37]wFMCommunicate OK [11:53:37]CreateOFDProtocolMessage done [11:53:37]OFDSenderStorePacket 32404 [11:53:37]StoreOFDPacket docnum=32404 [11:53:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 1E 01 00 00 1F 0C 16 01 1A D6 5A 03 01 00 03 00 0A 01 1E 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 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 41 23 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7E 00 00 35 04 06 00 06 47 0E 3E 12 CA F8 D8 73 45 E7 90 96 DE [11:53:37]CheckFolder [11:53:37]dirname=/storage/ofd_packets [11:53:37]CheckFolder done [11:53:37]ProducePacketName [11:53:37]name=ofd_packets/00032404 [11:53:37]NVStorageSaveData ofd_packets/00032404 [11:53:37]File name is /storage/ofd_packets/00032404 [11:53:37]Write 316 bytes [11:53:37]NVStorageSaveData done [11:53:37]OFDSenderStorePacket done [11:53:37]KKMCreateOFDPacket done [11:53:37]NVStorageSaveData kkm_last_timestamp [11:53:37]File name is /storage/kkm_last_timestamp [11:53:37]Write 4 bytes [11:53:37]NVStorageSaveData done [11:53:37]ExternCall_PrintAddStr [11:53:37]wPrintStart [11:53:37]Write to MH i2c: 01 00 00 BE 06 C4 [11:53:37]Write i2c OK [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 07 00 [11:53:37]MH_I2C_Read... [11:53:37]Read from MH i2c: 01 07 00 BE 06 00 00 00 00 00 FF 0F D9 [11:53:37]RasterBufferAndPrint [11:53:37]line Счет N : (3)130652 [11:53:37]line ИНН: 02508201610067 [11:53:37]line Контрольно-Кассовый Чек [11:53:37]line ПРОДАЖА [11:53:37]line Товар: 46141538 [11:53:37]line Р/ж Orbit Bubblemint 13,6г [11:53:37]line 1.000 * 45.00 [11:53:37]line = 45.00 [11:53:37]line НДС 12% НСП 1% [11:53:37]line > о реализуемом товаре [11:53:37]line ИТОГО: 45.00 [11:53:37]line НСП 1% : 0.40 [11:53:37]line НДС 12% : 4.78 [11:53:37]line Наличными: 45.00 [11:53:37]line Безнал.: 0.00 [11:53:37]line Место: АЗС № 96 "Партнер Нефть" [11:53:37]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:53:37]line СНО: Общий режим [11:53:37]line Чек 35 17.02.2025 11:53 [11:53:37]line Смена: 382 ФФД: 1.0 [11:53:37]line ЗНМ: 0300000059 [11:53:37]line РНМ: 0000000000146237 [11:53:37]line Версия ККМ: v1.0 [11:53:37]line ФМ: 0000000000959282 [11:53:37]line ФД: 32404 [11:53:37]line ФПД: 6902251393738 [11:53:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T115337&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32404&fm=6902251393738&tin=02508201610067®Number=0000000000146237&sum=4500 [11:53:37]line 0 [11:53:37]OFD Sender: Processing packet 32404 [packets to send 104, broken 103] [11:53:37]ProducePacketName [11:53:37]name=ofd_packets/00032404 [11:53:37]OFD Sender: To server: pG, [11:53:37]CommunicateWithHost lk.salyk.kg:30040 [11:53:37]ConnectInit lk.salyk.kg [11:53:37]written 0, free lines is 4095 [11:53:38]Connected sock=9 [11:53:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 1E 01 00 00 1F 0C 16 01 1A D6 5A 03 01 00 03 00 0A 01 1E 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 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 41 23 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7E 00 00 35 04 06 00 06 47 0E 3E 12 CA F8 D8 73 45 E7 90 96 DE [11:53:38]Write to MH i2c: 01 00 00 E6 06 EC [11:53:38]Write i2c OK [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 07 00 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 07 00 E6 06 00 00 00 00 00 0F 0D 0F [11:53:38]RasterBufferAndPrint [11:53:38]line [11:53:38]line [11:53:38]line [11:53:38]line [11:53:38]line [11:53:38]written 0, free lines is 3349 [11:53:38]MH_Cut [11:53:38]Write to MH i2c: D1 01 00 ED 06 01 C5 [11:53:38]Write i2c OK [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: D1 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: D1 01 00 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: D1 01 00 ED 06 00 C4 [11:53:38]Write to MH i2c: 01 00 00 EE 06 F4 [11:53:38]Write i2c OK [11:53:38]MH_I2C_Read... [11:53:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 2F 0F 47 00 9F FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7E 00 00 F4 03 04 00 E4 CC B2 67 B6 04 01 00 00 AC 7C 28 6F 9F AA 34 BE [11:53:38]CommunicateWithHost err = 0 [11:53:38]CheckOFDResponse [11:53:38]1017 (14) - 77093643461234 [11:53:38]1041 (16) - 0000000000959282 [11:53:38]1040 (4) - 32404 [11:53:38]1012 (4) - 17.02.2025 05:45 [11:53:38]1206 (1) - 0 [11:53:38]OFD Sender: Remove packet 32404 [11:53:38]ProducePacketName [11:53:38]name=ofd_packets/00032404 [11:53:38]NVStorageDeleteData [11:53:39]OFD Sender: No OFD packet to send [11:53:39]*** Cut start [11:53:39]*** Partial cut [11:53:39]*** CUTSNS_PIN = 1 [11:53:39]*** CUTSNS_PIN = 0 [11:53:39]*** Brake cut motor [11:53:39]Read from MH i2c: 01 [11:53:39]MH_I2C_Read... [11:53:39]*** Stop cut motor [11:53:39]*** Cut end [11:53:39]Read from MH i2c: 01 07 00 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: 01 07 00 EE 06 00 00 00 00 00 FF 0F 09 [11:53:39]process_action close_receipt done [11:53:39]requested_data is exist [11:53:39]produce_requested_data [11:53:39]requested_item fm.sn is exist - process it [11:53:39]wFMCommunicate request_size=4 [11:53:39]MH_SAM_APDU [11:53:39]CAPDU: 80 11 00 00 [11:53:39]Write to MH i2c: E2 08 00 EF 06 80 11 00 00 00 00 00 00 6F [11:53:39]Write i2c OK [11:53:39]MH_I2C_Read... [11:53:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:39]Read from MH i2c: E2 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 17 00 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 17 00 EF 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C5 [11:53:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:53:39]wFMCommunicate OK [11:53:39]requested_item fd.num is exist - process it [11:53:39]SAM_PROTO_GetFieldsCounters [11:53:39]wFMCommunicate request_size=4 [11:53:39]MH_SAM_APDU [11:53:39]CAPDU: 80 13 00 00 [11:53:39]Write to MH i2c: E2 08 00 F0 06 80 13 00 00 00 00 00 00 72 [11:53:39]Write i2c OK [11:53:39]MH_I2C_Read... [11:53:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:53:39]Read from MH i2c: E2 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 62 00 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 62 00 F0 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 94 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [11:53:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 94 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:53:39]wFMCommunicate OK [11:53:39]SAM_PROTO_GetFieldsCounters done [11:53:39]requested_item shift.num is exist - process it [11:53:39]requested_item shift.opened is exist - process it [11:53:39]req_shift_opened [11:53:39]FM_GetShiftState [11:53:39]SAM_PROTO_GetShiftState [11:53:39]wFMCommunicate request_size=4 [11:53:39]MH_SAM_APDU [11:53:39]CAPDU: 80 13 01 00 [11:53:39]Write to MH i2c: E2 08 00 F1 06 80 13 01 00 00 00 00 00 74 [11:53:39]Write i2c OK [11:53:39]MH_I2C_Read... [11:53:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:39]Read from MH i2c: E2 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 0E 00 [11:53:39]MH_I2C_Read... [11:53:39]Read from MH i2c: E2 0E 00 F1 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5A [11:53:39]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [11:53:39]wFMCommunicate OK [11:53:39]SAM_PROTO_GetShiftState done [11:53:39]FM_GetShiftState done [11:53:39]req_shift_opened done [11:53:39]requested_item shift.open_date is exist - process it [11:53:39]req_shift_open_date [11:53:39]req_shift_open_date done [11:53:39]produce_requested_data done [11:53:39]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32404,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [11:53:39]process_action_free close_receipt [11:53:39]json_value_free [11:53:39]json_value_free done [11:53:39]process_json_proto returns [11:53:39]Send response to host [11:53:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32404,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [11:53:39]free response buf [11:53:39]execute_script done [11:53:39]execute_script returns [11:53:39]free content buf [11:53:39]Sock 7.Close socket [11:53:39]Sock 7.Thread stoped [11:53:44]OFD Sender: No OFD packet to send [11:53:49]OFD Sender: No OFD packet to send [11:53:54]OFD Sender: No OFD packet to send [11:53:59]OFD Sender: No OFD packet to send [11:54:04]OFD Sender: No OFD packet to send [11:54:09]OFD Sender: No OFD packet to send [11:54:14]OFD Sender: No OFD packet to send [11:54:19]OFD Sender: No OFD packet to send [11:54:24]OFD Sender: No OFD packet to send [11:54:29]OFD Sender: No OFD packet to send [11:54:34]OFD Sender: No OFD packet to send [11:54:39]OFD Sender: No OFD packet to send [11:54:44]OFD Sender: No OFD packet to send [11:54:49]OFD Sender: No OFD packet to send [11:54:54]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:37]recv_with_timeout no data received [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:55]accept exits with 10 [12:01:55]New connection [12:01:55]New thread 3067411812 created [12:01:55]Thread 3067555172 joined [12:01:55]Waiting for new connection... [12:01:55] Sock 10.Parse request [12:01:55]Sock 10.Check first char [12:01:55]Sock 10.First char is OK [12:01:55]request: POST /json_proto HTTP/1.0 [12:01:55]Method: POST [12:01:55]URL: /json_proto [12:01:55]Method is POST - this is cgi request [12:01:55]url: /json_proto [12:01:55]query_string will be loaded in cgi processing [12:01:55]execute_cgi json_proto POST (null) [12:01:55]execute_cgi path=json_proto method=POST [12:01:55]POST find Content-Length [12:01:55]Host: 172.17.47.135:8080 [12:01:55]Content-Length: 766 [12:01:55]Content-Type: application/json [12:01:55] [12:01:55]POST finish read [12:01:55]Found Content-Length = 766 [12:01:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130653", "tax_sys" : 0, "items" : [ { "code": "4700042640016", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 \"\u041A\u044B\u0440\u0433\u044B\u0437\u0442\u0430\u043D \u041A\u044B\u0437\u044B\u043B \u0410\u0439 \u041A\u043E\u043E", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:55]execute_script... [12:01: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)130653", "tax_sys" : 0, "items" : [ { "code": "4700042640016", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 \"\u041A\u044B\u0440\u0433\u044B\u0437\u0442\u0430\u043D \u041A\u044B\u0437\u044B\u043B \u0410\u0439 \u041A\u043E\u043E", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:55]POST & json_proto [12:01:55]process_json_proto [12:01:55]json parsed OK: [12:01:55]protocol is kg_v1.0 [12:01:55]action value=close_receipt [12:01:55]process_action close_receipt [12:01:55]cmd_close_receipt [12:01:55]MH_GetDate [12:01:55]Write to MH i2c: F0 00 00 F2 06 E7 [12:01:55]Write i2c OK [12:01:55]MH_I2C_Read... [12:01:55]Read from MH i2c: F0 [12:01:55]MH_I2C_Read... [12:01:55]Read from MH i2c: F0 09 00 [12:01:55]MH_I2C_Read... [12:01:55]Read from MH i2c: F0 09 00 F2 06 00 34 25 B3 67 19 D8 DE 66 98 [12:01:55]GetLastDocTimeStamp 1739793217 [12:01:55]current date 1739793716 [12:01:55]FM_GetShiftState [12:01:55]SAM_PROTO_GetShiftState [12:01:55]wFMCommunicate request_size=4 [12:01:55]MH_SAM_APDU [12:01:55]CAPDU: 80 13 01 00 [12:01:55]Write to MH i2c: E2 08 00 F3 06 80 13 01 00 00 00 00 00 76 [12:01:55]Write i2c OK [12:01:55]MH_I2C_Read... [12:01:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:55]Read from MH i2c: E2 [12:01:55]MH_I2C_Read... [12:01:55]Read from MH i2c: E2 0E 00 [12:01:55]MH_I2C_Read... [12:01:55]Read from MH i2c: E2 0E 00 F3 06 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5C [12:01:55]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:01:55]wFMCommunicate OK [12:01:55]SAM_PROTO_GetShiftState done [12:01:55]FM_GetShiftState done [12:01:55]opened in 1739750979 [12:01:55]opened+sec_in_day 1739837379 [12:01:55]quantity*price = 3900 [12:01:55]sum+1 = 3901 [12:01:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 39.00 НСП 1% : 0.34 НДС 12% : 4.14 Наличными: 39.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 36 17.02.2025 12:01 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32405 ФПД: 154459863986110 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T120156&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32405&fm=154459863986110&tin=02508201610067®Number=0000000000146237&sum=3900 0 [12:01:56]StoreToDocumentArchive [12:01:56]shift 382 fd 32405 [12:01:56]save to /storage/0382/doc_00032405 [12:01:56]save last doc name /storage/0382/doc_00032405 to /storage/kkm_last_doc_name [12:01:56]save OK [12:01:56]Clear old archive folders... [12:01:56]ProcessDocumentItem done err = 0, tmpTLVsize=316 [12:01:56]tlvbuf is 004C6410 [12:01:56]SAM_PROTO_ClearQueue [12:01:56]wFMCommunicate request_size=4 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 09 00 00 [12:01:56]Write to MH i2c: E2 08 00 00 07 80 09 00 00 00 00 00 00 79 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 00 07 00 90 00 7B [12:01:56]RAPDU: 90 00 [12:01:56]wFMCommunicate OK [12:01:56]SAM_PROTO_ClearQueue done [12:01:56]KKMCreateOFDPacket [12:01:56]OFDProtocolAddRootSTLVToBuf [12:01:56]FM_MakeSignedData [12:01:56]FM_MakeSignedData [12:01:56]SAM_PROTO_SignData [12:01:56]wFMCommunicate request_size=4 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 0D 01 02 [12:01:56]Write to MH i2c: E2 08 00 01 07 80 0D 01 02 00 00 00 00 81 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 01 07 00 90 00 7C [12:01:56]RAPDU: 90 00 [12:01:56]wFMCommunicate OK [12:01:56]wFMCommunicate request_size=255 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 0D 02 02 FA 03 00 3C 01 1E 04 01 00 01 23 04 8E 00 8A 04 0D 00 34 37 30 30 30 34 32 36 34 30 30 31 36 06 04 4A 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 22 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 82 D0 B0 D0 BD 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 90 D0 B9 20 D0 9A D0 BE D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 34 25 B3 67 0E [12:01:56]Write to MH i2c: E2 02 01 02 07 80 0D 02 02 FA 00 03 00 3C 01 1E 04 01 00 01 23 04 8E 00 8A 04 0D 00 34 37 30 30 30 34 32 36 34 30 30 31 36 06 04 4A 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 22 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 82 D0 B0 D0 BD 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 90 D0 B9 20 D0 9A D0 BE D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 34 25 B3 67 0E 00 00 C3 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 02 07 00 90 00 7D [12:01:56]RAPDU: 90 00 [12:01:56]wFMCommunicate OK [12:01:56]wFMCommunicate request_size=75 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 0D 02 02 46 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 95 7E 00 00 35 04 06 00 8C 7A FD 53 2F BE [12:01:56]Write to MH i2c: E2 4E 00 03 07 80 0D 02 02 46 00 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 95 7E 00 00 35 04 06 00 8C 7A FD 53 2F BE 00 00 83 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 03 00 03 07 00 90 00 7E [12:01:56]RAPDU: 90 00 [12:01:56]wFMCommunicate OK [12:01:56]wFMCommunicate request_size=4 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 0D 03 02 [12:01:56]Write to MH i2c: E2 08 00 04 07 80 0D 03 02 00 00 00 00 86 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 0B 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 0B 00 04 07 00 5A 45 1A 2B 65 AB AC B5 90 00 DC [12:01:56]RAPDU: 5A 45 1A 2B 65 AB AC B5 90 00 [12:01:56]wFMCommunicate OK [12:01:56]SAM_PROTO_SignData done [12:01:56]FM_MakeSignedData done [12:01:56]CreateOFDProtocolMessage [12:01:56]wFMCommunicate request_size=4 [12:01:56]MH_SAM_APDU [12:01:56]CAPDU: 80 11 00 00 [12:01:56]Write to MH i2c: E2 08 00 05 07 80 11 00 00 00 00 00 00 86 [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:56]Read from MH i2c: E2 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 17 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: E2 17 00 05 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DC [12:01:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:01:56]wFMCommunicate OK [12:01:56]CreateOFDProtocolMessage done [12:01:56]OFDSenderStorePacket 32405 [12:01:56]StoreOFDPacket docnum=32405 [12:01:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 50 01 00 00 53 3D 48 01 63 83 5A 03 01 00 03 00 3C 01 1E 04 01 00 01 23 04 8E 00 8A 04 0D 00 34 37 30 30 30 34 32 36 34 30 30 31 36 06 04 4A 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 22 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 82 D0 B0 D0 BD 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 90 D0 B9 20 D0 9A D0 BE D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 34 25 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 95 7E 00 00 35 04 06 00 8C 7A FD 53 2F BE 5A 45 1A 2B 65 AB AC B5 [12:01:56]CheckFolder [12:01:56]dirname=/storage/ofd_packets [12:01:56]CheckFolder done [12:01:56]ProducePacketName [12:01:56]name=ofd_packets/00032405 [12:01:56]NVStorageSaveData ofd_packets/00032405 [12:01:56]File name is /storage/ofd_packets/00032405 [12:01:56]Write 366 bytes [12:01:56]NVStorageSaveData done [12:01:56]OFDSenderStorePacket done [12:01:56]KKMCreateOFDPacket done [12:01:56]NVStorageSaveData kkm_last_timestamp [12:01:56]File name is /storage/kkm_last_timestamp [12:01:56]Write 4 bytes [12:01:56]NVStorageSaveData done [12:01:56]ExternCall_PrintAddStr [12:01:56]wPrintStart [12:01:56]Write to MH i2c: 01 00 00 06 07 0D [12:01:56]Write i2c OK [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: 01 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: 01 07 00 [12:01:56]MH_I2C_Read... [12:01:56]Read from MH i2c: 01 07 00 06 07 00 00 00 00 00 FF 0F 22 [12:01:56]RasterBufferAndPrint [12:01:56]line Счет N : (3)130653 [12:01:56]line ИНН: 02508201610067 [12:01:56]line Контрольно-Кассовый Чек [12:01:56]line ПРОДАЖА [12:01:56]line Товар: 4700042640016 [12:01:56]line Салфетки влажные "Кыргызтан Кызыл Ай Коо [12:01:56]line 1.000 * 39.00 [12:01:56]line = 39.00 [12:01:56]line НДС 12% НСП 1% [12:01:56]line > о реализуемом товаре [12:01:56]line ИТОГО: 39.00 [12:01:56]line НСП 1% : 0.34 [12:01:56]line НДС 12% : 4.14 [12:01:56]line Наличными: 39.00 [12:01:56]line Безнал.: 0.00 [12:01:56]line Место: АЗС № 96 "Партнер Нефть" [12:01:56]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [12:01:56]line СНО: Общий режим [12:01:56]line Чек 36 17.02.2025 12:01 [12:01:56]line Смена: 382 ФФД: 1.0 [12:01:56]line ЗНМ: 0300000059 [12:01:56]line РНМ: 0000000000146237 [12:01:56]line Версия ККМ: v1.0 [12:01:56]line ФМ: 0000000000959282 [12:01:56]line ФД: 32405 [12:01:56]line ФПД: 154459863986110 [12:01:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T120156&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32405&fm=154459863986110&tin=02508201610067®Number=0000000000146237&sum=3900 [12:01:57]line 0 [12:01:57]OFD Sender: Processing packet 32405 [packets to send 104, broken 103] [12:01:57]ProducePacketName [12:01:57]name=ofd_packets/00032405 [12:01:57]OFD Sender: To server: pG, [12:01:57]CommunicateWithHost lk.salyk.kg:30040 [12:01:57]ConnectInit lk.salyk.kg [12:01:57]written 0, free lines is 4095 [12:01:57]Write to MH i2c: 01 00 00 2F 07 36 [12:01:57]Write i2c OK [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: 01 [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: 01 07 00 [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: 01 07 00 2F 07 00 00 00 00 00 FA 0C 43 [12:01:57]RasterBufferAndPrint [12:01:57]line [12:01:57]line [12:01:57]line [12:01:57]line [12:01:57]line [12:01:57]written 0, free lines is 3327 [12:01:57]MH_Cut [12:01:57]Write to MH i2c: D1 01 00 36 07 01 0F [12:01:57]Write i2c OK [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: D1 [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: D1 01 00 [12:01:57]MH_I2C_Read... [12:01:57]Read from MH i2c: D1 01 00 36 07 00 0E [12:01:57]Write to MH i2c: 01 00 00 37 07 3E [12:01:57]Write i2c OK [12:01:57]MH_I2C_Read... [12:01:58]*** Cut start [12:01:58]*** Partial cut [12:01:58]*** CUTSNS_PIN = 1 [12:01:58]*** CUTSNS_PIN = 0 [12:01:58]*** Brake cut motor [12:01:58]Read from MH i2c: 01 [12:01:58]MH_I2C_Read... [12:01:58]*** Stop cut motor [12:01:58]*** Cut end [12:01:58]Read from MH i2c: 01 07 00 [12:01:58]MH_I2C_Read... [12:01:58]Read from MH i2c: 01 07 00 37 07 00 00 00 00 00 FF 0F 53 [12:01:58]process_action close_receipt done [12:01:58]requested_data is exist [12:01:58]produce_requested_data [12:01:58]requested_item fm.sn is exist - process it [12:01:58]wFMCommunicate request_size=4 [12:01:58]MH_SAM_APDU [12:01:58]CAPDU: 80 11 00 00 [12:01:58]Write to MH i2c: E2 08 00 38 07 80 11 00 00 00 00 00 00 B9 [12:01:58]Write i2c OK [12:01:58]MH_I2C_Read... [12:01:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:59]Read from MH i2c: E2 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 17 00 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 17 00 38 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 0F [12:01:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:01:59]wFMCommunicate OK [12:01:59]requested_item fd.num is exist - process it [12:01:59]SAM_PROTO_GetFieldsCounters [12:01:59]wFMCommunicate request_size=4 [12:01:59]MH_SAM_APDU [12:01:59]CAPDU: 80 13 00 00 [12:01:59]Write to MH i2c: E2 08 00 39 07 80 13 00 00 00 00 00 00 BC [12:01:59]Write i2c OK [12:01:59]MH_I2C_Read... [12:01:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:01:59]Read from MH i2c: E2 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 62 00 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 62 00 39 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [12:01:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:01:59]wFMCommunicate OK [12:01:59]SAM_PROTO_GetFieldsCounters done [12:01:59]requested_item shift.num is exist - process it [12:01:59]requested_item shift.opened is exist - process it [12:01:59]req_shift_opened [12:01:59]FM_GetShiftState [12:01:59]SAM_PROTO_GetShiftState [12:01:59]wFMCommunicate request_size=4 [12:01:59]MH_SAM_APDU [12:01:59]CAPDU: 80 13 01 00 [12:01:59]Write to MH i2c: E2 08 00 3A 07 80 13 01 00 00 00 00 00 BE [12:01:59]Write i2c OK [12:01:59]MH_I2C_Read... [12:01:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:59]Read from MH i2c: E2 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 0E 00 [12:01:59]MH_I2C_Read... [12:01:59]Read from MH i2c: E2 0E 00 3A 07 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A4 [12:01:59]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:01:59]wFMCommunicate OK [12:01:59]SAM_PROTO_GetShiftState done [12:01:59]FM_GetShiftState done [12:01:59]req_shift_opened done [12:01:59]requested_item shift.open_date is exist - process it [12:01:59]req_shift_open_date [12:01:59]req_shift_open_date done [12:01:59]produce_requested_data done [12:01:59]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [12:01:59]process_action_free close_receipt [12:01:59]json_value_free [12:01:59]json_value_free done [12:01:59]process_json_proto returns [12:01:59]Send response to host [12:01:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [12:01:59]free response buf [12:01:59]execute_script done [12:01:59]execute_script returns [12:01:59]free content buf [12:01:59]Sock 10.Close socket [12:01:59]Sock 10.Thread stoped [12:02:01]recv_with_timeout no data received [12:02:02]ConnectInit Can't take IP for lk.salyk.kg [12:02:02]CommunicateWithHost connect error [12:02:02]CommunicateWithHost err = -1 [12:02:02]OFD Sender: Server communicate error [12:02:07]OFD Sender: Processing packet 32405 [packets to send 104, broken 103] [12:02:07]ProducePacketName [12:02:07]name=ofd_packets/00032405 [12:02:07]OFD Sender: To server: pG, [12:02:07]CommunicateWithHost lk.salyk.kg:30040 [12:02:07]ConnectInit lk.salyk.kg [12:02:11]Connected sock=10 [12:02:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 50 01 00 00 53 3D 48 01 63 83 5A 03 01 00 03 00 3C 01 1E 04 01 00 01 23 04 8E 00 8A 04 0D 00 34 37 30 30 30 34 32 36 34 30 30 31 36 06 04 4A 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 22 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 82 D0 B0 D0 BD 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 90 D0 B9 20 D0 9A D0 BE D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 34 25 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 95 7E 00 00 35 04 06 00 8C 7A FD 53 2F BE 5A 45 1A 2B 65 AB AC B5 [12:02:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 BF 96 47 00 04 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 95 7E 00 00 F4 03 04 00 E6 CE B2 67 B6 04 01 00 00 A9 52 3B 49 9E 17 89 6F [12:02:12]CommunicateWithHost err = 0 [12:02:12]CheckOFDResponse [12:02:12]1017 (14) - 77093643461234 [12:02:12]1041 (16) - 0000000000959282 [12:02:12]1040 (4) - 32405 [12:02:12]1012 (4) - 17.02.2025 05:53 [12:02:12]1206 (1) - 0 [12:02:12]OFD Sender: Remove packet 32405 [12:02:12]ProducePacketName [12:02:12]name=ofd_packets/00032405 [12:02:12]NVStorageDeleteData [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:27]accept exits with 9 [12:12:27]New connection [12:12:27]New thread 3067555172 created [12:12:27]Thread 3067411812 joined [12:12:27]Waiting for new connection... [12:12:27] Sock 9.Parse request [12:12:27]Sock 9.Check first char [12:12:27]Sock 9.First char is OK [12:12:27]request: POST /json_proto HTTP/1.0 [12:12:27]Method: POST [12:12:27]URL: /json_proto [12:12:27]Method is POST - this is cgi request [12:12:27]url: /json_proto [12:12:27]query_string will be loaded in cgi processing [12:12:27]execute_cgi json_proto POST (null) [12:12:27]execute_cgi path=json_proto method=POST [12:12:27]POST find Content-Length [12:12:27]Host: 172.17.47.135:8080 [12:12:27]Content-Length: 215 [12:12:27]Content-Type: application/json [12:12:27] [12:12:27]POST finish read [12:12:27]Found Content-Length = 215 [12:12:27]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" ] } } [12:12:27]execute_script... [12:12:27]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" ] } } [12:12:27]POST & json_proto [12:12:27]process_json_proto [12:12:27]json parsed OK: [12:12:27]protocol is kg_v1.0 [12:12:27]action value=get_value [12:12:27]process_action get_value [12:12:27]cmd_get_value [12:12:27]process_action get_value done [12:12:27]requested_data is exist [12:12:27]produce_requested_data [12:12:27]requested_item kkm.sn is exist - process it [12:12:27]requested_item kkm.ver is exist - process it [12:12:27]requested_item fm.sn is exist - process it [12:12:27]wFMCommunicate request_size=4 [12:12:27]MH_SAM_APDU [12:12:27]CAPDU: 80 11 00 00 [12:12:27]Write to MH i2c: E2 08 00 3B 07 80 11 00 00 00 00 00 00 BC [12:12:27]Write i2c OK [12:12:27]MH_I2C_Read... [12:12:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:27]Read from MH i2c: E2 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 17 00 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 17 00 3B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 12 [12:12:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:12:27]wFMCommunicate OK [12:12:27]requested_item fd.num is exist - process it [12:12:27]SAM_PROTO_GetFieldsCounters [12:12:27]wFMCommunicate request_size=4 [12:12:27]MH_SAM_APDU [12:12:27]CAPDU: 80 13 00 00 [12:12:27]Write to MH i2c: E2 08 00 3C 07 80 13 00 00 00 00 00 00 BF [12:12:27]Write i2c OK [12:12:27]MH_I2C_Read... [12:12:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:27]Read from MH i2c: E2 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 62 00 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 62 00 3C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [12:12:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:12:27]wFMCommunicate OK [12:12:27]SAM_PROTO_GetFieldsCounters done [12:12:27]requested_item shift.num is exist - process it [12:12:27]requested_item shift.opened is exist - process it [12:12:27]req_shift_opened [12:12:27]FM_GetShiftState [12:12:27]SAM_PROTO_GetShiftState [12:12:27]wFMCommunicate request_size=4 [12:12:27]MH_SAM_APDU [12:12:27]CAPDU: 80 13 01 00 [12:12:27]Write to MH i2c: E2 08 00 3D 07 80 13 01 00 00 00 00 00 C1 [12:12:27]Write i2c OK [12:12:27]MH_I2C_Read... [12:12:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:27]Read from MH i2c: E2 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 0E 00 [12:12:27]MH_I2C_Read... [12:12:27]Read from MH i2c: E2 0E 00 3D 07 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A7 [12:12:27]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:12:27]wFMCommunicate OK [12:12:27]SAM_PROTO_GetShiftState done [12:12:27]FM_GetShiftState done [12:12:27]req_shift_opened done [12:12:27]requested_item shift.open_date is exist - process it [12:12:27]req_shift_open_date [12:12:27]req_shift_open_date done [12:12:27]produce_requested_data done [12:12:27]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [12:12:27]process_action_free get_value [12:12:27]json_value_free [12:12:27]json_value_free done [12:12:27]process_json_proto returns [12:12:27]Send response to host [12:12:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [12:12:27]free response buf [12:12:27]execute_script done [12:12:27]execute_script returns [12:12:27]free content buf [12:12:27]Sock 9.Close socket [12:12:27]Sock 9.Thread stoped [12:12:27]accept exits with 7 [12:12:27]New connection [12:12:27]New thread 3067411812 created [12:12:27]Thread 3067555172 joined [12:12:27]Waiting for new connection... [12:12:27] Sock 7.Parse request [12:12:27]Sock 7.Check first char [12:12:27]Sock 7.First char is OK [12:12:27]request: POST /json_proto HTTP/1.0 [12:12:27]Method: POST [12:12:27]URL: /json_proto [12:12:27]Method is POST - this is cgi request [12:12:27]url: /json_proto [12:12:27]query_string will be loaded in cgi processing [12:12:27]execute_cgi json_proto POST (null) [12:12:27]execute_cgi path=json_proto method=POST [12:12:27]POST find Content-Length [12:12:27]Host: 172.17.47.135:8080 [12:12:27]Content-Length: 331 [12:12:27]Content-Type: application/json [12:12:27] [12:12:27]POST finish read [12:12:27]Found Content-Length = 331 [12:12:27]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" ] } } [12:12:27]execute_script... [12:12:27]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" ] } } [12:12:27]POST & json_proto [12:12:27]process_json_proto [12:12:27]json parsed OK: [12:12:27]protocol is kg_v1.0 [12:12:27]action value=get_value [12:12:27]process_action get_value [12:12:27]cmd_get_value [12:12:27]process_action get_value done [12:12:27]requested_data is exist [12:12:27]produce_requested_data [12:12:27]requested_item fm.sale.total is exist - process it [12:12:27]SAM_PROTO_GetFMData [12:12:27]wFMCommunicate request_size=4 [12:12:27]MH_SAM_APDU [12:12:27]CAPDU: 80 13 03 00 [12:12:27]Write to MH i2c: E2 08 00 3E 07 80 13 03 00 00 00 00 00 C4 [12:12:27]Write i2c OK [12:12:27]MH_I2C_Read... [12:12:28]OFD Sender: No OFD packet to send [12:12:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:12:28]Read from MH i2c: E2 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 3E 07 00 C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 F0 [12:12:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 [12:12:28]wFMCommunicate OK [12:12:28]wFMCommunicate request_size=4 [12:12:28]MH_SAM_APDU [12:12:28]CAPDU: 80 17 00 00 [12:12:28]Write to MH i2c: E2 08 00 3F 07 80 17 00 00 00 00 00 00 C6 [12:12:28]Write i2c OK [12:12:28]MH_I2C_Read... [12:12:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:28]Read from MH i2c: E2 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 3F 07 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 A9 [12:12:28]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:12:28]wFMCommunicate OK [12:12:28]wFMCommunicate request_size=4 [12:12:28]MH_SAM_APDU [12:12:28]CAPDU: 80 17 00 00 [12:12:28]Write to MH i2c: E2 08 00 40 07 80 17 00 00 00 00 00 00 C7 [12:12:28]Write i2c OK [12:12:28]MH_I2C_Read... [12:12:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:28]Read from MH i2c: E2 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 FD 00 40 07 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 DC [12:12:28]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:12:28]wFMCommunicate OK [12:12:28]wFMCommunicate request_size=4 [12:12:28]MH_SAM_APDU [12:12:28]CAPDU: 80 17 00 00 [12:12:28]Write to MH i2c: E2 08 00 41 07 80 17 00 00 00 00 00 00 C8 [12:12:28]Write i2c OK [12:12:28]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 FD 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 FD 00 41 07 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 40 [12:12:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:12:29]wFMCommunicate OK [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 17 00 00 [12:12:29]Write to MH i2c: E2 08 00 42 07 80 17 00 00 00 00 00 00 C9 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 E1 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 E1 00 42 07 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [12:12:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:29]wFMCommunicate OK [12:12:29]SAM_PROTO_GetFMData done [12:12:29]requested_item fm.sale_refund.total is exist - process it [12:12:29]requested_item fm.buy.total is exist - process it [12:12:29]requested_item shift.sale.total is exist - process it [12:12:29]SAM_PROTO_GetShiftData [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 13 02 00 [12:12:29]Write to MH i2c: E2 08 00 43 07 80 13 02 00 00 00 00 00 C8 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 FD 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 FD 00 43 07 00 B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 DA [12:12:29]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:12:29]wFMCommunicate OK [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 17 00 00 [12:12:29]Write to MH i2c: E2 08 00 44 07 80 17 00 00 00 00 00 00 CB [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:30]Read from MH i2c: E2 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 44 07 00 F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 19 [12:12:30]RAPDU: F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 [12:12:30]wFMCommunicate OK [12:12:30]wFMCommunicate request_size=4 [12:12:30]MH_SAM_APDU [12:12:30]CAPDU: 80 17 00 00 [12:12:30]Write to MH i2c: E2 08 00 45 07 80 17 00 00 00 00 00 00 CC [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:30]Read from MH i2c: E2 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 45 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 8C [12:12:30]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 [12:12:30]wFMCommunicate OK [12:12:30]wFMCommunicate request_size=4 [12:12:30]MH_SAM_APDU [12:12:30]CAPDU: 80 17 00 00 [12:12:30]Write to MH i2c: E2 08 00 46 07 80 17 00 00 00 00 00 00 CD [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:30]Read from MH i2c: E2 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 FD 00 46 07 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 3C [12:12:30]RAPDU: 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [12:12:30]wFMCommunicate OK [12:12:30]wFMCommunicate request_size=4 [12:12:30]MH_SAM_APDU [12:12:30]CAPDU: 80 17 00 00 [12:12:30]Write to MH i2c: E2 08 00 47 07 80 17 00 00 00 00 00 00 CE [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:12:30]Read from MH i2c: E2 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 D3 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: E2 D3 00 47 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BB [12:12:30]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:30]wFMCommunicate OK [12:12:30]SAM_PROTO_GetShiftData done [12:12:30]requested_item shift.sale.total_cash is exist - process it [12:12:30]requested_item shift.sale_refund.total is exist - process it [12:12:30]requested_item shift.sale_refund.total_cash is exist - process it [12:12:30]requested_item shift.buy.total is exist - process it [12:12:30]requested_item shift.buy.total_cash is exist - process it [12:12:30]produce_requested_data done [12:12:30]produce_requested_data return {"fm.sale.total":14698829.72,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":9493.97,"shift.sale.total_cash":4340.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [12:12:30]process_action_free get_value [12:12:30]json_value_free [12:12:30]json_value_free done [12:12:30]process_json_proto returns [12:12:30]Send response to host [12:12:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14698829.72,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":9493.97,"shift.sale.total_cash":4340.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [12:12:30]free response buf [12:12:30]execute_script done [12:12:30]execute_script returns [12:12:30]free content buf [12:12:30]Sock 7.Close socket [12:12:30]Sock 7.Thread stoped [12:12:31]accept exits with 9 [12:12:31]New connection [12:12:31]New thread 3067555172 created [12:12:31]Thread 3067411812 joined [12:12:31]Waiting for new connection... [12:12:31] Sock 9.Parse request [12:12:31]Sock 9.Check first char [12:12:31]Sock 9.First char is OK [12:12:31]request: POST /json_proto HTTP/1.0 [12:12:31]Method: POST [12:12:31]URL: /json_proto [12:12:31]Method is POST - this is cgi request [12:12:31]url: /json_proto [12:12:31]query_string will be loaded in cgi processing [12:12:31]execute_cgi json_proto POST (null) [12:12:31]execute_cgi path=json_proto method=POST [12:12:31]POST find Content-Length [12:12:31]Host: 172.17.47.135:8080 [12:12:31]Content-Length: 331 [12:12:31]Content-Type: application/json [12:12:31] [12:12:31]POST finish read [12:12:31]Found Content-Length = 331 [12:12:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:12:31]execute_script... [12:12:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:12:31]POST & json_proto [12:12:31]process_json_proto [12:12:31]json parsed OK: [12:12:31]protocol is kg_v1.0 [12:12:31]action value=get_value [12:12:31]process_action get_value [12:12:31]cmd_get_value [12:12:31]process_action get_value done [12:12:31]requested_data is exist [12:12:31]produce_requested_data [12:12:31]requested_item fm.sale.total is exist - process it [12:12:31]SAM_PROTO_GetFMData [12:12:31]wFMCommunicate request_size=4 [12:12:31]MH_SAM_APDU [12:12:31]CAPDU: 80 13 03 00 [12:12:31]Write to MH i2c: E2 08 00 48 07 80 13 03 00 00 00 00 00 CE [12:12:31]Write i2c OK [12:12:31]MH_I2C_Read... [12:12:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:12:31]Read from MH i2c: E2 [12:12:31]MH_I2C_Read... [12:12:31]Read from MH i2c: E2 FD 00 [12:12:31]MH_I2C_Read... [12:12:31]Read from MH i2c: E2 FD 00 48 07 00 C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 FA [12:12:31]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 [12:12:31]wFMCommunicate OK [12:12:31]wFMCommunicate request_size=4 [12:12:31]MH_SAM_APDU [12:12:31]CAPDU: 80 17 00 00 [12:12:31]Write to MH i2c: E2 08 00 49 07 80 17 00 00 00 00 00 00 D0 [12:12:31]Write i2c OK [12:12:31]MH_I2C_Read... [12:12:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:31]Read from MH i2c: E2 [12:12:31]MH_I2C_Read... [12:12:31]Read from MH i2c: E2 FD 00 [12:12:31]MH_I2C_Read... [12:12:31]Read from MH i2c: E2 FD 00 49 07 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 B3 [12:12:31]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:12:32]wFMCommunicate OK [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 17 00 00 [12:12:32]Write to MH i2c: E2 08 00 4A 07 80 17 00 00 00 00 00 00 D1 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 FD 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 FD 00 4A 07 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E6 [12:12:32]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:12:32]wFMCommunicate OK [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 17 00 00 [12:12:32]Write to MH i2c: E2 08 00 4B 07 80 17 00 00 00 00 00 00 D2 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 FD 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 FD 00 4B 07 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 4A [12:12:32]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:12:32]wFMCommunicate OK [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 17 00 00 [12:12:32]Write to MH i2c: E2 08 00 4C 07 80 17 00 00 00 00 00 00 D3 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 E1 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 E1 00 4C 07 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C1 [12:12:33]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:33]wFMCommunicate OK [12:12:33]SAM_PROTO_GetFMData done [12:12:33]requested_item fm.sale_refund.total is exist - process it [12:12:33]requested_item fm.buy.total is exist - process it [12:12:33]requested_item shift.sale.total is exist - process it [12:12:33]SAM_PROTO_GetShiftData [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 13 02 00 [12:12:33]Write to MH i2c: E2 08 00 4D 07 80 13 02 00 00 00 00 00 D2 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]OFD Sender: No OFD packet to send [12:12:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 FD 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 FD 00 4D 07 00 B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E4 [12:12:33]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:12:33]wFMCommunicate OK [12:12:33]wFMCommunicate request_size=4 [12:12:33]MH_SAM_APDU [12:12:33]CAPDU: 80 17 00 00 [12:12:33]Write to MH i2c: E2 08 00 4E 07 80 17 00 00 00 00 00 00 D5 [12:12:33]Write i2c OK [12:12:33]MH_I2C_Read... [12:12:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:33]Read from MH i2c: E2 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 FD 00 [12:12:33]MH_I2C_Read... [12:12:33]Read from MH i2c: E2 FD 00 4E 07 00 F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 23 [12:12:33]RAPDU: F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 [12:12:34]wFMCommunicate OK [12:12:34]wFMCommunicate request_size=4 [12:12:34]MH_SAM_APDU [12:12:34]CAPDU: 80 17 00 00 [12:12:34]Write to MH i2c: E2 08 00 4F 07 80 17 00 00 00 00 00 00 D6 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:34]Read from MH i2c: E2 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 FD 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 FD 00 4F 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 96 [12:12:34]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 [12:12:34]wFMCommunicate OK [12:12:34]wFMCommunicate request_size=4 [12:12:34]MH_SAM_APDU [12:12:34]CAPDU: 80 17 00 00 [12:12:34]Write to MH i2c: E2 08 00 50 07 80 17 00 00 00 00 00 00 D7 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:34]Read from MH i2c: E2 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 FD 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 FD 00 50 07 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 46 [12:12:34]RAPDU: 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [12:12:34]wFMCommunicate OK [12:12:34]wFMCommunicate request_size=4 [12:12:34]MH_SAM_APDU [12:12:34]CAPDU: 80 17 00 00 [12:12:34]Write to MH i2c: E2 08 00 51 07 80 17 00 00 00 00 00 00 D8 [12:12:34]Write i2c OK [12:12:34]MH_I2C_Read... [12:12:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:12:34]Read from MH i2c: E2 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 D3 00 [12:12:34]MH_I2C_Read... [12:12:34]Read from MH i2c: E2 D3 00 51 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C5 [12:12:35]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:35]wFMCommunicate OK [12:12:35]SAM_PROTO_GetShiftData done [12:12:35]requested_item shift.sale.total_cash is exist - process it [12:12:35]requested_item shift.sale_refund.total is exist - process it [12:12:35]requested_item shift.sale_refund.total_cash is exist - process it [12:12:35]requested_item shift.buy.total is exist - process it [12:12:35]requested_item shift.buy.total_cash is exist - process it [12:12:35]produce_requested_data done [12:12:35]produce_requested_data return {"fm.sale.total":14698829.72,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":9493.97,"shift.sale.total_cash":4340.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [12:12:35]process_action_free get_value [12:12:35]json_value_free [12:12:35]json_value_free done [12:12:35]process_json_proto returns [12:12:35]Send response to host [12:12:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14698829.72,"fm.sale_refund.total":359663.00,"fm.buy.total":0.00,"shift.sale.total":9493.97,"shift.sale.total_cash":4340.00,"shift.sale_refund.total":642.00,"shift.sale_refund.total_cash":642.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [12:12:35]free response buf [12:12:35]execute_script done [12:12:35]execute_script returns [12:12:35]free content buf [12:12:35]Sock 9.Close socket [12:12:35]Sock 9.Thread stoped [12:12:35]accept exits with 7 [12:12:35]New connection [12:12:35]New thread 3067411812 created [12:12:35]Thread 3067555172 joined [12:12:35]Waiting for new connection... [12:12:35] Sock 7.Parse request [12:12:35]Sock 7.Check first char [12:12:35]Sock 7.First char is OK [12:12:35]request: POST /json_proto HTTP/1.0 [12:12:35]Method: POST [12:12:35]URL: /json_proto [12:12:35]Method is POST - this is cgi request [12:12:35]url: /json_proto [12:12:35]query_string will be loaded in cgi processing [12:12:35]execute_cgi json_proto POST (null) [12:12:35]execute_cgi path=json_proto method=POST [12:12:35]POST find Content-Length [12:12:35]Host: 172.17.47.135:8080 [12:12:35]Content-Length: 256 [12:12:35]Content-Type: application/json [12:12:35] [12:12:35]POST finish read [12:12:35]Found Content-Length = 256 [12:12:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:35]execute_script... [12:12:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:35]POST & json_proto [12:12:35]process_json_proto [12:12:35]json parsed OK: [12:12:35]protocol is kg_v1.0 [12:12:35]action value=x_report [12:12:35]process_action x_report [12:12:35]cmd_x_report [12:12:35]MH_GetDate [12:12:35]Write to MH i2c: F0 00 00 52 07 48 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 09 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 09 00 52 07 00 B4 27 B3 67 19 D8 DE 66 7B [12:12:35]GetLastDocTimeStamp 1739793716 [12:12:35]current date 1739794356 [12:12:35]FM_GetShiftState [12:12:35]SAM_PROTO_GetShiftState [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 13 01 00 [12:12:35]Write to MH i2c: E2 08 00 53 07 80 13 01 00 00 00 00 00 D7 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 0E 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 0E 00 53 07 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 BD [12:12:35]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:12:35]wFMCommunicate OK [12:12:35]SAM_PROTO_GetShiftState done [12:12:35]FM_GetShiftState done [12:12:35]KKMCreateXReportDocument [12:12:35]Load OK [12:12:35]Malloc new data [12:12:35]MH_GetDate [12:12:35]Write to MH i2c: F0 00 00 54 07 4A [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 09 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: F0 09 00 54 07 00 B4 27 B3 67 19 D8 DE 66 7D [12:12:35]Malloc new data [12:12:35]Malloc new data [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 11 00 00 [12:12:35]Write to MH i2c: E2 08 00 55 07 80 11 00 00 00 00 00 00 D6 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 17 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 17 00 55 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2C [12:12:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:12:35]wFMCommunicate OK [12:12:35]SAM_PROTO_GetFieldsCounters [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 13 00 00 [12:12:35]Write to MH i2c: E2 08 00 56 07 80 13 00 00 00 00 00 00 D9 [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 62 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 62 00 56 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [12:12:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:12:35]wFMCommunicate OK [12:12:35]SAM_PROTO_GetFieldsCounters done [12:12:35]Malloc new data [12:12:35]Malloc new data [12:12:35]Malloc new data [12:12:35]KKMCreateXReportDocument OK [12:12:35]KKMSetXReportData OK [12:12:35]KKMPrepareXReportFMData [12:12:35]SAM_PROTO_GetShiftData [12:12:35]wFMCommunicate request_size=4 [12:12:35]MH_SAM_APDU [12:12:35]CAPDU: 80 13 02 00 [12:12:35]Write to MH i2c: E2 08 00 57 07 80 13 02 00 00 00 00 00 DC [12:12:35]Write i2c OK [12:12:35]MH_I2C_Read... [12:12:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:12:35]Read from MH i2c: E2 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 FD 00 [12:12:35]MH_I2C_Read... [12:12:35]Read from MH i2c: E2 FD 00 57 07 00 B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 EE [12:12:36]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 95 7C 0E 70 04 03 00 50 9F 06 72 04 03 00 45 DD 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 DD 89 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 D1 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 C8 FA 70 04 02 00 C8 FA 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 A2 1A EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [12:12:36]wFMCommunicate OK [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 17 00 00 [12:12:36]Write to MH i2c: E2 08 00 58 07 80 17 00 00 00 00 00 00 DF [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 FD 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 FD 00 58 07 00 F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 2D [12:12:36]RAPDU: F6 03 01 00 01 F7 03 02 00 38 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 [12:12:36]wFMCommunicate OK [12:12:36]wFMCommunicate request_size=4 [12:12:36]MH_SAM_APDU [12:12:36]CAPDU: 80 17 00 00 [12:12:36]Write to MH i2c: E2 08 00 59 07 80 17 00 00 00 00 00 00 E0 [12:12:36]Write i2c OK [12:12:36]MH_I2C_Read... [12:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:36]Read from MH i2c: E2 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 FD 00 [12:12:36]MH_I2C_Read... [12:12:36]Read from MH i2c: E2 FD 00 59 07 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 A0 [12:12:36]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 [12:12:37]wFMCommunicate OK [12:12:37]wFMCommunicate request_size=4 [12:12:37]MH_SAM_APDU [12:12:37]CAPDU: 80 17 00 00 [12:12:37]Write to MH i2c: E2 08 00 5A 07 80 17 00 00 00 00 00 00 E1 [12:12:37]Write i2c OK [12:12:37]MH_I2C_Read... [12:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:37]Read from MH i2c: E2 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: E2 FD 00 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: E2 FD 00 5A 07 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 50 [12:12:37]RAPDU: 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [12:12:37]wFMCommunicate OK [12:12:37]wFMCommunicate request_size=4 [12:12:37]MH_SAM_APDU [12:12:37]CAPDU: 80 17 00 00 [12:12:37]Write to MH i2c: E2 08 00 5B 07 80 17 00 00 00 00 00 00 E2 [12:12:37]Write i2c OK [12:12:37]MH_I2C_Read... [12:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [12:12:37]Read from MH i2c: E2 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: E2 D3 00 [12:12:37]MH_I2C_Read... [12:12:37]Read from MH i2c: E2 D3 00 5B 07 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CF [12:12:37]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:37]wFMCommunicate OK [12:12:37]SAM_PROTO_GetShiftData done [12:12:37]1194 (1202) - счетчики итогов смены [12:12:37] 1134 (4) - 36 - количество чеков со всеми признаками расчетов [12:12:37] 1129 (155) - счетчики операций «приход» [12:12:37] 1135 (4) - 35 - количество чеков по признаку расчетов [12:12:37] 1201 (3) - 9493.97 - общая итоговая сумма в чеках [12:12:37] 1136 (3) - 4340.00 - итоговая сумма в чеках наличными [12:12:37] 1138 (3) - 5153.97 - итоговая сумма в чеках безналичными [12:12:37] 1024 (122) - суммы налогов [12:12:37] 1006 (9) - суммы НДС [12:12:37] 1010 (1) - 0% - код ставки НДС [12:12:37] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:37] 1006 (12) - суммы НДС [12:12:37] 1010 (1) - 12% - код ставки НДС [12:12:37] 1011 (3) - 1008.29 - сумма НДС по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 0% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1007 (11) - суммы НСП [12:12:37] 1014 (1) - 1% - код ставки НСП [12:12:37] 1015 (2) - 84.01 - сумма НСП по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 2% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 3% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 5% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 0,50% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1007 (9) - суммы НСП [12:12:37] 1014 (1) - 1,50% - код ставки НСП [12:12:37] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:37] 1130 (149) - счетчики операций «возврат прихода» [12:12:37] 1135 (4) - 1 - количество чеков по признаку расчетов [12:12:37] 1201 (2) - 642.00 - общая итоговая сумма в чеках [12:12:38] 1136 (2) - 642.00 - итоговая сумма в чеках наличными [12:12:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:12:38] 1024 (121) - суммы налогов [12:12:38] 1006 (9) - суммы НДС [12:12:38] 1010 (1) - 0% - код ставки НДС [12:12:38] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:38] 1006 (11) - суммы НДС [12:12:38] 1010 (1) - 12% - код ставки НДС [12:12:38] 1011 (2) - 68.18 - сумма НДС по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (11) - суммы НСП [12:12:38] 1014 (1) - 1% - код ставки НСП [12:12:38] 1015 (2) - 5.68 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 2% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 3% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 5% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 1,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1131 (141) - счетчики операций «расход» [12:12:38] 1135 (4) - 0 - количество чеков по признаку расчетов [12:12:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [12:12:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [12:12:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:12:38] 1024 (117) - суммы налогов [12:12:38] 1006 (9) - суммы НДС [12:12:38] 1010 (1) - 0% - код ставки НДС [12:12:38] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:38] 1006 (9) - суммы НДС [12:12:38] 1010 (1) - 12% - код ставки НДС [12:12:38] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 1% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 2% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 3% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 5% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 1,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1132 (141) - счетчики операций «возврат расхода» [12:12:38] 1135 (4) - 0 - количество чеков по признаку расчетов [12:12:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [12:12:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [12:12:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:12:38] 1024 (117) - суммы налогов [12:12:38] 1006 (9) - суммы НДС [12:12:38] 1010 (1) - 0% - код ставки НДС [12:12:38] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:38] 1006 (9) - суммы НДС [12:12:38] 1010 (1) - 12% - код ставки НДС [12:12:38] 1011 (0) - 0.00 - сумма НДС по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 1% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 2% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 3% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 5% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 0,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1007 (9) - суммы НСП [12:12:38] 1014 (1) - 1,50% - код ставки НСП [12:12:38] 1015 (0) - 0.00 - сумма НСП по ставке [12:12:38] 1133 (588) - - счетчики коррекции - не используются [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1194 (04AA) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1134 (046E) [12:12:38]Malloc new data [12:12:38]Processing tag 1129 (0469) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1135 (046F) [12:12:38]Malloc new data [12:12:38]Processing tag 1201 (04B1) [12:12:38]Malloc new data [12:12:38]Processing tag 1136 (0470) [12:12:38]Malloc new data [12:12:38]Processing tag 1138 (0472) [12:12:38]Malloc new data [12:12:38]Processing tag 1024 (0400) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1130 (046A) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1135 (046F) [12:12:38]Malloc new data [12:12:38]Processing tag 1201 (04B1) [12:12:38]Malloc new data [12:12:38]Processing tag 1136 (0470) [12:12:38]Malloc new data [12:12:38]Processing tag 1138 (0472) [12:12:38]Malloc new data [12:12:38]Processing tag 1024 (0400) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1131 (046B) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1135 (046F) [12:12:38]Malloc new data [12:12:38]Processing tag 1201 (04B1) [12:12:38]Malloc new data [12:12:38]Processing tag 1136 (0470) [12:12:38]Malloc new data [12:12:38]Processing tag 1138 (0472) [12:12:38]Malloc new data [12:12:38]Processing tag 1024 (0400) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1132 (046C) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1135 (046F) [12:12:38]Malloc new data [12:12:38]Processing tag 1201 (04B1) [12:12:38]OFD Sender: No OFD packet to send [12:12:38]Malloc new data [12:12:38]Processing tag 1136 (0470) [12:12:38]Malloc new data [12:12:38]Processing tag 1138 (0472) [12:12:38]Malloc new data [12:12:38]Processing tag 1024 (0400) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1006 (03EE) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1010 (03F2) [12:12:38]Malloc new data [12:12:38]Processing tag 1011 (03F3) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:38]SetTLVBufToDocument err=0 [12:12:38]Processing tag 1007 (03EF) [12:12:38]Load OK [12:12:38]SetTLVBufToDocument [12:12:38]Processing tag 1014 (03F6) [12:12:38]Malloc new data [12:12:38]Processing tag 1015 (03F7) [12:12:38]Malloc new data [12:12:39]SetTLVBufToDocument err=0 [12:12:39]SetTLVBufToDocument err=0 [12:12:39]SetTLVBufToDocument err=0 [12:12:39]Processing tag 1133 (046D) [12:12:39]Malloc new data [12:12:39]SetTLVBufToDocument err=0 [12:12:39]SetTLVBufToDocument err=0 [12:12:39]Malloc new data [12:12:39]SAM_PROTO_GetFMData [12:12:39]wFMCommunicate request_size=4 [12:12:39]MH_SAM_APDU [12:12:39]CAPDU: 80 13 03 00 [12:12:39]Write to MH i2c: E2 08 00 5C 07 80 13 03 00 00 00 00 00 E2 [12:12:39]Write i2c OK [12:12:39]MH_I2C_Read... [12:12:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:12:39]Read from MH i2c: E2 [12:12:39]MH_I2C_Read... [12:12:39]Read from MH i2c: E2 FD 00 [12:12:39]MH_I2C_Read... [12:12:39]Read from MH i2c: E2 FD 00 5C 07 00 C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 0E [12:12:39]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A EF 03 09 00 90 00 [12:12:39]wFMCommunicate OK [12:12:39]wFMCommunicate request_size=4 [12:12:39]MH_SAM_APDU [12:12:39]CAPDU: 80 17 00 00 [12:12:39]Write to MH i2c: E2 08 00 5D 07 80 17 00 00 00 00 00 00 E4 [12:12:39]Write i2c OK [12:12:39]MH_I2C_Read... [12:12:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:40]Read from MH i2c: E2 [12:12:40]MH_I2C_Read... [12:12:40]Read from MH i2c: E2 FD 00 [12:12:40]MH_I2C_Read... [12:12:40]Read from MH i2c: E2 FD 00 5D 07 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 C7 [12:12:40]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:12:40]wFMCommunicate OK [12:12:40]wFMCommunicate request_size=4 [12:12:40]MH_SAM_APDU [12:12:40]CAPDU: 80 17 00 00 [12:12:40]Write to MH i2c: E2 08 00 5E 07 80 17 00 00 00 00 00 00 E5 [12:12:40]Write i2c OK [12:12:40]MH_I2C_Read... [12:12:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:40]Read from MH i2c: E2 [12:12:40]MH_I2C_Read... [12:12:40]Read from MH i2c: E2 FD 00 [12:12:40]MH_I2C_Read... [12:12:40]Read from MH i2c: E2 FD 00 5E 07 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 FA [12:12:40]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:12:40]wFMCommunicate OK [12:12:40]wFMCommunicate request_size=4 [12:12:40]MH_SAM_APDU [12:12:40]CAPDU: 80 17 00 00 [12:12:40]Write to MH i2c: E2 08 00 5F 07 80 17 00 00 00 00 00 00 E6 [12:12:40]Write i2c OK [12:12:40]MH_I2C_Read... [12:12:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:12:41]Read from MH i2c: E2 [12:12:41]MH_I2C_Read... [12:12:41]Read from MH i2c: E2 FD 00 [12:12:41]MH_I2C_Read... [12:12:41]Read from MH i2c: E2 FD 00 5F 07 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 5E [12:12:41]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:12:41]wFMCommunicate OK [12:12:41]wFMCommunicate request_size=4 [12:12:41]MH_SAM_APDU [12:12:41]CAPDU: 80 17 00 00 [12:12:41]Write to MH i2c: E2 08 00 60 07 80 17 00 00 00 00 00 00 E7 [12:12:41]Write i2c OK [12:12:41]MH_I2C_Read... [12:12:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:12:41]Read from MH i2c: E2 [12:12:41]MH_I2C_Read... [12:12:41]Read from MH i2c: E2 E1 00 [12:12:41]MH_I2C_Read... [12:12:41]Read from MH i2c: E2 E1 00 60 07 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D5 [12:12:41]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:12:41]wFMCommunicate OK [12:12:41]SAM_PROTO_GetFMData done [12:12:41]FM_GetFMData:85 04 C0 04 6E 04 04 00 98 7B 00 00 69 04 A0 00 6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A 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 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:12:42]oper:6F 04 04 00 11 7A 00 00 B1 04 04 00 5C A2 9C 57 70 04 04 00 15 BC E2 27 72 04 04 00 47 E6 B9 2F 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 0C 05 4E 09 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 8F 76 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:12:42]total:5C A2 9C 57 [12:12:42]Malloc new data [12:12:42]oper:6F 04 04 00 87 01 00 00 B1 04 04 00 5C CD 24 02 70 04 04 00 B0 15 06 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B7 49 3A 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 4E DB 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:12:42]total:5C CD 24 02 [12:12:42]Malloc new data [12:12:42]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 [12:12:42]total: [12:12:42]Malloc new data [12:12:42]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 [12:12:42]total: [12:12:42]Malloc new data [12:12:42]KKMPrepareXReportFMData err=0 [12:12:42]Х отчет ИНН: 02508201610067 Кассир: Рахманов У. 17.02.2025 12:12 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 36 ИТОГИ ПРИХОД Чеков: 35 Общий итог: 9493.97 Итого наличными: 4340.00 Итого безнал.: 5153.97 НДС 0% : 0.00 НДС 12% : 1008.29 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 84.01 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 642.00 Итого наличными: 642.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 68.18 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 5.68 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 3698.00 НС Приход: 14698829.72 НС Возвр.Прихода: 359663.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [12:12:42]StoreToDocumentArchive [12:12:42]MH_GetDate [12:12:42]Write to MH i2c: F0 00 00 61 07 57 [12:12:42]Write i2c OK [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: F0 [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: F0 09 00 [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: F0 09 00 61 07 00 BB 27 B3 67 19 D8 DE 66 91 [12:12:42]shift 266 fd 1739794363 [12:12:42]Create dir for shift 0266 [12:12:42]save to /storage/0266/doc_1739794363 [12:12:42]save last doc name /storage/0266/doc_1739794363 to /storage/kkm_last_doc_name [12:12:42]save OK [12:12:42]Clear old archive folders... [12:12:42]NVStorageSaveData kkm_last_timestamp [12:12:42]File name is /storage/kkm_last_timestamp [12:12:42]Write 4 bytes [12:12:42]NVStorageSaveData done [12:12:42]ExternCall_PrintAddStr [12:12:42]wPrintStart [12:12:42]Write to MH i2c: 01 00 00 62 07 69 [12:12:42]Write i2c OK [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: 01 [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: 01 07 00 [12:12:42]MH_I2C_Read... [12:12:42]Read from MH i2c: 01 07 00 62 07 00 00 00 00 00 FF 0F 7E [12:12:42]RasterBufferAndPrint [12:12:42]line Х отчет [12:12:42]line ИНН: 02508201610067 [12:12:42]line Кассир: Рахманов У. [12:12:42]line 17.02.2025 12:12 [12:12:42]line Смена: 266 [12:12:42]line РНМ: 0000000000146237 [12:12:42]line ЗНМ: 0300000059 [12:12:42]line СНО: Общий режим [12:12:42]line Всего чеков: 36 [12:12:42]line ИТОГИ ПРИХОД [12:12:42]line Чеков: 35 [12:12:42]line Общий итог: 9493.97 [12:12:42]line Итого наличными: 4340.00 [12:12:42]line Итого безнал.: 5153.97 [12:12:42]line НДС 0% : 0.00 [12:12:42]line НДС 12% : 1008.29 [12:12:42]line НСП 0% : 0.00 [12:12:42]line НСП 1,50% : 0.00 [12:12:42]line НСП 0,50% : 0.00 [12:12:42]line НСП 5% : 0.00 [12:12:42]line НСП 3% : 0.00 [12:12:42]line НСП 2% : 0.00 [12:12:42]line НСП 1% : 84.01 [12:12:42]line ИТОГИ ВОЗВРАТ ПРИХОДА [12:12:42]line Чеков: 1 [12:12:42]line Общий итог: 642.00 [12:12:42]line Итого наличными: 642.00 [12:12:42]line Итого безнал.: 0.00 [12:12:42]line НДС 0% : 0.00 [12:12:42]line НДС 12% : 68.18 [12:12:42]line НСП 0% : 0.00 [12:12:42]line НСП 1,50% : 0.00 [12:12:42]line НСП 0,50% : 0.00 [12:12:42]line НСП 5% : 0.00 [12:12:42]line НСП 3% : 0.00 [12:12:42]line НСП 2% : 0.00 [12:12:42]line НСП 1% : 5.68 [12:12:42]line ИТОГИ РАСХОД [12:12:42]line Чеков: 0 [12:12:42]line Общий итог: 0.00 [12:12:42]line Итого наличными: 0.00 [12:12:42]line Итого безнал.: 0.00 [12:12:42]line НДС 0% : 0.00 [12:12:42]line НДС 12% : 0.00 [12:12:42]line НСП 0% : 0.00 [12:12:42]line НСП 1,50% : 0.00 [12:12:42]line НСП 0,50% : 0.00 [12:12:42]line НСП 5% : 0.00 [12:12:42]line НСП 3% : 0.00 [12:12:42]line НСП 2% : 0.00 [12:12:42]line НСП 1% : 0.00 [12:12:42]line ИТОГИ ВОЗВРАТ РАСХОДА [12:12:42]line Чеков: 0 [12:12:42]line Общий итог: 0.00 [12:12:42]line Итого наличными: 0.00 [12:12:42]line Итого безнал.: 0.00 [12:12:42]line НДС 0% : 0.00 [12:12:42]line НДС 12% : 0.00 [12:12:42]line НСП 0% : 0.00 [12:12:42]line НСП 1,50% : 0.00 [12:12:42]line НСП 0,50% : 0.00 [12:12:42]line НСП 5% : 0.00 [12:12:42]line НСП 3% : 0.00 [12:12:42]line НСП 2% : 0.00 [12:12:42]line НСП 1% : 0.00 [12:12:42]line Сумма внесений: 0.00 [12:12:42]line Сумма выплат: 0.00 [12:12:42]line Нал. в кассе: 3698.00 [12:12:42]line НС Приход: 14698829.72 [12:12:42]line НС Возвр.Прихода: 359663.00 [12:12:42]line НС Расход: 0.00 [12:12:42]line НС Возвр.Расхода: 0.00 [12:12:42]line ФМ: 0000000000959282 [12:12:42]written 0, free lines is 4095 [12:12:43]Write to MH i2c: 01 00 00 AD 07 B4 [12:12:43]Write i2c OK [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: 01 [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: 01 07 00 [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: 01 07 00 AD 07 00 00 00 00 00 0D 0B D3 [12:12:43]RasterBufferAndPrint [12:12:43]line [12:12:43]line [12:12:43]line [12:12:43]line [12:12:43]line [12:12:43]written 0, free lines is 2865 [12:12:43]MH_Cut [12:12:43]Write to MH i2c: D1 01 00 B4 07 01 8D [12:12:43]Write i2c OK [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: D1 [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: D1 01 00 [12:12:43]MH_I2C_Read... [12:12:43]Read from MH i2c: D1 01 00 B4 07 00 8C [12:12:43]Write to MH i2c: 01 00 00 B5 07 BC [12:12:43]Write i2c OK [12:12:43]MH_I2C_Read... [12:12:43]OFD Sender: No OFD packet to send [12:12:44]*** Cut start [12:12:44]*** Partial cut [12:12:44]*** CUTSNS_PIN = 1 [12:12:44]*** CUTSNS_PIN = 0 [12:12:44]*** Brake cut motor [12:12:45]Read from MH i2c: 01 [12:12:45]MH_I2C_Read... [12:12:45]*** Stop cut motor [12:12:45]*** Cut end [12:12:45]Read from MH i2c: 01 07 00 [12:12:45]MH_I2C_Read... [12:12:45]Read from MH i2c: 01 07 00 B5 07 00 00 00 00 00 FF 0F D1 [12:12:45]process_action x_report done [12:12:45]requested_data is exist [12:12:45]produce_requested_data [12:12:45]requested_item fd.num is exist - process it [12:12:45]SAM_PROTO_GetFieldsCounters [12:12:45]wFMCommunicate request_size=4 [12:12:45]MH_SAM_APDU [12:12:45]CAPDU: 80 13 00 00 [12:12:45]Write to MH i2c: E2 08 00 B6 07 80 13 00 00 00 00 00 00 39 [12:12:45]Write i2c OK [12:12:45]MH_I2C_Read... [12:12:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:45]Read from MH i2c: E2 [12:12:45]MH_I2C_Read... [12:12:45]Read from MH i2c: E2 62 00 [12:12:45]MH_I2C_Read... [12:12:45]Read from MH i2c: E2 62 00 B6 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [12:12:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 95 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:12:45]wFMCommunicate OK [12:12:45]SAM_PROTO_GetFieldsCounters done [12:12:45]requested_item shift.num is exist - process it [12:12:45]requested_item shift.opened is exist - process it [12:12:45]req_shift_opened [12:12:45]FM_GetShiftState [12:12:45]SAM_PROTO_GetShiftState [12:12:45]wFMCommunicate request_size=4 [12:12:45]MH_SAM_APDU [12:12:45]CAPDU: 80 13 01 00 [12:12:45]Write to MH i2c: E2 08 00 B7 07 80 13 01 00 00 00 00 00 3B [12:12:45]Write i2c OK [12:12:45]MH_I2C_Read... [12:12:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:45]Read from MH i2c: E2 [12:12:45]MH_I2C_Read... [12:12:45]Read from MH i2c: E2 0E 00 [12:12:45]MH_I2C_Read... [12:12:45]Read from MH i2c: E2 0E 00 B7 07 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 21 [12:12:45]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:12:45]wFMCommunicate OK [12:12:45]SAM_PROTO_GetShiftState done [12:12:45]FM_GetShiftState done [12:12:45]req_shift_opened done [12:12:45]requested_item shift.open_date is exist - process it [12:12:45]req_shift_open_date [12:12:45]req_shift_open_date done [12:12:45]produce_requested_data done [12:12:45]produce_requested_data return {"fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [12:12:45]process_action_free x_report [12:12:45]json_value_free [12:12:45]json_value_free done [12:12:45]process_json_proto returns [12:12:45]Send response to host [12:12:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32405,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [12:12:45]free response buf [12:12:45]execute_script done [12:12:45]execute_script returns [12:12:45]free content buf [12:12:45]Sock 7.Close socket [12:12:45]Sock 7.Thread stoped [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:13]accept exits with 9 [12:24:13]New connection [12:24:13]New thread 3067555172 created [12:24:13]Thread 3067411812 joined [12:24:13]Waiting for new connection... [12:24:13] Sock 9.Parse request [12:24:13]Sock 9.Check first char [12:24:13]Sock 9.First char is OK [12:24:13]request: POST /json_proto HTTP/1.0 [12:24:13]Method: POST [12:24:13]URL: /json_proto [12:24:13]Method is POST - this is cgi request [12:24:13]url: /json_proto [12:24:13]query_string will be loaded in cgi processing [12:24:13]execute_cgi json_proto POST (null) [12:24:13]execute_cgi path=json_proto method=POST [12:24:13]POST find Content-Length [12:24:13]Host: 172.17.47.135:8080 [12:24:13]Content-Length: 684 [12:24:13]Content-Type: application/json [12:24:13] [12:24:13]POST finish read [12:24:13]Found Content-Length = 684 [12:24:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130654", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:13]execute_script... [12:24: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)130654", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:24:13]POST & json_proto [12:24:13]process_json_proto [12:24:13]json parsed OK: [12:24:13]protocol is kg_v1.0 [12:24:13]action value=close_receipt [12:24:13]process_action close_receipt [12:24:13]cmd_close_receipt [12:24:13]MH_GetDate [12:24:13]Write to MH i2c: F0 00 00 B8 07 AE [12:24:13]Write i2c OK [12:24:13]MH_I2C_Read... [12:24:13]Read from MH i2c: F0 [12:24:13]MH_I2C_Read... [12:24:13]Read from MH i2c: F0 09 00 [12:24:13]MH_I2C_Read... [12:24:13]Read from MH i2c: F0 09 00 B8 07 00 6E 2A B3 67 19 D8 DE 66 9E [12:24:13]GetLastDocTimeStamp 1739794356 [12:24:13]current date 1739795054 [12:24:13]FM_GetShiftState [12:24:13]SAM_PROTO_GetShiftState [12:24:13]wFMCommunicate request_size=4 [12:24:13]MH_SAM_APDU [12:24:13]CAPDU: 80 13 01 00 [12:24:13]Write to MH i2c: E2 08 00 B9 07 80 13 01 00 00 00 00 00 3D [12:24:13]Write i2c OK [12:24:13]MH_I2C_Read... [12:24:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:13]Read from MH i2c: E2 [12:24:13]MH_I2C_Read... [12:24:13]Read from MH i2c: E2 0E 00 [12:24:13]MH_I2C_Read... [12:24:13]Read from MH i2c: E2 0E 00 B9 07 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 23 [12:24:13]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:24:13]wFMCommunicate OK [12:24:13]SAM_PROTO_GetShiftState done [12:24:13]FM_GetShiftState done [12:24:13]opened in 1739750979 [12:24:13]opened+sec_in_day 1739837379 [12:24:13]quantity*price = 13400 [12:24:13]sum+1 = 13401 [12:24:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 37 17.02.2025 12:24 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32406 ФПД: 200341113400850 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T122414&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32406&fm=200341113400850&tin=02508201610067®Number=0000000000146237&sum=13400 0 [12:24:14]StoreToDocumentArchive [12:24:14]shift 382 fd 32406 [12:24:14]save to /storage/0382/doc_00032406 [12:24:14]save last doc name /storage/0382/doc_00032406 to /storage/kkm_last_doc_name [12:24:14]save OK [12:24:14]Clear old archive folders... [12:24:14]Remove dir /storage/0266 [12:24:14]opendir ok [12:24:14]file . [12:24:14]file .. [12:24:14]file doc_1739794363 [12:24:14]remove file /storage/0266/doc_1739794363 [12:24:14]remove dir /storage/0266 [12:24:14]ProcessDocumentItem done err = 0, tmpTLVsize=292 [12:24:14]tlvbuf is 004CC750 [12:24:14]SAM_PROTO_ClearQueue [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 09 00 00 [12:24:14]Write to MH i2c: E2 08 00 C6 07 80 09 00 00 00 00 00 00 3F [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 C6 07 00 90 00 41 [12:24:14]RAPDU: 90 00 [12:24:14]wFMCommunicate OK [12:24:14]SAM_PROTO_ClearQueue done [12:24:14]KKMCreateOFDPacket [12:24:14]OFDProtocolAddRootSTLVToBuf [12:24:14]FM_MakeSignedData [12:24:14]FM_MakeSignedData [12:24:14]SAM_PROTO_SignData [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 0D 01 02 [12:24:14]Write to MH i2c: E2 08 00 C7 07 80 0D 01 02 00 00 00 00 47 [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 C7 07 00 90 00 42 [12:24:14]RAPDU: 90 00 [12:24:14]wFMCommunicate OK [12:24:14]wFMCommunicate request_size=255 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6E 2A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [12:24:14]Write to MH i2c: E2 02 01 C8 07 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6E 2A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 EB [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]OFD Sender: No OFD packet to send [12:24:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 C8 07 00 90 00 43 [12:24:14]RAPDU: 90 00 [12:24:14]wFMCommunicate OK [12:24:14]wFMCommunicate request_size=51 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 0D 02 02 2E 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 96 7E 00 00 35 04 06 00 B6 35 8C E5 EE 12 [12:24:14]Write to MH i2c: E2 36 00 C9 07 80 0D 02 02 2E 00 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 96 7E 00 00 35 04 06 00 B6 35 8C E5 EE 12 00 00 4C [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 03 00 C9 07 00 90 00 44 [12:24:14]RAPDU: 90 00 [12:24:14]wFMCommunicate OK [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 0D 03 02 [12:24:14]Write to MH i2c: E2 08 00 CA 07 80 0D 03 02 00 00 00 00 4C [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 0B 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 0B 00 CA 07 00 AB 8B B4 55 CD E8 5D D4 90 00 72 [12:24:14]RAPDU: AB 8B B4 55 CD E8 5D D4 90 00 [12:24:14]wFMCommunicate OK [12:24:14]SAM_PROTO_SignData done [12:24:14]FM_MakeSignedData done [12:24:14]CreateOFDProtocolMessage [12:24:14]wFMCommunicate request_size=4 [12:24:14]MH_SAM_APDU [12:24:14]CAPDU: 80 11 00 00 [12:24:14]Write to MH i2c: E2 08 00 CB 07 80 11 00 00 00 00 00 00 4C [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:14]Read from MH i2c: E2 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 17 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: E2 17 00 CB 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A2 [12:24:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:24:14]wFMCommunicate OK [12:24:14]CreateOFDProtocolMessage done [12:24:14]OFDSenderStorePacket 32406 [12:24:14]StoreOFDPacket docnum=32406 [12:24:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 38 01 00 00 B8 05 30 01 E1 1B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6E 2A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 96 7E 00 00 35 04 06 00 B6 35 8C E5 EE 12 AB 8B B4 55 CD E8 5D D4 [12:24:14]CheckFolder [12:24:14]dirname=/storage/ofd_packets [12:24:14]CheckFolder done [12:24:14]ProducePacketName [12:24:14]name=ofd_packets/00032406 [12:24:14]NVStorageSaveData ofd_packets/00032406 [12:24:14]File name is /storage/ofd_packets/00032406 [12:24:14]Write 342 bytes [12:24:14]NVStorageSaveData done [12:24:14]OFDSenderStorePacket done [12:24:14]KKMCreateOFDPacket done [12:24:14]NVStorageSaveData kkm_last_timestamp [12:24:14]File name is /storage/kkm_last_timestamp [12:24:14]Write 4 bytes [12:24:14]NVStorageSaveData done [12:24:14]ExternCall_PrintAddStr [12:24:14]wPrintStart [12:24:14]Write to MH i2c: 01 00 00 CC 07 D3 [12:24:14]Write i2c OK [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: 01 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: 01 07 00 [12:24:14]MH_I2C_Read... [12:24:14]Read from MH i2c: 01 07 00 CC 07 00 00 00 00 00 FF 0F E8 [12:24:14]RasterBufferAndPrint [12:24:14]line Счет N : (3)130654 [12:24:14]line ИНН: 02508201610067 [12:24:14]line Контрольно-Кассовый Чек [12:24:14]line ПРОДАЖА [12:24:14]line Товар: 4870202521230 [12:24:14]line Напиток MAXI чай 1,2 черн.лимон [12:24:14]line 1.000 * 134.00 [12:24:14]line = 134.00 [12:24:14]line НДС 12% НСП 1% [12:24:14]line > о реализуемом товаре [12:24:14]line ИТОГО: 134.00 [12:24:14]line НСП 1% : 1.19 [12:24:14]line НДС 12% : 14.23 [12:24:14]line Наличными: 134.00 [12:24:14]line Безнал.: 0.00 [12:24:14]line Место: АЗС № 96 "Партнер Нефть" [12:24:14]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [12:24:14]line СНО: Общий режим [12:24:14]line Чек 37 17.02.2025 12:24 [12:24:14]line Смена: 382 ФФД: 1.0 [12:24:14]line ЗНМ: 0300000059 [12:24:14]line РНМ: 0000000000146237 [12:24:14]line Версия ККМ: v1.0 [12:24:14]line ФМ: 0000000000959282 [12:24:14]line ФД: 32406 [12:24:14]line ФПД: 200341113400850 [12:24:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T122414&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32406&fm=200341113400850&tin=02508201610067®Number=0000000000146237&sum=13400 [12:24:15]line 0 [12:24:15]OFD Sender: Processing packet 32406 [packets to send 104, broken 103] [12:24:15]ProducePacketName [12:24:15]name=ofd_packets/00032406 [12:24:15]OFD Sender: To server: pG, [12:24:15]CommunicateWithHost lk.salyk.kg:30040 [12:24:15]ConnectInit lk.salyk.kg [12:24:15]written 0, free lines is 4095 [12:24:15]Write to MH i2c: 01 00 00 F5 07 FC [12:24:15]Write i2c OK [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: 01 [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: 01 07 00 [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: 01 07 00 F5 07 00 00 00 00 00 F5 0C 04 [12:24:15]RasterBufferAndPrint [12:24:15]line [12:24:15]line [12:24:15]line [12:24:15]line [12:24:15]line [12:24:15]written 0, free lines is 3324 [12:24:15]MH_Cut [12:24:15]Write to MH i2c: D1 01 00 FC 07 01 D5 [12:24:15]Write i2c OK [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: D1 [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: D1 01 00 [12:24:15]MH_I2C_Read... [12:24:15]Read from MH i2c: D1 01 00 FC 07 00 D4 [12:24:15]Write to MH i2c: 01 00 00 FD 07 04 [12:24:15]Write i2c OK [12:24:15]MH_I2C_Read... [12:24:16]*** Cut start [12:24:16]*** Partial cut [12:24:16]*** CUTSNS_PIN = 1 [12:24:16]*** CUTSNS_PIN = 0 [12:24:16]*** Brake cut motor [12:24:16]Read from MH i2c: 01 [12:24:16]MH_I2C_Read... [12:24:16]*** Stop cut motor [12:24:16]*** Cut end [12:24:16]Read from MH i2c: 01 07 00 [12:24:16]MH_I2C_Read... [12:24:16]Read from MH i2c: 01 07 00 FD 07 00 00 00 00 00 FF 0F 19 [12:24:16]process_action close_receipt done [12:24:16]requested_data is exist [12:24:16]produce_requested_data [12:24:16]requested_item fm.sn is exist - process it [12:24:16]wFMCommunicate request_size=4 [12:24:16]MH_SAM_APDU [12:24:16]CAPDU: 80 11 00 00 [12:24:16]Write to MH i2c: E2 08 00 FE 07 80 11 00 00 00 00 00 00 7F [12:24:16]Write i2c OK [12:24:16]MH_I2C_Read... [12:24:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:17]Read from MH i2c: E2 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 17 00 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 17 00 FE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D5 [12:24:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:24:17]wFMCommunicate OK [12:24:17]requested_item fd.num is exist - process it [12:24:17]SAM_PROTO_GetFieldsCounters [12:24:17]wFMCommunicate request_size=4 [12:24:17]MH_SAM_APDU [12:24:17]CAPDU: 80 13 00 00 [12:24:17]Write to MH i2c: E2 08 00 FF 07 80 13 00 00 00 00 00 00 82 [12:24:17]Write i2c OK [12:24:17]MH_I2C_Read... [12:24:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:24:17]Read from MH i2c: E2 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 62 00 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 62 00 FF 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 96 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [12:24:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 96 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:24:17]wFMCommunicate OK [12:24:17]SAM_PROTO_GetFieldsCounters done [12:24:17]requested_item shift.num is exist - process it [12:24:17]requested_item shift.opened is exist - process it [12:24:17]req_shift_opened [12:24:17]FM_GetShiftState [12:24:17]SAM_PROTO_GetShiftState [12:24:17]wFMCommunicate request_size=4 [12:24:17]MH_SAM_APDU [12:24:17]CAPDU: 80 13 01 00 [12:24:17]Write to MH i2c: E2 08 00 00 08 80 13 01 00 00 00 00 00 85 [12:24:17]Write i2c OK [12:24:17]MH_I2C_Read... [12:24:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:17]Read from MH i2c: E2 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 0E 00 [12:24:17]MH_I2C_Read... [12:24:17]Read from MH i2c: E2 0E 00 00 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6B [12:24:17]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [12:24:17]wFMCommunicate OK [12:24:17]SAM_PROTO_GetShiftState done [12:24:17]FM_GetShiftState done [12:24:17]req_shift_opened done [12:24:17]requested_item shift.open_date is exist - process it [12:24:17]req_shift_open_date [12:24:17]req_shift_open_date done [12:24:17]produce_requested_data done [12:24:17]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32406,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [12:24:17]process_action_free close_receipt [12:24:17]json_value_free [12:24:17]json_value_free done [12:24:17]process_json_proto returns [12:24:17]Send response to host [12:24:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32406,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [12:24:17]free response buf [12:24:17]execute_script done [12:24:17]execute_script returns [12:24:17]free content buf [12:24:17]Sock 9.Close socket [12:24:17]Sock 9.Thread stoped [12:26:33]ConnectInit Can't connect to host [12:26:33]CommunicateWithHost connect error [12:26:33]CommunicateWithHost err = -1 [12:26:33]OFD Sender: Server communicate error [12:26:38]OFD Sender: Processing packet 32406 [packets to send 104, broken 103] [12:26:38]ProducePacketName [12:26:38]name=ofd_packets/00032406 [12:26:38]OFD Sender: To server: pG, [12:26:38]CommunicateWithHost lk.salyk.kg:30040 [12:26:38]ConnectInit lk.salyk.kg [12:26:38]Connected sock=7 [12:26:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 38 01 00 00 B8 05 30 01 E1 1B 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6E 2A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 96 7E 00 00 35 04 06 00 B6 35 8C E5 EE 12 AB 8B B4 55 CD E8 5D D4 [12:26:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 AC 02 47 00 3F 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 96 7E 00 00 F4 03 04 00 A0 D4 B2 67 B6 04 01 00 00 28 3E FC 3B DF 9D 20 46 [12:26:38]CommunicateWithHost err = 0 [12:26:38]CheckOFDResponse [12:26:38]1017 (14) - 77093643461234 [12:26:38]1041 (16) - 0000000000959282 [12:26:38]1040 (4) - 32406 [12:26:38]1012 (4) - 17.02.2025 06:18 [12:26:38]1206 (1) - 0 [12:26:38]OFD Sender: Remove packet 32406 [12:26:38]ProducePacketName [12:26:38]name=ofd_packets/00032406 [12:26:38]NVStorageDeleteData [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:39]OFD Sender: No OFD packet to send [12:29:44]OFD Sender: No OFD packet to send [12:29:44]recv_with_timeout no data received [12:29:49]OFD Sender: No OFD packet to send [12:29:54]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:49]OFD Sender: No OFD packet to send [12:34:54]OFD Sender: No OFD packet to send [12:34:59]OFD Sender: No OFD packet to send [12:35:04]OFD Sender: No OFD packet to send [12:35:09]OFD Sender: No OFD packet to send [12:35:14]OFD Sender: No OFD packet to send [12:35:19]OFD Sender: No OFD packet to send [12:35:24]OFD Sender: No OFD packet to send [12:35:29]OFD Sender: No OFD packet to send [12:35:34]OFD Sender: No OFD packet to send [12:35:39]OFD Sender: No OFD packet to send [12:35:44]OFD Sender: No OFD packet to send [12:35:49]OFD Sender: No OFD packet to send [12:35:54]OFD Sender: No OFD packet to send [12:35:59]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:44]OFD Sender: No OFD packet to send [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:43]recv_with_timeout no data received [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:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:18]recv_with_timeout no data received [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:52]recv_with_timeout no data received [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:40]OFD Sender: No OFD packet to send [12:52:45]OFD Sender: No OFD packet to send [12:52:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]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:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:39]recv_with_timeout no data received [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:06]OFD Sender: No OFD packet to send [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:21]OFD Sender: No OFD packet to send [13:03:26]OFD Sender: No OFD packet to send [13:03:31]OFD Sender: No OFD packet to send [13:03:36]OFD Sender: No OFD packet to send [13:03:41]OFD Sender: No OFD packet to send [13:03:46]OFD Sender: No OFD packet to send [13:03:51]OFD Sender: No OFD packet to send [13:03:56]OFD Sender: No OFD packet to send [13:04:01]OFD Sender: No OFD packet to send [13:04:06]OFD Sender: No OFD packet to send [13:04:11]OFD Sender: No OFD packet to send [13:04:16]OFD Sender: No OFD packet to send [13:04:21]OFD Sender: No OFD packet to send [13:04:26]OFD Sender: No OFD packet to send [13:04:31]OFD Sender: No OFD packet to send [13:04:36]OFD Sender: No OFD packet to send [13:04:41]OFD Sender: No OFD packet to send [13:04:46]OFD Sender: No OFD packet to send [13:04:51]OFD Sender: No OFD packet to send [13:04:56]OFD Sender: No OFD packet to send [13:05:01]OFD Sender: No OFD packet to send [13:05:06]OFD Sender: No OFD packet to send [13:05:11]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:16]OFD Sender: No OFD packet to send [13:08:21]OFD Sender: No OFD packet to send [13:08:26]OFD Sender: No OFD packet to send [13:08:31]OFD Sender: No OFD packet to send [13:08:36]OFD Sender: No OFD packet to send [13:08:41]OFD Sender: No OFD packet to send [13:08:46]OFD Sender: No OFD packet to send [13:08:51]OFD Sender: No OFD packet to send [13:08:56]OFD Sender: No OFD packet to send [13:09:01]OFD Sender: No OFD packet to send [13:09:06]OFD Sender: No OFD packet to send [13:09:11]OFD Sender: No OFD packet to send [13:09:16]OFD Sender: No OFD packet to send [13:09:21]OFD Sender: No OFD packet to send [13:09:26]OFD Sender: No OFD packet to send [13:09:31]OFD Sender: No OFD packet to send [13:09:36]OFD Sender: No OFD packet to send [13:09:41]OFD Sender: No OFD packet to send [13:09:46]OFD Sender: No OFD packet to send [13:09:51]OFD Sender: No OFD packet to send [13:09:56]OFD Sender: No OFD packet to send [13:10:01]OFD Sender: No OFD packet to send [13:10:06]OFD Sender: No OFD packet to send [13:10:11]OFD Sender: No OFD packet to send [13:10:16]OFD Sender: No OFD packet to send [13:10:21]OFD Sender: No OFD packet to send [13:10:26]OFD Sender: No OFD packet to send [13:10:31]OFD Sender: No OFD packet to send [13:10:36]OFD Sender: No OFD packet to send [13:10:41]OFD Sender: No OFD packet to send [13:10:46]OFD Sender: No OFD packet to send [13:10:51]OFD Sender: No OFD packet to send [13:10:56]OFD Sender: No OFD packet to send [13:11:01]OFD Sender: No OFD packet to send [13:11:06]OFD Sender: No OFD packet to send [13:11:11]OFD Sender: No OFD packet to send [13:11:16]OFD Sender: No OFD packet to send [13:11:21]OFD Sender: No OFD packet to send [13:11:26]OFD Sender: No OFD packet to send [13:11:31]OFD Sender: No OFD packet to send [13:11:36]OFD Sender: No OFD packet to send [13:11:41]OFD Sender: No OFD packet to send [13:11:46]OFD Sender: No OFD packet to send [13:11:51]OFD Sender: No OFD packet to send [13:11:56]OFD Sender: No OFD packet to send [13:12:01]OFD Sender: No OFD packet to send [13:12:06]OFD Sender: No OFD packet to send [13:12:11]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:41]recv_with_timeout no data received [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]recv_with_timeout no data received [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:55]accept exits with 10 [13:25:55]New connection [13:25:55]New thread 3067411812 created [13:25:55]Thread 3067555172 joined [13:25:55]Waiting for new connection... [13:25:55] Sock 10.Parse request [13:25:55]Sock 10.Check first char [13:25:55]Sock 10.First char is OK [13:25:55]request: POST /json_proto HTTP/1.0 [13:25:55]Method: POST [13:25:55]URL: /json_proto [13:25:55]Method is POST - this is cgi request [13:25:55]url: /json_proto [13:25:55]query_string will be loaded in cgi processing [13:25:55]execute_cgi json_proto POST (null) [13:25:55]execute_cgi path=json_proto method=POST [13:25:55]POST find Content-Length [13:25:55]Host: 172.17.47.135:8080 [13:25:55]Content-Length: 640 [13:25:55]Content-Type: application/json [13:25:55] [13:25:55]POST finish read [13:25:55]Found Content-Length = 640 [13:25:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543325", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 50.000, "sum" : 3630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:55]execute_script... [13:25:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543325", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 50.000, "sum" : 3630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:55]POST & json_proto [13:25:55]process_json_proto [13:25:55]json parsed OK: [13:25:55]protocol is kg_v1.0 [13:25:55]action value=close_receipt [13:25:55]process_action close_receipt [13:25:55]cmd_close_receipt [13:25:55]MH_GetDate [13:25:55]Write to MH i2c: F0 00 00 01 08 F8 [13:25:55]Write i2c OK [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 09 00 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: F0 09 00 01 08 00 E4 38 B3 67 19 D8 DE 66 6C [13:25:55]GetLastDocTimeStamp 1739795054 [13:25:55]current date 1739798756 [13:25:55]FM_GetShiftState [13:25:55]SAM_PROTO_GetShiftState [13:25:55]wFMCommunicate request_size=4 [13:25:55]MH_SAM_APDU [13:25:55]CAPDU: 80 13 01 00 [13:25:55]Write to MH i2c: E2 08 00 02 08 80 13 01 00 00 00 00 00 87 [13:25:55]Write i2c OK [13:25:55]MH_I2C_Read... [13:25:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:55]Read from MH i2c: E2 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 0E 00 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 0E 00 02 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6D [13:25:55]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:25:55]wFMCommunicate OK [13:25:55]SAM_PROTO_GetShiftState done [13:25:55]FM_GetShiftState done [13:25:55]opened in 1739750979 [13:25:55]opened+sec_in_day 1739837379 [13:25:55]quantity*price = 363000 [13:25:55]sum+1 = 363001 [13:25:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3630.00 НСП 1% : 32.12 НДС 12% : 385.49 Наличными: 3630.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 38 17.02.2025 13:25 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32407 ФПД: 245628227060513 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T132556&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32407&fm=245628227060513&tin=02508201610067®Number=0000000000146237&sum=363000 [13:25:56]StoreToDocumentArchive [13:25:56]shift 382 fd 32407 [13:25:56]save to /storage/0382/doc_00032407 [13:25:56]save last doc name /storage/0382/doc_00032407 to /storage/kkm_last_doc_name [13:25:56]save OK [13:25:56]Clear old archive folders... [13:25:56]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:25:56]tlvbuf is 004CBD10 [13:25:56]SAM_PROTO_ClearQueue [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 09 00 00 [13:25:56]Write to MH i2c: E2 08 00 0F 08 80 09 00 00 00 00 00 00 89 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 0F 08 00 90 00 8B [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]SAM_PROTO_ClearQueue done [13:25:56]KKMCreateOFDPacket [13:25:56]OFDProtocolAddRootSTLVToBuf [13:25:56]FM_MakeSignedData [13:25:56]FM_MakeSignedData [13:25:56]SAM_PROTO_SignData [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 01 02 [13:25:56]Write to MH i2c: E2 08 00 10 08 80 0D 01 02 00 00 00 00 91 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 10 08 00 90 00 8C [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=255 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 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 E4 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 35 04 06 00 DF 65 C7 38 [13:25:56]Write to MH i2c: E2 02 01 11 08 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 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 E4 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 35 04 06 00 DF 65 C7 38 00 00 FF [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 11 08 00 90 00 8D [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=7 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 02 02 02 83 21 [13:25:56]Write to MH i2c: E2 0A 00 12 08 80 0D 02 02 02 00 83 21 00 00 3C [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 03 00 12 08 00 90 00 8E [13:25:56]RAPDU: 90 00 [13:25:56]wFMCommunicate OK [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 0D 03 02 [13:25:56]Write to MH i2c: E2 08 00 13 08 80 0D 03 02 00 00 00 00 96 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 0B 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 0B 00 13 08 00 4E 04 A3 A1 AC 8B C8 02 90 00 2E [13:25:56]RAPDU: 4E 04 A3 A1 AC 8B C8 02 90 00 [13:25:56]wFMCommunicate OK [13:25:56]SAM_PROTO_SignData done [13:25:56]FM_MakeSignedData done [13:25:56]CreateOFDProtocolMessage [13:25:56]wFMCommunicate request_size=4 [13:25:56]MH_SAM_APDU [13:25:56]CAPDU: 80 11 00 00 [13:25:56]Write to MH i2c: E2 08 00 14 08 80 11 00 00 00 00 00 00 96 [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:56]Read from MH i2c: E2 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 17 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: E2 17 00 14 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 EC [13:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:25:56]wFMCommunicate OK [13:25:56]CreateOFDProtocolMessage done [13:25:56]OFDSenderStorePacket 32407 [13:25:56]StoreOFDPacket docnum=32407 [13:25:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 90 61 04 01 AA 3F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 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 E4 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 35 04 06 00 DF 65 C7 38 83 21 4E 04 A3 A1 AC 8B C8 02 [13:25:56]CheckFolder [13:25:56]dirname=/storage/ofd_packets [13:25:56]CheckFolder done [13:25:56]ProducePacketName [13:25:56]name=ofd_packets/00032407 [13:25:56]NVStorageSaveData ofd_packets/00032407 [13:25:56]File name is /storage/ofd_packets/00032407 [13:25:56]Write 298 bytes [13:25:56]NVStorageSaveData done [13:25:56]OFDSenderStorePacket done [13:25:56]KKMCreateOFDPacket done [13:25:56]NVStorageSaveData kkm_last_timestamp [13:25:56]File name is /storage/kkm_last_timestamp [13:25:56]Write 4 bytes [13:25:56]NVStorageSaveData done [13:25:56]ExternCall_PrintAddStr [13:25:56]wPrintStart [13:25:56]Write to MH i2c: 01 00 00 15 08 1D [13:25:56]Write i2c OK [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 07 00 [13:25:56]MH_I2C_Read... [13:25:56]Read from MH i2c: 01 07 00 15 08 00 00 00 00 00 FF 0F 32 [13:25:56]RasterBufferAndPrint [13:25:56]line Счет N : (1)6543325 [13:25:56]line ИНН: 02508201610067 [13:25:56]line Контрольно-Кассовый Чек [13:25:56]line ПРОДАЖА [13:25:56]line ТРК (МРК, ГНК) : 43 [13:25:56]line Товар: 2710194210 [13:25:56]line ДТ-К-2 [13:25:56]line 50.000 * 72.60 [13:25:56]line = 3630.00 [13:25:56]line НДС 12% НСП 1% [13:25:56]line > о реализуемом товаре [13:25:56]line ИТОГО: 3630.00 [13:25:56]line НСП 1% : 32.12 [13:25:56]line НДС 12% : 385.49 [13:25:56]line Наличными: 3630.00 [13:25:56]line Безнал.: 0.00 [13:25:56]line Место: АЗС № 96 "Партнер Нефть" [13:25:56]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:25:56]line СНО: Общий режим [13:25:56]line Чек 38 17.02.2025 13:25 [13:25:56]line Смена: 382 ФФД: 1.0 [13:25:56]line ЗНМ: 0300000059 [13:25:56]line РНМ: 0000000000146237 [13:25:56]line Версия ККМ: v1.0 [13:25:56]line ФМ: 0000000000959282 [13:25:56]line ФД: 32407 [13:25:56]line ФПД: 245628227060513 [13:25:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T132556&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32407&fm=245628227060513&tin=02508201610067®Number=0000000000146237&sum=363000 [13:25:57]OFD Sender: Processing packet 32407 [packets to send 104, broken 103] [13:25:57]ProducePacketName [13:25:57]name=ofd_packets/00032407 [13:25:57]OFD Sender: To server: pG, [13:25:57]CommunicateWithHost lk.salyk.kg:30040 [13:25:57]ConnectInit lk.salyk.kg [13:25:57]written 0, free lines is 4095 [13:25:57]Write to MH i2c: 01 00 00 3D 08 45 [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 07 00 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: 01 07 00 3D 08 00 00 00 00 00 1B 0D 74 [13:25:57]RasterBufferAndPrint [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]line [13:25:57]written 0, free lines is 3361 [13:25:57]MH_Cut [13:25:57]Write to MH i2c: D1 01 00 44 08 01 1E [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 01 00 [13:25:57]MH_I2C_Read... [13:25:57]Read from MH i2c: D1 01 00 44 08 00 1D [13:25:57]Write to MH i2c: 01 00 00 45 08 4D [13:25:57]Write i2c OK [13:25:57]MH_I2C_Read... [13:25:58]*** Cut start [13:25:58]*** Partial cut [13:25:58]*** CUTSNS_PIN = 1 [13:25:58]*** CUTSNS_PIN = 0 [13:25:58]*** Brake cut motor [13:25:58]Connected sock=7 [13:25:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 90 61 04 01 AA 3F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 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 E4 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 35 04 06 00 DF 65 C7 38 83 21 4E 04 A3 A1 AC 8B C8 02 [13:25:59]Read from MH i2c: 01 [13:25:59]MH_I2C_Read... [13:25:59]*** Stop cut motor [13:25:59]*** Cut end [13:25:59]Read from MH i2c: 01 07 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: 01 07 00 45 08 00 00 00 00 00 FF 0F 62 [13:25:59]process_action close_receipt done [13:25:59]requested_data is exist [13:25:59]produce_requested_data [13:25:59]requested_item fm.sn is exist - process it [13:25:59]wFMCommunicate request_size=4 [13:25:59]MH_SAM_APDU [13:25:59]CAPDU: 80 11 00 00 [13:25:59]Write to MH i2c: E2 08 00 46 08 80 11 00 00 00 00 00 00 C8 [13:25:59]Write i2c OK [13:25:59]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 17 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 17 00 46 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1E [13:25:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:25:59]wFMCommunicate OK [13:25:59]requested_item fd.num is exist - process it [13:25:59]SAM_PROTO_GetFieldsCounters [13:25:59]wFMCommunicate request_size=4 [13:25:59]MH_SAM_APDU [13:25:59]CAPDU: 80 13 00 00 [13:25:59]Write to MH i2c: E2 08 00 47 08 80 13 00 00 00 00 00 00 CB [13:25:59]Write i2c OK [13:25:59]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 62 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 62 00 47 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 97 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [13:25:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 97 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:25:59]wFMCommunicate OK [13:25:59]SAM_PROTO_GetFieldsCounters done [13:25:59]requested_item shift.num is exist - process it [13:25:59]requested_item shift.opened is exist - process it [13:25:59]req_shift_opened [13:25:59]FM_GetShiftState [13:25:59]SAM_PROTO_GetShiftState [13:25:59]wFMCommunicate request_size=4 [13:25:59]MH_SAM_APDU [13:25:59]CAPDU: 80 13 01 00 [13:25:59]Write to MH i2c: E2 08 00 48 08 80 13 01 00 00 00 00 00 CD [13:25:59]Write i2c OK [13:25:59]MH_I2C_Read... [13:25:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:59]Read from MH i2c: E2 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 0E 00 [13:25:59]MH_I2C_Read... [13:25:59]Read from MH i2c: E2 0E 00 48 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B3 [13:25:59]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:25:59]wFMCommunicate OK [13:25:59]SAM_PROTO_GetShiftState done [13:25:59]FM_GetShiftState done [13:25:59]req_shift_opened done [13:25:59]requested_item shift.open_date is exist - process it [13:25:59]req_shift_open_date [13:25:59]req_shift_open_date done [13:25:59]produce_requested_data done [13:25:59]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32407,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [13:25:59]process_action_free close_receipt [13:25:59]json_value_free [13:25:59]json_value_free done [13:25:59]process_json_proto returns [13:25:59]Send response to host [13:25:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32407,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [13:25:59]free response buf [13:25:59]execute_script done [13:25:59]execute_script returns [13:25:59]free content buf [13:25:59]Sock 10.Close socket [13:25:59]Sock 10.Thread stoped [13:26:02]accept exits with 9 [13:26:02]New connection [13:26:02]New thread 3067555172 created [13:26:02]Thread 3067411812 joined [13:26:02]Waiting for new connection... [13:26:02] Sock 9.Parse request [13:26:02]Sock 9.Check first char [13:26:02]Sock 9.First char is OK [13:26:02]request: POST /json_proto HTTP/1.0 [13:26:02]Method: POST [13:26:02]URL: /json_proto [13:26:02]Method is POST - this is cgi request [13:26:02]url: /json_proto [13:26:02]query_string will be loaded in cgi processing [13:26:02]execute_cgi json_proto POST (null) [13:26:02]execute_cgi path=json_proto method=POST [13:26:02]POST find Content-Length [13:26:02]Host: 172.17.47.135:8080 [13:26:02]Content-Length: 696 [13:26:02]Content-Type: application/json [13:26:02] [13:26:02]POST finish read [13:26:02]Found Content-Length = 696 [13:26:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32407, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543325", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 50.000, "sum" : 3630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:26:02]execute_script... [13:26:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32407, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543325", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 50.000, "sum" : 3630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3630.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:26:02]POST & json_proto [13:26:02]process_json_proto [13:26:02]json parsed OK: [13:26:02]protocol is kg_v1.0 [13:26:02]action value=close_receipt [13:26:02]process_action close_receipt [13:26:02]cmd_close_receipt [13:26:02]MH_GetDate [13:26:02]Write to MH i2c: F0 00 00 49 08 40 [13:26:02]Write i2c OK [13:26:02]MH_I2C_Read... [13:26:02]Read from MH i2c: F0 [13:26:02]MH_I2C_Read... [13:26:02]Read from MH i2c: F0 09 00 [13:26:02]MH_I2C_Read... [13:26:02]Read from MH i2c: F0 09 00 49 08 00 EB 38 B3 67 19 D8 DE 66 BB [13:26:02]GetLastDocTimeStamp 1739798756 [13:26:02]current date 1739798763 [13:26:02]FM_GetShiftState [13:26:02]SAM_PROTO_GetShiftState [13:26:02]wFMCommunicate request_size=4 [13:26:02]MH_SAM_APDU [13:26:02]CAPDU: 80 13 01 00 [13:26:02]Write to MH i2c: E2 08 00 4A 08 80 13 01 00 00 00 00 00 CF [13:26:02]Write i2c OK [13:26:02]MH_I2C_Read... [13:26:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:02]Read from MH i2c: E2 [13:26:02]MH_I2C_Read... [13:26:02]Read from MH i2c: E2 0E 00 [13:26:02]MH_I2C_Read... [13:26:02]Read from MH i2c: E2 0E 00 4A 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B5 [13:26:02]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:26:02]wFMCommunicate OK [13:26:02]SAM_PROTO_GetShiftState done [13:26:02]FM_GetShiftState done [13:26:02]opened in 1739750979 [13:26:02]opened+sec_in_day 1739837379 [13:26:02]quantity*price = 363000 [13:26:02]sum+1 = 363001 [13:26:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3630.00 НСП 1% : 32.12 НДС 12% : 385.49 Наличными: 3630.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 39 17.02.2025 13:26 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФД осн.: 32407 ФМ осн.: 0000000000959282 ФМ: 0000000000959282 ФД: 32408 ФПД: 105989168204902 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T132603&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32408&fm=105989168204902&tin=02508201610067®Number=0000000000146237&sum=363000 [13:26:03]StoreToDocumentArchive [13:26:03]shift 382 fd 32408 [13:26:03]save to /storage/0382/doc_00032408 [13:26:03]save last doc name /storage/0382/doc_00032408 to /storage/kkm_last_doc_name [13:26:03]save OK [13:26:03]Clear old archive folders... [13:26:03]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:26:03]tlvbuf is 004FBE60 [13:26:03]SAM_PROTO_ClearQueue [13:26:03]wFMCommunicate request_size=4 [13:26:03]MH_SAM_APDU [13:26:03]CAPDU: 80 09 00 00 [13:26:03]Write to MH i2c: E2 08 00 59 08 80 09 00 00 00 00 00 00 D3 [13:26:03]Write i2c OK [13:26:03]MH_I2C_Read... [13:26:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:26:03]Read from MH i2c: E2 [13:26:03]MH_I2C_Read... [13:26:03]Read from MH i2c: E2 03 00 [13:26:03]MH_I2C_Read... [13:26:03]Read from MH i2c: E2 03 00 59 08 00 90 00 D5 [13:26:03]RAPDU: 90 00 [13:26:03]wFMCommunicate OK [13:26:03]SAM_PROTO_ClearQueue done [13:26:03]KKMCreateOFDPacket [13:26:03]OFDProtocolAddRootSTLVToBuf [13:26:03]FM_MakeSignedData [13:26:03]FM_MakeSignedData [13:26:03]SAM_PROTO_SignData [13:26:03]wFMCommunicate request_size=4 [13:26:03]MH_SAM_APDU [13:26:03]CAPDU: 80 0D 01 02 [13:26:03]Write to MH i2c: E2 08 00 5A 08 80 0D 01 02 00 00 00 00 DB [13:26:03]Write i2c OK [13:26:03]MH_I2C_Read... [13:26:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:26:03]Read from MH i2c: E2 [13:26:03]MH_I2C_Read... [13:26:03]Read from MH i2c: E2 03 00 [13:26:03]MH_I2C_Read... [13:26:03]Read from MH i2c: E2 03 00 5A 08 00 90 00 D6 [13:26:03]RAPDU: 90 00 [13:26:03]wFMCommunicate OK [13:26:03]wFMCommunicate request_size=255 [13:26:03]MH_SAM_APDU [13:26:03]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 02 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EB 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 97 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 [13:26:03]Write to MH i2c: E2 02 01 5B 08 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 02 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EB 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 97 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 00 00 00 [13:26:03]recv_with_timeout no data received [13:26:03]CommunicateWithHost answer receiving error [13:26:03]CommunicateWithHost err = -3 [13:26:03]OFD Sender: Server communicate error [13:26:03]Write i2c OK [13:26:03]MH_I2C_Read... [13:26:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:04]Read from MH i2c: E2 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 03 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 03 00 5B 08 00 90 00 D7 [13:26:04]RAPDU: 90 00 [13:26:04]wFMCommunicate OK [13:26:04]wFMCommunicate request_size=35 [13:26:04]MH_SAM_APDU [13:26:04]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 98 7E 00 00 35 04 06 00 60 65 86 B8 8C 66 [13:26:04]Write to MH i2c: E2 26 00 5C 08 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 98 7E 00 00 35 04 06 00 60 65 86 B8 8C 66 00 00 DF [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:04]Read from MH i2c: E2 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 03 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [13:26:04]RAPDU: 90 00 [13:26:04]wFMCommunicate OK [13:26:04]wFMCommunicate request_size=4 [13:26:04]MH_SAM_APDU [13:26:04]CAPDU: 80 0D 03 02 [13:26:04]Write to MH i2c: E2 08 00 5D 08 80 0D 03 02 00 00 00 00 E0 [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:26:04]Read from MH i2c: E2 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 0B 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 0B 00 5D 08 00 0F 86 32 B6 64 E5 6B 14 90 00 26 [13:26:04]RAPDU: 0F 86 32 B6 64 E5 6B 14 90 00 [13:26:04]wFMCommunicate OK [13:26:04]SAM_PROTO_SignData done [13:26:04]FM_MakeSignedData done [13:26:04]CreateOFDProtocolMessage [13:26:04]wFMCommunicate request_size=4 [13:26:04]MH_SAM_APDU [13:26:04]CAPDU: 80 11 00 00 [13:26:04]Write to MH i2c: E2 08 00 5E 08 80 11 00 00 00 00 00 00 E0 [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:04]Read from MH i2c: E2 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 17 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: E2 17 00 5E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 36 [13:26:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:26:04]wFMCommunicate OK [13:26:04]CreateOFDProtocolMessage done [13:26:04]OFDSenderStorePacket 32408 [13:26:04]StoreOFDPacket docnum=32408 [13:26:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 B2 C4 20 01 05 40 5A 03 01 00 03 00 14 01 1E 04 01 00 02 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EB 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 97 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 98 7E 00 00 35 04 06 00 60 65 86 B8 8C 66 0F 86 32 B6 64 E5 6B 14 [13:26:04]CheckFolder [13:26:04]dirname=/storage/ofd_packets [13:26:04]CheckFolder done [13:26:04]ProducePacketName [13:26:04]name=ofd_packets/00032408 [13:26:04]NVStorageSaveData ofd_packets/00032408 [13:26:04]File name is /storage/ofd_packets/00032408 [13:26:04]Write 326 bytes [13:26:04]NVStorageSaveData done [13:26:04]OFDSenderStorePacket done [13:26:04]KKMCreateOFDPacket done [13:26:04]NVStorageSaveData kkm_last_timestamp [13:26:04]File name is /storage/kkm_last_timestamp [13:26:04]Write 4 bytes [13:26:04]NVStorageSaveData done [13:26:04]ExternCall_PrintAddStr [13:26:04]wPrintStart [13:26:04]Write to MH i2c: 01 00 00 5F 08 67 [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 07 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 07 00 5F 08 00 00 00 00 00 FF 0F 7C [13:26:04]RasterBufferAndPrint [13:26:04]line Счет N : (1)6543325 [13:26:04]line ИНН: 02508201610067 [13:26:04]line Контрольно-Кассовый Чек [13:26:04]line ВОЗВРАТ ПРОДАЖИ [13:26:04]line ТРК (МРК, ГНК) : 43 [13:26:04]line Товар: 2710194210 [13:26:04]line ДТ-К-2 [13:26:04]line 50.000 * 72.60 [13:26:04]line = 3630.00 [13:26:04]line НДС 12% НСП 1% [13:26:04]line > о реализуемом товаре [13:26:04]line ИТОГО: 3630.00 [13:26:04]line НСП 1% : 32.12 [13:26:04]line НДС 12% : 385.49 [13:26:04]line Наличными: 3630.00 [13:26:04]line Безнал.: 0.00 [13:26:04]line Место: АЗС № 96 "Партнер Нефть" [13:26:04]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:26:04]line СНО: Общий режим [13:26:04]line Чек 39 17.02.2025 13:26 [13:26:04]line Смена: 382 ФФД: 1.0 [13:26:04]line ЗНМ: 0300000059 [13:26:04]line РНМ: 0000000000146237 [13:26:04]line Версия ККМ: v1.0 [13:26:04]line ФД осн.: 32407 [13:26:04]line ФМ осн.: 0000000000959282 [13:26:04]line ФМ: 0000000000959282 [13:26:04]line ФД: 32408 [13:26:04]line ФПД: 105989168204902 [13:26:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T132603&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32408&fm=105989168204902&tin=02508201610067®Number=0000000000146237&sum=363000 [13:26:04]written 0, free lines is 4095 [13:26:04]OFD Sender: Processing packet 32407 [packets to send 105, broken 103] [13:26:04]ProducePacketName [13:26:04]name=ofd_packets/00032407 [13:26:04]OFD Sender: To server: pG, [13:26:04]CommunicateWithHost lk.salyk.kg:30040 [13:26:04]ConnectInit lk.salyk.kg [13:26:04]Write to MH i2c: 01 00 00 89 08 91 [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 07 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: 01 07 00 89 08 00 00 00 00 00 05 0D AA [13:26:04]RasterBufferAndPrint [13:26:04]line [13:26:04]line [13:26:04]line [13:26:04]line [13:26:04]line [13:26:04]written 0, free lines is 3345 [13:26:04]MH_Cut [13:26:04]Write to MH i2c: D1 01 00 90 08 01 6A [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: D1 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: D1 01 00 [13:26:04]MH_I2C_Read... [13:26:04]Read from MH i2c: D1 01 00 90 08 00 69 [13:26:04]Write to MH i2c: 01 00 00 91 08 99 [13:26:04]Write i2c OK [13:26:04]MH_I2C_Read... [13:26:05]*** Cut start [13:26:05]*** Partial cut [13:26:05]*** CUTSNS_PIN = 1 [13:26:05]*** CUTSNS_PIN = 0 [13:26:05]Connected sock=7 [13:26:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 90 61 04 01 AA 3F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 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 E4 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 35 04 06 00 DF 65 C7 38 83 21 4E 04 A3 A1 AC 8B C8 02 [13:26:05]*** Brake cut motor [13:26:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 22 40 47 00 77 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 97 7E 00 00 F4 03 04 00 90 E2 B2 67 B6 04 01 00 00 00 57 4C 0D 99 CE 34 34 [13:26:05]CommunicateWithHost err = 0 [13:26:05]CheckOFDResponse [13:26:05]1017 (14) - 77093643461234 [13:26:05]1041 (16) - 0000000000959282 [13:26:05]1040 (4) - 32407 [13:26:05]1012 (4) - 17.02.2025 07:17 [13:26:05]1206 (1) - 0 [13:26:05]OFD Sender: Remove packet 32407 [13:26:05]ProducePacketName [13:26:05]name=ofd_packets/00032407 [13:26:05]NVStorageDeleteData [13:26:06]Read from MH i2c: 01 [13:26:06]MH_I2C_Read... [13:26:06]*** Stop cut motor [13:26:06]*** Cut end [13:26:06]Read from MH i2c: 01 07 00 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: 01 07 00 91 08 00 00 00 00 00 FF 0F AE [13:26:06]process_action close_receipt done [13:26:06]requested_data is exist [13:26:06]produce_requested_data [13:26:06]requested_item fm.sn is exist - process it [13:26:06]wFMCommunicate request_size=4 [13:26:06]MH_SAM_APDU [13:26:06]CAPDU: 80 11 00 00 [13:26:06]Write to MH i2c: E2 08 00 92 08 80 11 00 00 00 00 00 00 14 [13:26:06]Write i2c OK [13:26:06]MH_I2C_Read... [13:26:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:06]Read from MH i2c: E2 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 17 00 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 17 00 92 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 6A [13:26:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:26:06]wFMCommunicate OK [13:26:06]requested_item fd.num is exist - process it [13:26:06]SAM_PROTO_GetFieldsCounters [13:26:06]wFMCommunicate request_size=4 [13:26:06]MH_SAM_APDU [13:26:06]CAPDU: 80 13 00 00 [13:26:06]Write to MH i2c: E2 08 00 93 08 80 13 00 00 00 00 00 00 17 [13:26:06]Write i2c OK [13:26:06]MH_I2C_Read... [13:26:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:26:06]Read from MH i2c: E2 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 62 00 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 62 00 93 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 98 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [13:26:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 98 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:26:06]wFMCommunicate OK [13:26:06]SAM_PROTO_GetFieldsCounters done [13:26:06]requested_item shift.num is exist - process it [13:26:06]requested_item shift.opened is exist - process it [13:26:06]req_shift_opened [13:26:06]FM_GetShiftState [13:26:06]SAM_PROTO_GetShiftState [13:26:06]wFMCommunicate request_size=4 [13:26:06]MH_SAM_APDU [13:26:06]CAPDU: 80 13 01 00 [13:26:06]Write to MH i2c: E2 08 00 94 08 80 13 01 00 00 00 00 00 19 [13:26:06]Write i2c OK [13:26:06]MH_I2C_Read... [13:26:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:06]Read from MH i2c: E2 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 0E 00 [13:26:06]MH_I2C_Read... [13:26:06]Read from MH i2c: E2 0E 00 94 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FF [13:26:06]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:26:06]wFMCommunicate OK [13:26:06]SAM_PROTO_GetShiftState done [13:26:06]FM_GetShiftState done [13:26:06]req_shift_opened done [13:26:06]requested_item shift.open_date is exist - process it [13:26:06]req_shift_open_date [13:26:06]req_shift_open_date done [13:26:06]produce_requested_data done [13:26:06]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32408,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [13:26:06]process_action_free close_receipt [13:26:06]json_value_free [13:26:06]json_value_free done [13:26:06]process_json_proto returns [13:26:06]Send response to host [13:26:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32408,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [13:26:06]free response buf [13:26:06]execute_script done [13:26:06]execute_script returns [13:26:06]free content buf [13:26:06]Sock 9.Close socket [13:26:06]Sock 9.Thread stoped [13:26:06]OFD Sender: Processing packet 32408 [packets to send 104, broken 103] [13:26:06]ProducePacketName [13:26:06]name=ofd_packets/00032408 [13:26:06]OFD Sender: To server: pG, [13:26:06]CommunicateWithHost lk.salyk.kg:30040 [13:26:06]ConnectInit lk.salyk.kg [13:26:06]Connected sock=7 [13:26:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 B2 C4 20 01 05 40 5A 03 01 00 03 00 14 01 1E 04 01 00 02 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 F8 89 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 89 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8C 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 96 00 00 00 00 07 04 06 00 F8 89 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 EB 38 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 27 04 04 00 97 7E 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 98 7E 00 00 35 04 06 00 60 65 86 B8 8C 66 0F 86 32 B6 64 E5 6B 14 [13:26:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 6D 82 47 00 07 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 98 7E 00 00 F4 03 04 00 91 E2 B2 67 B6 04 01 00 00 54 EA EC 4B A5 37 EA 08 [13:26:07]CommunicateWithHost err = 0 [13:26:07]CheckOFDResponse [13:26:07]1017 (14) - 77093643461234 [13:26:07]1041 (16) - 0000000000959282 [13:26:07]1040 (4) - 32408 [13:26:07]1012 (4) - 17.02.2025 07:17 [13:26:07]1206 (1) - 0 [13:26:07]OFD Sender: Remove packet 32408 [13:26:07]ProducePacketName [13:26:07]name=ofd_packets/00032408 [13:26:07]NVStorageDeleteData [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:03]accept exits with 11 [13:30:03]New connection [13:30:03]New thread 3067411812 created [13:30:03]Thread 3067555172 joined [13:30:03]Waiting for new connection... [13:30:03] Sock 11.Parse request [13:30:03]Sock 11.Check first char [13:30:03]Sock 11.First char is OK [13:30:03]request: POST /json_proto HTTP/1.0 [13:30:03]Method: POST [13:30:03]URL: /json_proto [13:30:03]Method is POST - this is cgi request [13:30:03]url: /json_proto [13:30:03]query_string will be loaded in cgi processing [13:30:03]execute_cgi json_proto POST (null) [13:30:03]execute_cgi path=json_proto method=POST [13:30:03]POST find Content-Length [13:30:03]Host: 172.17.47.135:8080 [13:30:03]Content-Length: 620 [13:30:03]Content-Type: application/json [13:30:03] [13:30:03]POST finish read [13:30:03]Found Content-Length = 620 [13:30:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130655", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:03]execute_script... [13:30: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)130655", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:30:03]POST & json_proto [13:30:03]process_json_proto [13:30:03]json parsed OK: [13:30:03]protocol is kg_v1.0 [13:30:03]action value=close_receipt [13:30:03]process_action close_receipt [13:30:03]cmd_close_receipt [13:30:03]MH_GetDate [13:30:03]Write to MH i2c: F0 00 00 95 08 8C [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: F0 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: F0 09 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: F0 09 00 95 08 00 DD 39 B3 67 19 D8 DE 66 FA [13:30:03]GetLastDocTimeStamp 1739798763 [13:30:03]current date 1739799005 [13:30:03]FM_GetShiftState [13:30:03]SAM_PROTO_GetShiftState [13:30:03]wFMCommunicate request_size=4 [13:30:03]MH_SAM_APDU [13:30:03]CAPDU: 80 13 01 00 [13:30:03]Write to MH i2c: E2 08 00 96 08 80 13 01 00 00 00 00 00 1B [13:30:03]Write i2c OK [13:30:03]MH_I2C_Read... [13:30:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:03]Read from MH i2c: E2 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 0E 00 [13:30:03]MH_I2C_Read... [13:30:03]Read from MH i2c: E2 0E 00 96 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 01 [13:30:03]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:30:03]wFMCommunicate OK [13:30:03]SAM_PROTO_GetShiftState done [13:30:03]FM_GetShiftState done [13:30:03]opened in 1739750979 [13:30:03]opened+sec_in_day 1739837379 [13:30:03]quantity*price = 16900 [13:30:03]sum+1 = 16901 [13:30:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 169.00 НСП 1% : 1.50 НДС 12% : 17.95 Наличными: 169.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 40 17.02.2025 13:30 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32409 ФПД: 229780736876778 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T133005&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32409&fm=229780736876778&tin=02508201610067®Number=0000000000146237&sum=16900 0 [13:30:05]StoreToDocumentArchive [13:30:05]shift 382 fd 32409 [13:30:05]save to /storage/0382/doc_00032409 [13:30:05]save last doc name /storage/0382/doc_00032409 to /storage/kkm_last_doc_name [13:30:05]save OK [13:30:05]Clear old archive folders... [13:30:05]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:30:05]tlvbuf is 004C10F0 [13:30:05]SAM_PROTO_ClearQueue [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 09 00 00 [13:30:05]Write to MH i2c: E2 08 00 A3 08 80 09 00 00 00 00 00 00 1D [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:30:05]Read from MH i2c: E2 03 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 A3 08 00 90 00 1F [13:30:05]RAPDU: 90 00 [13:30:05]wFMCommunicate OK [13:30:05]SAM_PROTO_ClearQueue done [13:30:05]KKMCreateOFDPacket [13:30:05]OFDProtocolAddRootSTLVToBuf [13:30:05]FM_MakeSignedData [13:30:05]FM_MakeSignedData [13:30:05]SAM_PROTO_SignData [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 0D 01 02 [13:30:05]Write to MH i2c: E2 08 00 A4 08 80 0D 01 02 00 00 00 00 25 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:30:05]Read from MH i2c: E2 03 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 A4 08 00 90 00 20 [13:30:05]RAPDU: 90 00 [13:30:05]wFMCommunicate OK [13:30:05]wFMCommunicate request_size=255 [13:30:05]MH_SAM_APDU [13:30:05]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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 DD 39 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 [13:30:05]Write to MH i2c: E2 02 01 A5 08 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 DD 39 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 00 00 2E [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 A5 08 00 90 00 21 [13:30:05]RAPDU: 90 00 [13:30:05]wFMCommunicate OK [13:30:05]wFMCommunicate request_size=31 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 32 38 32 10 04 04 00 99 7E 00 00 35 04 06 00 D0 FB FF 32 A0 EA [13:30:05]Write to MH i2c: E2 22 00 A6 08 80 0D 02 02 1A 00 30 30 39 35 39 32 38 32 10 04 04 00 99 7E 00 00 35 04 06 00 D0 FB FF 32 A0 EA 00 00 F3 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 03 00 A6 08 00 90 00 22 [13:30:05]RAPDU: 90 00 [13:30:05]wFMCommunicate OK [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 0D 03 02 [13:30:05]Write to MH i2c: E2 08 00 A7 08 80 0D 03 02 00 00 00 00 2A [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 0B 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 0B 00 A7 08 00 21 36 5B FA 46 A8 2F 0A 90 00 FE [13:30:05]RAPDU: 21 36 5B FA 46 A8 2F 0A 90 00 [13:30:05]wFMCommunicate OK [13:30:05]SAM_PROTO_SignData done [13:30:05]FM_MakeSignedData done [13:30:05]CreateOFDProtocolMessage [13:30:05]wFMCommunicate request_size=4 [13:30:05]MH_SAM_APDU [13:30:05]CAPDU: 80 11 00 00 [13:30:05]Write to MH i2c: E2 08 00 A8 08 80 11 00 00 00 00 00 00 2A [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:05]Read from MH i2c: E2 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 17 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: E2 17 00 A8 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 80 [13:30:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:30:05]wFMCommunicate OK [13:30:05]CreateOFDProtocolMessage done [13:30:05]OFDSenderStorePacket 32409 [13:30:05]StoreOFDPacket docnum=32409 [13:30:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 EA 0A 1C 01 7E 22 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 DD 39 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 99 7E 00 00 35 04 06 00 D0 FB FF 32 A0 EA 21 36 5B FA 46 A8 2F 0A [13:30:05]CheckFolder [13:30:05]dirname=/storage/ofd_packets [13:30:05]CheckFolder done [13:30:05]ProducePacketName [13:30:05]name=ofd_packets/00032409 [13:30:05]NVStorageSaveData ofd_packets/00032409 [13:30:05]File name is /storage/ofd_packets/00032409 [13:30:05]Write 322 bytes [13:30:05]NVStorageSaveData done [13:30:05]OFDSenderStorePacket done [13:30:05]KKMCreateOFDPacket done [13:30:05]NVStorageSaveData kkm_last_timestamp [13:30:05]File name is /storage/kkm_last_timestamp [13:30:05]Write 4 bytes [13:30:05]NVStorageSaveData done [13:30:05]ExternCall_PrintAddStr [13:30:05]wPrintStart [13:30:05]Write to MH i2c: 01 00 00 A9 08 B1 [13:30:05]Write i2c OK [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: 01 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: 01 07 00 [13:30:05]MH_I2C_Read... [13:30:05]Read from MH i2c: 01 07 00 A9 08 00 00 00 00 00 FF 0F C6 [13:30:05]RasterBufferAndPrint [13:30:05]line Счет N : (3)130655 [13:30:05]line ИНН: 02508201610067 [13:30:05]line Контрольно-Кассовый Чек [13:30:05]line ПРОДАЖА [13:30:05]line Товар: 4640030091607 [13:30:05]line Сигареты ESSE Exchange [13:30:05]line 1.000 * 169.00 [13:30:05]line = 169.00 [13:30:05]line НДС 12% НСП 1% [13:30:05]line > о реализуемом товаре [13:30:05]line ИТОГО: 169.00 [13:30:05]line НСП 1% : 1.50 [13:30:05]line НДС 12% : 17.95 [13:30:05]line Наличными: 169.00 [13:30:05]line Безнал.: 0.00 [13:30:05]line Место: АЗС № 96 "Партнер Нефть" [13:30:05]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:30:05]line СНО: Общий режим [13:30:05]line Чек 40 17.02.2025 13:30 [13:30:05]line Смена: 382 ФФД: 1.0 [13:30:05]line ЗНМ: 0300000059 [13:30:05]line РНМ: 0000000000146237 [13:30:05]line Версия ККМ: v1.0 [13:30:05]line ФМ: 0000000000959282 [13:30:05]line ФД: 32409 [13:30:05]line ФПД: 229780736876778 [13:30:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T133005&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32409&fm=229780736876778&tin=02508201610067®Number=0000000000146237&sum=16900 [13:30:05]line 0 [13:30:05]OFD Sender: Processing packet 32409 [packets to send 104, broken 103] [13:30:05]ProducePacketName [13:30:05]name=ofd_packets/00032409 [13:30:05]OFD Sender: To server: pG, [13:30:05]CommunicateWithHost lk.salyk.kg:30040 [13:30:05]ConnectInit lk.salyk.kg [13:30:05]written 0, free lines is 4095 [13:30:06]Write to MH i2c: 01 00 00 D1 08 D9 [13:30:06]Write i2c OK [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: 01 [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: 01 07 00 [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: 01 07 00 D1 08 00 00 00 00 00 15 0D 02 [13:30:06]RasterBufferAndPrint [13:30:06]line [13:30:06]line [13:30:06]line [13:30:06]line [13:30:06]line [13:30:06]written 0, free lines is 3357 [13:30:06]MH_Cut [13:30:06]Write to MH i2c: D1 01 00 D8 08 01 B2 [13:30:06]Write i2c OK [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: D1 [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: D1 01 00 [13:30:06]MH_I2C_Read... [13:30:06]Read from MH i2c: D1 01 00 D8 08 00 B1 [13:30:06]Write to MH i2c: 01 00 00 D9 08 E1 [13:30:06]Write i2c OK [13:30:06]MH_I2C_Read... [13:30:07]*** Cut start [13:30:07]*** Partial cut [13:30:07]*** CUTSNS_PIN = 1 [13:30:07]*** CUTSNS_PIN = 0 [13:30:07]*** Brake cut motor [13:30:07]Read from MH i2c: 01 [13:30:07]MH_I2C_Read... [13:30:07]*** Stop cut motor [13:30:07]*** Cut end [13:30:07]Read from MH i2c: 01 07 00 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: 01 07 00 D9 08 00 00 00 00 00 FF 0F F6 [13:30:07]process_action close_receipt done [13:30:07]requested_data is exist [13:30:07]produce_requested_data [13:30:07]requested_item fm.sn is exist - process it [13:30:07]wFMCommunicate request_size=4 [13:30:07]MH_SAM_APDU [13:30:07]CAPDU: 80 11 00 00 [13:30:07]Write to MH i2c: E2 08 00 DA 08 80 11 00 00 00 00 00 00 5C [13:30:07]Write i2c OK [13:30:07]MH_I2C_Read... [13:30:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:30:07]Read from MH i2c: E2 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 17 00 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 17 00 DA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B2 [13:30:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:30:07]wFMCommunicate OK [13:30:07]requested_item fd.num is exist - process it [13:30:07]SAM_PROTO_GetFieldsCounters [13:30:07]wFMCommunicate request_size=4 [13:30:07]MH_SAM_APDU [13:30:07]CAPDU: 80 13 00 00 [13:30:07]Write to MH i2c: E2 08 00 DB 08 80 13 00 00 00 00 00 00 5F [13:30:07]Write i2c OK [13:30:07]MH_I2C_Read... [13:30:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:30:07]Read from MH i2c: E2 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 62 00 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 62 00 DB 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 99 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [13:30:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 99 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:30:07]wFMCommunicate OK [13:30:07]SAM_PROTO_GetFieldsCounters done [13:30:07]requested_item shift.num is exist - process it [13:30:07]requested_item shift.opened is exist - process it [13:30:07]req_shift_opened [13:30:07]FM_GetShiftState [13:30:07]SAM_PROTO_GetShiftState [13:30:07]wFMCommunicate request_size=4 [13:30:07]MH_SAM_APDU [13:30:07]CAPDU: 80 13 01 00 [13:30:07]Write to MH i2c: E2 08 00 DC 08 80 13 01 00 00 00 00 00 61 [13:30:07]Write i2c OK [13:30:07]MH_I2C_Read... [13:30:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:30:07]Read from MH i2c: E2 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 0E 00 [13:30:07]MH_I2C_Read... [13:30:07]Read from MH i2c: E2 0E 00 DC 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 47 [13:30:07]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:30:07]wFMCommunicate OK [13:30:07]SAM_PROTO_GetShiftState done [13:30:07]FM_GetShiftState done [13:30:07]req_shift_opened done [13:30:07]requested_item shift.open_date is exist - process it [13:30:07]req_shift_open_date [13:30:07]req_shift_open_date done [13:30:07]produce_requested_data done [13:30:07]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32409,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [13:30:07]process_action_free close_receipt [13:30:07]json_value_free [13:30:07]json_value_free done [13:30:07]process_json_proto returns [13:30:07]Send response to host [13:30:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32409,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [13:30:07]free response buf [13:30:07]execute_script done [13:30:07]execute_script returns [13:30:07]free content buf [13:30:07]Sock 11.Close socket [13:30:07]Sock 11.Thread stoped [13:30:10]ConnectInit Can't take IP for lk.salyk.kg [13:30:10]CommunicateWithHost connect error [13:30:10]CommunicateWithHost err = -1 [13:30:10]OFD Sender: Server communicate error [13:30:12]recv_with_timeout no data received [13:30:15]OFD Sender: Processing packet 32409 [packets to send 104, broken 103] [13:30:15]ProducePacketName [13:30:15]name=ofd_packets/00032409 [13:30:15]OFD Sender: To server: pG, [13:30:15]CommunicateWithHost lk.salyk.kg:30040 [13:30:15]ConnectInit lk.salyk.kg [13:30:20]ConnectInit Can't take IP for lk.salyk.kg [13:30:20]CommunicateWithHost connect error [13:30:20]CommunicateWithHost err = -1 [13:30:20]OFD Sender: Server communicate error [13:30:25]OFD Sender: Processing packet 32409 [packets to send 104, broken 103] [13:30:25]ProducePacketName [13:30:25]name=ofd_packets/00032409 [13:30:25]OFD Sender: To server: pG, [13:30:25]CommunicateWithHost lk.salyk.kg:30040 [13:30:25]ConnectInit lk.salyk.kg [13:30:30]ConnectInit Can't take IP for lk.salyk.kg [13:30:30]CommunicateWithHost connect error [13:30:30]CommunicateWithHost err = -1 [13:30:30]OFD Sender: Server communicate error [13:30:31]recv_with_timeout no data received [13:30:36]OFD Sender: Processing packet 32409 [packets to send 104, broken 103] [13:30:36]ProducePacketName [13:30:36]name=ofd_packets/00032409 [13:30:36]OFD Sender: To server: pG, [13:30:36]CommunicateWithHost lk.salyk.kg:30040 [13:30:36]ConnectInit lk.salyk.kg [13:32:49]accept exits with 9 [13:32:49]New connection [13:32:49]New thread 3067555172 created [13:32:49]Thread 3067411812 joined [13:32:49]Waiting for new connection... [13:32:49] Sock 9.Parse request [13:32:49]Sock 9.Check first char [13:32:49]Sock 9.First char is OK [13:32:49]request: POST /json_proto HTTP/1.0 [13:32:49]Method: POST [13:32:49]URL: /json_proto [13:32:49]Method is POST - this is cgi request [13:32:49]url: /json_proto [13:32:49]query_string will be loaded in cgi processing [13:32:49]execute_cgi json_proto POST (null) [13:32:49]execute_cgi path=json_proto method=POST [13:32:49]POST find Content-Length [13:32:49]Host: 172.17.47.135:8080 [13:32:49]Content-Length: 621 [13:32:49]Content-Type: application/json [13:32:49] [13:32:49]POST finish read [13:32:49]Found Content-Length = 621 [13:32:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130656", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:32:49]execute_script... [13:32:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130656", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 141.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:32:49]POST & json_proto [13:32:49]process_json_proto [13:32:49]json parsed OK: [13:32:49]protocol is kg_v1.0 [13:32:49]action value=close_receipt [13:32:49]process_action close_receipt [13:32:49]cmd_close_receipt [13:32:49]MH_GetDate [13:32:49]Write to MH i2c: F0 00 00 DD 08 D4 [13:32:49]Write i2c OK [13:32:49]MH_I2C_Read... [13:32:49]Read from MH i2c: F0 [13:32:49]MH_I2C_Read... [13:32:49]Read from MH i2c: F0 09 00 [13:32:49]MH_I2C_Read... [13:32:49]Read from MH i2c: F0 09 00 DD 08 00 83 3A B3 67 19 D8 DE 66 E9 [13:32:49]GetLastDocTimeStamp 1739799005 [13:32:49]current date 1739799171 [13:32:49]FM_GetShiftState [13:32:49]SAM_PROTO_GetShiftState [13:32:49]wFMCommunicate request_size=4 [13:32:49]MH_SAM_APDU [13:32:49]CAPDU: 80 13 01 00 [13:32:49]Write to MH i2c: E2 08 00 DE 08 80 13 01 00 00 00 00 00 63 [13:32:49]Write i2c OK [13:32:49]MH_I2C_Read... [13:32:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:32:49]Read from MH i2c: E2 [13:32:49]MH_I2C_Read... [13:32:49]Read from MH i2c: E2 0E 00 [13:32:49]MH_I2C_Read... [13:32:49]Read from MH i2c: E2 0E 00 DE 08 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 49 [13:32:49]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:32:49]wFMCommunicate OK [13:32:49]SAM_PROTO_GetShiftState done [13:32:49]FM_GetShiftState done [13:32:49]opened in 1739750979 [13:32:49]opened+sec_in_day 1739837379 [13:32:49]quantity*price = 14100 [13:32:49]sum+1 = 14101 [13:32:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 141.00 НСП 1% : 1.25 НДС 12% : 14.97 Наличными: 141.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 41 17.02.2025 13:32 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32410 ФПД: 100647706480430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T133251&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32410&fm=100647706480430&tin=02508201610067®Number=0000000000146237&sum=14100 0 [13:32:50]StoreToDocumentArchive [13:32:50]shift 382 fd 32410 [13:32:50]save to /storage/0382/doc_00032410 [13:32:50]save last doc name /storage/0382/doc_00032410 to /storage/kkm_last_doc_name [13:32:50]save OK [13:32:50]Clear old archive folders... [13:32:50]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:32:50]tlvbuf is 004AA050 [13:32:50]SAM_PROTO_ClearQueue [13:32:50]wFMCommunicate request_size=4 [13:32:50]MH_SAM_APDU [13:32:50]CAPDU: 80 09 00 00 [13:32:50]Write to MH i2c: E2 08 00 EB 08 80 09 00 00 00 00 00 00 65 [13:32:50]Write i2c OK [13:32:50]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:32:51]Read from MH i2c: E2 03 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 EB 08 00 90 00 67 [13:32:51]RAPDU: 90 00 [13:32:51]wFMCommunicate OK [13:32:51]SAM_PROTO_ClearQueue done [13:32:51]KKMCreateOFDPacket [13:32:51]OFDProtocolAddRootSTLVToBuf [13:32:51]FM_MakeSignedData [13:32:51]FM_MakeSignedData [13:32:51]SAM_PROTO_SignData [13:32:51]wFMCommunicate request_size=4 [13:32:51]MH_SAM_APDU [13:32:51]CAPDU: 80 0D 01 02 [13:32:51]Write to MH i2c: E2 08 00 EC 08 80 0D 01 02 00 00 00 00 6D [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 EC 08 00 90 00 68 [13:32:51]RAPDU: 90 00 [13:32:51]wFMCommunicate OK [13:32:51]wFMCommunicate request_size=255 [13:32:51]MH_SAM_APDU [13:32:51]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 83 3A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 [13:32:51]Write to MH i2c: E2 02 01 ED 08 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 83 3A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 00 00 A7 [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]ConnectInit Can't connect to host [13:32:51]CommunicateWithHost connect error [13:32:51]CommunicateWithHost err = -1 [13:32:51]OFD Sender: Server communicate error [13:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 ED 08 00 90 00 69 [13:32:51]RAPDU: 90 00 [13:32:51]wFMCommunicate OK [13:32:51]wFMCommunicate request_size=32 [13:32:51]MH_SAM_APDU [13:32:51]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 32 38 32 10 04 04 00 9A 7E 00 00 35 04 06 00 5B 89 DE CA CF 2E [13:32:51]Write to MH i2c: E2 23 00 EE 08 80 0D 02 02 1B 00 30 30 30 39 35 39 32 38 32 10 04 04 00 9A 7E 00 00 35 04 06 00 5B 89 DE CA CF 2E 00 00 71 [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 03 00 EE 08 00 90 00 6A [13:32:51]RAPDU: 90 00 [13:32:51]wFMCommunicate OK [13:32:51]wFMCommunicate request_size=4 [13:32:51]MH_SAM_APDU [13:32:51]CAPDU: 80 0D 03 02 [13:32:51]Write to MH i2c: E2 08 00 EF 08 80 0D 03 02 00 00 00 00 72 [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 0B 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 0B 00 EF 08 00 9B BB 0D FA 44 E9 71 FE 90 00 6C [13:32:51]RAPDU: 9B BB 0D FA 44 E9 71 FE 90 00 [13:32:51]wFMCommunicate OK [13:32:51]SAM_PROTO_SignData done [13:32:51]FM_MakeSignedData done [13:32:51]CreateOFDProtocolMessage [13:32:51]wFMCommunicate request_size=4 [13:32:51]MH_SAM_APDU [13:32:51]CAPDU: 80 11 00 00 [13:32:51]Write to MH i2c: E2 08 00 F0 08 80 11 00 00 00 00 00 00 72 [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:32:51]Read from MH i2c: E2 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 17 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: E2 17 00 F0 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C8 [13:32:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:32:51]wFMCommunicate OK [13:32:51]CreateOFDProtocolMessage done [13:32:51]OFDSenderStorePacket 32410 [13:32:51]StoreOFDPacket docnum=32410 [13:32:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 1E 93 1D 01 D9 0A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 83 3A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9A 7E 00 00 35 04 06 00 5B 89 DE CA CF 2E 9B BB 0D FA 44 E9 71 FE [13:32:51]CheckFolder [13:32:51]dirname=/storage/ofd_packets [13:32:51]CheckFolder done [13:32:51]ProducePacketName [13:32:51]name=ofd_packets/00032410 [13:32:51]NVStorageSaveData ofd_packets/00032410 [13:32:51]File name is /storage/ofd_packets/00032410 [13:32:51]Write 323 bytes [13:32:51]NVStorageSaveData done [13:32:51]OFDSenderStorePacket done [13:32:51]KKMCreateOFDPacket done [13:32:51]NVStorageSaveData kkm_last_timestamp [13:32:51]File name is /storage/kkm_last_timestamp [13:32:51]Write 4 bytes [13:32:51]NVStorageSaveData done [13:32:51]ExternCall_PrintAddStr [13:32:51]wPrintStart [13:32:51]Write to MH i2c: 01 00 00 F1 08 F9 [13:32:51]Write i2c OK [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: 01 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: 01 07 00 [13:32:51]MH_I2C_Read... [13:32:51]Read from MH i2c: 01 07 00 F1 08 00 00 00 00 00 FF 0F 0E [13:32:51]RasterBufferAndPrint [13:32:51]line Счет N : (3)130656 [13:32:51]line ИНН: 02508201610067 [13:32:51]line Контрольно-Кассовый Чек [13:32:51]line ПРОДАЖА [13:32:51]line Товар: 4780014240406 [13:32:51]line Сигареты Sovereign Blue [13:32:51]line 1.000 * 141.00 [13:32:51]line = 141.00 [13:32:51]line НДС 12% НСП 1% [13:32:51]line > о реализуемом товаре [13:32:51]line ИТОГО: 141.00 [13:32:51]line НСП 1% : 1.25 [13:32:51]line НДС 12% : 14.97 [13:32:51]line Наличными: 141.00 [13:32:51]line Безнал.: 0.00 [13:32:51]line Место: АЗС № 96 "Партнер Нефть" [13:32:51]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:32:51]line СНО: Общий режим [13:32:51]line Чек 41 17.02.2025 13:32 [13:32:51]line Смена: 382 ФФД: 1.0 [13:32:51]line ЗНМ: 0300000059 [13:32:51]line РНМ: 0000000000146237 [13:32:51]line Версия ККМ: v1.0 [13:32:51]line ФМ: 0000000000959282 [13:32:51]line ФД: 32410 [13:32:51]line ФПД: 100647706480430 [13:32:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T133251&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32410&fm=100647706480430&tin=02508201610067®Number=0000000000146237&sum=14100 [13:32:51]line 0 [13:32:51]OFD Sender: Processing packet 32409 [packets to send 105, broken 103] [13:32:51]ProducePacketName [13:32:51]name=ofd_packets/00032409 [13:32:51]OFD Sender: To server: pG, [13:32:51]CommunicateWithHost lk.salyk.kg:30040 [13:32:51]ConnectInit lk.salyk.kg [13:32:51]written 0, free lines is 4095 [13:32:52]Write to MH i2c: 01 00 00 19 09 22 [13:32:52]Write i2c OK [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: 01 [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: 01 07 00 [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: 01 07 00 19 09 00 00 00 00 00 10 0D 46 [13:32:52]RasterBufferAndPrint [13:32:52]line [13:32:52]line [13:32:52]line [13:32:52]line [13:32:52]line [13:32:52]written 0, free lines is 3350 [13:32:52]MH_Cut [13:32:52]Write to MH i2c: D1 01 00 20 09 01 FB [13:32:52]Write i2c OK [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: D1 [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: D1 01 00 [13:32:52]MH_I2C_Read... [13:32:52]Read from MH i2c: D1 01 00 20 09 00 FA [13:32:52]Write to MH i2c: 01 00 00 21 09 2A [13:32:52]Write i2c OK [13:32:52]MH_I2C_Read... [13:32:52]Connected sock=7 [13:32:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 EA 0A 1C 01 7E 22 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 DD 39 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 99 7E 00 00 35 04 06 00 D0 FB FF 32 A0 EA 21 36 5B FA 46 A8 2F 0A [13:32:52]*** Cut start [13:32:52]*** Partial cut [13:32:52]*** CUTSNS_PIN = 1 [13:32:52]*** CUTSNS_PIN = 0 [13:32:53]*** Brake cut motor [13:32:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8B 7A 47 00 70 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 99 7E 00 00 F4 03 04 00 27 E4 B2 67 B6 04 01 00 00 C4 1E A5 4F BF B1 32 DD [13:32:53]CommunicateWithHost err = 0 [13:32:53]CheckOFDResponse [13:32:53]1017 (14) - 77093643461234 [13:32:53]1041 (16) - 0000000000959282 [13:32:53]1040 (4) - 32409 [13:32:53]1012 (4) - 17.02.2025 07:24 [13:32:53]1206 (1) - 0 [13:32:53]OFD Sender: Remove packet 32409 [13:32:53]ProducePacketName [13:32:53]name=ofd_packets/00032409 [13:32:53]NVStorageDeleteData [13:32:53]Read from MH i2c: 01 [13:32:53]MH_I2C_Read... [13:32:53]*** Stop cut motor [13:32:53]*** Cut end [13:32:53]Read from MH i2c: 01 07 00 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: 01 07 00 21 09 00 00 00 00 00 FF 0F 3F [13:32:53]process_action close_receipt done [13:32:53]requested_data is exist [13:32:53]produce_requested_data [13:32:53]requested_item fm.sn is exist - process it [13:32:53]wFMCommunicate request_size=4 [13:32:53]MH_SAM_APDU [13:32:53]CAPDU: 80 11 00 00 [13:32:53]Write to MH i2c: E2 08 00 22 09 80 11 00 00 00 00 00 00 A5 [13:32:53]Write i2c OK [13:32:53]MH_I2C_Read... [13:32:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:32:53]Read from MH i2c: E2 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 17 00 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 17 00 22 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FB [13:32:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:32:53]wFMCommunicate OK [13:32:53]requested_item fd.num is exist - process it [13:32:53]SAM_PROTO_GetFieldsCounters [13:32:53]wFMCommunicate request_size=4 [13:32:53]MH_SAM_APDU [13:32:53]CAPDU: 80 13 00 00 [13:32:53]Write to MH i2c: E2 08 00 23 09 80 13 00 00 00 00 00 00 A8 [13:32:53]Write i2c OK [13:32:53]MH_I2C_Read... [13:32:53]OFD Sender: Processing packet 32410 [packets to send 104, broken 103] [13:32:53]ProducePacketName [13:32:53]name=ofd_packets/00032410 [13:32:53]OFD Sender: To server: pG, [13:32:53]CommunicateWithHost lk.salyk.kg:30040 [13:32:53]ConnectInit lk.salyk.kg [13:32:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:32:53]Read from MH i2c: E2 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 62 00 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 62 00 23 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [13:32:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9A 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:32:53]wFMCommunicate OK [13:32:53]SAM_PROTO_GetFieldsCounters done [13:32:53]requested_item shift.num is exist - process it [13:32:53]requested_item shift.opened is exist - process it [13:32:53]req_shift_opened [13:32:53]FM_GetShiftState [13:32:53]SAM_PROTO_GetShiftState [13:32:53]wFMCommunicate request_size=4 [13:32:53]MH_SAM_APDU [13:32:53]CAPDU: 80 13 01 00 [13:32:53]Write to MH i2c: E2 08 00 24 09 80 13 01 00 00 00 00 00 AA [13:32:53]Write i2c OK [13:32:53]MH_I2C_Read... [13:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:32:53]Read from MH i2c: E2 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 0E 00 [13:32:53]MH_I2C_Read... [13:32:53]Read from MH i2c: E2 0E 00 24 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 90 [13:32:53]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:32:53]wFMCommunicate OK [13:32:53]SAM_PROTO_GetShiftState done [13:32:53]FM_GetShiftState done [13:32:53]req_shift_opened done [13:32:53]requested_item shift.open_date is exist - process it [13:32:53]req_shift_open_date [13:32:53]req_shift_open_date done [13:32:53]produce_requested_data done [13:32:53]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32410,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [13:32:53]process_action_free close_receipt [13:32:53]json_value_free [13:32:53]json_value_free done [13:32:53]process_json_proto returns [13:32:53]Send response to host [13:32:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32410,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [13:32:53]free response buf [13:32:53]execute_script done [13:32:53]execute_script returns [13:32:53]free content buf [13:32:53]Sock 9.Close socket [13:32:53]Sock 9.Thread stoped [13:32:53]Connected sock=11 [13:32:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 1E 93 1D 01 D9 0A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D9 05 00 00 00 00 07 04 06 00 14 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 83 3A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9A 7E 00 00 35 04 06 00 5B 89 DE CA CF 2E 9B BB 0D FA 44 E9 71 FE [13:32:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 AD 5F 47 00 83 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9A 7E 00 00 F4 03 04 00 28 E4 B2 67 B6 04 01 00 00 53 45 7F E8 B6 E6 E4 39 [13:32:54]CommunicateWithHost err = 0 [13:32:54]CheckOFDResponse [13:32:54]1017 (14) - 77093643461234 [13:32:54]1041 (16) - 0000000000959282 [13:32:54]1040 (4) - 32410 [13:32:54]1012 (4) - 17.02.2025 07:24 [13:32:54]1206 (1) - 0 [13:32:54]OFD Sender: Remove packet 32410 [13:32:54]ProducePacketName [13:32:54]name=ofd_packets/00032410 [13:32:54]NVStorageDeleteData [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:50]recv_with_timeout no data received [13:35:54]OFD Sender: No OFD packet to send [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:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]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:07]recv_with_timeout no data received [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:34]accept exits with 10 [13:49:34]New connection [13:49:34]New thread 3067411812 created [13:49:34]Thread 3067555172 joined [13:49:34]Waiting for new connection... [13:49:34] Sock 10.Parse request [13:49:34]Sock 10.Check first char [13:49:34]Sock 10.First char is OK [13:49:34]request: POST /json_proto HTTP/1.0 [13:49:34]Method: POST [13:49:34]URL: /json_proto [13:49:34]Method is POST - this is cgi request [13:49:34]url: /json_proto [13:49:34]query_string will be loaded in cgi processing [13:49:34]execute_cgi json_proto POST (null) [13:49:34]execute_cgi path=json_proto method=POST [13:49:34]POST find Content-Length [13:49:34]Host: 172.17.47.135:8080 [13:49:34]Content-Length: 678 [13:49:34]Content-Type: application/json [13:49:34] [13:49:34]POST finish read [13:49:34]Found Content-Length = 678 [13:49:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543335", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:34]execute_script... [13:49:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543335", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:34]POST & json_proto [13:49:34]process_json_proto [13:49:34]json parsed OK: [13:49:34]protocol is kg_v1.0 [13:49:34]action value=close_receipt [13:49:34]process_action close_receipt [13:49:34]cmd_close_receipt [13:49:34]MH_GetDate [13:49:34]Write to MH i2c: F0 00 00 25 09 1D [13:49:34]Write i2c OK [13:49:34]MH_I2C_Read... [13:49:34]Read from MH i2c: F0 [13:49:34]MH_I2C_Read... [13:49:34]Read from MH i2c: F0 09 00 [13:49:34]MH_I2C_Read... [13:49:34]Read from MH i2c: F0 09 00 25 09 00 6F 3E B3 67 19 D8 DE 66 22 [13:49:34]GetLastDocTimeStamp 1739799171 [13:49:34]current date 1739800175 [13:49:34]FM_GetShiftState [13:49:34]SAM_PROTO_GetShiftState [13:49:34]wFMCommunicate request_size=4 [13:49:34]MH_SAM_APDU [13:49:34]CAPDU: 80 13 01 00 [13:49:34]Write to MH i2c: E2 08 00 26 09 80 13 01 00 00 00 00 00 AC [13:49:34]Write i2c OK [13:49:34]MH_I2C_Read... [13:49:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:34]Read from MH i2c: E2 [13:49:34]MH_I2C_Read... [13:49:34]Read from MH i2c: E2 0E 00 [13:49:34]MH_I2C_Read... [13:49:34]Read from MH i2c: E2 0E 00 26 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 92 [13:49:34]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:49:34]wFMCommunicate OK [13:49:34]SAM_PROTO_GetShiftState done [13:49:34]FM_GetShiftState done [13:49:34]opened in 1739750979 [13:49:34]opened+sec_in_day 1739837379 [13:49:34]quantity*price = 50011 [13:49:34]sum+1 = 50013 [13:49:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.12 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 42 17.02.2025 13:49 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32411 ФПД: 155380221277923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T134935&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32411&fm=155380221277923&tin=02508201610067®Number=0000000000146237&sum=50000 [13:49:35]StoreToDocumentArchive [13:49:35]shift 382 fd 32411 [13:49:35]save to /storage/0382/doc_00032411 [13:49:35]save last doc name /storage/0382/doc_00032411 to /storage/kkm_last_doc_name [13:49:35]save OK [13:49:35]Clear old archive folders... [13:49:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:49:35]tlvbuf is 004A7610 [13:49:35]SAM_PROTO_ClearQueue [13:49:35]wFMCommunicate request_size=4 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 09 00 00 [13:49:35]Write to MH i2c: E2 08 00 33 09 80 09 00 00 00 00 00 00 AE [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 33 09 00 90 00 B0 [13:49:35]RAPDU: 90 00 [13:49:35]wFMCommunicate OK [13:49:35]SAM_PROTO_ClearQueue done [13:49:35]KKMCreateOFDPacket [13:49:35]OFDProtocolAddRootSTLVToBuf [13:49:35]FM_MakeSignedData [13:49:35]FM_MakeSignedData [13:49:35]SAM_PROTO_SignData [13:49:35]wFMCommunicate request_size=4 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 0D 01 02 [13:49:35]Write to MH i2c: E2 08 00 34 09 80 0D 01 02 00 00 00 00 B6 [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 34 09 00 90 00 B1 [13:49:35]RAPDU: 90 00 [13:49:35]wFMCommunicate OK [13:49:35]wFMCommunicate request_size=255 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6F 3E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9B 7E 00 00 35 04 06 00 8D [13:49:35]Write to MH i2c: E2 02 01 35 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6F 3E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9B 7E 00 00 35 04 06 00 8D 00 00 64 [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 35 09 00 90 00 B2 [13:49:35]RAPDU: 90 00 [13:49:35]wFMCommunicate OK [13:49:35]wFMCommunicate request_size=10 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 0D 02 02 05 51 46 E4 F6 E3 [13:49:35]Write to MH i2c: E2 0D 00 36 09 80 0D 02 02 05 00 51 46 E4 F6 E3 00 00 17 [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 03 00 36 09 00 90 00 B3 [13:49:35]RAPDU: 90 00 [13:49:35]wFMCommunicate OK [13:49:35]wFMCommunicate request_size=4 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 0D 03 02 [13:49:35]Write to MH i2c: E2 08 00 37 09 80 0D 03 02 00 00 00 00 BB [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 0B 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 0B 00 37 09 00 7C E0 BE 25 46 8F B9 C9 90 00 52 [13:49:35]RAPDU: 7C E0 BE 25 46 8F B9 C9 90 00 [13:49:35]wFMCommunicate OK [13:49:35]SAM_PROTO_SignData done [13:49:35]FM_MakeSignedData done [13:49:35]CreateOFDProtocolMessage [13:49:35]wFMCommunicate request_size=4 [13:49:35]MH_SAM_APDU [13:49:35]CAPDU: 80 11 00 00 [13:49:35]Write to MH i2c: E2 08 00 38 09 80 11 00 00 00 00 00 00 BB [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:35]Read from MH i2c: E2 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 17 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: E2 17 00 38 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 11 [13:49:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:49:35]wFMCommunicate OK [13:49:35]CreateOFDProtocolMessage done [13:49:35]OFDSenderStorePacket 32411 [13:49:35]StoreOFDPacket docnum=32411 [13:49:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 1E 6B 07 01 2D 12 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6F 3E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9B 7E 00 00 35 04 06 00 8D 51 46 E4 F6 E3 7C E0 BE 25 46 8F B9 C9 [13:49:35]CheckFolder [13:49:35]dirname=/storage/ofd_packets [13:49:35]CheckFolder done [13:49:35]ProducePacketName [13:49:35]name=ofd_packets/00032411 [13:49:35]NVStorageSaveData ofd_packets/00032411 [13:49:35]File name is /storage/ofd_packets/00032411 [13:49:35]Write 301 bytes [13:49:35]NVStorageSaveData done [13:49:35]OFDSenderStorePacket done [13:49:35]KKMCreateOFDPacket done [13:49:35]NVStorageSaveData kkm_last_timestamp [13:49:35]File name is /storage/kkm_last_timestamp [13:49:35]Write 4 bytes [13:49:35]NVStorageSaveData done [13:49:35]ExternCall_PrintAddStr [13:49:35]wPrintStart [13:49:35]Write to MH i2c: 01 00 00 39 09 42 [13:49:35]Write i2c OK [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: 01 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: 01 07 00 [13:49:35]MH_I2C_Read... [13:49:35]Read from MH i2c: 01 07 00 39 09 00 00 00 00 00 FF 0F 57 [13:49:35]RasterBufferAndPrint [13:49:35]line Счет N : (1)6543335 [13:49:35]line ИНН: 02508201610067 [13:49:35]line Контрольно-Кассовый Чек [13:49:35]line ПРОДАЖА [13:49:35]line ТРК (МРК, ГНК) : 42 [13:49:35]line Товар: 2710124130 [13:49:35]line Аи-92-К-5 [13:49:35]line 7.790 * 64.20 [13:49:35]line = 500.12 [13:49:35]line НДС 12% НСП 1% [13:49:35]line > о реализуемом товаре [13:49:35]line ОКРУГЛЕНИЕ: -0.12 [13:49:35]line ИТОГО: 500.00 [13:49:35]line Внесено: 500.00 [13:49:35]line СДАЧА: 0.00 [13:49:35]line НСП 1% : 4.43 [13:49:35]line НДС 12% : 53.11 [13:49:35]line Наличными: 500.00 [13:49:35]line Безнал.: 0.00 [13:49:35]line Место: АЗС № 96 "Партнер Нефть" [13:49:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:49:35]line СНО: Общий режим [13:49:35]line Чек 42 17.02.2025 13:49 [13:49:35]line Смена: 382 ФФД: 1.0 [13:49:35]line ЗНМ: 0300000059 [13:49:35]line РНМ: 0000000000146237 [13:49:35]line Версия ККМ: v1.0 [13:49:35]line ФМ: 0000000000959282 [13:49:35]line ФД: 32411 [13:49:35]line ФПД: 155380221277923 [13:49:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T134935&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32411&fm=155380221277923&tin=02508201610067®Number=0000000000146237&sum=50000 [13:49:36]OFD Sender: Processing packet 32411 [packets to send 104, broken 103] [13:49:36]ProducePacketName [13:49:36]name=ofd_packets/00032411 [13:49:36]OFD Sender: To server: pG, [13:49:36]CommunicateWithHost lk.salyk.kg:30040 [13:49:36]ConnectInit lk.salyk.kg [13:49:36]written 0, free lines is 4095 [13:49:36]Connected sock=11 [13:49:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 1E 6B 07 01 2D 12 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 6F 3E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9B 7E 00 00 35 04 06 00 8D 51 46 E4 F6 E3 7C E0 BE 25 46 8F B9 C9 [13:49:36]Write to MH i2c: 01 00 00 64 09 6D [13:49:36]Write i2c OK [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: 01 [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: 01 07 00 [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: 01 07 00 64 09 00 00 00 00 00 E8 0C 68 [13:49:36]RasterBufferAndPrint [13:49:36]line [13:49:36]line [13:49:36]line [13:49:36]line [13:49:36]line [13:49:36]written 0, free lines is 3310 [13:49:36]MH_Cut [13:49:36]Write to MH i2c: D1 01 00 6B 09 01 46 [13:49:36]Write i2c OK [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: D1 [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: D1 01 00 [13:49:36]MH_I2C_Read... [13:49:36]Read from MH i2c: D1 01 00 6B 09 00 45 [13:49:36]Write to MH i2c: 01 00 00 6C 09 75 [13:49:36]Write i2c OK [13:49:36]MH_I2C_Read... [13:49:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 1D 40 47 00 3F F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9B 7E 00 00 F4 03 04 00 13 E8 B2 67 B6 04 01 00 00 10 E6 99 D9 9A C4 C4 20 [13:49:36]CommunicateWithHost err = 0 [13:49:36]CheckOFDResponse [13:49:36]1017 (14) - 77093643461234 [13:49:36]1041 (16) - 0000000000959282 [13:49:36]1040 (4) - 32411 [13:49:36]1012 (4) - 17.02.2025 07:41 [13:49:36]1206 (1) - 0 [13:49:36]OFD Sender: Remove packet 32411 [13:49:36]ProducePacketName [13:49:36]name=ofd_packets/00032411 [13:49:36]NVStorageDeleteData [13:49:37]*** Cut start [13:49:37]*** Partial cut [13:49:37]*** CUTSNS_PIN = 1 [13:49:37]*** CUTSNS_PIN = 0 [13:49:37]OFD Sender: No OFD packet to send [13:49:37]*** Brake cut motor [13:49:37]Read from MH i2c: 01 [13:49:37]MH_I2C_Read... [13:49:37]*** Stop cut motor [13:49:37]*** Cut end [13:49:37]Read from MH i2c: 01 07 00 [13:49:37]MH_I2C_Read... [13:49:37]Read from MH i2c: 01 07 00 6C 09 00 00 00 00 00 FF 0F 8A [13:49:37]process_action close_receipt done [13:49:37]requested_data is exist [13:49:37]produce_requested_data [13:49:37]requested_item fm.sn is exist - process it [13:49:37]wFMCommunicate request_size=4 [13:49:37]MH_SAM_APDU [13:49:37]CAPDU: 80 11 00 00 [13:49:37]Write to MH i2c: E2 08 00 6D 09 80 11 00 00 00 00 00 00 F0 [13:49:37]Write i2c OK [13:49:37]MH_I2C_Read... [13:49:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:37]Read from MH i2c: E2 [13:49:37]MH_I2C_Read... [13:49:37]Read from MH i2c: E2 17 00 [13:49:37]MH_I2C_Read... [13:49:37]Read from MH i2c: E2 17 00 6D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 46 [13:49:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:49:37]wFMCommunicate OK [13:49:37]requested_item fd.num is exist - process it [13:49:37]SAM_PROTO_GetFieldsCounters [13:49:37]wFMCommunicate request_size=4 [13:49:37]MH_SAM_APDU [13:49:37]CAPDU: 80 13 00 00 [13:49:37]Write to MH i2c: E2 08 00 6E 09 80 13 00 00 00 00 00 00 F3 [13:49:38]Write i2c OK [13:49:38]MH_I2C_Read... [13:49:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:38]Read from MH i2c: E2 [13:49:38]MH_I2C_Read... [13:49:38]Read from MH i2c: E2 62 00 [13:49:38]MH_I2C_Read... [13:49:38]Read from MH i2c: E2 62 00 6E 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [13:49:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9B 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:49:38]wFMCommunicate OK [13:49:38]SAM_PROTO_GetFieldsCounters done [13:49:38]requested_item shift.num is exist - process it [13:49:38]requested_item shift.opened is exist - process it [13:49:38]req_shift_opened [13:49:38]FM_GetShiftState [13:49:38]SAM_PROTO_GetShiftState [13:49:38]wFMCommunicate request_size=4 [13:49:38]MH_SAM_APDU [13:49:38]CAPDU: 80 13 01 00 [13:49:38]Write to MH i2c: E2 08 00 6F 09 80 13 01 00 00 00 00 00 F5 [13:49:38]Write i2c OK [13:49:38]MH_I2C_Read... [13:49:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:38]Read from MH i2c: E2 [13:49:38]MH_I2C_Read... [13:49:38]Read from MH i2c: E2 0E 00 [13:49:38]MH_I2C_Read... [13:49:38]Read from MH i2c: E2 0E 00 6F 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DB [13:49:38]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [13:49:38]wFMCommunicate OK [13:49:38]SAM_PROTO_GetShiftState done [13:49:38]FM_GetShiftState done [13:49:38]req_shift_opened done [13:49:38]requested_item shift.open_date is exist - process it [13:49:38]req_shift_open_date [13:49:38]req_shift_open_date done [13:49:38]produce_requested_data done [13:49:38]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32411,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [13:49:38]process_action_free close_receipt [13:49:38]json_value_free [13:49:38]json_value_free done [13:49:38]process_json_proto returns [13:49:38]Send response to host [13:49:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32411,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [13:49:38]free response buf [13:49:38]execute_script done [13:49:38]execute_script returns [13:49:38]free content buf [13:49:38]Sock 10.Close socket [13:49:38]Sock 10.Thread stoped [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:27]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]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:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:40]OFD Sender: No OFD packet to send [14:34:45]OFD Sender: No OFD packet to send [14:34:50]OFD Sender: No OFD packet to send [14:34:55]OFD Sender: No OFD packet to send [14:35:00]OFD Sender: No OFD packet to send [14:35:05]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [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:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:14]accept exits with 7 [14:45:14]New connection [14:45:14]New thread 3067555172 created [14:45:14]Thread 3067411812 joined [14:45:14]Waiting for new connection... [14:45:14] Sock 7.Parse request [14:45:14]Sock 7.Check first char [14:45:14]Sock 7.First char is OK [14:45:14]request: POST /json_proto HTTP/1.0 [14:45:14]Method: POST [14:45:14]URL: /json_proto [14:45:14]Method is POST - this is cgi request [14:45:14]url: /json_proto [14:45:14]query_string will be loaded in cgi processing [14:45:14]execute_cgi json_proto POST (null) [14:45:14]execute_cgi path=json_proto method=POST [14:45:14]POST find Content-Length [14:45:14]Host: 172.17.47.135:8080 [14:45:14]Content-Length: 1075 [14:45:14]Content-Type: application/json [14:45:14] [14:45:14]POST finish read [14:45:14]Found Content-Length = 1075 [14:45:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130657", "tax_sys" : 0, "items" : [ { "code": "4870145004906", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A Flash Up Bubble Gum 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 246.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:14]execute_script... [14: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)130657", "tax_sys" : 0, "items" : [ { "code": "4870145004906", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0431\u0435\u0437\u0430\u043B\u043A Flash Up Bubble Gum 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 246.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:45:14]POST & json_proto [14:45:14]process_json_proto [14:45:14]json parsed OK: [14:45:14]protocol is kg_v1.0 [14:45:14]action value=close_receipt [14:45:14]process_action close_receipt [14:45:14]cmd_close_receipt [14:45:14]MH_GetDate [14:45:14]Write to MH i2c: F0 00 00 70 09 68 [14:45:14]Write i2c OK [14:45:14]MH_I2C_Read... [14:45:14]Read from MH i2c: F0 [14:45:14]MH_I2C_Read... [14:45:14]Read from MH i2c: F0 09 00 [14:45:14]MH_I2C_Read... [14:45:14]Read from MH i2c: F0 09 00 70 09 00 7C 4B B3 67 19 D8 DE 66 87 [14:45:15]GetLastDocTimeStamp 1739800175 [14:45:15]current date 1739803516 [14:45:15]FM_GetShiftState [14:45:15]SAM_PROTO_GetShiftState [14:45:15]wFMCommunicate request_size=4 [14:45:15]MH_SAM_APDU [14:45:15]CAPDU: 80 13 01 00 [14:45:15]Write to MH i2c: E2 08 00 71 09 80 13 01 00 00 00 00 00 F7 [14:45:15]Write i2c OK [14:45:15]MH_I2C_Read... [14:45:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:15]Read from MH i2c: E2 [14:45:15]MH_I2C_Read... [14:45:15]Read from MH i2c: E2 0E 00 [14:45:15]MH_I2C_Read... [14:45:15]Read from MH i2c: E2 0E 00 71 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DD [14:45:15]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:45:15]wFMCommunicate OK [14:45:15]SAM_PROTO_GetShiftState done [14:45:15]FM_GetShiftState done [14:45:15]opened in 1739750979 [14:45:15]opened+sec_in_day 1739837379 [14:45:15]quantity*price = 9500 [14:45:15]sum+1 = 9501 [14:45:15]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 246.00 НСП 1% : 2.18 НДС 12% : 26.12 Наличными: 0.00 Безнал.: 246.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 43 17.02.2025 14:45 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32412 ФПД: 30187342933323 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T144516&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32412&fm=30187342933323&tin=02508201610067®Number=0000000000146237&sum=24600 0 [14:45:16]StoreToDocumentArchive [14:45:16]shift 382 fd 32412 [14:45:16]save to /storage/0382/doc_00032412 [14:45:16]save last doc name /storage/0382/doc_00032412 to /storage/kkm_last_doc_name [14:45:16]save OK [14:45:16]Clear old archive folders... [14:45:16]ProcessDocumentItem done err = 0, tmpTLVsize=398 [14:45:16]tlvbuf is B6FE8790 [14:45:16]SAM_PROTO_ClearQueue [14:45:16]wFMCommunicate request_size=4 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 09 00 00 [14:45:16]Write to MH i2c: E2 08 00 7E 09 80 09 00 00 00 00 00 00 F9 [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:45:16]Read from MH i2c: E2 03 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 7E 09 00 90 00 FB [14:45:16]RAPDU: 90 00 [14:45:16]wFMCommunicate OK [14:45:16]SAM_PROTO_ClearQueue done [14:45:16]KKMCreateOFDPacket [14:45:16]OFDProtocolAddRootSTLVToBuf [14:45:16]FM_MakeSignedData [14:45:16]FM_MakeSignedData [14:45:16]SAM_PROTO_SignData [14:45:16]wFMCommunicate request_size=4 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 0D 01 02 [14:45:16]Write to MH i2c: E2 08 00 7F 09 80 0D 01 02 00 00 00 00 01 [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 7F 09 00 90 00 FC [14:45:16]RAPDU: 90 00 [14:45:16]wFMCommunicate OK [14:45:16]wFMCommunicate request_size=255 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 18 60 00 00 00 00 EB 03 26 [14:45:16]Write to MH i2c: E2 02 01 80 09 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 18 60 00 00 00 00 EB 03 26 00 00 71 [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 80 09 00 90 00 FD [14:45:16]RAPDU: 90 00 [14:45:16]wFMCommunicate OK [14:45:16]wFMCommunicate request_size=157 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 7C 4B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9C 7E 00 00 35 04 06 00 1B 74 89 DA 2D 4B [14:45:16]Write to MH i2c: E2 A0 00 81 09 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 7C 4B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9C 7E 00 00 35 04 06 00 1B 74 89 DA 2D 4B 00 00 FD [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 03 00 81 09 00 90 00 FE [14:45:16]RAPDU: 90 00 [14:45:16]wFMCommunicate OK [14:45:16]wFMCommunicate request_size=4 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 0D 03 02 [14:45:16]Write to MH i2c: E2 08 00 82 09 80 0D 03 02 00 00 00 00 06 [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 0B 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 0B 00 82 09 00 44 3A 94 D3 9F E0 43 5E 90 00 0C [14:45:16]RAPDU: 44 3A 94 D3 9F E0 43 5E 90 00 [14:45:16]wFMCommunicate OK [14:45:16]SAM_PROTO_SignData done [14:45:16]FM_MakeSignedData done [14:45:16]CreateOFDProtocolMessage [14:45:16]wFMCommunicate request_size=4 [14:45:16]MH_SAM_APDU [14:45:16]CAPDU: 80 11 00 00 [14:45:16]Write to MH i2c: E2 08 00 83 09 80 11 00 00 00 00 00 00 06 [14:45:16]Write i2c OK [14:45:16]MH_I2C_Read... [14:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:16]Read from MH i2c: E2 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 17 00 [14:45:16]MH_I2C_Read... [14:45:16]Read from MH i2c: E2 17 00 83 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5C [14:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:45:16]wFMCommunicate OK [14:45:16]CreateOFDProtocolMessage done [14:45:16]OFDSenderStorePacket 32412 [14:45:16]StoreOFDPacket docnum=32412 [14:45:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 A2 01 00 00 BC 7C 9A 01 2A 5F 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 18 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 7C 4B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9C 7E 00 00 35 04 06 00 1B 74 89 DA 2D 4B 44 3A 94 D3 9F E0 43 5E [14:45:16]CheckFolder [14:45:16]dirname=/storage/ofd_packets [14:45:16]CheckFolder done [14:45:16]ProducePacketName [14:45:16]name=ofd_packets/00032412 [14:45:16]NVStorageSaveData ofd_packets/00032412 [14:45:16]File name is /storage/ofd_packets/00032412 [14:45:17]Write 448 bytes [14:45:17]NVStorageSaveData done [14:45:17]OFDSenderStorePacket done [14:45:17]KKMCreateOFDPacket done [14:45:17]NVStorageSaveData kkm_last_timestamp [14:45:17]File name is /storage/kkm_last_timestamp [14:45:17]Write 4 bytes [14:45:17]NVStorageSaveData done [14:45:17]ExternCall_PrintAddStr [14:45:17]wPrintStart [14:45:17]Write to MH i2c: 01 00 00 84 09 8D [14:45:17]Write i2c OK [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 07 00 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 07 00 84 09 00 00 00 00 00 FF 0F A2 [14:45:17]RasterBufferAndPrint [14:45:17]line Счет N : (3)130657 [14:45:17]line ИНН: 02508201610067 [14:45:17]line Контрольно-Кассовый Чек [14:45:17]line ПРОДАЖА [14:45:17]line Товар: 4870145004906 [14:45:17]line Напиток безалк Flash Up Bubble Gum 0,45 [14:45:17]line 1.000 * 95.00 [14:45:17]line = 95.00 [14:45:17]line НДС 12% НСП 1% [14:45:17]line > о реализуемом товаре [14:45:17]line Товар: 48743570 [14:45:17]line Сигареты Winston XStyle Blue [14:45:17]line 1.000 * 151.00 [14:45:17]line = 151.00 [14:45:17]line НДС 12% НСП 1% [14:45:17]line > о реализуемом товаре [14:45:17]line ИТОГО: 246.00 [14:45:17]line НСП 1% : 2.18 [14:45:17]line НДС 12% : 26.12 [14:45:17]line Наличными: 0.00 [14:45:17]line Безнал.: 246.00 [14:45:17]line Место: АЗС № 96 "Партнер Нефть" [14:45:17]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:45:17]line СНО: Общий режим [14:45:17]line Чек 43 17.02.2025 14:45 [14:45:17]line Смена: 382 ФФД: 1.0 [14:45:17]line ЗНМ: 0300000059 [14:45:17]line РНМ: 0000000000146237 [14:45:17]line Версия ККМ: v1.0 [14:45:17]line Платежная система: Бакай Банк [14:45:17]line ФМ: 0000000000959282 [14:45:17]line ФД: 32412 [14:45:17]line ФПД: 30187342933323 [14:45:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T144516&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32412&fm=30187342933323&tin=02508201610067®Number=0000000000146237&sum=24600 [14:45:17]line 0 [14:45:17]written 0, free lines is 4095 [14:45:17]OFD Sender: Processing packet 32412 [packets to send 104, broken 103] [14:45:17]ProducePacketName [14:45:17]name=ofd_packets/00032412 [14:45:17]OFD Sender: To server: pG, [14:45:17]CommunicateWithHost lk.salyk.kg:30040 [14:45:17]ConnectInit lk.salyk.kg [14:45:17]Connected sock=10 [14:45:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 A2 01 00 00 BC 7C 9A 01 2A 5F 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 30 36 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B1 D0 B5 D0 B7 D0 B0 D0 BB D0 BA 20 46 6C 61 73 68 20 55 70 20 42 75 62 62 6C 65 20 47 75 6D 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 18 60 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 34 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 7C 4B B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9C 7E 00 00 35 04 06 00 1B 74 89 DA 2D 4B 44 3A 94 D3 9F E0 43 5E [14:45:17]Write to MH i2c: 01 00 00 B5 09 BE [14:45:17]Write i2c OK [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 07 00 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: 01 07 00 B5 09 00 00 00 00 00 7E 0C 4F [14:45:17]RasterBufferAndPrint [14:45:17]line [14:45:17]line [14:45:17]line [14:45:17]line [14:45:17]line [14:45:17]written 0, free lines is 3207 [14:45:17]MH_Cut [14:45:17]Write to MH i2c: D1 01 00 BC 09 01 97 [14:45:17]Write i2c OK [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: D1 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: D1 01 00 [14:45:17]MH_I2C_Read... [14:45:17]Read from MH i2c: D1 01 00 BC 09 00 96 [14:45:17]Write to MH i2c: 01 00 00 BD 09 C6 [14:45:17]Write i2c OK [14:45:17]MH_I2C_Read... [14:45:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 99 29 47 00 46 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9C 7E 00 00 F4 03 04 00 20 F5 B2 67 B6 04 01 00 00 1B 94 3E EB EC F6 DC BB [14:45:17]CommunicateWithHost err = 0 [14:45:17]CheckOFDResponse [14:45:17]1017 (14) - 77093643461234 [14:45:17]1041 (16) - 0000000000959282 [14:45:17]1040 (4) - 32412 [14:45:17]1012 (4) - 17.02.2025 08:36 [14:45:17]1206 (1) - 0 [14:45:17]OFD Sender: Remove packet 32412 [14:45:17]ProducePacketName [14:45:17]name=ofd_packets/00032412 [14:45:17]NVStorageDeleteData [14:45:18]OFD Sender: No OFD packet to send [14:45:18]*** Cut start [14:45:18]*** Partial cut [14:45:18]*** CUTSNS_PIN = 1 [14:45:18]*** CUTSNS_PIN = 0 [14:45:18]*** Brake cut motor [14:45:19]Read from MH i2c: 01 [14:45:19]MH_I2C_Read... [14:45:19]*** Stop cut motor [14:45:19]*** Cut end [14:45:19]Read from MH i2c: 01 07 00 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: 01 07 00 BD 09 00 00 00 00 00 FF 0F DB [14:45:19]process_action close_receipt done [14:45:19]requested_data is exist [14:45:19]produce_requested_data [14:45:19]requested_item fm.sn is exist - process it [14:45:19]wFMCommunicate request_size=4 [14:45:19]MH_SAM_APDU [14:45:19]CAPDU: 80 11 00 00 [14:45:19]Write to MH i2c: E2 08 00 BE 09 80 11 00 00 00 00 00 00 41 [14:45:19]Write i2c OK [14:45:19]MH_I2C_Read... [14:45:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:45:19]Read from MH i2c: E2 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 17 00 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 17 00 BE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 97 [14:45:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:45:19]wFMCommunicate OK [14:45:19]requested_item fd.num is exist - process it [14:45:19]SAM_PROTO_GetFieldsCounters [14:45:19]wFMCommunicate request_size=4 [14:45:19]MH_SAM_APDU [14:45:19]CAPDU: 80 13 00 00 [14:45:19]Write to MH i2c: E2 08 00 BF 09 80 13 00 00 00 00 00 00 44 [14:45:19]Write i2c OK [14:45:19]MH_I2C_Read... [14:45:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:45:19]Read from MH i2c: E2 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 62 00 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 62 00 BF 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [14:45:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9C 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:45:19]wFMCommunicate OK [14:45:19]SAM_PROTO_GetFieldsCounters done [14:45:19]requested_item shift.num is exist - process it [14:45:19]requested_item shift.opened is exist - process it [14:45:19]req_shift_opened [14:45:19]FM_GetShiftState [14:45:19]SAM_PROTO_GetShiftState [14:45:19]wFMCommunicate request_size=4 [14:45:19]MH_SAM_APDU [14:45:19]CAPDU: 80 13 01 00 [14:45:19]Write to MH i2c: E2 08 00 C0 09 80 13 01 00 00 00 00 00 46 [14:45:19]Write i2c OK [14:45:19]MH_I2C_Read... [14:45:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:45:19]Read from MH i2c: E2 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 0E 00 [14:45:19]MH_I2C_Read... [14:45:19]Read from MH i2c: E2 0E 00 C0 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 2C [14:45:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:45:19]wFMCommunicate OK [14:45:19]SAM_PROTO_GetShiftState done [14:45:19]FM_GetShiftState done [14:45:19]req_shift_opened done [14:45:19]requested_item shift.open_date is exist - process it [14:45:19]req_shift_open_date [14:45:19]req_shift_open_date done [14:45:19]produce_requested_data done [14:45:19]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32412,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [14:45:19]process_action_free close_receipt [14:45:19]json_value_free [14:45:19]json_value_free done [14:45:19]process_json_proto returns [14:45:19]Send response to host [14:45:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32412,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [14:45:19]free response buf [14:45:19]execute_script done [14:45:19]execute_script returns [14:45:19]free content buf [14:45:19]Sock 7.Close socket [14:45:19]Sock 7.Thread stoped [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:33]accept exits with 9 [14:56:33]New connection [14:56:33]New thread 3067411812 created [14:56:33]Thread 3067555172 joined [14:56:33]Waiting for new connection... [14:56:33] Sock 9.Parse request [14:56:33]Sock 9.Check first char [14:56:33]Sock 9.First char is OK [14:56:33]request: POST /json_proto HTTP/1.0 [14:56:33]Method: POST [14:56:33]URL: /json_proto [14:56:33]Method is POST - this is cgi request [14:56:33]url: /json_proto [14:56:33]query_string will be loaded in cgi processing [14:56:33]execute_cgi json_proto POST (null) [14:56:33]execute_cgi path=json_proto method=POST [14:56:33]POST find Content-Length [14:56:33]Host: 172.17.47.135:8080 [14:56:33]Content-Length: 987 [14:56:33]Content-Type: application/json [14:56:33] [14:56:33]POST finish read [14:56:33]Found Content-Length = 987 [14:56:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130658", "tax_sys" : 0, "items" : [ { "code": "4607018771791", "name": "\u041C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u043E\u0434\u0430 \u0415\u0441\u0441\u0435\u043D\u0442\u0443\u043A\u0438 17 0,45 \u043B \u0441\u0442\u0435", "price" : 114.00, "quantity" : 1.000, "sum" : 114.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" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 163.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:33]execute_script... [14:56:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130658", "tax_sys" : 0, "items" : [ { "code": "4607018771791", "name": "\u041C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u043E\u0434\u0430 \u0415\u0441\u0441\u0435\u043D\u0442\u0443\u043A\u0438 17 0,45 \u043B \u0441\u0442\u0435", "price" : 114.00, "quantity" : 1.000, "sum" : 114.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" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 163.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:33]POST & json_proto [14:56:33]process_json_proto [14:56:33]json parsed OK: [14:56:33]protocol is kg_v1.0 [14:56:33]action value=close_receipt [14:56:33]process_action close_receipt [14:56:33]cmd_close_receipt [14:56:33]MH_GetDate [14:56:33]Write to MH i2c: F0 00 00 C1 09 B9 [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: F0 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: F0 09 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: F0 09 00 C1 09 00 22 4E B3 67 19 D8 DE 66 81 [14:56:33]GetLastDocTimeStamp 1739803516 [14:56:33]current date 1739804194 [14:56:33]FM_GetShiftState [14:56:33]SAM_PROTO_GetShiftState [14:56:33]wFMCommunicate request_size=4 [14:56:33]MH_SAM_APDU [14:56:33]CAPDU: 80 13 01 00 [14:56:33]Write to MH i2c: E2 08 00 C2 09 80 13 01 00 00 00 00 00 48 [14:56:33]Write i2c OK [14:56:33]MH_I2C_Read... [14:56:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:33]Read from MH i2c: E2 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 0E 00 [14:56:33]MH_I2C_Read... [14:56:33]Read from MH i2c: E2 0E 00 C2 09 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 2E [14:56:33]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:56:33]wFMCommunicate OK [14:56:33]SAM_PROTO_GetShiftState done [14:56:33]FM_GetShiftState done [14:56:33]opened in 1739750979 [14:56:33]opened+sec_in_day 1739837379 [14:56:33]quantity*price = 11400 [14:56:33]sum+1 = 11401 [14:56:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 163.00 НСП 1% : 1.44 НДС 12% : 17.31 Наличными: 163.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 44 17.02.2025 14:56 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32413 ФПД: 193440811291471 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T145634&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32413&fm=193440811291471&tin=02508201610067®Number=0000000000146237&sum=16300 0 [14:56:34]StoreToDocumentArchive [14:56:34]shift 382 fd 32413 [14:56:34]save to /storage/0382/doc_00032413 [14:56:34]save last doc name /storage/0382/doc_00032413 to /storage/kkm_last_doc_name [14:56:34]save OK [14:56:34]Clear old archive folders... [14:56:34]ProcessDocumentItem done err = 0, tmpTLVsize=411 [14:56:34]tlvbuf is 004C0640 [14:56:34]SAM_PROTO_ClearQueue [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 09 00 00 [14:56:34]Write to MH i2c: E2 08 00 CF 09 80 09 00 00 00 00 00 00 4A [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:34]Read from MH i2c: E2 03 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 CF 09 00 90 00 4C [14:56:34]RAPDU: 90 00 [14:56:34]wFMCommunicate OK [14:56:34]SAM_PROTO_ClearQueue done [14:56:34]KKMCreateOFDPacket [14:56:34]OFDProtocolAddRootSTLVToBuf [14:56:34]FM_MakeSignedData [14:56:34]FM_MakeSignedData [14:56:34]SAM_PROTO_SignData [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 0D 01 02 [14:56:34]Write to MH i2c: E2 08 00 D0 09 80 0D 01 02 00 00 00 00 52 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 D0 09 00 90 00 4D [14:56:34]RAPDU: 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=255 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 44 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 20 D0 BB 20 D1 81 D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 2C 00 00 00 00 13 04 06 00 88 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [14:56:34]Write to MH i2c: E2 02 01 D1 09 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 44 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 20 D0 BB 20 D1 81 D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 2C 00 00 00 00 13 04 06 00 88 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 97 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 D1 09 00 90 00 4E [14:56:34]RAPDU: 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=170 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 0D 02 02 A5 FC 03 06 00 AC 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 06 00 00 00 00 07 04 06 00 AC 3F 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 22 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9D 7E 00 00 35 04 06 00 AF EE F2 D7 93 4F [14:56:34]Write to MH i2c: E2 AD 00 D2 09 80 0D 02 02 A5 00 FC 03 06 00 AC 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 06 00 00 00 00 07 04 06 00 AC 3F 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 22 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9D 7E 00 00 35 04 06 00 AF EE F2 D7 93 4F 00 00 A9 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 03 00 D2 09 00 90 00 4F [14:56:34]RAPDU: 90 00 [14:56:34]wFMCommunicate OK [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 0D 03 02 [14:56:34]Write to MH i2c: E2 08 00 D3 09 80 0D 03 02 00 00 00 00 57 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 0B 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 0B 00 D3 09 00 3F A5 B2 44 32 41 E6 74 90 00 FF [14:56:34]RAPDU: 3F A5 B2 44 32 41 E6 74 90 00 [14:56:34]wFMCommunicate OK [14:56:34]SAM_PROTO_SignData done [14:56:34]FM_MakeSignedData done [14:56:34]CreateOFDProtocolMessage [14:56:34]wFMCommunicate request_size=4 [14:56:34]MH_SAM_APDU [14:56:34]CAPDU: 80 11 00 00 [14:56:34]Write to MH i2c: E2 08 00 D4 09 80 11 00 00 00 00 00 00 57 [14:56:34]Write i2c OK [14:56:34]MH_I2C_Read... [14:56:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:34]Read from MH i2c: E2 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 17 00 [14:56:34]MH_I2C_Read... [14:56:34]Read from MH i2c: E2 17 00 D4 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 AD [14:56:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:56:34]wFMCommunicate OK [14:56:34]CreateOFDProtocolMessage done [14:56:34]OFDSenderStorePacket 32413 [14:56:34]StoreOFDPacket docnum=32413 [14:56:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 AF 01 00 00 3C DC A7 01 6D 21 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 44 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 20 D0 BB 20 D1 81 D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 2C 00 00 00 00 13 04 06 00 88 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 06 00 00 00 00 07 04 06 00 AC 3F 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 22 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9D 7E 00 00 35 04 06 00 AF EE F2 D7 93 4F 3F A5 B2 44 32 41 E6 74 [14:56:34]CheckFolder [14:56:34]dirname=/storage/ofd_packets [14:56:34]CheckFolder done [14:56:34]ProducePacketName [14:56:34]name=ofd_packets/00032413 [14:56:34]NVStorageSaveData ofd_packets/00032413 [14:56:34]File name is /storage/ofd_packets/00032413 [14:56:34]Write 461 bytes [14:56:34]NVStorageSaveData done [14:56:34]OFDSenderStorePacket done [14:56:34]KKMCreateOFDPacket done [14:56:34]NVStorageSaveData kkm_last_timestamp [14:56:34]File name is /storage/kkm_last_timestamp [14:56:34]Write 4 bytes [14:56:35]NVStorageSaveData done [14:56:35]ExternCall_PrintAddStr [14:56:35]wPrintStart [14:56:35]Write to MH i2c: 01 00 00 D5 09 DE [14:56:35]OFD Sender: Processing packet 32413 [packets to send 104, broken 103] [14:56:35]ProducePacketName [14:56:35]name=ofd_packets/00032413 [14:56:35]OFD Sender: To server: pG, [14:56:35]CommunicateWithHost lk.salyk.kg:30040 [14:56:35]ConnectInit lk.salyk.kg [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 07 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 07 00 D5 09 00 00 00 00 00 FF 0F F3 [14:56:35]RasterBufferAndPrint [14:56:35]line Счет N : (3)130658 [14:56:35]line ИНН: 02508201610067 [14:56:35]line Контрольно-Кассовый Чек [14:56:35]line ПРОДАЖА [14:56:35]line Товар: 4607018771791 [14:56:35]line Минеральная вода Ессентуки 17 0,45 л сте [14:56:35]line 1.000 * 114.00 [14:56:35]line = 114.00 [14:56:35]line НДС 12% НСП 1% [14:56:35]line > о реализуемом товаре [14:56:35]line Товар: 4700000160211 [14:56:35]line Вода Легенда 0,5л [14:56:35]line 1.000 * 49.00 [14:56:35]line = 49.00 [14:56:35]line НДС 12% НСП 1% [14:56:35]line > о реализуемом товаре [14:56:35]line ИТОГО: 163.00 [14:56:35]line НСП 1% : 1.44 [14:56:35]line НДС 12% : 17.31 [14:56:35]line Наличными: 163.00 [14:56:35]line Безнал.: 0.00 [14:56:35]line Место: АЗС № 96 "Партнер Нефть" [14:56:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:56:35]line СНО: Общий режим [14:56:35]line Чек 44 17.02.2025 14:56 [14:56:35]line Смена: 382 ФФД: 1.0 [14:56:35]line ЗНМ: 0300000059 [14:56:35]line РНМ: 0000000000146237 [14:56:35]line Версия ККМ: v1.0 [14:56:35]line ФМ: 0000000000959282 [14:56:35]line ФД: 32413 [14:56:35]line ФПД: 193440811291471 [14:56:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T145634&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32413&fm=193440811291471&tin=02508201610067®Number=0000000000146237&sum=16300 [14:56:35]line 0 [14:56:35]written 0, free lines is 4095 [14:56:35]Connected sock=10 [14:56:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 AF 01 00 00 3C DC A7 01 6D 21 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 44 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 20 D0 BB 20 D1 81 D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 2C 00 00 00 00 13 04 06 00 88 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 3F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 06 00 00 00 00 07 04 06 00 AC 3F 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 22 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9D 7E 00 00 35 04 06 00 AF EE F2 D7 93 4F 3F A5 B2 44 32 41 E6 74 [14:56:35]Write to MH i2c: 01 00 00 04 0A 0E [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 07 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: 01 07 00 04 0A 00 00 00 00 00 A7 0C C8 [14:56:35]RasterBufferAndPrint [14:56:35]line [14:56:35]line [14:56:35]line [14:56:35]line [14:56:35]line [14:56:35]written 0, free lines is 3245 [14:56:35]MH_Cut [14:56:35]Write to MH i2c: D1 01 00 0B 0A 01 E7 [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: D1 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: D1 01 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: D1 01 00 0B 0A 00 E6 [14:56:35]Write to MH i2c: 01 00 00 0C 0A 16 [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 96 34 47 00 1F E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 9D 7E 00 00 F4 03 04 00 C6 F7 B2 67 B6 04 01 00 00 E9 DE FE 78 93 2F 05 71 [14:56:35]CommunicateWithHost err = 0 [14:56:35]CheckOFDResponse [14:56:35]1017 (14) - 77093643461234 [14:56:35]1041 (16) - 0000000000959282 [14:56:35]1040 (4) - 32413 [14:56:35]1012 (4) - 17.02.2025 08:48 [14:56:35]1206 (1) - 0 [14:56:35]OFD Sender: Remove packet 32413 [14:56:35]ProducePacketName [14:56:35]name=ofd_packets/00032413 [14:56:35]NVStorageDeleteData [14:56:36]OFD Sender: No OFD packet to send [14:56:36]*** Cut start [14:56:36]*** Partial cut [14:56:36]*** CUTSNS_PIN = 1 [14:56:36]*** CUTSNS_PIN = 0 [14:56:36]*** Brake cut motor [14:56:37]Read from MH i2c: 01 [14:56:37]MH_I2C_Read... [14:56:37]*** Stop cut motor [14:56:37]*** Cut end [14:56:37]Read from MH i2c: 01 07 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 07 00 0C 0A 00 00 00 00 00 FF 0F 2B [14:56:37]process_action close_receipt done [14:56:37]requested_data is exist [14:56:37]produce_requested_data [14:56:37]requested_item fm.sn is exist - process it [14:56:37]wFMCommunicate request_size=4 [14:56:37]MH_SAM_APDU [14:56:37]CAPDU: 80 11 00 00 [14:56:37]Write to MH i2c: E2 08 00 0D 0A 80 11 00 00 00 00 00 00 91 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:37]Read from MH i2c: E2 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 17 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 17 00 0D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E7 [14:56:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:56:37]wFMCommunicate OK [14:56:37]requested_item fd.num is exist - process it [14:56:37]SAM_PROTO_GetFieldsCounters [14:56:37]wFMCommunicate request_size=4 [14:56:37]MH_SAM_APDU [14:56:37]CAPDU: 80 13 00 00 [14:56:37]Write to MH i2c: E2 08 00 0E 0A 80 13 00 00 00 00 00 00 94 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:37]Read from MH i2c: E2 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 62 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 62 00 0E 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [14:56:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9D 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:56:37]wFMCommunicate OK [14:56:37]SAM_PROTO_GetFieldsCounters done [14:56:37]requested_item shift.num is exist - process it [14:56:37]requested_item shift.opened is exist - process it [14:56:37]req_shift_opened [14:56:37]FM_GetShiftState [14:56:37]SAM_PROTO_GetShiftState [14:56:37]wFMCommunicate request_size=4 [14:56:37]MH_SAM_APDU [14:56:37]CAPDU: 80 13 01 00 [14:56:37]Write to MH i2c: E2 08 00 0F 0A 80 13 01 00 00 00 00 00 96 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:37]Read from MH i2c: E2 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 0E 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 0E 00 0F 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 7C [14:56:37]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:56:37]wFMCommunicate OK [14:56:37]SAM_PROTO_GetShiftState done [14:56:37]FM_GetShiftState done [14:56:37]req_shift_opened done [14:56:37]requested_item shift.open_date is exist - process it [14:56:37]req_shift_open_date [14:56:37]req_shift_open_date done [14:56:37]produce_requested_data done [14:56:37]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32413,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [14:56:37]process_action_free close_receipt [14:56:37]json_value_free [14:56:37]json_value_free done [14:56:37]process_json_proto returns [14:56:37]Send response to host [14:56:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32413,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [14:56:37]free response buf [14:56:37]execute_script done [14:56:37]execute_script returns [14:56:37]free content buf [14:56:37]Sock 9.Close socket [14:56:37]Sock 9.Thread stoped [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:40]accept exits with 7 [14:59:40]New connection [14:59:40]New thread 3067555172 created [14:59:40]Thread 3067411812 joined [14:59:40]Waiting for new connection... [14:59:40] Sock 7.Parse request [14:59:40]Sock 7.Check first char [14:59:40]Sock 7.First char is OK [14:59:40]request: POST /json_proto HTTP/1.0 [14:59:40]Method: POST [14:59:40]URL: /json_proto [14:59:40]Method is POST - this is cgi request [14:59:40]url: /json_proto [14:59:40]query_string will be loaded in cgi processing [14:59:40]execute_cgi json_proto POST (null) [14:59:40]execute_cgi path=json_proto method=POST [14:59:40]POST find Content-Length [14:59:40]Host: 172.17.47.135:8080 [14:59:40]Content-Length: 625 [14:59:40]Content-Type: application/json [14:59:40] [14:59:40]POST finish read [14:59:40]Found Content-Length = 625 [14:59:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130659", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:59:40]execute_script... [14:59:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130659", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:59:40]POST & json_proto [14:59:40]process_json_proto [14:59:40]json parsed OK: [14:59:40]protocol is kg_v1.0 [14:59:40]action value=close_receipt [14:59:40]process_action close_receipt [14:59:40]cmd_close_receipt [14:59:40]MH_GetDate [14:59:40]Write to MH i2c: F0 00 00 10 0A 09 [14:59:40]Write i2c OK [14:59:40]MH_I2C_Read... [14:59:40]Read from MH i2c: F0 [14:59:40]MH_I2C_Read... [14:59:40]Read from MH i2c: F0 09 00 [14:59:40]MH_I2C_Read... [14:59:40]Read from MH i2c: F0 09 00 10 0A 00 DE 4E B3 67 19 D8 DE 66 8D [14:59:40]GetLastDocTimeStamp 1739804194 [14:59:40]current date 1739804382 [14:59:40]FM_GetShiftState [14:59:40]SAM_PROTO_GetShiftState [14:59:40]wFMCommunicate request_size=4 [14:59:40]MH_SAM_APDU [14:59:40]CAPDU: 80 13 01 00 [14:59:40]Write to MH i2c: E2 08 00 11 0A 80 13 01 00 00 00 00 00 98 [14:59:40]Write i2c OK [14:59:40]MH_I2C_Read... [14:59:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:59:40]Read from MH i2c: E2 [14:59:40]MH_I2C_Read... [14:59:40]Read from MH i2c: E2 0E 00 [14:59:40]MH_I2C_Read... [14:59:40]Read from MH i2c: E2 0E 00 11 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 7E [14:59:40]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:59:40]wFMCommunicate OK [14:59:40]SAM_PROTO_GetShiftState done [14:59:40]FM_GetShiftState done [14:59:40]opened in 1739750979 [14:59:40]opened+sec_in_day 1739837379 [14:59:40]quantity*price = 6900 [14:59:40]sum+1 = 6901 [14:59:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 45 17.02.2025 14:59 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32414 ФПД: 218554781021074 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T145942&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32414&fm=218554781021074&tin=02508201610067®Number=0000000000146237&sum=6900 0 [14:59:41]StoreToDocumentArchive [14:59:41]shift 382 fd 32414 [14:59:41]save to /storage/0382/doc_00032414 [14:59:41]save last doc name /storage/0382/doc_00032414 to /storage/kkm_last_doc_name [14:59:41]save OK [14:59:41]Clear old archive folders... [14:59:41]ProcessDocumentItem done err = 0, tmpTLVsize=268 [14:59:41]tlvbuf is 004A0840 [14:59:41]SAM_PROTO_ClearQueue [14:59:41]wFMCommunicate request_size=4 [14:59:41]MH_SAM_APDU [14:59:41]CAPDU: 80 09 00 00 [14:59:41]Write to MH i2c: E2 08 00 1E 0A 80 09 00 00 00 00 00 00 9A [14:59:41]Write i2c OK [14:59:41]MH_I2C_Read... [14:59:41]Read from MH i2c: E2 [14:59:41]MH_I2C_Read... [14:59:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:59:41]Read from MH i2c: E2 03 00 [14:59:41]MH_I2C_Read... [14:59:41]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [14:59:41]RAPDU: 90 00 [14:59:41]wFMCommunicate OK [14:59:41]SAM_PROTO_ClearQueue done [14:59:41]KKMCreateOFDPacket [14:59:41]OFDProtocolAddRootSTLVToBuf [14:59:41]FM_MakeSignedData [14:59:41]FM_MakeSignedData [14:59:41]SAM_PROTO_SignData [14:59:41]wFMCommunicate request_size=4 [14:59:41]MH_SAM_APDU [14:59:41]CAPDU: 80 0D 01 02 [14:59:41]Write to MH i2c: E2 08 00 1F 0A 80 0D 01 02 00 00 00 00 A2 [14:59:41]Write i2c OK [14:59:41]MH_I2C_Read... [14:59:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:59:41]Read from MH i2c: E2 [14:59:41]MH_I2C_Read... [14:59:41]Read from MH i2c: E2 03 00 [14:59:41]MH_I2C_Read... [14:59:41]Read from MH i2c: E2 03 00 1F 0A 00 90 00 9D [14:59:41]RAPDU: 90 00 [14:59:41]wFMCommunicate OK [14:59:41]wFMCommunicate request_size=255 [14:59:41]MH_SAM_APDU [14:59:41]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 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 2D 00 00 00 F4 03 04 00 DE 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 [14:59:42]Write to MH i2c: E2 02 01 20 0A 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 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 2D 00 00 00 F4 03 04 00 DE 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 00 00 14 [14:59:42]Write i2c OK [14:59:42]MH_I2C_Read... [14:59:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:59:42]Read from MH i2c: E2 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 03 00 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 03 00 20 0A 00 90 00 9E [14:59:42]RAPDU: 90 00 [14:59:42]wFMCommunicate OK [14:59:42]wFMCommunicate request_size=27 [14:59:42]MH_SAM_APDU [14:59:42]CAPDU: 80 0D 02 02 16 39 32 38 32 10 04 04 00 9E 7E 00 00 35 04 06 00 C6 C6 40 16 33 92 [14:59:42]Write to MH i2c: E2 1E 00 21 0A 80 0D 02 02 16 00 39 32 38 32 10 04 04 00 9E 7E 00 00 35 04 06 00 C6 C6 40 16 33 92 00 00 C0 [14:59:42]Write i2c OK [14:59:42]MH_I2C_Read... [14:59:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:59:42]Read from MH i2c: E2 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 03 00 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 03 00 21 0A 00 90 00 9F [14:59:42]RAPDU: 90 00 [14:59:42]wFMCommunicate OK [14:59:42]wFMCommunicate request_size=4 [14:59:42]MH_SAM_APDU [14:59:42]CAPDU: 80 0D 03 02 [14:59:42]Write to MH i2c: E2 08 00 22 0A 80 0D 03 02 00 00 00 00 A7 [14:59:42]Write i2c OK [14:59:42]MH_I2C_Read... [14:59:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:59:42]Read from MH i2c: E2 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 0B 00 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 0B 00 22 0A 00 F8 9C 02 2A 15 A9 C3 2C 90 00 15 [14:59:42]RAPDU: F8 9C 02 2A 15 A9 C3 2C 90 00 [14:59:42]wFMCommunicate OK [14:59:42]SAM_PROTO_SignData done [14:59:42]FM_MakeSignedData done [14:59:42]CreateOFDProtocolMessage [14:59:42]wFMCommunicate request_size=4 [14:59:42]MH_SAM_APDU [14:59:42]CAPDU: 80 11 00 00 [14:59:42]Write to MH i2c: E2 08 00 23 0A 80 11 00 00 00 00 00 00 A7 [14:59:42]Write i2c OK [14:59:42]MH_I2C_Read... [14:59:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:59:42]Read from MH i2c: E2 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 17 00 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: E2 17 00 23 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FD [14:59:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:59:42]wFMCommunicate OK [14:59:42]CreateOFDProtocolMessage done [14:59:42]OFDSenderStorePacket 32414 [14:59:42]StoreOFDPacket docnum=32414 [14:59:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 20 01 00 00 1A 7A 18 01 C3 34 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 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 2D 00 00 00 F4 03 04 00 DE 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9E 7E 00 00 35 04 06 00 C6 C6 40 16 33 92 F8 9C 02 2A 15 A9 C3 2C [14:59:42]CheckFolder [14:59:42]dirname=/storage/ofd_packets [14:59:42]CheckFolder done [14:59:42]ProducePacketName [14:59:42]name=ofd_packets/00032414 [14:59:42]NVStorageSaveData ofd_packets/00032414 [14:59:42]File name is /storage/ofd_packets/00032414 [14:59:42]Write 318 bytes [14:59:42]NVStorageSaveData done [14:59:42]OFDSenderStorePacket done [14:59:42]KKMCreateOFDPacket done [14:59:42]NVStorageSaveData kkm_last_timestamp [14:59:42]File name is /storage/kkm_last_timestamp [14:59:42]Write 4 bytes [14:59:42]NVStorageSaveData done [14:59:42]ExternCall_PrintAddStr [14:59:42]wPrintStart [14:59:42]Write to MH i2c: 01 00 00 24 0A 2E [14:59:42]Write i2c OK [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: 01 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: 01 07 00 [14:59:42]MH_I2C_Read... [14:59:42]Read from MH i2c: 01 07 00 24 0A 00 00 00 00 00 FF 0F 43 [14:59:42]RasterBufferAndPrint [14:59:42]line Счет N : (3)130659 [14:59:42]line ИНН: 02508201610067 [14:59:42]line Контрольно-Кассовый Чек [14:59:42]line ПРОДАЖА [14:59:42]line Товар: 4700003610560 [14:59:42]line Вода Энесай 5л. [14:59:42]line 1.000 * 69.00 [14:59:42]line = 69.00 [14:59:42]line НДС 12% НСП 1% [14:59:42]line > о реализуемом товаре [14:59:42]line ИТОГО: 69.00 [14:59:42]line НСП 1% : 0.61 [14:59:42]line НДС 12% : 7.33 [14:59:42]line Наличными: 69.00 [14:59:42]line Безнал.: 0.00 [14:59:42]line Место: АЗС № 96 "Партнер Нефть" [14:59:42]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:59:42]line СНО: Общий режим [14:59:42]line Чек 45 17.02.2025 14:59 [14:59:42]line Смена: 382 ФФД: 1.0 [14:59:42]line ЗНМ: 0300000059 [14:59:42]line РНМ: 0000000000146237 [14:59:42]line Версия ККМ: v1.0 [14:59:42]line ФМ: 0000000000959282 [14:59:42]line ФД: 32414 [14:59:42]line ФПД: 218554781021074 [14:59:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T145942&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32414&fm=218554781021074&tin=02508201610067®Number=0000000000146237&sum=6900 [14:59:42]line 0 [14:59:42]OFD Sender: Processing packet 32414 [packets to send 104, broken 103] [14:59:42]ProducePacketName [14:59:42]name=ofd_packets/00032414 [14:59:42]OFD Sender: To server: pG, [14:59:42]CommunicateWithHost lk.salyk.kg:30040 [14:59:42]ConnectInit lk.salyk.kg [14:59:42]written 0, free lines is 4095 [14:59:42]Connected sock=10 [14:59:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 20 01 00 00 1A 7A 18 01 C3 34 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 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 2D 00 00 00 F4 03 04 00 DE 4E B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9E 7E 00 00 35 04 06 00 C6 C6 40 16 33 92 F8 9C 02 2A 15 A9 C3 2C [14:59:43]Write to MH i2c: 01 00 00 4C 0A 56 [14:59:43]Write i2c OK [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: 01 [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: 01 07 00 [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: 01 07 00 4C 0A 00 00 00 00 00 10 0D 7A [14:59:43]RasterBufferAndPrint [14:59:43]line [14:59:43]line [14:59:43]line [14:59:43]line [14:59:43]line [14:59:43]written 0, free lines is 3350 [14:59:43]MH_Cut [14:59:43]Write to MH i2c: D1 01 00 53 0A 01 2F [14:59:43]Write i2c OK [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: D1 [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: D1 01 00 [14:59:43]MH_I2C_Read... [14:59:43]Read from MH i2c: D1 01 00 53 0A 00 2E [14:59:43]Write to MH i2c: 01 00 00 54 0A 5E [14:59:43]Write i2c OK [14:59:43]MH_I2C_Read... [14:59:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 36 19 47 00 9F 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9E 7E 00 00 F4 03 04 00 81 F8 B2 67 B6 04 01 00 00 94 D1 3C C2 D5 E8 06 4E [14:59:43]CommunicateWithHost err = 0 [14:59:43]CheckOFDResponse [14:59:43]1017 (14) - 77093643461234 [14:59:43]1041 (16) - 0000000000959282 [14:59:43]1040 (4) - 32414 [14:59:43]1012 (4) - 17.02.2025 08:51 [14:59:43]1206 (1) - 0 [14:59:43]OFD Sender: Remove packet 32414 [14:59:43]ProducePacketName [14:59:43]name=ofd_packets/00032414 [14:59:43]NVStorageDeleteData [14:59:43]OFD Sender: No OFD packet to send [14:59:43]*** Cut start [14:59:43]*** Partial cut [14:59:43]*** CUTSNS_PIN = 1 [14:59:43]*** CUTSNS_PIN = 0 [14:59:44]*** Brake cut motor [14:59:44]Read from MH i2c: 01 [14:59:44]MH_I2C_Read... [14:59:44]*** Stop cut motor [14:59:44]*** Cut end [14:59:44]Read from MH i2c: 01 07 00 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: 01 07 00 54 0A 00 00 00 00 00 FF 0F 73 [14:59:44]process_action close_receipt done [14:59:44]requested_data is exist [14:59:44]produce_requested_data [14:59:44]requested_item fm.sn is exist - process it [14:59:44]wFMCommunicate request_size=4 [14:59:44]MH_SAM_APDU [14:59:44]CAPDU: 80 11 00 00 [14:59:44]Write to MH i2c: E2 08 00 55 0A 80 11 00 00 00 00 00 00 D9 [14:59:44]Write i2c OK [14:59:44]MH_I2C_Read... [14:59:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:59:44]Read from MH i2c: E2 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 17 00 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 17 00 55 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2F [14:59:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:59:44]wFMCommunicate OK [14:59:44]requested_item fd.num is exist - process it [14:59:44]SAM_PROTO_GetFieldsCounters [14:59:44]wFMCommunicate request_size=4 [14:59:44]MH_SAM_APDU [14:59:44]CAPDU: 80 13 00 00 [14:59:44]Write to MH i2c: E2 08 00 56 0A 80 13 00 00 00 00 00 00 DC [14:59:44]Write i2c OK [14:59:44]MH_I2C_Read... [14:59:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:59:44]Read from MH i2c: E2 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 62 00 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 62 00 56 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [14:59:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9E 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:59:44]wFMCommunicate OK [14:59:44]SAM_PROTO_GetFieldsCounters done [14:59:44]requested_item shift.num is exist - process it [14:59:44]requested_item shift.opened is exist - process it [14:59:44]req_shift_opened [14:59:44]FM_GetShiftState [14:59:44]SAM_PROTO_GetShiftState [14:59:44]wFMCommunicate request_size=4 [14:59:44]MH_SAM_APDU [14:59:44]CAPDU: 80 13 01 00 [14:59:44]Write to MH i2c: E2 08 00 57 0A 80 13 01 00 00 00 00 00 DE [14:59:44]Write i2c OK [14:59:44]MH_I2C_Read... [14:59:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:59:44]Read from MH i2c: E2 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 0E 00 [14:59:44]MH_I2C_Read... [14:59:44]Read from MH i2c: E2 0E 00 57 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C4 [14:59:44]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [14:59:44]wFMCommunicate OK [14:59:44]SAM_PROTO_GetShiftState done [14:59:44]FM_GetShiftState done [14:59:44]req_shift_opened done [14:59:44]requested_item shift.open_date is exist - process it [14:59:44]req_shift_open_date [14:59:44]req_shift_open_date done [14:59:44]produce_requested_data done [14:59:44]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32414,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [14:59:44]process_action_free close_receipt [14:59:44]json_value_free [14:59:44]json_value_free done [14:59:44]process_json_proto returns [14:59:44]Send response to host [14:59:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32414,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [14:59:44]free response buf [14:59:44]execute_script done [14:59:44]execute_script returns [14:59:44]free content buf [14:59:44]Sock 7.Close socket [14:59:44]Sock 7.Thread stoped [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:15]OFD Sender: No OFD packet to send [15:19:20]OFD Sender: No OFD packet to send [15:19:25]OFD Sender: No OFD packet to send [15:19:30]OFD Sender: No OFD packet to send [15:19:35]OFD Sender: No OFD packet to send [15:19:40]OFD Sender: No OFD packet to send [15:19:45]OFD Sender: No OFD packet to send [15:19:50]OFD Sender: No OFD packet to send [15:19:55]OFD Sender: No OFD packet to send [15:20:00]OFD Sender: No OFD packet to send [15:20:05]OFD Sender: No OFD packet to send [15:20:10]OFD Sender: No OFD packet to send [15:20:15]OFD Sender: No OFD packet to send [15:20:20]OFD Sender: No OFD packet to send [15:20:25]OFD Sender: No OFD packet to send [15:20:30]OFD Sender: No OFD packet to send [15:20:35]OFD Sender: No OFD packet to send [15:20:40]OFD Sender: No OFD packet to send [15:20:45]OFD Sender: No OFD packet to send [15:20:50]OFD Sender: No OFD packet to send [15:20:55]OFD Sender: No OFD packet to send [15:21:00]OFD Sender: No OFD packet to send [15:21:05]OFD Sender: No OFD packet to send [15:21:10]OFD Sender: No OFD packet to send [15:21:15]OFD Sender: No OFD packet to send [15:21:20]OFD Sender: No OFD packet to send [15:21:25]OFD Sender: No OFD packet to send [15:21:30]OFD Sender: No OFD packet to send [15:21:35]OFD Sender: No OFD packet to send [15:21:40]OFD Sender: No OFD packet to send [15:21:45]OFD Sender: No OFD packet to send [15:21:50]OFD Sender: No OFD packet to send [15:21:55]OFD Sender: No OFD packet to send [15:22:00]OFD Sender: No OFD packet to send [15:22:05]OFD Sender: No OFD packet to send [15:22:10]OFD Sender: No OFD packet to send [15:22:15]OFD Sender: No OFD packet to send [15:22:20]OFD Sender: No OFD packet to send [15:22:25]OFD Sender: No OFD packet to send [15:22:30]OFD Sender: No OFD packet to send [15:22:35]OFD Sender: No OFD packet to send [15:22:40]OFD Sender: No OFD packet to send [15:22:45]OFD Sender: No OFD packet to send [15:22:50]OFD Sender: No OFD packet to send [15:22:55]OFD Sender: No OFD packet to send [15:23:00]OFD Sender: No OFD packet to send [15:23:05]OFD Sender: No OFD packet to send [15:23:10]OFD Sender: No OFD packet to send [15:23:15]OFD Sender: No OFD packet to send [15:23:20]OFD Sender: No OFD packet to send [15:23:25]OFD Sender: No OFD packet to send [15:23:30]OFD Sender: No OFD packet to send [15:23:35]OFD Sender: No OFD packet to send [15:23:40]OFD Sender: No OFD packet to send [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:15]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:23]accept exits with 9 [15:32:23]New connection [15:32:23]New thread 3067411812 created [15:32:23]Thread 3067555172 joined [15:32:23]Waiting for new connection... [15:32:23] Sock 9.Parse request [15:32:23]Sock 9.Check first char [15:32:23]Sock 9.First char is OK [15:32:23]request: POST /json_proto HTTP/1.0 [15:32:23]Method: POST [15:32:23]URL: /json_proto [15:32:23]Method is POST - this is cgi request [15:32:23]url: /json_proto [15:32:23]query_string will be loaded in cgi processing [15:32:23]execute_cgi json_proto POST (null) [15:32:23]execute_cgi path=json_proto method=POST [15:32:23]POST find Content-Length [15:32:23]Host: 172.17.47.135:8080 [15:32:23]Content-Length: 1053 [15:32:23]Content-Type: application/json [15:32:23] [15:32:23]POST finish read [15:32:23]Found Content-Length = 1053 [15:32:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130660", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 154.00, "quantity" : 1.000, "sum" : 154.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" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:23]execute_script... [15:32: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)130660", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 154.00, "quantity" : 1.000, "sum" : 154.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" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:23]POST & json_proto [15:32:23]process_json_proto [15:32:23]json parsed OK: [15:32:23]protocol is kg_v1.0 [15:32:23]action value=close_receipt [15:32:23]process_action close_receipt [15:32:23]cmd_close_receipt [15:32:23]MH_GetDate [15:32:23]Write to MH i2c: F0 00 00 58 0A 51 [15:32:23]Write i2c OK [15:32:23]MH_I2C_Read... [15:32:23]Read from MH i2c: F0 [15:32:23]MH_I2C_Read... [15:32:23]Read from MH i2c: F0 09 00 [15:32:23]MH_I2C_Read... [15:32:23]Read from MH i2c: F0 09 00 58 0A 00 89 56 B3 67 19 D8 DE 66 88 [15:32:23]GetLastDocTimeStamp 1739804382 [15:32:23]current date 1739806345 [15:32:23]FM_GetShiftState [15:32:23]SAM_PROTO_GetShiftState [15:32:23]wFMCommunicate request_size=4 [15:32:23]MH_SAM_APDU [15:32:23]CAPDU: 80 13 01 00 [15:32:23]Write to MH i2c: E2 08 00 59 0A 80 13 01 00 00 00 00 00 E0 [15:32:23]Write i2c OK [15:32:23]MH_I2C_Read... [15:32:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:23]Read from MH i2c: E2 [15:32:23]MH_I2C_Read... [15:32:23]Read from MH i2c: E2 0E 00 [15:32:23]MH_I2C_Read... [15:32:23]Read from MH i2c: E2 0E 00 59 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C6 [15:32:23]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [15:32:23]wFMCommunicate OK [15:32:23]SAM_PROTO_GetShiftState done [15:32:23]FM_GetShiftState done [15:32:23]opened in 1739750979 [15:32:23]opened+sec_in_day 1739837379 [15:32:23]quantity*price = 7900 [15:32:23]sum+1 = 7901 [15:32:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001150099 Сок Da-Da 1л персик 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 233.00 НСП 1% : 2.06 НДС 12% : 24.74 Наличными: 0.00 Безнал.: 233.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 46 17.02.2025 15:32 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32415 ФПД: 193940498947080 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T153225&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32415&fm=193940498947080&tin=02508201610067®Number=0000000000146237&sum=23300 0 [15:32:25]StoreToDocumentArchive [15:32:25]shift 382 fd 32415 [15:32:25]save to /storage/0382/doc_00032415 [15:32:25]save last doc name /storage/0382/doc_00032415 to /storage/kkm_last_doc_name [15:32:25]save OK [15:32:25]Clear old archive folders... [15:32:25]ProcessDocumentItem done err = 0, tmpTLVsize=372 [15:32:25]tlvbuf is 004A67C0 [15:32:25]SAM_PROTO_ClearQueue [15:32:25]wFMCommunicate request_size=4 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 09 00 00 [15:32:25]Write to MH i2c: E2 08 00 66 0A 80 09 00 00 00 00 00 00 E2 [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 66 0A 00 90 00 E4 [15:32:25]RAPDU: 90 00 [15:32:25]wFMCommunicate OK [15:32:25]SAM_PROTO_ClearQueue done [15:32:25]KKMCreateOFDPacket [15:32:25]OFDProtocolAddRootSTLVToBuf [15:32:25]FM_MakeSignedData [15:32:25]FM_MakeSignedData [15:32:25]SAM_PROTO_SignData [15:32:25]wFMCommunicate request_size=4 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 0D 01 02 [15:32:25]Write to MH i2c: E2 08 00 67 0A 80 0D 01 02 00 00 00 00 EA [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 67 0A 00 90 00 E5 [15:32:25]RAPDU: 90 00 [15:32:25]wFMCommunicate OK [15:32:25]wFMCommunicate request_size=255 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 0D 02 02 FA 03 00 74 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 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 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 [15:32:25]Write to MH i2c: E2 02 01 68 0A 80 0D 02 02 FA 00 03 00 74 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 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 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 00 00 FB [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 68 0A 00 90 00 E6 [15:32:25]RAPDU: 90 00 [15:32:25]wFMCommunicate OK [15:32:25]wFMCommunicate request_size=131 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 89 56 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9F 7E 00 00 35 04 06 00 B0 63 4A 8C 1C 08 [15:32:25]Write to MH i2c: E2 86 00 69 0A 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 89 56 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9F 7E 00 00 35 04 06 00 B0 63 4A 8C 1C 08 00 00 04 [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 03 00 69 0A 00 90 00 E7 [15:32:25]RAPDU: 90 00 [15:32:25]wFMCommunicate OK [15:32:25]wFMCommunicate request_size=4 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 0D 03 02 [15:32:25]Write to MH i2c: E2 08 00 6A 0A 80 0D 03 02 00 00 00 00 EF [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 0B 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 0B 00 6A 0A 00 69 E6 0D 78 B2 93 67 1F 90 00 8F [15:32:25]RAPDU: 69 E6 0D 78 B2 93 67 1F 90 00 [15:32:25]wFMCommunicate OK [15:32:25]SAM_PROTO_SignData done [15:32:25]FM_MakeSignedData done [15:32:25]CreateOFDProtocolMessage [15:32:25]wFMCommunicate request_size=4 [15:32:25]MH_SAM_APDU [15:32:25]CAPDU: 80 11 00 00 [15:32:25]Write to MH i2c: E2 08 00 6B 0A 80 11 00 00 00 00 00 00 EF [15:32:25]Write i2c OK [15:32:25]MH_I2C_Read... [15:32:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:25]Read from MH i2c: E2 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 17 00 [15:32:25]MH_I2C_Read... [15:32:25]Read from MH i2c: E2 17 00 6B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 45 [15:32:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:32:25]wFMCommunicate OK [15:32:25]CreateOFDProtocolMessage done [15:32:25]OFDSenderStorePacket 32415 [15:32:25]StoreOFDPacket docnum=32415 [15:32:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 88 01 00 00 3C 04 80 01 E9 04 5A 03 01 00 03 00 74 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 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 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 89 56 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9F 7E 00 00 35 04 06 00 B0 63 4A 8C 1C 08 69 E6 0D 78 B2 93 67 1F [15:32:25]CheckFolder [15:32:25]dirname=/storage/ofd_packets [15:32:25]CheckFolder done [15:32:25]ProducePacketName [15:32:25]name=ofd_packets/00032415 [15:32:25]NVStorageSaveData ofd_packets/00032415 [15:32:25]File name is /storage/ofd_packets/00032415 [15:32:25]Write 422 bytes [15:32:25]NVStorageSaveData done [15:32:25]OFDSenderStorePacket done [15:32:25]KKMCreateOFDPacket done [15:32:25]NVStorageSaveData kkm_last_timestamp [15:32:25]File name is /storage/kkm_last_timestamp [15:32:25]Write 4 bytes [15:32:26]NVStorageSaveData done [15:32:26]ExternCall_PrintAddStr [15:32:26]wPrintStart [15:32:26]Write to MH i2c: 01 00 00 6C 0A 76 [15:32:26]OFD Sender: Processing packet 32415 [packets to send 104, broken 103] [15:32:26]ProducePacketName [15:32:26]name=ofd_packets/00032415 [15:32:26]OFD Sender: To server: pG, [15:32:26]CommunicateWithHost lk.salyk.kg:30040 [15:32:26]ConnectInit lk.salyk.kg [15:32:26]Write i2c OK [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 07 00 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 07 00 6C 0A 00 00 00 00 00 FF 0F 8B [15:32:26]RasterBufferAndPrint [15:32:26]line Счет N : (3)130660 [15:32:26]line ИНН: 02508201610067 [15:32:26]line Контрольно-Кассовый Чек [15:32:26]line ПРОДАЖА [15:32:26]line Товар: 4700000160204 [15:32:26]line Вода Легенда 1,5л [15:32:26]line 1.000 * 79.00 [15:32:26]line = 79.00 [15:32:26]line НДС 12% НСП 1% [15:32:26]line > о реализуемом товаре [15:32:26]line Товар: 4870001150099 [15:32:26]line Сок Da-Da 1л персик [15:32:26]line 1.000 * 154.00 [15:32:26]line = 154.00 [15:32:26]line НДС 12% НСП 1% [15:32:26]line > о реализуемом товаре [15:32:26]line ИТОГО: 233.00 [15:32:26]line НСП 1% : 2.06 [15:32:26]line НДС 12% : 24.74 [15:32:26]line Наличными: 0.00 [15:32:26]line Безнал.: 233.00 [15:32:26]line Место: АЗС № 96 "Партнер Нефть" [15:32:26]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:32:26]line СНО: Общий режим [15:32:26]line Чек 46 17.02.2025 15:32 [15:32:26]line Смена: 382 ФФД: 1.0 [15:32:26]line ЗНМ: 0300000059 [15:32:26]line РНМ: 0000000000146237 [15:32:26]line Версия ККМ: v1.0 [15:32:26]line Платежная система: Бакай Банк [15:32:26]line ФМ: 0000000000959282 [15:32:26]line ФД: 32415 [15:32:26]line ФПД: 193940498947080 [15:32:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T153225&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32415&fm=193940498947080&tin=02508201610067®Number=0000000000146237&sum=23300 [15:32:26]line 0 [15:32:26]written 0, free lines is 4095 [15:32:26]Connected sock=10 [15:32:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 88 01 00 00 3C 04 80 01 E9 04 5A 03 01 00 03 00 74 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 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 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 5B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 89 56 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 9F 7E 00 00 35 04 06 00 B0 63 4A 8C 1C 08 69 E6 0D 78 B2 93 67 1F [15:32:26]Write to MH i2c: 01 00 00 9C 0A A6 [15:32:26]Write i2c OK [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 07 00 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: 01 07 00 9C 0A 00 00 00 00 00 B8 0C 71 [15:32:26]RasterBufferAndPrint [15:32:26]line [15:32:26]line [15:32:26]line [15:32:26]line [15:32:26]line [15:32:26]written 0, free lines is 3265 [15:32:26]MH_Cut [15:32:26]Write to MH i2c: D1 01 00 A3 0A 01 7F [15:32:26]Write i2c OK [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: D1 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: D1 01 00 [15:32:26]MH_I2C_Read... [15:32:26]Read from MH i2c: D1 01 00 A3 0A 00 7E [15:32:26]Write to MH i2c: 01 00 00 A4 0A AE [15:32:26]Write i2c OK [15:32:26]MH_I2C_Read... [15:32:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 B2 86 47 00 B7 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 35 39 32 38 32 10 04 04 00 9F 7E 00 00 F4 03 04 00 2D 00 B3 67 B6 04 01 00 00 6C 08 44 C8 02 29 FD C1 [15:32:26]CommunicateWithHost err = 0 [15:32:26]CheckOFDResponse [15:32:26]1017 (14) - 77093643461234 [15:32:26]1041 (16) - 0000000000959282 [15:32:26]1040 (4) - 32415 [15:32:26]1012 (4) - 17.02.2025 09:23 [15:32:26]1206 (1) - 0 [15:32:26]OFD Sender: Remove packet 32415 [15:32:26]ProducePacketName [15:32:26]name=ofd_packets/00032415 [15:32:26]NVStorageDeleteData [15:32:27]*** Cut start [15:32:27]*** Partial cut [15:32:27]*** CUTSNS_PIN = 1 [15:32:27]*** CUTSNS_PIN = 0 [15:32:27]OFD Sender: No OFD packet to send [15:32:27]*** Brake cut motor [15:32:27]Read from MH i2c: 01 [15:32:27]MH_I2C_Read... [15:32:27]*** Stop cut motor [15:32:27]*** Cut end [15:32:27]Read from MH i2c: 01 07 00 [15:32:27]MH_I2C_Read... [15:32:27]Read from MH i2c: 01 07 00 A4 0A 00 00 00 00 00 FF 0F C3 [15:32:27]process_action close_receipt done [15:32:27]requested_data is exist [15:32:27]produce_requested_data [15:32:27]requested_item fm.sn is exist - process it [15:32:27]wFMCommunicate request_size=4 [15:32:27]MH_SAM_APDU [15:32:27]CAPDU: 80 11 00 00 [15:32:27]Write to MH i2c: E2 08 00 A5 0A 80 11 00 00 00 00 00 00 29 [15:32:27]Write i2c OK [15:32:27]MH_I2C_Read... [15:32:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:27]Read from MH i2c: E2 [15:32:27]MH_I2C_Read... [15:32:27]Read from MH i2c: E2 17 00 [15:32:27]MH_I2C_Read... [15:32:27]Read from MH i2c: E2 17 00 A5 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7F [15:32:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:32:27]wFMCommunicate OK [15:32:27]requested_item fd.num is exist - process it [15:32:27]SAM_PROTO_GetFieldsCounters [15:32:27]wFMCommunicate request_size=4 [15:32:27]MH_SAM_APDU [15:32:27]CAPDU: 80 13 00 00 [15:32:27]Write to MH i2c: E2 08 00 A6 0A 80 13 00 00 00 00 00 00 2C [15:32:27]Write i2c OK [15:32:27]MH_I2C_Read... [15:32:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:32:28]Read from MH i2c: E2 [15:32:28]MH_I2C_Read... [15:32:28]Read from MH i2c: E2 62 00 [15:32:28]MH_I2C_Read... [15:32:28]Read from MH i2c: E2 62 00 A6 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [15:32:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 9F 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:32:28]wFMCommunicate OK [15:32:28]SAM_PROTO_GetFieldsCounters done [15:32:28]requested_item shift.num is exist - process it [15:32:28]requested_item shift.opened is exist - process it [15:32:28]req_shift_opened [15:32:28]FM_GetShiftState [15:32:28]SAM_PROTO_GetShiftState [15:32:28]wFMCommunicate request_size=4 [15:32:28]MH_SAM_APDU [15:32:28]CAPDU: 80 13 01 00 [15:32:28]Write to MH i2c: E2 08 00 A7 0A 80 13 01 00 00 00 00 00 2E [15:32:28]Write i2c OK [15:32:28]MH_I2C_Read... [15:32:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:28]Read from MH i2c: E2 [15:32:28]MH_I2C_Read... [15:32:28]Read from MH i2c: E2 0E 00 [15:32:28]MH_I2C_Read... [15:32:28]Read from MH i2c: E2 0E 00 A7 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 14 [15:32:28]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [15:32:28]wFMCommunicate OK [15:32:28]SAM_PROTO_GetShiftState done [15:32:28]FM_GetShiftState done [15:32:28]req_shift_opened done [15:32:28]requested_item shift.open_date is exist - process it [15:32:28]req_shift_open_date [15:32:28]req_shift_open_date done [15:32:28]produce_requested_data done [15:32:28]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32415,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [15:32:28]process_action_free close_receipt [15:32:28]json_value_free [15:32:28]json_value_free done [15:32:28]process_json_proto returns [15:32:28]Send response to host [15:32:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32415,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [15:32:28]free response buf [15:32:28]execute_script done [15:32:28]execute_script returns [15:32:28]free content buf [15:32:28]Sock 9.Close socket [15:32:28]Sock 9.Thread stoped [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [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:41]accept exits with 7 [15:39:41]New connection [15:39:41]New thread 3067555172 created [15:39:41]Thread 3067411812 joined [15:39:41]Waiting for new connection... [15:39:41] Sock 7.Parse request [15:39:41]Sock 7.Check first char [15:39:41]Sock 7.First char is OK [15:39:41]request: POST /json_proto HTTP/1.0 [15:39:41]Method: POST [15:39:41]URL: /json_proto [15:39:41]Method is POST - this is cgi request [15:39:41]url: /json_proto [15:39:41]query_string will be loaded in cgi processing [15:39:41]execute_cgi json_proto POST (null) [15:39:41]execute_cgi path=json_proto method=POST [15:39:41]POST find Content-Length [15:39:41]Host: 172.17.47.135:8080 [15:39:41]Content-Length: 621 [15:39:41]Content-Type: application/json [15:39:41] [15:39:41]POST finish read [15:39:41]Found Content-Length = 621 [15:39:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130661", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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:39:41]execute_script... [15:39: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)130661", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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:39:41]POST & json_proto [15:39:41]process_json_proto [15:39:41]json parsed OK: [15:39:41]protocol is kg_v1.0 [15:39:41]action value=close_receipt [15:39:41]process_action close_receipt [15:39:41]cmd_close_receipt [15:39:41]MH_GetDate [15:39:41]Write to MH i2c: F0 00 00 A8 0A A1 [15:39:41]Write i2c OK [15:39:41]MH_I2C_Read... [15:39:41]Read from MH i2c: F0 [15:39:41]MH_I2C_Read... [15:39:41]Read from MH i2c: F0 09 00 [15:39:41]MH_I2C_Read... [15:39:41]Read from MH i2c: F0 09 00 A8 0A 00 3F 58 B3 67 19 D8 DE 66 90 [15:39:41]GetLastDocTimeStamp 1739806345 [15:39:41]current date 1739806783 [15:39:41]FM_GetShiftState [15:39:41]SAM_PROTO_GetShiftState [15:39:41]wFMCommunicate request_size=4 [15:39:41]MH_SAM_APDU [15:39:41]CAPDU: 80 13 01 00 [15:39:41]Write to MH i2c: E2 08 00 A9 0A 80 13 01 00 00 00 00 00 30 [15:39:41]Write i2c OK [15:39:41]MH_I2C_Read... [15:39:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:39:41]Read from MH i2c: E2 [15:39:41]MH_I2C_Read... [15:39:41]Read from MH i2c: E2 0E 00 [15:39:41]MH_I2C_Read... [15:39:41]Read from MH i2c: E2 0E 00 A9 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 16 [15:39:41]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [15:39:41]wFMCommunicate OK [15:39:41]SAM_PROTO_GetShiftState done [15:39:41]FM_GetShiftState done [15:39:41]opened in 1739750979 [15:39:41]opened+sec_in_day 1739837379 [15:39:41]quantity*price = 15100 [15:39:41]sum+1 = 15101 [15:39:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 47 17.02.2025 15:39 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32416 ФПД: 91149477078751 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T153943&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32416&fm=91149477078751&tin=02508201610067®Number=0000000000146237&sum=15100 0 [15:39:42]StoreToDocumentArchive [15:39:42]shift 382 fd 32416 [15:39:42]save to /storage/0382/doc_00032416 [15:39:42]save last doc name /storage/0382/doc_00032416 to /storage/kkm_last_doc_name [15:39:42]save OK [15:39:42]Clear old archive folders... [15:39:42]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:39:42]tlvbuf is 004A6E30 [15:39:42]SAM_PROTO_ClearQueue [15:39:42]wFMCommunicate request_size=4 [15:39:42]MH_SAM_APDU [15:39:42]CAPDU: 80 09 00 00 [15:39:42]Write to MH i2c: E2 08 00 B6 0A 80 09 00 00 00 00 00 00 32 [15:39:42]Write i2c OK [15:39:42]MH_I2C_Read... [15:39:42]OFD Sender: No OFD packet to send [15:39:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:39:42]Read from MH i2c: E2 [15:39:42]MH_I2C_Read... [15:39:42]Read from MH i2c: E2 03 00 [15:39:42]MH_I2C_Read... [15:39:42]Read from MH i2c: E2 03 00 B6 0A 00 90 00 34 [15:39:42]RAPDU: 90 00 [15:39:42]wFMCommunicate OK [15:39:42]SAM_PROTO_ClearQueue done [15:39:42]KKMCreateOFDPacket [15:39:42]OFDProtocolAddRootSTLVToBuf [15:39:42]FM_MakeSignedData [15:39:42]FM_MakeSignedData [15:39:42]SAM_PROTO_SignData [15:39:42]wFMCommunicate request_size=4 [15:39:42]MH_SAM_APDU [15:39:42]CAPDU: 80 0D 01 02 [15:39:42]Write to MH i2c: E2 08 00 B7 0A 80 0D 01 02 00 00 00 00 3A [15:39:42]Write i2c OK [15:39:42]MH_I2C_Read... [15:39:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:39:42]Read from MH i2c: E2 [15:39:42]MH_I2C_Read... [15:39:42]Read from MH i2c: E2 03 00 [15:39:42]MH_I2C_Read... [15:39:42]Read from MH i2c: E2 03 00 B7 0A 00 90 00 35 [15:39:42]RAPDU: 90 00 [15:39:42]wFMCommunicate OK [15:39:42]wFMCommunicate request_size=255 [15:39:42]MH_SAM_APDU [15:39:42]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 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 2F 00 00 00 F4 03 04 00 3F 58 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 [15:39:42]Write to MH i2c: E2 02 01 B8 0A 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 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 2F 00 00 00 F4 03 04 00 3F 58 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 00 00 4B [15:39:43]Write i2c OK [15:39:43]MH_I2C_Read... [15:39:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:39:43]Read from MH i2c: E2 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 03 00 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 03 00 B8 0A 00 90 00 36 [15:39:43]RAPDU: 90 00 [15:39:43]wFMCommunicate OK [15:39:43]wFMCommunicate request_size=32 [15:39:43]MH_SAM_APDU [15:39:43]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 32 38 32 10 04 04 00 A0 7E 00 00 35 04 06 00 52 E6 64 33 E6 DF [15:39:43]Write to MH i2c: E2 23 00 B9 0A 80 0D 02 02 1B 00 30 30 30 39 35 39 32 38 32 10 04 04 00 A0 7E 00 00 35 04 06 00 52 E6 64 33 E6 DF 00 00 4F [15:39:43]Write i2c OK [15:39:43]MH_I2C_Read... [15:39:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:39:43]Read from MH i2c: E2 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 03 00 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 03 00 B9 0A 00 90 00 37 [15:39:43]RAPDU: 90 00 [15:39:43]wFMCommunicate OK [15:39:43]wFMCommunicate request_size=4 [15:39:43]MH_SAM_APDU [15:39:43]CAPDU: 80 0D 03 02 [15:39:43]Write to MH i2c: E2 08 00 BA 0A 80 0D 03 02 00 00 00 00 3F [15:39:43]Write i2c OK [15:39:43]MH_I2C_Read... [15:39:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:39:43]Read from MH i2c: E2 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 0B 00 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 0B 00 BA 0A 00 8D 89 96 BF 9E 02 63 1B 90 00 C9 [15:39:43]RAPDU: 8D 89 96 BF 9E 02 63 1B 90 00 [15:39:43]wFMCommunicate OK [15:39:43]SAM_PROTO_SignData done [15:39:43]FM_MakeSignedData done [15:39:43]CreateOFDProtocolMessage [15:39:43]wFMCommunicate request_size=4 [15:39:43]MH_SAM_APDU [15:39:43]CAPDU: 80 11 00 00 [15:39:43]Write to MH i2c: E2 08 00 BB 0A 80 11 00 00 00 00 00 00 3F [15:39:43]Write i2c OK [15:39:43]MH_I2C_Read... [15:39:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:39:43]Read from MH i2c: E2 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 17 00 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: E2 17 00 BB 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 95 [15:39:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:39:43]wFMCommunicate OK [15:39:43]CreateOFDProtocolMessage done [15:39:43]OFDSenderStorePacket 32416 [15:39:43]StoreOFDPacket docnum=32416 [15:39:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 3C 7D 1D 01 01 87 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 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 2F 00 00 00 F4 03 04 00 3F 58 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A0 7E 00 00 35 04 06 00 52 E6 64 33 E6 DF 8D 89 96 BF 9E 02 63 1B [15:39:43]CheckFolder [15:39:43]dirname=/storage/ofd_packets [15:39:43]CheckFolder done [15:39:43]ProducePacketName [15:39:43]name=ofd_packets/00032416 [15:39:43]NVStorageSaveData ofd_packets/00032416 [15:39:43]File name is /storage/ofd_packets/00032416 [15:39:43]Write 323 bytes [15:39:43]NVStorageSaveData done [15:39:43]OFDSenderStorePacket done [15:39:43]KKMCreateOFDPacket done [15:39:43]NVStorageSaveData kkm_last_timestamp [15:39:43]File name is /storage/kkm_last_timestamp [15:39:43]Write 4 bytes [15:39:43]NVStorageSaveData done [15:39:43]ExternCall_PrintAddStr [15:39:43]wPrintStart [15:39:43]Write to MH i2c: 01 00 00 BC 0A C6 [15:39:43]Write i2c OK [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: 01 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: 01 07 00 [15:39:43]MH_I2C_Read... [15:39:43]Read from MH i2c: 01 07 00 BC 0A 00 00 00 00 00 FF 0F DB [15:39:43]RasterBufferAndPrint [15:39:43]line Счет N : (3)130661 [15:39:43]line ИНН: 02508201610067 [15:39:43]line Контрольно-Кассовый Чек [15:39:43]line ПРОДАЖА [15:39:43]line Товар: 48743570 [15:39:43]line Сигареты Winston XStyle Blue [15:39:43]line 1.000 * 151.00 [15:39:43]line = 151.00 [15:39:43]line НДС 12% НСП 1% [15:39:43]line > о реализуемом товаре [15:39:43]line ИТОГО: 151.00 [15:39:43]line НСП 1% : 1.34 [15:39:43]line НДС 12% : 16.03 [15:39:43]line Наличными: 151.00 [15:39:43]line Безнал.: 0.00 [15:39:43]line Место: АЗС № 96 "Партнер Нефть" [15:39:43]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:39:43]line СНО: Общий режим [15:39:43]line Чек 47 17.02.2025 15:39 [15:39:43]line Смена: 382 ФФД: 1.0 [15:39:43]line ЗНМ: 0300000059 [15:39:43]line РНМ: 0000000000146237 [15:39:43]line Версия ККМ: v1.0 [15:39:43]line ФМ: 0000000000959282 [15:39:43]line ФД: 32416 [15:39:43]line ФПД: 91149477078751 [15:39:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T153943&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32416&fm=91149477078751&tin=02508201610067®Number=0000000000146237&sum=15100 [15:39:43]line 0 [15:39:43]OFD Sender: Processing packet 32416 [packets to send 104, broken 103] [15:39:43]ProducePacketName [15:39:43]name=ofd_packets/00032416 [15:39:43]OFD Sender: To server: pG, [15:39:43]CommunicateWithHost lk.salyk.kg:30040 [15:39:43]ConnectInit lk.salyk.kg [15:39:43]written 0, free lines is 4095 [15:39:44]Connected sock=10 [15:39:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 3C 7D 1D 01 01 87 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 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 2F 00 00 00 F4 03 04 00 3F 58 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A0 7E 00 00 35 04 06 00 52 E6 64 33 E6 DF 8D 89 96 BF 9E 02 63 1B [15:39:44]Write to MH i2c: 01 00 00 E4 0A EE [15:39:44]Write i2c OK [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: 01 [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: 01 07 00 [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: 01 07 00 E4 0A 00 00 00 00 00 05 0D 07 [15:39:44]RasterBufferAndPrint [15:39:44]line [15:39:44]line [15:39:44]line [15:39:44]line [15:39:44]line [15:39:44]written 0, free lines is 3339 [15:39:44]MH_Cut [15:39:44]Write to MH i2c: D1 01 00 EB 0A 01 C7 [15:39:44]Write i2c OK [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: D1 [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: D1 01 00 [15:39:44]MH_I2C_Read... [15:39:44]Read from MH i2c: D1 01 00 EB 0A 00 C6 [15:39:44]Write to MH i2c: 01 00 00 EC 0A F6 [15:39:44]Write i2c OK [15:39:44]MH_I2C_Read... [15:39:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 AA 1C 47 00 CC 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A0 7E 00 00 F4 03 04 00 E3 01 B3 67 B6 04 01 00 00 AC 6B F7 BF D6 35 C3 D1 [15:39:44]CommunicateWithHost err = 0 [15:39:44]CheckOFDResponse [15:39:44]1017 (14) - 77093643461234 [15:39:44]1041 (16) - 0000000000959282 [15:39:44]1040 (4) - 32416 [15:39:44]1012 (4) - 17.02.2025 09:31 [15:39:44]1206 (1) - 0 [15:39:44]OFD Sender: Remove packet 32416 [15:39:44]ProducePacketName [15:39:44]name=ofd_packets/00032416 [15:39:44]NVStorageDeleteData [15:39:44]*** Cut start [15:39:44]*** Partial cut [15:39:44]*** CUTSNS_PIN = 1 [15:39:44]*** CUTSNS_PIN = 0 [15:39:45]OFD Sender: No OFD packet to send [15:39:45]*** Brake cut motor [15:39:45]Read from MH i2c: 01 [15:39:45]MH_I2C_Read... [15:39:45]*** Stop cut motor [15:39:45]*** Cut end [15:39:45]Read from MH i2c: 01 07 00 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: 01 07 00 EC 0A 00 00 00 00 00 FF 0F 0B [15:39:45]process_action close_receipt done [15:39:45]requested_data is exist [15:39:45]produce_requested_data [15:39:45]requested_item fm.sn is exist - process it [15:39:45]wFMCommunicate request_size=4 [15:39:45]MH_SAM_APDU [15:39:45]CAPDU: 80 11 00 00 [15:39:45]Write to MH i2c: E2 08 00 ED 0A 80 11 00 00 00 00 00 00 71 [15:39:45]Write i2c OK [15:39:45]MH_I2C_Read... [15:39:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:39:45]Read from MH i2c: E2 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 17 00 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 17 00 ED 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C7 [15:39:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:39:45]wFMCommunicate OK [15:39:45]requested_item fd.num is exist - process it [15:39:45]SAM_PROTO_GetFieldsCounters [15:39:45]wFMCommunicate request_size=4 [15:39:45]MH_SAM_APDU [15:39:45]CAPDU: 80 13 00 00 [15:39:45]Write to MH i2c: E2 08 00 EE 0A 80 13 00 00 00 00 00 00 74 [15:39:45]Write i2c OK [15:39:45]MH_I2C_Read... [15:39:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:39:45]Read from MH i2c: E2 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 62 00 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 62 00 EE 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A0 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [15:39:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A0 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:39:45]wFMCommunicate OK [15:39:45]SAM_PROTO_GetFieldsCounters done [15:39:45]requested_item shift.num is exist - process it [15:39:45]requested_item shift.opened is exist - process it [15:39:45]req_shift_opened [15:39:45]FM_GetShiftState [15:39:45]SAM_PROTO_GetShiftState [15:39:45]wFMCommunicate request_size=4 [15:39:45]MH_SAM_APDU [15:39:45]CAPDU: 80 13 01 00 [15:39:45]Write to MH i2c: E2 08 00 EF 0A 80 13 01 00 00 00 00 00 76 [15:39:45]Write i2c OK [15:39:45]MH_I2C_Read... [15:39:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:39:45]Read from MH i2c: E2 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 0E 00 [15:39:45]MH_I2C_Read... [15:39:45]Read from MH i2c: E2 0E 00 EF 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5C [15:39:45]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [15:39:45]wFMCommunicate OK [15:39:45]SAM_PROTO_GetShiftState done [15:39:45]FM_GetShiftState done [15:39:45]req_shift_opened done [15:39:45]requested_item shift.open_date is exist - process it [15:39:45]req_shift_open_date [15:39:45]req_shift_open_date done [15:39:45]produce_requested_data done [15:39:45]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32416,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [15:39:45]process_action_free close_receipt [15:39:45]json_value_free [15:39:45]json_value_free done [15:39:45]process_json_proto returns [15:39:45]Send response to host [15:39:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32416,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [15:39:45]free response buf [15:39:45]execute_script done [15:39:45]execute_script returns [15:39:45]free content buf [15:39:45]Sock 7.Close socket [15:39:45]Sock 7.Thread stoped [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:35]ConnectInit Can't connect to host [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:01]OFD Sender: No OFD packet to send [16:03:06]OFD Sender: No OFD packet to send [16:03:11]OFD Sender: No OFD packet to send [16:03:16]OFD Sender: No OFD packet to send [16:03:21]OFD Sender: No OFD packet to send [16:03:26]OFD Sender: No OFD packet to send [16:03:31]OFD Sender: No OFD packet to send [16:03:36]OFD Sender: No OFD packet to send [16:03:41]OFD Sender: No OFD packet to send [16:03:46]OFD Sender: No OFD packet to send [16:03:51]OFD Sender: No OFD packet to send [16:03:56]OFD Sender: No OFD packet to send [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:07]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]accept exits with 9 [16:21:22]New connection [16:21:22]New thread 3067411812 created [16:21:22]Thread 3067555172 joined [16:21:22]Waiting for new connection... [16:21:22] Sock 9.Parse request [16:21:22]Sock 9.Check first char [16:21:22]Sock 9.First char is OK [16:21:22]request: POST /json_proto HTTP/1.0 [16:21:22]Method: POST [16:21:22]URL: /json_proto [16:21:22]Method is POST - this is cgi request [16:21:22]url: /json_proto [16:21:22]query_string will be loaded in cgi processing [16:21:22]execute_cgi json_proto POST (null) [16:21:22]execute_cgi path=json_proto method=POST [16:21:22]POST find Content-Length [16:21:22]Host: 172.17.47.135:8080 [16:21:22]Content-Length: 814 [16:21:22]Content-Type: application/json [16:21:22] [16:21:22]POST finish read [16:21:22]Found Content-Length = 814 [16:21:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 8.270, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 600.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:22]execute_script... [16:21:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 8.270, "sum" : 600.40, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 600.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:21:22]POST & json_proto [16:21:22]process_json_proto [16:21:22]json parsed OK: [16:21:22]protocol is kg_v1.0 [16:21:22]action value=close_receipt [16:21:22]process_action close_receipt [16:21:22]cmd_close_receipt [16:21:22]MH_GetDate [16:21:22]Write to MH i2c: F0 00 00 F0 0A E9 [16:21:22]Write i2c OK [16:21:22]MH_I2C_Read... [16:21:22]Read from MH i2c: F0 [16:21:22]MH_I2C_Read... [16:21:22]Read from MH i2c: F0 09 00 [16:21:22]MH_I2C_Read... [16:21:22]Read from MH i2c: F0 09 00 F0 0A 00 04 62 B3 67 19 D8 DE 66 A7 [16:21:22]GetLastDocTimeStamp 1739806783 [16:21:22]current date 1739809284 [16:21:22]FM_GetShiftState [16:21:22]SAM_PROTO_GetShiftState [16:21:22]wFMCommunicate request_size=4 [16:21:22]MH_SAM_APDU [16:21:22]CAPDU: 80 13 01 00 [16:21:22]Write to MH i2c: E2 08 00 F1 0A 80 13 01 00 00 00 00 00 78 [16:21:22]Write i2c OK [16:21:22]MH_I2C_Read... [16:21:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:22]Read from MH i2c: E2 [16:21:22]MH_I2C_Read... [16:21:22]Read from MH i2c: E2 0E 00 [16:21:22]MH_I2C_Read... [16:21:22]Read from MH i2c: E2 0E 00 F1 0A 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5E [16:21:22]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:21:22]wFMCommunicate OK [16:21:22]SAM_PROTO_GetShiftState done [16:21:22]FM_GetShiftState done [16:21:22]opened in 1739750979 [16:21:22]opened+sec_in_day 1739837379 [16:21:22]quantity*price = 60040 [16:21:22]sum+1 = 60041 [16:21:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 600.40 НСП 1% : 5.31 НДС 12% : 63.76 Наличными: 0.00 Безнал.: 600.40 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 48 17.02.2025 16:21 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32417 ФПД: 173750399396963 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162124&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32417&fm=173750399396963&tin=02508201610067®Number=0000000000146237&sum=60040 [16:21:23]StoreToDocumentArchive [16:21:23]shift 382 fd 32417 [16:21:23]save to /storage/0382/doc_00032417 [16:21:23]save last doc name /storage/0382/doc_00032417 to /storage/kkm_last_doc_name [16:21:23]save OK [16:21:23]Clear old archive folders... [16:21:23]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:21:23]tlvbuf is 004A7BB0 [16:21:23]SAM_PROTO_ClearQueue [16:21:23]wFMCommunicate request_size=4 [16:21:23]MH_SAM_APDU [16:21:23]CAPDU: 80 09 00 00 [16:21:23]Write to MH i2c: E2 08 00 FE 0A 80 09 00 00 00 00 00 00 7A [16:21:23]Write i2c OK [16:21:23]MH_I2C_Read... [16:21:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:21:23]Read from MH i2c: E2 [16:21:23]MH_I2C_Read... [16:21:23]Read from MH i2c: E2 03 00 [16:21:23]MH_I2C_Read... [16:21:23]Read from MH i2c: E2 03 00 FE 0A 00 90 00 7C [16:21:23]RAPDU: 90 00 [16:21:23]wFMCommunicate OK [16:21:23]SAM_PROTO_ClearQueue done [16:21:23]KKMCreateOFDPacket [16:21:23]OFDProtocolAddRootSTLVToBuf [16:21:23]FM_MakeSignedData [16:21:23]FM_MakeSignedData [16:21:23]SAM_PROTO_SignData [16:21:23]wFMCommunicate request_size=4 [16:21:23]MH_SAM_APDU [16:21:23]CAPDU: 80 0D 01 02 [16:21:23]Write to MH i2c: E2 08 00 FF 0A 80 0D 01 02 00 00 00 00 82 [16:21:23]Write i2c OK [16:21:23]MH_I2C_Read... [16:21:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:21:23]Read from MH i2c: E2 [16:21:23]MH_I2C_Read... [16:21:23]Read from MH i2c: E2 03 00 [16:21:23]MH_I2C_Read... [16:21:23]Read from MH i2c: E2 03 00 FF 0A 00 90 00 7D [16:21:23]RAPDU: 90 00 [16:21:23]wFMCommunicate OK [16:21:23]wFMCommunicate request_size=255 [16:21:23]MH_SAM_APDU [16:21:23]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4E 20 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 04 62 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A1 7E 00 00 35 04 06 00 9E 06 6A D5 [16:21:23]Write to MH i2c: E2 02 01 00 0B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4E 20 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 04 62 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A1 7E 00 00 35 04 06 00 9E 06 6A D5 00 00 60 [16:21:23]Write i2c OK [16:21:23]MH_I2C_Read... [16:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:24]Read from MH i2c: E2 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 03 00 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 03 00 00 0B 00 90 00 7F [16:21:24]RAPDU: 90 00 [16:21:24]wFMCommunicate OK [16:21:24]wFMCommunicate request_size=7 [16:21:24]MH_SAM_APDU [16:21:24]CAPDU: 80 0D 02 02 02 EC 63 [16:21:24]Write to MH i2c: E2 0A 00 01 0B 80 0D 02 02 02 00 EC 63 00 00 D9 [16:21:24]Write i2c OK [16:21:24]MH_I2C_Read... [16:21:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:24]Read from MH i2c: E2 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 03 00 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 03 00 01 0B 00 90 00 80 [16:21:24]RAPDU: 90 00 [16:21:24]wFMCommunicate OK [16:21:24]wFMCommunicate request_size=4 [16:21:24]MH_SAM_APDU [16:21:24]CAPDU: 80 0D 03 02 [16:21:24]Write to MH i2c: E2 08 00 02 0B 80 0D 03 02 00 00 00 00 88 [16:21:24]Write i2c OK [16:21:24]MH_I2C_Read... [16:21:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:21:24]Read from MH i2c: E2 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 0B 00 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 0B 00 02 0B 00 EB D1 ED 6A 26 7B 9B C5 90 00 9D [16:21:24]RAPDU: EB D1 ED 6A 26 7B 9B C5 90 00 [16:21:24]wFMCommunicate OK [16:21:24]SAM_PROTO_SignData done [16:21:24]FM_MakeSignedData done [16:21:24]CreateOFDProtocolMessage [16:21:24]wFMCommunicate request_size=4 [16:21:24]MH_SAM_APDU [16:21:24]CAPDU: 80 11 00 00 [16:21:24]Write to MH i2c: E2 08 00 03 0B 80 11 00 00 00 00 00 00 88 [16:21:24]Write i2c OK [16:21:24]MH_I2C_Read... [16:21:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:24]Read from MH i2c: E2 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 17 00 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: E2 17 00 03 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DE [16:21:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:21:24]wFMCommunicate OK [16:21:24]CreateOFDProtocolMessage done [16:21:24]OFDSenderStorePacket 32417 [16:21:24]StoreOFDPacket docnum=32417 [16:21:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 C7 1D 04 01 40 CD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4E 20 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 04 62 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A1 7E 00 00 35 04 06 00 9E 06 6A D5 EC 63 EB D1 ED 6A 26 7B 9B C5 [16:21:24]CheckFolder [16:21:24]dirname=/storage/ofd_packets [16:21:24]CheckFolder done [16:21:24]ProducePacketName [16:21:24]name=ofd_packets/00032417 [16:21:24]NVStorageSaveData ofd_packets/00032417 [16:21:24]File name is /storage/ofd_packets/00032417 [16:21:24]Write 298 bytes [16:21:24]NVStorageSaveData done [16:21:24]OFDSenderStorePacket done [16:21:24]KKMCreateOFDPacket done [16:21:24]NVStorageSaveData kkm_last_timestamp [16:21:24]File name is /storage/kkm_last_timestamp [16:21:24]Write 4 bytes [16:21:24]NVStorageSaveData done [16:21:24]ExternCall_PrintAddStr [16:21:24]wPrintStart [16:21:24]Write to MH i2c: 01 00 00 04 0B 0F [16:21:24]Write i2c OK [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: 01 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: 01 07 00 [16:21:24]MH_I2C_Read... [16:21:24]Read from MH i2c: 01 07 00 04 0B 00 00 00 00 00 FF 0F 24 [16:21:24]RasterBufferAndPrint [16:21:24]line Счет N : (1)6543396 [16:21:24]line ИНН: 02508201610067 [16:21:24]line Контрольно-Кассовый Чек [16:21:24]line ПРОДАЖА [16:21:24]line ТРК (МРК, ГНК) : 33 [16:21:24]line Товар: 2710194210 [16:21:24]line ДТ-К-2 [16:21:24]line 8.270 * 72.60 [16:21:24]line = 600.40 [16:21:24]line НДС 12% НСП 1% [16:21:24]line > о реализуемом товаре [16:21:24]line ИТОГО: 600.40 [16:21:24]line НСП 1% : 5.31 [16:21:24]line НДС 12% : 63.76 [16:21:24]line Наличными: 0.00 [16:21:24]line Безнал.: 600.40 [16:21:24]line Место: АЗС № 96 "Партнер Нефть" [16:21:24]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:21:24]line СНО: Общий режим [16:21:24]line Чек 48 17.02.2025 16:21 [16:21:24]line Смена: 382 ФФД: 1.0 [16:21:24]line ЗНМ: 0300000059 [16:21:24]line РНМ: 0000000000146237 [16:21:24]line Версия ККМ: v1.0 [16:21:24]line Платежная система: Бакай Банк [16:21:24]line ФМ: 0000000000959282 [16:21:24]line ФД: 32417 [16:21:24]line ФПД: 173750399396963 [16:21:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162124&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32417&fm=173750399396963&tin=02508201610067®Number=0000000000146237&sum=60040 [16:21:24]OFD Sender: Processing packet 32417 [packets to send 104, broken 103] [16:21:24]ProducePacketName [16:21:24]name=ofd_packets/00032417 [16:21:24]OFD Sender: To server: pG, [16:21:24]CommunicateWithHost lk.salyk.kg:30040 [16:21:24]ConnectInit lk.salyk.kg [16:21:24]written 0, free lines is 4095 [16:21:25]Write to MH i2c: 01 00 00 2E 0B 39 [16:21:25]Write i2c OK [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: 01 [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: 01 07 00 [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: 01 07 00 2E 0B 00 00 00 00 00 FF 0C 4B [16:21:25]RasterBufferAndPrint [16:21:25]line [16:21:25]line [16:21:25]line [16:21:25]line [16:21:25]line [16:21:25]written 0, free lines is 3333 [16:21:25]MH_Cut [16:21:25]Write to MH i2c: D1 01 00 35 0B 01 12 [16:21:25]Write i2c OK [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: D1 [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: D1 01 00 [16:21:25]MH_I2C_Read... [16:21:25]Read from MH i2c: D1 01 00 35 0B 00 11 [16:21:25]Write to MH i2c: 01 00 00 36 0B 41 [16:21:25]Write i2c OK [16:21:25]MH_I2C_Read... [16:21:25]Connected sock=10 [16:21:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 C7 1D 04 01 40 CD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 4E 20 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 88 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 04 62 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A1 7E 00 00 35 04 06 00 9E 06 6A D5 EC 63 EB D1 ED 6A 26 7B 9B C5 [16:21:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 CF B9 47 00 AF E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 A1 7E 00 00 F4 03 04 00 A8 0B B3 67 B6 04 01 00 00 DA 45 9B 6E 20 B7 F9 9D [16:21:25]CommunicateWithHost err = 0 [16:21:25]CheckOFDResponse [16:21:25]1017 (14) - 77093643461234 [16:21:25]1041 (16) - 0000000000959282 [16:21:25]1040 (4) - 32417 [16:21:25]1012 (4) - 17.02.2025 10:12 [16:21:25]1206 (1) - 0 [16:21:25]OFD Sender: Remove packet 32417 [16:21:25]ProducePacketName [16:21:25]name=ofd_packets/00032417 [16:21:25]NVStorageDeleteData [16:21:25]*** Cut start [16:21:25]*** Partial cut [16:21:25]*** CUTSNS_PIN = 1 [16:21:25]*** CUTSNS_PIN = 0 [16:21:25]OFD Sender: No OFD packet to send [16:21:26]*** Brake cut motor [16:21:26]Read from MH i2c: 01 [16:21:26]MH_I2C_Read... [16:21:26]*** Stop cut motor [16:21:26]*** Cut end [16:21:26]Read from MH i2c: 01 07 00 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: 01 07 00 36 0B 00 00 00 00 00 FF 0F 56 [16:21:26]process_action close_receipt done [16:21:26]requested_data is exist [16:21:26]produce_requested_data [16:21:26]requested_item fm.sn is exist - process it [16:21:26]wFMCommunicate request_size=4 [16:21:26]MH_SAM_APDU [16:21:26]CAPDU: 80 11 00 00 [16:21:26]Write to MH i2c: E2 08 00 37 0B 80 11 00 00 00 00 00 00 BC [16:21:26]Write i2c OK [16:21:26]MH_I2C_Read... [16:21:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:26]Read from MH i2c: E2 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 17 00 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 17 00 37 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 12 [16:21:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:21:26]wFMCommunicate OK [16:21:26]requested_item fd.num is exist - process it [16:21:26]SAM_PROTO_GetFieldsCounters [16:21:26]wFMCommunicate request_size=4 [16:21:26]MH_SAM_APDU [16:21:26]CAPDU: 80 13 00 00 [16:21:26]Write to MH i2c: E2 08 00 38 0B 80 13 00 00 00 00 00 00 BF [16:21:26]Write i2c OK [16:21:26]MH_I2C_Read... [16:21:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:21:26]Read from MH i2c: E2 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 62 00 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 62 00 38 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [16:21:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:21:26]wFMCommunicate OK [16:21:26]SAM_PROTO_GetFieldsCounters done [16:21:26]requested_item shift.num is exist - process it [16:21:26]requested_item shift.opened is exist - process it [16:21:26]req_shift_opened [16:21:26]FM_GetShiftState [16:21:26]SAM_PROTO_GetShiftState [16:21:26]wFMCommunicate request_size=4 [16:21:26]MH_SAM_APDU [16:21:26]CAPDU: 80 13 01 00 [16:21:26]Write to MH i2c: E2 08 00 39 0B 80 13 01 00 00 00 00 00 C1 [16:21:26]Write i2c OK [16:21:26]MH_I2C_Read... [16:21:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:26]Read from MH i2c: E2 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 0E 00 [16:21:26]MH_I2C_Read... [16:21:26]Read from MH i2c: E2 0E 00 39 0B 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A7 [16:21:26]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:21:26]wFMCommunicate OK [16:21:26]SAM_PROTO_GetShiftState done [16:21:26]FM_GetShiftState done [16:21:26]req_shift_opened done [16:21:26]requested_item shift.open_date is exist - process it [16:21:26]req_shift_open_date [16:21:26]req_shift_open_date done [16:21:26]produce_requested_data done [16:21:26]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:21:26]process_action_free close_receipt [16:21:26]json_value_free [16:21:26]json_value_free done [16:21:26]process_json_proto returns [16:21:26]Send response to host [16:21:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:21:26]free response buf [16:21:26]execute_script done [16:21:26]execute_script returns [16:21:26]free content buf [16:21:26]Sock 9.Close socket [16:21:26]Sock 9.Thread stoped [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:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:01]accept exits with 7 [16:25:01]New connection [16:25:01]New thread 3067555172 created [16:25:01]Thread 3067411812 joined [16:25:01]Waiting for new connection... [16:25:01] Sock 7.Parse request [16:25:01]Sock 7.Check first char [16:25:01]Sock 7.First char is OK [16:25:01]request: POST /json_proto HTTP/1.0 [16:25:01]Method: POST [16:25:01]URL: /json_proto [16:25:01]Method is POST - this is cgi request [16:25:01]url: /json_proto [16:25:01]query_string will be loaded in cgi processing [16:25:01]execute_cgi json_proto POST (null) [16:25:01]execute_cgi path=json_proto method=POST [16:25:01]POST find Content-Length [16:25:01]Host: 172.17.47.135:8080 [16:25:01]Content-Length: 215 [16:25:01]Content-Type: application/json [16:25:01] [16:25:01]POST finish read [16:25:01]Found Content-Length = 215 [16:25:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:01]execute_script... [16:25:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:01]POST & json_proto [16:25:01]process_json_proto [16:25:01]json parsed OK: [16:25:01]protocol is kg_v1.0 [16:25:01]action value=get_value [16:25:01]process_action get_value [16:25:01]cmd_get_value [16:25:01]process_action get_value done [16:25:01]requested_data is exist [16:25:01]produce_requested_data [16:25:01]requested_item kkm.sn is exist - process it [16:25:01]requested_item kkm.ver is exist - process it [16:25:01]requested_item fm.sn is exist - process it [16:25:01]wFMCommunicate request_size=4 [16:25:01]MH_SAM_APDU [16:25:01]CAPDU: 80 11 00 00 [16:25:01]Write to MH i2c: E2 08 00 3A 0B 80 11 00 00 00 00 00 00 BF [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:01]Read from MH i2c: E2 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 17 00 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 17 00 3A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 15 [16:25:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:25:01]wFMCommunicate OK [16:25:01]requested_item fd.num is exist - process it [16:25:01]SAM_PROTO_GetFieldsCounters [16:25:01]wFMCommunicate request_size=4 [16:25:01]MH_SAM_APDU [16:25:01]CAPDU: 80 13 00 00 [16:25:01]Write to MH i2c: E2 08 00 3B 0B 80 13 00 00 00 00 00 00 C2 [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:01]Read from MH i2c: E2 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 62 00 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 62 00 3B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 12 [16:25:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:25:01]wFMCommunicate OK [16:25:01]SAM_PROTO_GetFieldsCounters done [16:25:01]requested_item shift.num is exist - process it [16:25:01]requested_item shift.opened is exist - process it [16:25:01]req_shift_opened [16:25:01]FM_GetShiftState [16:25:01]SAM_PROTO_GetShiftState [16:25:01]wFMCommunicate request_size=4 [16:25:01]MH_SAM_APDU [16:25:01]CAPDU: 80 13 01 00 [16:25:01]Write to MH i2c: E2 08 00 3C 0B 80 13 01 00 00 00 00 00 C4 [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:01]Read from MH i2c: E2 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 0E 00 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: E2 0E 00 3C 0B 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 AA [16:25:01]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:25:01]wFMCommunicate OK [16:25:01]SAM_PROTO_GetShiftState done [16:25:01]FM_GetShiftState done [16:25:01]req_shift_opened done [16:25:01]requested_item shift.open_date is exist - process it [16:25:01]req_shift_open_date [16:25:01]req_shift_open_date done [16:25:01]produce_requested_data done [16:25:01]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:25:01]process_action_free get_value [16:25:01]json_value_free [16:25:01]json_value_free done [16:25:01]process_json_proto returns [16:25:01]Send response to host [16:25:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:25:01]free response buf [16:25:01]execute_script done [16:25:01]execute_script returns [16:25:01]free content buf [16:25:01]Sock 7.Close socket [16:25:01]Sock 7.Thread stoped [16:25:01]accept exits with 9 [16:25:01]New connection [16:25:01]New thread 3067411812 created [16:25:01]Thread 3067555172 joined [16:25:01]Waiting for new connection... [16:25:01] Sock 9.Parse request [16:25:01]Sock 9.Check first char [16:25:01]Sock 9.First char is OK [16:25:01]request: POST /json_proto HTTP/1.0 [16:25:01]Method: POST [16:25:01]URL: /json_proto [16:25:01]Method is POST - this is cgi request [16:25:01]url: /json_proto [16:25:01]query_string will be loaded in cgi processing [16:25:01]execute_cgi json_proto POST (null) [16:25:01]execute_cgi path=json_proto method=POST [16:25:01]POST find Content-Length [16:25:01]Host: 172.17.47.135:8080 [16:25:01]Content-Length: 331 [16:25:01]Content-Type: application/json [16:25:01] [16:25:01]POST finish read [16:25:01]Found Content-Length = 331 [16:25:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:25:01]execute_script... [16:25:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:25:02]POST & json_proto [16:25:02]process_json_proto [16:25:02]json parsed OK: [16:25:02]protocol is kg_v1.0 [16:25:02]action value=get_value [16:25:02]process_action get_value [16:25:02]cmd_get_value [16:25:02]process_action get_value done [16:25:02]requested_data is exist [16:25:02]produce_requested_data [16:25:02]requested_item fm.sale.total is exist - process it [16:25:02]SAM_PROTO_GetFMData [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 13 03 00 [16:25:02]Write to MH i2c: E2 08 00 3D 0B 80 13 03 00 00 00 00 00 C7 [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:25:02]Read from MH i2c: E2 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 FD 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 FD 00 3D 0B 00 C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 0A [16:25:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [16:25:02]wFMCommunicate OK [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 17 00 00 [16:25:02]Write to MH i2c: E2 08 00 3E 0B 80 17 00 00 00 00 00 00 C9 [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:02]Read from MH i2c: E2 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 FD 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 FD 00 3E 0B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 44 [16:25:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:25:02]wFMCommunicate OK [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 17 00 00 [16:25:02]Write to MH i2c: E2 08 00 3F 0B 80 17 00 00 00 00 00 00 CA [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:03]Read from MH i2c: E2 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 FD 00 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 FD 00 3F 0B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 DF [16:25:03]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:25:03]wFMCommunicate OK [16:25:03]wFMCommunicate request_size=4 [16:25:03]MH_SAM_APDU [16:25:03]CAPDU: 80 17 00 00 [16:25:03]Write to MH i2c: E2 08 00 40 0B 80 17 00 00 00 00 00 00 CB [16:25:03]Write i2c OK [16:25:03]MH_I2C_Read... [16:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:03]Read from MH i2c: E2 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 FD 00 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 FD 00 40 0B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 43 [16:25:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:25:03]wFMCommunicate OK [16:25:03]wFMCommunicate request_size=4 [16:25:03]MH_SAM_APDU [16:25:03]CAPDU: 80 17 00 00 [16:25:03]Write to MH i2c: E2 08 00 41 0B 80 17 00 00 00 00 00 00 CC [16:25:03]Write i2c OK [16:25:03]MH_I2C_Read... [16:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:25:03]Read from MH i2c: E2 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 E1 00 [16:25:03]MH_I2C_Read... [16:25:03]Read from MH i2c: E2 E1 00 41 0B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [16:25:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:03]wFMCommunicate OK [16:25:03]SAM_PROTO_GetFMData done [16:25:03]requested_item fm.sale_refund.total is exist - process it [16:25:03]requested_item fm.buy.total is exist - process it [16:25:03]requested_item shift.sale.total is exist - process it [16:25:03]SAM_PROTO_GetShiftData [16:25:03]wFMCommunicate request_size=4 [16:25:03]MH_SAM_APDU [16:25:03]CAPDU: 80 13 02 00 [16:25:03]Write to MH i2c: E2 08 00 42 0B 80 13 02 00 00 00 00 00 CB [16:25:03]Write i2c OK [16:25:03]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 42 0B 00 B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 F4 [16:25:04]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:25:04]wFMCommunicate OK [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 17 00 00 [16:25:04]Write to MH i2c: E2 08 00 43 0B 80 17 00 00 00 00 00 00 CE [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 43 0B 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 D1 [16:25:04]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [16:25:04]wFMCommunicate OK [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 17 00 00 [16:25:04]Write to MH i2c: E2 08 00 44 0B 80 17 00 00 00 00 00 00 CF [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 44 0B 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 71 [16:25:04]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [16:25:04]wFMCommunicate OK [16:25:04]wFMCommunicate request_size=4 [16:25:04]MH_SAM_APDU [16:25:04]CAPDU: 80 17 00 00 [16:25:04]Write to MH i2c: E2 08 00 45 0B 80 17 00 00 00 00 00 00 D0 [16:25:04]Write i2c OK [16:25:04]MH_I2C_Read... [16:25:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:04]Read from MH i2c: E2 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 [16:25:04]MH_I2C_Read... [16:25:04]Read from MH i2c: E2 FD 00 45 0B 00 03 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 90 00 59 [16:25:04]RAPDU: 03 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 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 17 00 00 [16:25:05]Write to MH i2c: E2 08 00 46 0B 80 17 00 00 00 00 00 00 D1 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 D5 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 D5 00 46 0B 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B2 [16:25:05]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:05]wFMCommunicate OK [16:25:05]SAM_PROTO_GetShiftData done [16:25:05]requested_item shift.sale.total_cash is exist - process it [16:25:05]requested_item shift.sale_refund.total is exist - process it [16:25:05]requested_item shift.sale_refund.total_cash is exist - process it [16:25:05]requested_item shift.buy.total is exist - process it [16:25:05]requested_item shift.buy.total_cash is exist - process it [16:25:05]produce_requested_data done [16:25:05]produce_requested_data return {"fm.sale.total":14704866.12,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":15530.37,"shift.sale.total_cash":9297.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [16:25:05]process_action_free get_value [16:25:05]json_value_free [16:25:05]json_value_free done [16:25:05]process_json_proto returns [16:25:05]Send response to host [16:25:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14704866.12,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":15530.37,"shift.sale.total_cash":9297.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [16:25:05]free response buf [16:25:05]execute_script done [16:25:05]execute_script returns [16:25:05]free content buf [16:25:05]Sock 9.Close socket [16:25:05]Sock 9.Thread stoped [16:25:05]accept exits with 7 [16:25:05]New connection [16:25:05]New thread 3067555172 created [16:25:05]Thread 3067411812 joined [16:25:05]Waiting for new connection... [16:25:05] Sock 7.Parse request [16:25:05]Sock 7.Check first char [16:25:05]Sock 7.First char is OK [16:25:05]request: POST /json_proto HTTP/1.0 [16:25:05]Method: POST [16:25:05]URL: /json_proto [16:25:05]Method is POST - this is cgi request [16:25:05]url: /json_proto [16:25:05]query_string will be loaded in cgi processing [16:25:05]execute_cgi json_proto POST (null) [16:25:05]execute_cgi path=json_proto method=POST [16:25:05]POST find Content-Length [16:25:05]Host: 172.17.47.135:8080 [16:25:05]Content-Length: 331 [16:25:05]Content-Type: application/json [16:25:05] [16:25:05]POST finish read [16:25:05]Found Content-Length = 331 [16: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" ] } } [16:25:05]execute_script... [16: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" ] } } [16:25:05]POST & json_proto [16:25:05]process_json_proto [16:25:05]json parsed OK: [16:25:05]protocol is kg_v1.0 [16:25:05]action value=get_value [16:25:05]process_action get_value [16:25:05]cmd_get_value [16:25:05]process_action get_value done [16:25:05]requested_data is exist [16:25:05]produce_requested_data [16:25:05]requested_item fm.sale.total is exist - process it [16:25:05]SAM_PROTO_GetFMData [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 13 03 00 [16:25:05]Write to MH i2c: E2 08 00 47 0B 80 13 03 00 00 00 00 00 D1 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:25:05]Read from MH i2c: E2 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 FD 00 [16:25:05]MH_I2C_Read... [16:25:05]Read from MH i2c: E2 FD 00 47 0B 00 C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 14 [16:25:05]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [16:25:05]wFMCommunicate OK [16:25:05]wFMCommunicate request_size=4 [16:25:05]MH_SAM_APDU [16:25:05]CAPDU: 80 17 00 00 [16:25:05]Write to MH i2c: E2 08 00 48 0B 80 17 00 00 00 00 00 00 D3 [16:25:05]Write i2c OK [16:25:05]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 48 0B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 4E [16:25:06]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:25:06]wFMCommunicate OK [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 17 00 00 [16:25:06]Write to MH i2c: E2 08 00 49 0B 80 17 00 00 00 00 00 00 D4 [16:25:06]OFD Sender: No OFD packet to send [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 49 0B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E9 [16:25:06]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:25:06]wFMCommunicate OK [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 17 00 00 [16:25:06]Write to MH i2c: E2 08 00 4A 0B 80 17 00 00 00 00 00 00 D5 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:06]Read from MH i2c: E2 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 [16:25:06]MH_I2C_Read... [16:25:06]Read from MH i2c: E2 FD 00 4A 0B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 4D [16:25:06]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:25:06]wFMCommunicate OK [16:25:06]wFMCommunicate request_size=4 [16:25:06]MH_SAM_APDU [16:25:06]CAPDU: 80 17 00 00 [16:25:06]Write to MH i2c: E2 08 00 4B 0B 80 17 00 00 00 00 00 00 D6 [16:25:06]Write i2c OK [16:25:06]MH_I2C_Read... [16:25:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:25:07]Read from MH i2c: E2 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 E1 00 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 E1 00 4B 0B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C4 [16:25:07]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:07]wFMCommunicate OK [16:25:07]SAM_PROTO_GetFMData done [16:25:07]requested_item fm.sale_refund.total is exist - process it [16:25:07]requested_item fm.buy.total is exist - process it [16:25:07]requested_item shift.sale.total is exist - process it [16:25:07]SAM_PROTO_GetShiftData [16:25:07]wFMCommunicate request_size=4 [16:25:07]MH_SAM_APDU [16:25:07]CAPDU: 80 13 02 00 [16:25:07]Write to MH i2c: E2 08 00 4C 0B 80 13 02 00 00 00 00 00 D5 [16:25:07]Write i2c OK [16:25:07]MH_I2C_Read... [16:25:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:25:07]Read from MH i2c: E2 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 FD 00 [16:25:07]MH_I2C_Read... [16:25:07]Read from MH i2c: E2 FD 00 4C 0B 00 B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 FE [16:25:07]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:25:07]wFMCommunicate OK [16:25:07]wFMCommunicate request_size=4 [16:25:07]MH_SAM_APDU [16:25:07]CAPDU: 80 17 00 00 [16:25:07]Write to MH i2c: E2 08 00 4D 0B 80 17 00 00 00 00 00 00 D8 [16:25:07]Write i2c OK [16:25:07]MH_I2C_Read... [16:25:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:08]Read from MH i2c: E2 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 4D 0B 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 DB [16:25:08]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [16:25:08]wFMCommunicate OK [16:25:08]wFMCommunicate request_size=4 [16:25:08]MH_SAM_APDU [16:25:08]CAPDU: 80 17 00 00 [16:25:08]Write to MH i2c: E2 08 00 4E 0B 80 17 00 00 00 00 00 00 D9 [16:25:08]Write i2c OK [16:25:08]MH_I2C_Read... [16:25:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:08]Read from MH i2c: E2 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 4E 0B 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 7B [16:25:08]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [16:25:08]wFMCommunicate OK [16:25:08]wFMCommunicate request_size=4 [16:25:08]MH_SAM_APDU [16:25:08]CAPDU: 80 17 00 00 [16:25:08]Write to MH i2c: E2 08 00 4F 0B 80 17 00 00 00 00 00 00 DA [16:25:08]Write i2c OK [16:25:08]MH_I2C_Read... [16:25:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:08]Read from MH i2c: E2 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 [16:25:08]MH_I2C_Read... [16:25:08]Read from MH i2c: E2 FD 00 4F 0B 00 03 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 90 00 63 [16:25:08]RAPDU: 03 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 90 00 [16:25:09]wFMCommunicate OK [16:25:09]wFMCommunicate request_size=4 [16:25:09]MH_SAM_APDU [16:25:09]CAPDU: 80 17 00 00 [16:25:09]Write to MH i2c: E2 08 00 50 0B 80 17 00 00 00 00 00 00 DB [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:25:09]Read from MH i2c: E2 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 D5 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 D5 00 50 0B 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BC [16:25:09]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:09]wFMCommunicate OK [16:25:09]SAM_PROTO_GetShiftData done [16:25:09]requested_item shift.sale.total_cash is exist - process it [16:25:09]requested_item shift.sale_refund.total is exist - process it [16:25:09]requested_item shift.sale_refund.total_cash is exist - process it [16:25:09]requested_item shift.buy.total is exist - process it [16:25:09]requested_item shift.buy.total_cash is exist - process it [16:25:09]produce_requested_data done [16:25:09]produce_requested_data return {"fm.sale.total":14704866.12,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":15530.37,"shift.sale.total_cash":9297.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [16:25:09]process_action_free get_value [16:25:09]json_value_free [16:25:09]json_value_free done [16:25:09]process_json_proto returns [16:25:09]Send response to host [16:25:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14704866.12,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":15530.37,"shift.sale.total_cash":9297.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [16:25:09]free response buf [16:25:09]execute_script done [16:25:09]execute_script returns [16:25:09]free content buf [16:25:09]Sock 7.Close socket [16:25:09]Sock 7.Thread stoped [16:25:09]accept exits with 9 [16:25:09]New connection [16:25:09]New thread 3067411812 created [16:25:09]Thread 3067555172 joined [16:25:09]Waiting for new connection... [16:25:09] Sock 9.Parse request [16:25:09]Sock 9.Check first char [16:25:09]Sock 9.First char is OK [16:25:09]request: POST /json_proto HTTP/1.0 [16:25:09]Method: POST [16:25:09]URL: /json_proto [16:25:09]Method is POST - this is cgi request [16:25:09]url: /json_proto [16:25:09]query_string will be loaded in cgi processing [16:25:09]execute_cgi json_proto POST (null) [16:25:09]execute_cgi path=json_proto method=POST [16:25:09]POST find Content-Length [16:25:09]Host: 172.17.47.135:8080 [16:25:09]Content-Length: 256 [16:25:09]Content-Type: application/json [16:25:09] [16:25:09]POST finish read [16:25:09]Found Content-Length = 256 [16:25:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:09]execute_script... [16:25:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:09]POST & json_proto [16:25:09]process_json_proto [16:25:09]json parsed OK: [16:25:09]protocol is kg_v1.0 [16:25:09]action value=x_report [16:25:09]process_action x_report [16:25:09]cmd_x_report [16:25:09]MH_GetDate [16:25:09]Write to MH i2c: F0 00 00 51 0B 4B [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 09 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 09 00 51 0B 00 E7 62 B3 67 19 D8 DE 66 EC [16:25:09]GetLastDocTimeStamp 1739809284 [16:25:09]current date 1739809511 [16:25:09]FM_GetShiftState [16:25:09]SAM_PROTO_GetShiftState [16:25:09]wFMCommunicate request_size=4 [16:25:09]MH_SAM_APDU [16:25:09]CAPDU: 80 13 01 00 [16:25:09]Write to MH i2c: E2 08 00 52 0B 80 13 01 00 00 00 00 00 DA [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:09]Read from MH i2c: E2 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 0E 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 0E 00 52 0B 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C0 [16:25:09]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:25:09]wFMCommunicate OK [16:25:09]SAM_PROTO_GetShiftState done [16:25:09]FM_GetShiftState done [16:25:09]KKMCreateXReportDocument [16:25:09]Load OK [16:25:09]Malloc new data [16:25:09]MH_GetDate [16:25:09]Write to MH i2c: F0 00 00 53 0B 4D [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 09 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: F0 09 00 53 0B 00 E7 62 B3 67 19 D8 DE 66 EE [16:25:09]Malloc new data [16:25:09]Malloc new data [16:25:09]wFMCommunicate request_size=4 [16:25:09]MH_SAM_APDU [16:25:09]CAPDU: 80 11 00 00 [16:25:09]Write to MH i2c: E2 08 00 54 0B 80 11 00 00 00 00 00 00 D9 [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:09]Read from MH i2c: E2 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 17 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 17 00 54 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2F [16:25:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:25:09]wFMCommunicate OK [16:25:09]SAM_PROTO_GetFieldsCounters [16:25:09]wFMCommunicate request_size=4 [16:25:09]MH_SAM_APDU [16:25:09]CAPDU: 80 13 00 00 [16:25:09]Write to MH i2c: E2 08 00 55 0B 80 13 00 00 00 00 00 00 DC [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 [16:25:09]MH_I2C_Read... [16:25:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:09]Read from MH i2c: E2 62 00 [16:25:09]MH_I2C_Read... [16:25:09]Read from MH i2c: E2 62 00 55 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 2C [16:25:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:25:09]wFMCommunicate OK [16:25:09]SAM_PROTO_GetFieldsCounters done [16:25:09]Malloc new data [16:25:09]Malloc new data [16:25:09]Malloc new data [16:25:09]KKMCreateXReportDocument OK [16:25:09]KKMSetXReportData OK [16:25:09]KKMPrepareXReportFMData [16:25:09]SAM_PROTO_GetShiftData [16:25:09]wFMCommunicate request_size=4 [16:25:09]MH_SAM_APDU [16:25:09]CAPDU: 80 13 02 00 [16:25:09]Write to MH i2c: E2 08 00 56 0B 80 13 02 00 00 00 00 00 DF [16:25:09]Write i2c OK [16:25:09]MH_I2C_Read... [16:25:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:25:10]Read from MH i2c: E2 [16:25:10]MH_I2C_Read... [16:25:10]Read from MH i2c: E2 FD 00 [16:25:10]MH_I2C_Read... [16:25:10]Read from MH i2c: E2 FD 00 56 0B 00 B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 08 [16:25:10]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 8D B2 17 70 04 03 00 A4 2F 0E 72 04 03 00 E9 82 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 45 84 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B0 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:25:10]wFMCommunicate OK [16:25:10]wFMCommunicate request_size=4 [16:25:10]MH_SAM_APDU [16:25:10]CAPDU: 80 17 00 00 [16:25:10]Write to MH i2c: E2 08 00 57 0B 80 17 00 00 00 00 00 00 E2 [16:25:10]Write i2c OK [16:25:10]MH_I2C_Read... [16:25:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:10]Read from MH i2c: E2 [16:25:10]MH_I2C_Read... [16:25:10]Read from MH i2c: E2 FD 00 [16:25:10]MH_I2C_Read... [16:25:10]Read from MH i2c: E2 FD 00 57 0B 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 E5 [16:25:10]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [16:25:10]wFMCommunicate OK [16:25:10]wFMCommunicate request_size=4 [16:25:10]MH_SAM_APDU [16:25:10]CAPDU: 80 17 00 00 [16:25:10]Write to MH i2c: E2 08 00 58 0B 80 17 00 00 00 00 00 00 E3 [16:25:10]Write i2c OK [16:25:10]MH_I2C_Read... [16:25:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:11]Read from MH i2c: E2 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 FD 00 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 FD 00 58 0B 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 85 [16:25:11]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [16:25:11]wFMCommunicate OK [16:25:11]wFMCommunicate request_size=4 [16:25:11]MH_SAM_APDU [16:25:11]CAPDU: 80 17 00 00 [16:25:11]Write to MH i2c: E2 08 00 59 0B 80 17 00 00 00 00 00 00 E4 [16:25:11]Write i2c OK [16:25:11]MH_I2C_Read... [16:25:11]OFD Sender: No OFD packet to send [16:25:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:11]Read from MH i2c: E2 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 FD 00 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 FD 00 59 0B 00 03 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 90 00 6D [16:25:11]RAPDU: 03 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 90 00 [16:25:11]wFMCommunicate OK [16:25:11]wFMCommunicate request_size=4 [16:25:11]MH_SAM_APDU [16:25:11]CAPDU: 80 17 00 00 [16:25:11]Write to MH i2c: E2 08 00 5A 0B 80 17 00 00 00 00 00 00 E5 [16:25:11]Write i2c OK [16:25:11]MH_I2C_Read... [16:25:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:25:11]Read from MH i2c: E2 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 D5 00 [16:25:11]MH_I2C_Read... [16:25:11]Read from MH i2c: E2 D5 00 5A 0B 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [16:25:12]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:12]wFMCommunicate OK [16:25:12]SAM_PROTO_GetShiftData done [16:25:12]1194 (1204) - счетчики итогов смены [16:25:12] 1134 (4) - 48 - количество чеков со всеми признаками расчетов [16:25:12] 1129 (155) - счетчики операций «приход» [16:25:12] 1135 (4) - 46 - количество чеков по признаку расчетов [16:25:12] 1201 (3) - 15530.37 - общая итоговая сумма в чеках [16:25:12] 1136 (3) - 9297.00 - итоговая сумма в чеках наличными [16:25:12] 1138 (3) - 6233.37 - итоговая сумма в чеках безналичными [16:25:12] 1024 (122) - суммы налогов [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 0% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1006 (12) - суммы НДС [16:25:12] 1010 (1) - 12% - код ставки НДС [16:25:12] 1011 (3) - 1649.33 - сумма НДС по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (11) - суммы НСП [16:25:12] 1014 (1) - 1% - код ставки НСП [16:25:12] 1015 (2) - 137.44 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 2% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 3% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 5% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1130 (151) - счетчики операций «возврат прихода» [16:25:12] 1135 (4) - 2 - количество чеков по признаку расчетов [16:25:12] 1201 (3) - 4272.00 - общая итоговая сумма в чеках [16:25:12] 1136 (3) - 4272.00 - итоговая сумма в чеках наличными [16:25:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:25:12] 1024 (121) - суммы налогов [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 0% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1006 (11) - суммы НДС [16:25:12] 1010 (1) - 12% - код ставки НДС [16:25:12] 1011 (2) - 453.67 - сумма НДС по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (11) - суммы НСП [16:25:12] 1014 (1) - 1% - код ставки НСП [16:25:12] 1015 (2) - 37.80 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 2% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 3% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 5% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1131 (141) - счетчики операций «расход» [16:25:12] 1135 (4) - 0 - количество чеков по признаку расчетов [16:25:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [16:25:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [16:25:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:25:12] 1024 (117) - суммы налогов [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 0% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 12% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 2% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 3% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 5% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1132 (141) - счетчики операций «возврат расхода» [16:25:12] 1135 (4) - 0 - количество чеков по признаку расчетов [16:25:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [16:25:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [16:25:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:25:12] 1024 (117) - суммы налогов [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 0% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1006 (9) - суммы НДС [16:25:12] 1010 (1) - 12% - код ставки НДС [16:25:12] 1011 (0) - 0.00 - сумма НДС по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 2% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 3% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 5% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 0,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1007 (9) - суммы НСП [16:25:12] 1014 (1) - 1,50% - код ставки НСП [16:25:12] 1015 (0) - 0.00 - сумма НСП по ставке [16:25:12] 1133 (588) - - счетчики коррекции - не используются [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1194 (04AA) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1134 (046E) [16:25:12]Malloc new data [16:25:12]Processing tag 1129 (0469) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1135 (046F) [16:25:12]Malloc new data [16:25:12]Processing tag 1201 (04B1) [16:25:12]Malloc new data [16:25:12]Processing tag 1136 (0470) [16:25:12]Malloc new data [16:25:12]Processing tag 1138 (0472) [16:25:12]Malloc new data [16:25:12]Processing tag 1024 (0400) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]SetTLVBufToDocument err=0 [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1130 (046A) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1135 (046F) [16:25:12]Malloc new data [16:25:12]Processing tag 1201 (04B1) [16:25:12]Malloc new data [16:25:12]Processing tag 1136 (0470) [16:25:12]Malloc new data [16:25:12]Processing tag 1138 (0472) [16:25:12]Malloc new data [16:25:12]Processing tag 1024 (0400) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]SetTLVBufToDocument err=0 [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1131 (046B) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1135 (046F) [16:25:12]Malloc new data [16:25:12]Processing tag 1201 (04B1) [16:25:12]Malloc new data [16:25:12]Processing tag 1136 (0470) [16:25:12]Malloc new data [16:25:12]Processing tag 1138 (0472) [16:25:12]Malloc new data [16:25:12]Processing tag 1024 (0400) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1006 (03EE) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1010 (03F2) [16:25:12]Malloc new data [16:25:12]Processing tag 1011 (03F3) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:12]SetTLVBufToDocument [16:25:12]Processing tag 1014 (03F6) [16:25:12]Malloc new data [16:25:12]Processing tag 1015 (03F7) [16:25:12]Malloc new data [16:25:12]SetTLVBufToDocument err=0 [16:25:12]Processing tag 1007 (03EF) [16:25:12]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]SetTLVBufToDocument err=0 [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1132 (046C) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1135 (046F) [16:25:13]Malloc new data [16:25:13]Processing tag 1201 (04B1) [16:25:13]Malloc new data [16:25:13]Processing tag 1136 (0470) [16:25:13]Malloc new data [16:25:13]Processing tag 1138 (0472) [16:25:13]Malloc new data [16:25:13]Processing tag 1024 (0400) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1006 (03EE) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1010 (03F2) [16:25:13]Malloc new data [16:25:13]Processing tag 1011 (03F3) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1006 (03EE) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1010 (03F2) [16:25:13]Malloc new data [16:25:13]Processing tag 1011 (03F3) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1007 (03EF) [16:25:13]Load OK [16:25:13]SetTLVBufToDocument [16:25:13]Processing tag 1014 (03F6) [16:25:13]Malloc new data [16:25:13]Processing tag 1015 (03F7) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]SetTLVBufToDocument err=0 [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Processing tag 1133 (046D) [16:25:13]Malloc new data [16:25:13]SetTLVBufToDocument err=0 [16:25:13]SetTLVBufToDocument err=0 [16:25:13]Malloc new data [16:25:13]SAM_PROTO_GetFMData [16:25:13]wFMCommunicate request_size=4 [16:25:13]MH_SAM_APDU [16:25:13]CAPDU: 80 13 03 00 [16:25:13]Write to MH i2c: E2 08 00 5B 0B 80 13 03 00 00 00 00 00 E5 [16:25:13]Write i2c OK [16:25:13]MH_I2C_Read... [16:25:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:25:13]Read from MH i2c: E2 [16:25:13]MH_I2C_Read... [16:25:13]Read from MH i2c: E2 FD 00 [16:25:13]MH_I2C_Read... [16:25:13]Read from MH i2c: E2 FD 00 5B 0B 00 C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 28 [16:25:13]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [16:25:13]wFMCommunicate OK [16:25:13]wFMCommunicate request_size=4 [16:25:13]MH_SAM_APDU [16:25:13]CAPDU: 80 17 00 00 [16:25:13]Write to MH i2c: E2 08 00 5C 0B 80 17 00 00 00 00 00 00 E7 [16:25:13]Write i2c OK [16:25:13]MH_I2C_Read... [16:25:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:14]Read from MH i2c: E2 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 FD 00 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 FD 00 5C 0B 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 62 [16:25:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:25:14]wFMCommunicate OK [16:25:14]wFMCommunicate request_size=4 [16:25:14]MH_SAM_APDU [16:25:14]CAPDU: 80 17 00 00 [16:25:14]Write to MH i2c: E2 08 00 5D 0B 80 17 00 00 00 00 00 00 E8 [16:25:14]Write i2c OK [16:25:14]MH_I2C_Read... [16:25:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:14]Read from MH i2c: E2 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 FD 00 [16:25:14]MH_I2C_Read... [16:25:14]Read from MH i2c: E2 FD 00 5D 0B 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 FD [16:25:14]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:25:14]wFMCommunicate OK [16:25:14]wFMCommunicate request_size=4 [16:25:14]MH_SAM_APDU [16:25:14]CAPDU: 80 17 00 00 [16:25:14]Write to MH i2c: E2 08 00 5E 0B 80 17 00 00 00 00 00 00 E9 [16:25:14]Write i2c OK [16:25:14]MH_I2C_Read... [16:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:25:15]Read from MH i2c: E2 [16:25:15]MH_I2C_Read... [16:25:15]Read from MH i2c: E2 FD 00 [16:25:15]MH_I2C_Read... [16:25:15]Read from MH i2c: E2 FD 00 5E 0B 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 61 [16:25:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:25:15]wFMCommunicate OK [16:25:15]wFMCommunicate request_size=4 [16:25:15]MH_SAM_APDU [16:25:15]CAPDU: 80 17 00 00 [16:25:15]Write to MH i2c: E2 08 00 5F 0B 80 17 00 00 00 00 00 00 EA [16:25:15]Write i2c OK [16:25:15]MH_I2C_Read... [16:25:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:25:15]Read from MH i2c: E2 [16:25:15]MH_I2C_Read... [16:25:15]Read from MH i2c: E2 E1 00 [16:25:15]MH_I2C_Read... [16:25:15]Read from MH i2c: E2 E1 00 5F 0B 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D8 [16:25:15]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:25:15]wFMCommunicate OK [16:25:15]SAM_PROTO_GetFMData done [16:25:15]FM_GetFMData:85 04 C0 04 6E 04 04 00 A4 7B 00 00 69 04 A0 00 6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [16:25:16]03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:25:16]oper:6F 04 04 00 1C 7A 00 00 B1 04 04 00 54 D8 A5 57 70 04 04 00 69 4C EA 27 72 04 04 00 EB 8B BB 2F 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 74 FF 4E 09 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 6E 8B C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:25:16]total:54 D8 A5 57 [16:25:16]Malloc new data [16:25:16]oper:6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:25:16]total:54 57 2A 02 [16:25:16]Malloc new data [16:25:16]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 [16:25:16]total: [16:25:16]Malloc new data [16:25:16]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 [16:25:17]total: [16:25:17]Malloc new data [16:25:17]KKMPrepareXReportFMData err=0 [16:25:17]Х отчет ИНН: 02508201610067 Кассир: Рахманов У. 17.02.2025 16:25 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 48 ИТОГИ ПРИХОД Чеков: 46 Общий итог: 15530.37 Итого наличными: 9297.00 Итого безнал.: 6233.37 НДС 0% : 0.00 НДС 12% : 1649.33 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 137.44 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 4272.00 Итого наличными: 4272.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 453.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 37.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 5025.00 НС Приход: 14704866.12 НС Возвр.Прихода: 363293.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [16:25:17]StoreToDocumentArchive [16:25:17]MH_GetDate [16:25:17]Write to MH i2c: F0 00 00 60 0B 5A [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: F0 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: F0 09 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: F0 09 00 60 0B 00 EF 62 B3 67 19 D8 DE 66 03 [16:25:17]shift 266 fd 1739809519 [16:25:17]Create dir for shift 0266 [16:25:17]save to /storage/0266/doc_1739809519 [16:25:17]save last doc name /storage/0266/doc_1739809519 to /storage/kkm_last_doc_name [16:25:17]save OK [16:25:17]Clear old archive folders... [16:25:17]NVStorageSaveData kkm_last_timestamp [16:25:17]File name is /storage/kkm_last_timestamp [16:25:17]Write 4 bytes [16:25:17]NVStorageSaveData done [16:25:17]ExternCall_PrintAddStr [16:25:17]wPrintStart [16:25:17]Write to MH i2c: 01 00 00 61 0B 6C [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 61 0B 00 00 00 00 00 FF 0F 81 [16:25:17]RasterBufferAndPrint [16:25:17]line Х отчет [16:25:17]line ИНН: 02508201610067 [16:25:17]line Кассир: Рахманов У. [16:25:17]line 17.02.2025 16:25 [16:25:17]line Смена: 266 [16:25:17]line РНМ: 0000000000146237 [16:25:17]line ЗНМ: 0300000059 [16:25:17]line СНО: Общий режим [16:25:17]line Всего чеков: 48 [16:25:17]line ИТОГИ ПРИХОД [16:25:17]line Чеков: 46 [16:25:17]line Общий итог: 15530.37 [16:25:17]line Итого наличными: 9297.00 [16:25:17]line Итого безнал.: 6233.37 [16:25:17]line НДС 0% : 0.00 [16:25:17]line НДС 12% : 1649.33 [16:25:17]line НСП 0% : 0.00 [16:25:17]line НСП 1,50% : 0.00 [16:25:17]line НСП 0,50% : 0.00 [16:25:17]line НСП 5% : 0.00 [16:25:17]line НСП 3% : 0.00 [16:25:17]line НСП 2% : 0.00 [16:25:17]line НСП 1% : 137.44 [16:25:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [16:25:17]line Чеков: 2 [16:25:17]line Общий итог: 4272.00 [16:25:17]line Итого наличными: 4272.00 [16:25:17]line Итого безнал.: 0.00 [16:25:17]line НДС 0% : 0.00 [16:25:17]line НДС 12% : 453.67 [16:25:17]line НСП 0% : 0.00 [16:25:17]line НСП 1,50% : 0.00 [16:25:17]line НСП 0,50% : 0.00 [16:25:17]line НСП 5% : 0.00 [16:25:17]line НСП 3% : 0.00 [16:25:17]line НСП 2% : 0.00 [16:25:17]line НСП 1% : 37.80 [16:25:17]line ИТОГИ РАСХОД [16:25:17]line Чеков: 0 [16:25:17]line Общий итог: 0.00 [16:25:17]line Итого наличными: 0.00 [16:25:17]line Итого безнал.: 0.00 [16:25:17]line НДС 0% : 0.00 [16:25:17]line НДС 12% : 0.00 [16:25:17]line НСП 0% : 0.00 [16:25:17]line НСП 1,50% : 0.00 [16:25:17]line НСП 0,50% : 0.00 [16:25:17]line НСП 5% : 0.00 [16:25:17]line НСП 3% : 0.00 [16:25:17]line НСП 2% : 0.00 [16:25:17]line НСП 1% : 0.00 [16:25:17]line ИТОГИ ВОЗВРАТ РАСХОДА [16:25:17]line Чеков: 0 [16:25:17]line Общий итог: 0.00 [16:25:17]line Итого наличными: 0.00 [16:25:17]line Итого безнал.: 0.00 [16:25:17]line НДС 0% : 0.00 [16:25:17]line НДС 12% : 0.00 [16:25:17]line НСП 0% : 0.00 [16:25:17]line НСП 1,50% : 0.00 [16:25:17]line НСП 0,50% : 0.00 [16:25:17]line НСП 5% : 0.00 [16:25:17]line НСП 3% : 0.00 [16:25:17]line НСП 2% : 0.00 [16:25:17]line НСП 1% : 0.00 [16:25:17]line Сумма внесений: 0.00 [16:25:17]line Сумма выплат: 0.00 [16:25:17]line Нал. в кассе: 5025.00 [16:25:17]line НС Приход: 14704866.12 [16:25:17]line НС Возвр.Прихода: 363293.00 [16:25:17]line НС Расход: 0.00 [16:25:17]line НС Возвр.Расхода: 0.00 [16:25:17]line ФМ: 0000000000959282 [16:25:17]written 0, free lines is 4095 [16:25:17]Write to MH i2c: 01 00 00 AC 0B B7 [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: 01 07 00 AC 0B 00 00 00 00 00 12 0B DB [16:25:17]RasterBufferAndPrint [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]line [16:25:17]written 0, free lines is 2872 [16:25:17]MH_Cut [16:25:17]Write to MH i2c: D1 01 00 B3 0B 01 90 [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 01 00 [16:25:17]MH_I2C_Read... [16:25:17]Read from MH i2c: D1 01 00 B3 0B 00 8F [16:25:17]Write to MH i2c: 01 00 00 B4 0B BF [16:25:17]Write i2c OK [16:25:17]MH_I2C_Read... [16:25:18]*** Cut start [16:25:18]*** Partial cut [16:25:18]*** CUTSNS_PIN = 1 [16:25:18]*** CUTSNS_PIN = 0 [16:25:19]*** Brake cut motor [16:25:19]Read from MH i2c: 01 [16:25:19]MH_I2C_Read... [16:25:19]*** Stop cut motor [16:25:19]*** Cut end [16:25:19]Read from MH i2c: 01 07 00 [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: 01 07 00 B4 0B 00 00 00 00 00 FF 0F D4 [16:25:19]process_action x_report done [16:25:19]requested_data is exist [16:25:19]produce_requested_data [16:25:19]requested_item fd.num is exist - process it [16:25:19]SAM_PROTO_GetFieldsCounters [16:25:19]wFMCommunicate request_size=4 [16:25:19]MH_SAM_APDU [16:25:19]CAPDU: 80 13 00 00 [16:25:19]Write to MH i2c: E2 08 00 B5 0B 80 13 00 00 00 00 00 00 3C [16:25:19]Write i2c OK [16:25:19]MH_I2C_Read... [16:25:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:19]Read from MH i2c: E2 [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 62 00 [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 62 00 B5 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [16:25:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:25:19]wFMCommunicate OK [16:25:19]SAM_PROTO_GetFieldsCounters done [16:25:19]requested_item shift.num is exist - process it [16:25:19]requested_item shift.opened is exist - process it [16:25:19]req_shift_opened [16:25:19]FM_GetShiftState [16:25:19]SAM_PROTO_GetShiftState [16:25:19]wFMCommunicate request_size=4 [16:25:19]MH_SAM_APDU [16:25:19]CAPDU: 80 13 01 00 [16:25:19]Write to MH i2c: E2 08 00 B6 0B 80 13 01 00 00 00 00 00 3E [16:25:19]Write i2c OK [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 [16:25:19]MH_I2C_Read... [16:25:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:19]Read from MH i2c: E2 0E 00 [16:25:19]MH_I2C_Read... [16:25:19]Read from MH i2c: E2 0E 00 B6 0B 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 24 [16:25:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:25:19]wFMCommunicate OK [16:25:19]SAM_PROTO_GetShiftState done [16:25:19]FM_GetShiftState done [16:25:19]req_shift_opened done [16:25:19]requested_item shift.open_date is exist - process it [16:25:19]req_shift_open_date [16:25:19]req_shift_open_date done [16:25:19]produce_requested_data done [16:25:19]produce_requested_data return {"fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:25:19]process_action_free x_report [16:25:19]json_value_free [16:25:19]json_value_free done [16:25:19]process_json_proto returns [16:25:19]Send response to host [16:25:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32417,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:25:19]free response buf [16:25:19]execute_script done [16:25:19]execute_script returns [16:25:19]free content buf [16:25:19]Sock 9.Close socket [16:25:19]Sock 9.Thread stoped [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:28]accept exits with 7 [16:27:28]New connection [16:27:28]New thread 3067555172 created [16:27:28]Thread 3067411812 joined [16:27:28]Waiting for new connection... [16:27:28] Sock 7.Parse request [16:27:28]Sock 7.Check first char [16:27:28]Sock 7.First char is OK [16:27:28]request: POST /json_proto HTTP/1.0 [16:27:28]Method: POST [16:27:28]URL: /json_proto [16:27:28]Method is POST - this is cgi request [16:27:28]url: /json_proto [16:27:28]query_string will be loaded in cgi processing [16:27:28]execute_cgi json_proto POST (null) [16:27:28]execute_cgi path=json_proto method=POST [16:27:28]POST find Content-Length [16:27:28]Host: 172.17.47.135:8080 [16:27:28]Content-Length: 820 [16:27:28]Content-Type: application/json [16:27:28] [16:27:28]POST finish read [16:27:28]Found Content-Length = 820 [16:27:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:28]execute_script... [16:27:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:28]POST & json_proto [16:27:28]process_json_proto [16:27:28]json parsed OK: [16:27:28]protocol is kg_v1.0 [16:27:28]action value=close_receipt [16:27:28]process_action close_receipt [16:27:28]cmd_close_receipt [16:27:28]MH_GetDate [16:27:28]Write to MH i2c: F0 00 00 B7 0B B1 [16:27:28]Write i2c OK [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: F0 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: F0 09 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: F0 09 00 B7 0B 00 72 63 B3 67 19 D8 DE 66 DE [16:27:28]GetLastDocTimeStamp 1739809511 [16:27:28]current date 1739809650 [16:27:28]FM_GetShiftState [16:27:28]SAM_PROTO_GetShiftState [16:27:28]wFMCommunicate request_size=4 [16:27:28]MH_SAM_APDU [16:27:28]CAPDU: 80 13 01 00 [16:27:28]Write to MH i2c: E2 08 00 B8 0B 80 13 01 00 00 00 00 00 40 [16:27:28]Write i2c OK [16:27:28]MH_I2C_Read... [16:27:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:28]Read from MH i2c: E2 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 0E 00 [16:27:28]MH_I2C_Read... [16:27:28]Read from MH i2c: E2 0E 00 B8 0B 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 26 [16:27:28]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:27:28]wFMCommunicate OK [16:27:28]SAM_PROTO_GetShiftState done [16:27:28]FM_GetShiftState done [16:27:28]opened in 1739750979 [16:27:28]opened+sec_in_day 1739837379 [16:27:28]quantity*price = 100023 [16:27:28]sum+1 = 100025 [16:27:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.24 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.24 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 49 17.02.2025 16:27 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32418 ФПД: 206145313959900 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162730&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32418&fm=206145313959900&tin=02508201610067®Number=0000000000146237&sum=100024 [16:27:29]StoreToDocumentArchive [16:27:29]shift 382 fd 32418 [16:27:29]save to /storage/0382/doc_00032418 [16:27:29]save last doc name /storage/0382/doc_00032418 to /storage/kkm_last_doc_name [16:27:29]save OK [16:27:29]Clear old archive folders... [16:27:29]Remove dir /storage/0266 [16:27:29]opendir ok [16:27:29]file . [16:27:29]file .. [16:27:29]file doc_1739809519 [16:27:29]remove file /storage/0266/doc_1739809519 [16:27:29]remove dir /storage/0266 [16:27:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:27:29]tlvbuf is 004C33F0 [16:27:29]SAM_PROTO_ClearQueue [16:27:29]wFMCommunicate request_size=4 [16:27:29]MH_SAM_APDU [16:27:29]CAPDU: 80 09 00 00 [16:27:29]Write to MH i2c: E2 08 00 C5 0B 80 09 00 00 00 00 00 00 42 [16:27:29]Write i2c OK [16:27:29]MH_I2C_Read... [16:27:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:27:29]Read from MH i2c: E2 [16:27:29]MH_I2C_Read... [16:27:29]Read from MH i2c: E2 03 00 [16:27:29]MH_I2C_Read... [16:27:29]Read from MH i2c: E2 03 00 C5 0B 00 90 00 44 [16:27:29]RAPDU: 90 00 [16:27:29]wFMCommunicate OK [16:27:29]SAM_PROTO_ClearQueue done [16:27:29]KKMCreateOFDPacket [16:27:29]OFDProtocolAddRootSTLVToBuf [16:27:29]FM_MakeSignedData [16:27:29]FM_MakeSignedData [16:27:29]SAM_PROTO_SignData [16:27:29]wFMCommunicate request_size=4 [16:27:29]MH_SAM_APDU [16:27:29]CAPDU: 80 0D 01 02 [16:27:29]Write to MH i2c: E2 08 00 C6 0B 80 0D 01 02 00 00 00 00 4A [16:27:29]Write i2c OK [16:27:29]MH_I2C_Read... [16:27:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:27:29]Read from MH i2c: E2 [16:27:29]MH_I2C_Read... [16:27:29]Read from MH i2c: E2 03 00 [16:27:29]MH_I2C_Read... [16:27:29]Read from MH i2c: E2 03 00 C6 0B 00 90 00 45 [16:27:29]RAPDU: 90 00 [16:27:29]wFMCommunicate OK [16:27:29]wFMCommunicate request_size=255 [16:27:29]MH_SAM_APDU [16:27:29]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 72 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A2 7E 00 00 35 04 06 00 BB [16:27:29]Write to MH i2c: E2 02 01 C7 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 72 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A2 7E 00 00 35 04 06 00 BB 00 00 F0 [16:27:29]Write i2c OK [16:27:29]MH_I2C_Read... [16:27:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:30]Read from MH i2c: E2 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 03 00 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 03 00 C7 0B 00 90 00 46 [16:27:30]RAPDU: 90 00 [16:27:30]wFMCommunicate OK [16:27:30]wFMCommunicate request_size=10 [16:27:30]MH_SAM_APDU [16:27:30]CAPDU: 80 0D 02 02 05 7C F2 35 EF DC [16:27:30]Write to MH i2c: E2 0D 00 C8 0B 80 0D 02 02 05 00 7C F2 35 EF DC 00 00 C5 [16:27:30]Write i2c OK [16:27:30]MH_I2C_Read... [16:27:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:30]Read from MH i2c: E2 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 03 00 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 03 00 C8 0B 00 90 00 47 [16:27:30]RAPDU: 90 00 [16:27:30]wFMCommunicate OK [16:27:30]wFMCommunicate request_size=4 [16:27:30]MH_SAM_APDU [16:27:30]CAPDU: 80 0D 03 02 [16:27:30]Write to MH i2c: E2 08 00 C9 0B 80 0D 03 02 00 00 00 00 4F [16:27:30]Write i2c OK [16:27:30]MH_I2C_Read... [16:27:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:27:30]Read from MH i2c: E2 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 0B 00 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 0B 00 C9 0B 00 93 35 C3 5A 86 55 3B 30 90 00 7B [16:27:30]RAPDU: 93 35 C3 5A 86 55 3B 30 90 00 [16:27:30]wFMCommunicate OK [16:27:30]SAM_PROTO_SignData done [16:27:30]FM_MakeSignedData done [16:27:30]CreateOFDProtocolMessage [16:27:30]wFMCommunicate request_size=4 [16:27:30]MH_SAM_APDU [16:27:30]CAPDU: 80 11 00 00 [16:27:30]Write to MH i2c: E2 08 00 CA 0B 80 11 00 00 00 00 00 00 4F [16:27:30]Write i2c OK [16:27:30]MH_I2C_Read... [16:27:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:30]Read from MH i2c: E2 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 17 00 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: E2 17 00 CA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A5 [16:27:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:27:30]wFMCommunicate OK [16:27:30]CreateOFDProtocolMessage done [16:27:30]OFDSenderStorePacket 32418 [16:27:30]StoreOFDPacket docnum=32418 [16:27:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 57 EE 07 01 FE 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 72 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A2 7E 00 00 35 04 06 00 BB 7C F2 35 EF DC 93 35 C3 5A 86 55 3B 30 [16:27:30]CheckFolder [16:27:30]dirname=/storage/ofd_packets [16:27:30]CheckFolder done [16:27:30]ProducePacketName [16:27:30]name=ofd_packets/00032418 [16:27:30]NVStorageSaveData ofd_packets/00032418 [16:27:30]File name is /storage/ofd_packets/00032418 [16:27:30]Write 301 bytes [16:27:30]NVStorageSaveData done [16:27:30]OFDSenderStorePacket done [16:27:30]KKMCreateOFDPacket done [16:27:30]NVStorageSaveData kkm_last_timestamp [16:27:30]File name is /storage/kkm_last_timestamp [16:27:30]Write 4 bytes [16:27:30]NVStorageSaveData done [16:27:30]ExternCall_PrintAddStr [16:27:30]wPrintStart [16:27:30]Write to MH i2c: 01 00 00 CB 0B D6 [16:27:30]Write i2c OK [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: 01 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: 01 07 00 [16:27:30]MH_I2C_Read... [16:27:30]Read from MH i2c: 01 07 00 CB 0B 00 00 00 00 00 FF 0F EB [16:27:30]RasterBufferAndPrint [16:27:30]line Счет N : (1)6543399 [16:27:30]line ИНН: 02508201610067 [16:27:30]line Контрольно-Кассовый Чек [16:27:30]line ПРОДАЖА [16:27:30]line ТРК (МРК, ГНК) : 12 [16:27:30]line Товар: 2710124130 [16:27:30]line Аи-92-К-5 [16:27:30]line 15.580 * 64.20 [16:27:30]line = 1000.24 [16:27:30]line НДС 12% НСП 1% [16:27:30]line > о реализуемом товаре [16:27:30]line ИТОГО: 1000.24 [16:27:30]line НСП 1% : 8.85 [16:27:30]line НДС 12% : 106.22 [16:27:30]line Наличными: 0.00 [16:27:30]line Безнал.: 1000.24 [16:27:30]line Место: АЗС № 96 "Партнер Нефть" [16:27:30]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:27:30]line СНО: Общий режим [16:27:30]line Чек 49 17.02.2025 16:27 [16:27:30]line Смена: 382 ФФД: 1.0 [16:27:30]line ЗНМ: 0300000059 [16:27:30]line РНМ: 0000000000146237 [16:27:30]line Версия ККМ: v1.0 [16:27:30]line Платежная система: Бакай Банк [16:27:30]line ФМ: 0000000000959282 [16:27:30]line ФД: 32418 [16:27:30]line ФПД: 206145313959900 [16:27:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162730&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32418&fm=206145313959900&tin=02508201610067®Number=0000000000146237&sum=100024 [16:27:30]OFD Sender: Processing packet 32418 [packets to send 104, broken 103] [16:27:30]ProducePacketName [16:27:30]name=ofd_packets/00032418 [16:27:30]OFD Sender: To server: pG, [16:27:30]CommunicateWithHost lk.salyk.kg:30040 [16:27:30]ConnectInit lk.salyk.kg [16:27:30]written 0, free lines is 4095 [16:27:31]Connected sock=10 [16:27:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 57 EE 07 01 FE 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 72 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A2 7E 00 00 35 04 06 00 BB 7C F2 35 EF DC 93 35 C3 5A 86 55 3B 30 [16:27:31]Write to MH i2c: 01 00 00 F5 0B 00 [16:27:31]Write i2c OK [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: 01 [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: 01 07 00 [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: 01 07 00 F5 0B 00 00 00 00 00 0B 0D 1F [16:27:31]RasterBufferAndPrint [16:27:31]line [16:27:31]line [16:27:31]line [16:27:31]line [16:27:31]line [16:27:31]written 0, free lines is 3345 [16:27:31]MH_Cut [16:27:31]Write to MH i2c: D1 01 00 FC 0B 01 D9 [16:27:31]Write i2c OK [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: D1 [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: D1 01 00 [16:27:31]MH_I2C_Read... [16:27:31]Read from MH i2c: D1 01 00 FC 0B 00 D8 [16:27:31]Write to MH i2c: 01 00 00 FD 0B 08 [16:27:31]Write i2c OK [16:27:31]MH_I2C_Read... [16:27:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 CC F2 47 00 7D 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A2 7E 00 00 F4 03 04 00 16 0D B3 67 B6 04 01 00 00 01 7C D6 B5 3F 1C DA 64 [16:27:31]CommunicateWithHost err = 0 [16:27:31]CheckOFDResponse [16:27:31]1017 (14) - 77093643461234 [16:27:31]1041 (16) - 0000000000959282 [16:27:31]1040 (4) - 32418 [16:27:31]1012 (4) - 17.02.2025 10:19 [16:27:31]1206 (1) - 0 [16:27:31]OFD Sender: Remove packet 32418 [16:27:31]ProducePacketName [16:27:31]name=ofd_packets/00032418 [16:27:31]NVStorageDeleteData [16:27:31]*** Cut start [16:27:31]*** Partial cut [16:27:31]*** CUTSNS_PIN = 1 [16:27:31]*** CUTSNS_PIN = 0 [16:27:31]OFD Sender: No OFD packet to send [16:27:32]*** Brake cut motor [16:27:32]Read from MH i2c: 01 [16:27:32]MH_I2C_Read... [16:27:32]*** Stop cut motor [16:27:32]*** Cut end [16:27:32]Read from MH i2c: 01 07 00 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: 01 07 00 FD 0B 00 00 00 00 00 FF 0F 1D [16:27:32]process_action close_receipt done [16:27:32]requested_data is exist [16:27:32]produce_requested_data [16:27:32]requested_item fm.sn is exist - process it [16:27:32]wFMCommunicate request_size=4 [16:27:32]MH_SAM_APDU [16:27:32]CAPDU: 80 11 00 00 [16:27:32]Write to MH i2c: E2 08 00 FE 0B 80 11 00 00 00 00 00 00 83 [16:27:32]Write i2c OK [16:27:32]MH_I2C_Read... [16:27:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:32]Read from MH i2c: E2 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 17 00 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 17 00 FE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D9 [16:27:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:27:32]wFMCommunicate OK [16:27:32]requested_item fd.num is exist - process it [16:27:32]SAM_PROTO_GetFieldsCounters [16:27:32]wFMCommunicate request_size=4 [16:27:32]MH_SAM_APDU [16:27:32]CAPDU: 80 13 00 00 [16:27:32]Write to MH i2c: E2 08 00 FF 0B 80 13 00 00 00 00 00 00 86 [16:27:32]Write i2c OK [16:27:32]MH_I2C_Read... [16:27:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:27:32]Read from MH i2c: E2 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 62 00 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 62 00 FF 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A2 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [16:27:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A2 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:27:32]wFMCommunicate OK [16:27:32]SAM_PROTO_GetFieldsCounters done [16:27:32]requested_item shift.num is exist - process it [16:27:32]requested_item shift.opened is exist - process it [16:27:32]req_shift_opened [16:27:32]FM_GetShiftState [16:27:32]SAM_PROTO_GetShiftState [16:27:32]wFMCommunicate request_size=4 [16:27:32]MH_SAM_APDU [16:27:32]CAPDU: 80 13 01 00 [16:27:32]Write to MH i2c: E2 08 00 00 0C 80 13 01 00 00 00 00 00 89 [16:27:32]Write i2c OK [16:27:32]MH_I2C_Read... [16:27:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:32]Read from MH i2c: E2 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 0E 00 [16:27:32]MH_I2C_Read... [16:27:32]Read from MH i2c: E2 0E 00 00 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6F [16:27:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:27:32]wFMCommunicate OK [16:27:32]SAM_PROTO_GetShiftState done [16:27:32]FM_GetShiftState done [16:27:32]req_shift_opened done [16:27:32]requested_item shift.open_date is exist - process it [16:27:32]req_shift_open_date [16:27:32]req_shift_open_date done [16:27:32]produce_requested_data done [16:27:32]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32418,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:27:32]process_action_free close_receipt [16:27:32]json_value_free [16:27:32]json_value_free done [16:27:32]process_json_proto returns [16:27:32]Send response to host [16:27:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32418,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:27:32]free response buf [16:27:32]execute_script done [16:27:32]execute_script returns [16:27:32]free content buf [16:27:32]Sock 7.Close socket [16:27:32]Sock 7.Thread stoped [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:04]accept exits with 9 [16:28:04]New connection [16:28:04]New thread 3067411812 created [16:28:04]Thread 3067555172 joined [16:28:04]Waiting for new connection... [16:28:04] Sock 9.Parse request [16:28:04]Sock 9.Check first char [16:28:04]Sock 9.First char is OK [16:28:04]request: POST /json_proto HTTP/1.0 [16:28:04]Method: POST [16:28:04]URL: /json_proto [16:28:04]Method is POST - this is cgi request [16:28:04]url: /json_proto [16:28:04]query_string will be loaded in cgi processing [16:28:04]execute_cgi json_proto POST (null) [16:28:04]execute_cgi path=json_proto method=POST [16:28:04]POST find Content-Length [16:28:04]Host: 172.17.47.135:8080 [16:28:04]Content-Length: 1197 [16:28:04]Content-Type: application/json [16:28:04] [16:28:04]POST finish read [16:28:04]Found Content-Length = 1197 [16:28:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130662", "tax_sys" : 0, "items" : [ { "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:04]execute_script... [16:28:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130662", "tax_sys" : 0, "items" : [ { "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571023", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 0,5\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:28:04]POST & json_proto [16:28:04]process_json_proto [16:28:04]json parsed OK: [16:28:04]protocol is kg_v1.0 [16:28:04]action value=close_receipt [16:28:04]process_action close_receipt [16:28:04]cmd_close_receipt [16:28:04]MH_GetDate [16:28:04]Write to MH i2c: F0 00 00 01 0C FC [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 09 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: F0 09 00 01 0C 00 97 63 B3 67 19 D8 DE 66 4E [16:28:04]GetLastDocTimeStamp 1739809650 [16:28:04]current date 1739809687 [16:28:04]FM_GetShiftState [16:28:04]SAM_PROTO_GetShiftState [16:28:04]wFMCommunicate request_size=4 [16:28:04]MH_SAM_APDU [16:28:04]CAPDU: 80 13 01 00 [16:28:04]Write to MH i2c: E2 08 00 02 0C 80 13 01 00 00 00 00 00 8B [16:28:04]Write i2c OK [16:28:04]MH_I2C_Read... [16:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:04]Read from MH i2c: E2 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0E 00 [16:28:04]MH_I2C_Read... [16:28:04]Read from MH i2c: E2 0E 00 02 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 71 [16:28:04]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:28:04]wFMCommunicate OK [16:28:04]SAM_PROTO_GetShiftState done [16:28:04]FM_GetShiftState done [16:28:04]opened in 1739750979 [16:28:04]opened+sec_in_day 1739837379 [16:28:04]quantity*price = 7900 [16:28:04]sum+1 = 7901 [16:28:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571023 Вода ASU пит н.газ клуб,киви ПЭТ 0,5л 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 50 17.02.2025 16:28 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32419 ФПД: 258130226164784 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162807&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32419&fm=258130226164784&tin=02508201610067®Number=0000000000146237&sum=13800 0 [16:28:06]StoreToDocumentArchive [16:28:06]shift 382 fd 32419 [16:28:06]save to /storage/0382/doc_00032419 [16:28:06]save last doc name /storage/0382/doc_00032419 to /storage/kkm_last_doc_name [16:28:06]save OK [16:28:06]Clear old archive folders... [16:28:06]ProcessDocumentItem done err = 0, tmpTLVsize=426 [16:28:06]tlvbuf is 004B5820 [16:28:06]SAM_PROTO_ClearQueue [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 09 00 00 [16:28:06]Write to MH i2c: E2 08 00 0F 0C 80 09 00 00 00 00 00 00 8D [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 0F 0C 00 90 00 8F [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]SAM_PROTO_ClearQueue done [16:28:06]KKMCreateOFDPacket [16:28:06]OFDProtocolAddRootSTLVToBuf [16:28:06]FM_MakeSignedData [16:28:06]FM_MakeSignedData [16:28:06]SAM_PROTO_SignData [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 01 02 [16:28:06]Write to MH i2c: E2 08 00 10 0C 80 0D 01 02 00 00 00 00 95 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 10 0C 00 90 00 90 [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]wFMCommunicate request_size=255 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 02 02 FA 03 00 AA 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 [16:28:06]Write to MH i2c: E2 02 01 11 0C 80 0D 02 02 FA 00 03 00 AA 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 00 00 CE [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 11 0C 00 90 00 91 [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]wFMCommunicate request_size=185 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 02 02 B4 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 97 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A3 7E 00 00 35 04 06 00 EA C4 A0 6F B4 30 [16:28:06]Write to MH i2c: E2 BC 00 12 0C 80 0D 02 02 B4 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 97 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A3 7E 00 00 35 04 06 00 EA C4 A0 6F B4 30 00 00 F0 [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 03 00 12 0C 00 90 00 92 [16:28:06]RAPDU: 90 00 [16:28:06]wFMCommunicate OK [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 0D 03 02 [16:28:06]Write to MH i2c: E2 08 00 13 0C 80 0D 03 02 00 00 00 00 9A [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 0B 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 0B 00 13 0C 00 24 AC 26 49 1B 86 08 B7 90 00 3A [16:28:06]RAPDU: 24 AC 26 49 1B 86 08 B7 90 00 [16:28:06]wFMCommunicate OK [16:28:06]SAM_PROTO_SignData done [16:28:06]FM_MakeSignedData done [16:28:06]CreateOFDProtocolMessage [16:28:06]wFMCommunicate request_size=4 [16:28:06]MH_SAM_APDU [16:28:06]CAPDU: 80 11 00 00 [16:28:06]Write to MH i2c: E2 08 00 14 0C 80 11 00 00 00 00 00 00 9A [16:28:06]Write i2c OK [16:28:06]MH_I2C_Read... [16:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:06]Read from MH i2c: E2 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 [16:28:06]MH_I2C_Read... [16:28:06]Read from MH i2c: E2 17 00 14 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F0 [16:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:28:06]wFMCommunicate OK [16:28:06]CreateOFDProtocolMessage done [16:28:06]OFDSenderStorePacket 32419 [16:28:06]StoreOFDPacket docnum=32419 [16:28:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 BE 01 00 00 0F CB B6 01 C5 41 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 97 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A3 7E 00 00 35 04 06 00 EA C4 A0 6F B4 30 24 AC 26 49 1B 86 08 B7 [16:28:06]CheckFolder [16:28:06]dirname=/storage/ofd_packets [16:28:06]CheckFolder done [16:28:06]ProducePacketName [16:28:06]name=ofd_packets/00032419 [16:28:07]NVStorageSaveData ofd_packets/00032419 [16:28:07]File name is /storage/ofd_packets/00032419 [16:28:07]Write 476 bytes [16:28:07]NVStorageSaveData done [16:28:07]OFDSenderStorePacket done [16:28:07]KKMCreateOFDPacket done [16:28:07]NVStorageSaveData kkm_last_timestamp [16:28:07]File name is /storage/kkm_last_timestamp [16:28:07]Write 4 bytes [16:28:07]NVStorageSaveData done [16:28:07]ExternCall_PrintAddStr [16:28:07]wPrintStart [16:28:07]Write to MH i2c: 01 00 00 15 0C 21 [16:28:07]OFD Sender: No OFD packet to send [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 15 0C 00 00 00 00 00 FF 0F 36 [16:28:07]RasterBufferAndPrint [16:28:07]line Счет N : (3)130662 [16:28:07]line ИНН: 02508201610067 [16:28:07]line Контрольно-Кассовый Чек [16:28:07]line ПРОДАЖА [16:28:07]line Товар: 4603290004817 [16:28:07]line Печ зат Яшкино клубн Крем 182г [16:28:07]line 1.000 * 79.00 [16:28:07]line = 79.00 [16:28:07]line НДС 12% НСП 1% [16:28:07]line > о реализуемом товаре [16:28:07]line Товар: 4870001571023 [16:28:07]line Вода ASU пит н.газ клуб,киви ПЭТ 0,5л [16:28:07]line 1.000 * 59.00 [16:28:07]line = 59.00 [16:28:07]line НДС 12% НСП 1% [16:28:07]line > о реализуемом товаре [16:28:07]line ИТОГО: 138.00 [16:28:07]line НСП 1% : 1.22 [16:28:07]line НДС 12% : 14.65 [16:28:07]line Наличными: 0.00 [16:28:07]line Безнал.: 138.00 [16:28:07]line Место: АЗС № 96 "Партнер Нефть" [16:28:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:28:07]line СНО: Общий режим [16:28:07]line Чек 50 17.02.2025 16:28 [16:28:07]line Смена: 382 ФФД: 1.0 [16:28:07]line ЗНМ: 0300000059 [16:28:07]line РНМ: 0000000000146237 [16:28:07]line Версия ККМ: v1.0 [16:28:07]line Платежная система: Бакай Банк [16:28:07]line ФМ: 0000000000959282 [16:28:07]line ФД: 32419 [16:28:07]line ФПД: 258130226164784 [16:28:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T162807&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32419&fm=258130226164784&tin=02508201610067®Number=0000000000146237&sum=13800 [16:28:07]line 0 [16:28:07]written 0, free lines is 4095 [16:28:07]OFD Sender: Processing packet 32419 [packets to send 104, broken 103] [16:28:07]ProducePacketName [16:28:07]name=ofd_packets/00032419 [16:28:07]OFD Sender: To server: pG, [16:28:07]CommunicateWithHost lk.salyk.kg:30040 [16:28:07]ConnectInit lk.salyk.kg [16:28:07]Connected sock=10 [16:28:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 BE 01 00 00 0F CB B6 01 C5 41 5A 03 01 00 03 00 AA 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 97 63 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A3 7E 00 00 35 04 06 00 EA C4 A0 6F B4 30 24 AC 26 49 1B 86 08 B7 [16:28:07]Write to MH i2c: 01 00 00 47 0C 53 [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: 01 07 00 47 0C 00 00 00 00 00 94 0C FA [16:28:07]RasterBufferAndPrint [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]line [16:28:07]written 0, free lines is 3229 [16:28:07]MH_Cut [16:28:07]Write to MH i2c: D1 01 00 4E 0C 01 2C [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 01 00 [16:28:07]MH_I2C_Read... [16:28:07]Read from MH i2c: D1 01 00 4E 0C 00 2B [16:28:07]Write to MH i2c: 01 00 00 4F 0C 5B [16:28:07]Write i2c OK [16:28:07]MH_I2C_Read... [16:28:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 9F 57 47 00 08 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A3 7E 00 00 F4 03 04 00 3A 0D B3 67 B6 04 01 00 00 F8 BC A4 61 32 10 2B 25 [16:28:07]CommunicateWithHost err = 0 [16:28:07]CheckOFDResponse [16:28:07]1017 (14) - 77093643461234 [16:28:07]1041 (16) - 0000000000959282 [16:28:07]1040 (4) - 32419 [16:28:07]1012 (4) - 17.02.2025 10:19 [16:28:07]1206 (1) - 0 [16:28:07]OFD Sender: Remove packet 32419 [16:28:07]ProducePacketName [16:28:07]name=ofd_packets/00032419 [16:28:07]NVStorageDeleteData [16:28:08]OFD Sender: No OFD packet to send [16:28:08]*** Cut start [16:28:08]*** Partial cut [16:28:08]*** CUTSNS_PIN = 1 [16:28:08]*** CUTSNS_PIN = 0 [16:28:08]*** Brake cut motor [16:28:08]Read from MH i2c: 01 [16:28:09]MH_I2C_Read... [16:28:09]*** Stop cut motor [16:28:09]*** Cut end [16:28:09]Read from MH i2c: 01 07 00 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: 01 07 00 4F 0C 00 00 00 00 00 FF 0F 70 [16:28:09]process_action close_receipt done [16:28:09]requested_data is exist [16:28:09]produce_requested_data [16:28:09]requested_item fm.sn is exist - process it [16:28:09]wFMCommunicate request_size=4 [16:28:09]MH_SAM_APDU [16:28:09]CAPDU: 80 11 00 00 [16:28:09]Write to MH i2c: E2 08 00 50 0C 80 11 00 00 00 00 00 00 D6 [16:28:09]Write i2c OK [16:28:09]MH_I2C_Read... [16:28:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:28:09]Read from MH i2c: E2 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 17 00 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 17 00 50 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2C [16:28:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:28:09]wFMCommunicate OK [16:28:09]requested_item fd.num is exist - process it [16:28:09]SAM_PROTO_GetFieldsCounters [16:28:09]wFMCommunicate request_size=4 [16:28:09]MH_SAM_APDU [16:28:09]CAPDU: 80 13 00 00 [16:28:09]Write to MH i2c: E2 08 00 51 0C 80 13 00 00 00 00 00 00 D9 [16:28:09]Write i2c OK [16:28:09]MH_I2C_Read... [16:28:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:28:09]Read from MH i2c: E2 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 62 00 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 62 00 51 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A3 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [16:28:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A3 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:28:09]wFMCommunicate OK [16:28:09]SAM_PROTO_GetFieldsCounters done [16:28:09]requested_item shift.num is exist - process it [16:28:09]requested_item shift.opened is exist - process it [16:28:09]req_shift_opened [16:28:09]FM_GetShiftState [16:28:09]SAM_PROTO_GetShiftState [16:28:09]wFMCommunicate request_size=4 [16:28:09]MH_SAM_APDU [16:28:09]CAPDU: 80 13 01 00 [16:28:09]Write to MH i2c: E2 08 00 52 0C 80 13 01 00 00 00 00 00 DB [16:28:09]Write i2c OK [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 [16:28:09]MH_I2C_Read... [16:28:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:28:09]Read from MH i2c: E2 0E 00 [16:28:09]MH_I2C_Read... [16:28:09]Read from MH i2c: E2 0E 00 52 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C1 [16:28:09]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:28:09]wFMCommunicate OK [16:28:09]SAM_PROTO_GetShiftState done [16:28:09]FM_GetShiftState done [16:28:09]req_shift_opened done [16:28:09]requested_item shift.open_date is exist - process it [16:28:09]req_shift_open_date [16:28:09]req_shift_open_date done [16:28:09]produce_requested_data done [16:28:09]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32419,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:28:09]process_action_free close_receipt [16:28:09]json_value_free [16:28:09]json_value_free done [16:28:09]process_json_proto returns [16:28:09]Send response to host [16:28:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32419,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:28:09]free response buf [16:28:09]execute_script done [16:28:09]execute_script returns [16:28:09]free content buf [16:28:09]Sock 9.Close socket [16:28:09]Sock 9.Thread stoped [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:43]accept exits with 7 [16:51:43]New connection [16:51:43]New thread 3067555172 created [16:51:43]Thread 3067411812 joined [16:51:43]Waiting for new connection... [16:51:43] Sock 7.Parse request [16:51:43]Sock 7.Check first char [16:51:43]Sock 7.First char is OK [16:51:43]request: POST /json_proto HTTP/1.0 [16:51:43]Method: POST [16:51:43]URL: /json_proto [16:51:43]Method is POST - this is cgi request [16:51:43]url: /json_proto [16:51:43]query_string will be loaded in cgi processing [16:51:43]execute_cgi json_proto POST (null) [16:51:43]execute_cgi path=json_proto method=POST [16:51:43]POST find Content-Length [16:51:43]Host: 172.17.47.135:8080 [16:51:43]Content-Length: 632 [16:51:43]Content-Type: application/json [16:51:43] [16:51:43]POST finish read [16:51:43]Found Content-Length = 632 [16:51:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130663", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:43]execute_script... [16:51: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)130663", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:43]POST & json_proto [16:51:43]process_json_proto [16:51:43]json parsed OK: [16:51:43]protocol is kg_v1.0 [16:51:43]action value=close_receipt [16:51:43]process_action close_receipt [16:51:43]cmd_close_receipt [16:51:43]MH_GetDate [16:51:43]Write to MH i2c: F0 00 00 53 0C 4E [16:51:43]Write i2c OK [16:51:43]MH_I2C_Read... [16:51:43]Read from MH i2c: F0 [16:51:43]MH_I2C_Read... [16:51:43]Read from MH i2c: F0 09 00 [16:51:43]MH_I2C_Read... [16:51:43]Read from MH i2c: F0 09 00 53 0C 00 22 69 B3 67 19 D8 DE 66 31 [16:51:43]GetLastDocTimeStamp 1739809687 [16:51:43]current date 1739811106 [16:51:43]FM_GetShiftState [16:51:43]SAM_PROTO_GetShiftState [16:51:43]wFMCommunicate request_size=4 [16:51:43]MH_SAM_APDU [16:51:43]CAPDU: 80 13 01 00 [16:51:43]Write to MH i2c: E2 08 00 54 0C 80 13 01 00 00 00 00 00 DD [16:51:43]Write i2c OK [16:51:43]MH_I2C_Read... [16:51:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:43]Read from MH i2c: E2 [16:51:43]MH_I2C_Read... [16:51:43]Read from MH i2c: E2 0E 00 [16:51:43]MH_I2C_Read... [16:51:43]Read from MH i2c: E2 0E 00 54 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C3 [16:51:43]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:51:43]wFMCommunicate OK [16:51:43]SAM_PROTO_GetShiftState done [16:51:43]FM_GetShiftState done [16:51:43]opened in 1739750979 [16:51:43]opened+sec_in_day 1739837379 [16:51:43]quantity*price = 21000 [16:51:43]sum+1 = 21001 [16:51:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 51 17.02.2025 16:51 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32420 ФПД: 193186791087576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T165146&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32420&fm=193186791087576&tin=02508201610067®Number=0000000000146237&sum=21000 0 [16:51:44]StoreToDocumentArchive [16:51:44]shift 382 fd 32420 [16:51:44]save to /storage/0382/doc_00032420 [16:51:44]save last doc name /storage/0382/doc_00032420 to /storage/kkm_last_doc_name [16:51:44]save OK [16:51:44]Clear old archive folders... [16:51:44]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:51:44]tlvbuf is 004A3C60 [16:51:44]SAM_PROTO_ClearQueue [16:51:44]wFMCommunicate request_size=4 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 09 00 00 [16:51:44]Write to MH i2c: E2 08 00 61 0C 80 09 00 00 00 00 00 00 DF [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 61 0C 00 90 00 E1 [16:51:45]RAPDU: 90 00 [16:51:45]wFMCommunicate OK [16:51:45]SAM_PROTO_ClearQueue done [16:51:45]KKMCreateOFDPacket [16:51:45]OFDProtocolAddRootSTLVToBuf [16:51:45]FM_MakeSignedData [16:51:45]FM_MakeSignedData [16:51:45]SAM_PROTO_SignData [16:51:45]wFMCommunicate request_size=4 [16:51:45]MH_SAM_APDU [16:51:45]CAPDU: 80 0D 01 02 [16:51:45]Write to MH i2c: E2 08 00 62 0C 80 0D 01 02 00 00 00 00 E7 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 62 0C 00 90 00 E2 [16:51:45]RAPDU: 90 00 [16:51:45]wFMCommunicate OK [16:51:45]wFMCommunicate request_size=255 [16:51:45]MH_SAM_APDU [16:51:45]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 69 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 [16:51:45]Write to MH i2c: E2 02 01 63 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 69 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 00 00 13 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 63 0C 00 90 00 E3 [16:51:45]RAPDU: 90 00 [16:51:45]wFMCommunicate OK [16:51:45]wFMCommunicate request_size=35 [16:51:45]MH_SAM_APDU [16:51:45]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A4 7E 00 00 35 04 06 00 AF B3 CE 0E DD D8 [16:51:45]Write to MH i2c: E2 26 00 64 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A4 7E 00 00 35 04 06 00 AF B3 CE 0E DD D8 00 00 F5 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 03 00 64 0C 00 90 00 E4 [16:51:45]RAPDU: 90 00 [16:51:45]wFMCommunicate OK [16:51:45]wFMCommunicate request_size=4 [16:51:45]MH_SAM_APDU [16:51:45]CAPDU: 80 0D 03 02 [16:51:45]Write to MH i2c: E2 08 00 65 0C 80 0D 03 02 00 00 00 00 EC [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 0B 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 0B 00 65 0C 00 6A 0E 8C 02 63 0F A5 6F 90 00 79 [16:51:45]RAPDU: 6A 0E 8C 02 63 0F A5 6F 90 00 [16:51:45]wFMCommunicate OK [16:51:45]SAM_PROTO_SignData done [16:51:45]FM_MakeSignedData done [16:51:45]CreateOFDProtocolMessage [16:51:45]wFMCommunicate request_size=4 [16:51:45]MH_SAM_APDU [16:51:45]CAPDU: 80 11 00 00 [16:51:45]Write to MH i2c: E2 08 00 66 0C 80 11 00 00 00 00 00 00 EC [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:45]Read from MH i2c: E2 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 17 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: E2 17 00 66 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 42 [16:51:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:51:45]wFMCommunicate OK [16:51:45]CreateOFDProtocolMessage done [16:51:45]OFDSenderStorePacket 32420 [16:51:45]StoreOFDPacket docnum=32420 [16:51:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 37 C3 20 01 11 08 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 69 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A4 7E 00 00 35 04 06 00 AF B3 CE 0E DD D8 6A 0E 8C 02 63 0F A5 6F [16:51:45]CheckFolder [16:51:45]dirname=/storage/ofd_packets [16:51:45]CheckFolder done [16:51:45]ProducePacketName [16:51:45]name=ofd_packets/00032420 [16:51:45]NVStorageSaveData ofd_packets/00032420 [16:51:45]File name is /storage/ofd_packets/00032420 [16:51:45]Write 326 bytes [16:51:45]NVStorageSaveData done [16:51:45]OFDSenderStorePacket done [16:51:45]KKMCreateOFDPacket done [16:51:45]NVStorageSaveData kkm_last_timestamp [16:51:45]File name is /storage/kkm_last_timestamp [16:51:45]Write 4 bytes [16:51:45]NVStorageSaveData done [16:51:45]ExternCall_PrintAddStr [16:51:45]wPrintStart [16:51:45]Write to MH i2c: 01 00 00 67 0C 73 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 07 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 07 00 67 0C 00 00 00 00 00 FF 0F 88 [16:51:45]RasterBufferAndPrint [16:51:45]line Счет N : (3)130663 [16:51:45]line ИНН: 02508201610067 [16:51:45]line Контрольно-Кассовый Чек [16:51:45]line ПРОДАЖА [16:51:45]line Товар: 4780022460452 [16:51:45]line Антифриз Yumiko gold 1кг [16:51:45]line 1.000 * 210.00 [16:51:45]line = 210.00 [16:51:45]line НДС 12% НСП 1% [16:51:45]line > о реализуемом товаре [16:51:45]line ИТОГО: 210.00 [16:51:45]line НСП 1% : 1.86 [16:51:45]line НДС 12% : 22.30 [16:51:45]line Наличными: 210.00 [16:51:45]line Безнал.: 0.00 [16:51:45]line Место: АЗС № 96 "Партнер Нефть" [16:51:45]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:51:45]line СНО: Общий режим [16:51:45]line Чек 51 17.02.2025 16:51 [16:51:45]line Смена: 382 ФФД: 1.0 [16:51:45]line ЗНМ: 0300000059 [16:51:45]line РНМ: 0000000000146237 [16:51:45]line Версия ККМ: v1.0 [16:51:45]line ФМ: 0000000000959282 [16:51:45]line ФД: 32420 [16:51:45]line ФПД: 193186791087576 [16:51:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T165146&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32420&fm=193186791087576&tin=02508201610067®Number=0000000000146237&sum=21000 [16:51:45]line 0 [16:51:45]written 0, free lines is 4095 [16:51:45]OFD Sender: Processing packet 32420 [packets to send 104, broken 103] [16:51:45]ProducePacketName [16:51:45]name=ofd_packets/00032420 [16:51:45]OFD Sender: To server: pG, [16:51:45]CommunicateWithHost lk.salyk.kg:30040 [16:51:45]ConnectInit lk.salyk.kg [16:51:45]Connected sock=9 [16:51:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 37 C3 20 01 11 08 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 69 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A4 7E 00 00 35 04 06 00 AF B3 CE 0E DD D8 6A 0E 8C 02 63 0F A5 6F [16:51:45]Write to MH i2c: 01 00 00 8F 0C 9B [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 07 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: 01 07 00 8F 0C 00 00 00 00 00 20 0D CF [16:51:45]RasterBufferAndPrint [16:51:45]line [16:51:45]line [16:51:45]line [16:51:45]line [16:51:45]line [16:51:45]written 0, free lines is 3366 [16:51:45]MH_Cut [16:51:45]Write to MH i2c: D1 01 00 96 0C 01 74 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: D1 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: D1 01 00 [16:51:45]MH_I2C_Read... [16:51:45]Read from MH i2c: D1 01 00 96 0C 00 73 [16:51:45]Write to MH i2c: 01 00 00 97 0C A3 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 5C D5 47 00 73 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A4 7E 00 00 F4 03 04 00 C5 12 B3 67 B6 04 01 00 00 64 74 3A 4A 18 04 BB 83 [16:51:46]CommunicateWithHost err = 0 [16:51:46]CheckOFDResponse [16:51:46]1017 (14) - 77093643461234 [16:51:46]1041 (16) - 0000000000959282 [16:51:46]1040 (4) - 32420 [16:51:46]1012 (4) - 17.02.2025 10:43 [16:51:46]1206 (1) - 0 [16:51:46]OFD Sender: Remove packet 32420 [16:51:46]ProducePacketName [16:51:46]name=ofd_packets/00032420 [16:51:46]NVStorageDeleteData [16:51:46]*** Cut start [16:51:46]*** Partial cut [16:51:46]*** CUTSNS_PIN = 1 [16:51:46]*** CUTSNS_PIN = 0 [16:51:46]OFD Sender: No OFD packet to send [16:51:46]*** Brake cut motor [16:51:47]Read from MH i2c: 01 [16:51:47]MH_I2C_Read... [16:51:47]*** Stop cut motor [16:51:47]*** Cut end [16:51:47]Read from MH i2c: 01 07 00 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: 01 07 00 97 0C 00 00 00 00 00 FF 0F B8 [16:51:47]process_action close_receipt done [16:51:47]requested_data is exist [16:51:47]produce_requested_data [16:51:47]requested_item fm.sn is exist - process it [16:51:47]wFMCommunicate request_size=4 [16:51:47]MH_SAM_APDU [16:51:47]CAPDU: 80 11 00 00 [16:51:47]Write to MH i2c: E2 08 00 98 0C 80 11 00 00 00 00 00 00 1E [16:51:47]Write i2c OK [16:51:47]MH_I2C_Read... [16:51:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:47]Read from MH i2c: E2 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 17 00 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 17 00 98 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 74 [16:51:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:51:47]wFMCommunicate OK [16:51:47]requested_item fd.num is exist - process it [16:51:47]SAM_PROTO_GetFieldsCounters [16:51:47]wFMCommunicate request_size=4 [16:51:47]MH_SAM_APDU [16:51:47]CAPDU: 80 13 00 00 [16:51:47]Write to MH i2c: E2 08 00 99 0C 80 13 00 00 00 00 00 00 21 [16:51:47]Write i2c OK [16:51:47]MH_I2C_Read... [16:51:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:51:47]Read from MH i2c: E2 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 62 00 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 62 00 99 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A4 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [16:51:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A4 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:51:47]wFMCommunicate OK [16:51:47]SAM_PROTO_GetFieldsCounters done [16:51:47]requested_item shift.num is exist - process it [16:51:47]requested_item shift.opened is exist - process it [16:51:47]req_shift_opened [16:51:47]FM_GetShiftState [16:51:47]SAM_PROTO_GetShiftState [16:51:47]wFMCommunicate request_size=4 [16:51:47]MH_SAM_APDU [16:51:47]CAPDU: 80 13 01 00 [16:51:47]Write to MH i2c: E2 08 00 9A 0C 80 13 01 00 00 00 00 00 23 [16:51:47]Write i2c OK [16:51:47]MH_I2C_Read... [16:51:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:47]Read from MH i2c: E2 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 0E 00 [16:51:47]MH_I2C_Read... [16:51:47]Read from MH i2c: E2 0E 00 9A 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 09 [16:51:47]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [16:51:47]wFMCommunicate OK [16:51:47]SAM_PROTO_GetShiftState done [16:51:47]FM_GetShiftState done [16:51:47]req_shift_opened done [16:51:47]requested_item shift.open_date is exist - process it [16:51:47]req_shift_open_date [16:51:47]req_shift_open_date done [16:51:47]produce_requested_data done [16:51:47]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32420,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [16:51:47]process_action_free close_receipt [16:51:47]json_value_free [16:51:47]json_value_free done [16:51:47]process_json_proto returns [16:51:47]Send response to host [16:51:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32420,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [16:51:47]free response buf [16:51:47]execute_script done [16:51:47]execute_script returns [16:51:47]free content buf [16:51:47]Sock 7.Close socket [16:51:47]Sock 7.Thread stoped [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:12]OFD Sender: No OFD packet to send [16:55:17]OFD Sender: No OFD packet to send [16:55:22]OFD Sender: No OFD packet to send [16:55:27]OFD Sender: No OFD packet to send [16:55:32]OFD Sender: No OFD packet to send [16:55:37]OFD Sender: No OFD packet to send [16:55:42]OFD Sender: No OFD packet to send [16:55:47]OFD Sender: No OFD packet to send [16:55:52]OFD Sender: No OFD packet to send [16:55:57]OFD Sender: No OFD packet to send [16:56:02]OFD Sender: No OFD packet to send [16:56:07]OFD Sender: No OFD packet to send [16:56:12]OFD Sender: No OFD packet to send [16:56:17]OFD Sender: No OFD packet to send [16:56:22]OFD Sender: No OFD packet to send [16:56:27]OFD Sender: No OFD packet to send [16:56:32]OFD Sender: No OFD packet to send [16:56:37]OFD Sender: No OFD packet to send [16:56:42]OFD Sender: No OFD packet to send [16:56:47]OFD Sender: No OFD packet to send [16:56:52]OFD Sender: No OFD packet to send [16:56:57]OFD Sender: No OFD packet to send [16:57:02]OFD Sender: No OFD packet to send [16:57:07]OFD Sender: No OFD packet to send [16:57:12]OFD Sender: No OFD packet to send [16:57:17]OFD Sender: No OFD packet to send [16:57:22]OFD Sender: No OFD packet to send [16:57:27]OFD Sender: No OFD packet to send [16:57:32]OFD Sender: No OFD packet to send [16:57:37]OFD Sender: No OFD packet to send [16:57:42]OFD Sender: No OFD packet to send [16:57:47]OFD Sender: No OFD packet to send [16:57:52]OFD Sender: No OFD packet to send [16:57:57]OFD Sender: No OFD packet to send [16:58:02]OFD Sender: No OFD packet to send [16:58:07]OFD Sender: No OFD packet to send [16:58:12]OFD Sender: No OFD packet to send [16:58:17]OFD Sender: No OFD packet to send [16:58:22]OFD Sender: No OFD packet to send [16:58:27]OFD Sender: No OFD packet to send [16:58:32]OFD Sender: No OFD packet to send [16:58:37]OFD Sender: No OFD packet to send [16:58:42]OFD Sender: No OFD packet to send [16:58:47]OFD Sender: No OFD packet to send [16:58:52]OFD Sender: No OFD packet to send [16:58:57]OFD Sender: No OFD packet to send [16:59:02]OFD Sender: No OFD packet to send [16:59:07]OFD Sender: No OFD packet to send [16:59:12]OFD Sender: No OFD packet to send [16:59:17]OFD Sender: No OFD packet to send [16:59:22]OFD Sender: No OFD packet to send [16:59:27]OFD Sender: No OFD packet to send [16:59:32]OFD Sender: No OFD packet to send [16:59:37]OFD Sender: No OFD packet to send [16:59:42]OFD Sender: No OFD packet to send [16:59:47]OFD Sender: No OFD packet to send [16:59:52]OFD Sender: No OFD packet to send [16:59:57]OFD Sender: No OFD packet to send [17:00:02]OFD Sender: No OFD packet to send [17:00:07]OFD Sender: No OFD packet to send [17:00:12]OFD Sender: No OFD packet to send [17:00:17]OFD Sender: No OFD packet to send [17:00:22]OFD Sender: No OFD packet to send [17:00:27]OFD Sender: No OFD packet to send [17:00:32]OFD Sender: No OFD packet to send [17:00:37]OFD Sender: No OFD packet to send [17:00:42]OFD Sender: No OFD packet to send [17:00:47]OFD Sender: No OFD packet to send [17:00:52]OFD Sender: No OFD packet to send [17:00:57]OFD Sender: No OFD packet to send [17:01:02]OFD Sender: No OFD packet to send [17:01:07]OFD Sender: No OFD packet to send [17:01:12]OFD Sender: No OFD packet to send [17:01:17]OFD Sender: No OFD packet to send [17:01:22]OFD Sender: No OFD packet to send [17:01:27]OFD Sender: No OFD packet to send [17:01:32]OFD Sender: No OFD packet to send [17:01:37]OFD Sender: No OFD packet to send [17:01:42]OFD Sender: No OFD packet to send [17:01:47]OFD Sender: No OFD packet to send [17:01:52]OFD Sender: No OFD packet to send [17:01:57]OFD Sender: No OFD packet to send [17:02:02]OFD Sender: No OFD packet to send [17:02:07]OFD Sender: No OFD packet to send [17:02:12]OFD Sender: No OFD packet to send [17:02:17]OFD Sender: No OFD packet to send [17:02:22]OFD Sender: No OFD packet to send [17:02:27]OFD Sender: No OFD packet to send [17:02:32]OFD Sender: No OFD packet to send [17:02:37]OFD Sender: No OFD packet to send [17:02:42]OFD Sender: No OFD packet to send [17:02:47]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:42]OFD Sender: No OFD packet to send [17:05:47]OFD Sender: No OFD packet to send [17:05:52]OFD Sender: No OFD packet to send [17:05:57]OFD Sender: No OFD packet to send [17:06:02]OFD Sender: No OFD packet to send [17:06:05]accept exits with 10 [17:06:05]New connection [17:06:05]New thread 3067411812 created [17:06:05]Thread 3067555172 joined [17:06:05]Waiting for new connection... [17:06:05] Sock 10.Parse request [17:06:05]Sock 10.Check first char [17:06:05]Sock 10.First char is OK [17:06:05]request: POST /json_proto HTTP/1.0 [17:06:05]Method: POST [17:06:05]URL: /json_proto [17:06:05]Method is POST - this is cgi request [17:06:05]url: /json_proto [17:06:05]query_string will be loaded in cgi processing [17:06:05]execute_cgi json_proto POST (null) [17:06:05]execute_cgi path=json_proto method=POST [17:06:05]POST find Content-Length [17:06:05]Host: 172.17.47.135:8080 [17:06:05]Content-Length: 605 [17:06:05]Content-Type: application/json [17:06:05] [17:06:05]POST finish read [17:06:05]Found Content-Length = 605 [17:06:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130664", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:06:05]execute_script... [17:06: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)130664", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:06:05]POST & json_proto [17:06:05]process_json_proto [17:06:05]json parsed OK: [17:06:05]protocol is kg_v1.0 [17:06:05]action value=close_receipt [17:06:05]process_action close_receipt [17:06:05]cmd_close_receipt [17:06:05]MH_GetDate [17:06:05]Write to MH i2c: F0 00 00 9B 0C 96 [17:06:05]Write i2c OK [17:06:05]MH_I2C_Read... [17:06:05]Read from MH i2c: F0 [17:06:05]MH_I2C_Read... [17:06:05]Read from MH i2c: F0 09 00 [17:06:05]MH_I2C_Read... [17:06:05]Read from MH i2c: F0 09 00 9B 0C 00 80 6C B3 67 19 D8 DE 66 DA [17:06:05]GetLastDocTimeStamp 1739811106 [17:06:05]current date 1739811968 [17:06:05]FM_GetShiftState [17:06:05]SAM_PROTO_GetShiftState [17:06:05]wFMCommunicate request_size=4 [17:06:05]MH_SAM_APDU [17:06:05]CAPDU: 80 13 01 00 [17:06:05]Write to MH i2c: E2 08 00 9C 0C 80 13 01 00 00 00 00 00 25 [17:06:05]Write i2c OK [17:06:05]MH_I2C_Read... [17:06:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:06:05]Read from MH i2c: E2 [17:06:05]MH_I2C_Read... [17:06:05]Read from MH i2c: E2 0E 00 [17:06:05]MH_I2C_Read... [17:06:05]Read from MH i2c: E2 0E 00 9C 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 0B [17:06:05]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:06:05]wFMCommunicate OK [17:06:05]SAM_PROTO_GetShiftState done [17:06:05]FM_GetShiftState done [17:06:05]opened in 1739750979 [17:06:05]opened+sec_in_day 1739837379 [17:06:05]quantity*price = 4400 [17:06:05]sum+1 = 4401 [17:06:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 52 17.02.2025 17:06 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32421 ФПД: 246334795721681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T170608&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32421&fm=246334795721681&tin=02508201610067®Number=0000000000146237&sum=4400 0 [17:06:06]StoreToDocumentArchive [17:06:06]shift 382 fd 32421 [17:06:06]save to /storage/0382/doc_00032421 [17:06:06]save last doc name /storage/0382/doc_00032421 to /storage/kkm_last_doc_name [17:06:06]save OK [17:06:06]Clear old archive folders... [17:06:06]ProcessDocumentItem done err = 0, tmpTLVsize=260 [17:06:06]tlvbuf is 004A6BC0 [17:06:06]SAM_PROTO_ClearQueue [17:06:06]wFMCommunicate request_size=4 [17:06:06]MH_SAM_APDU [17:06:06]CAPDU: 80 09 00 00 [17:06:06]Write to MH i2c: E2 08 00 A9 0C 80 09 00 00 00 00 00 00 27 [17:06:06]Write i2c OK [17:06:06]MH_I2C_Read... [17:06:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:06:06]Read from MH i2c: E2 [17:06:06]MH_I2C_Read... [17:06:06]Read from MH i2c: E2 03 00 [17:06:06]MH_I2C_Read... [17:06:06]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [17:06:06]RAPDU: 90 00 [17:06:06]wFMCommunicate OK [17:06:06]SAM_PROTO_ClearQueue done [17:06:06]KKMCreateOFDPacket [17:06:06]OFDProtocolAddRootSTLVToBuf [17:06:06]FM_MakeSignedData [17:06:06]FM_MakeSignedData [17:06:06]SAM_PROTO_SignData [17:06:06]wFMCommunicate request_size=4 [17:06:06]MH_SAM_APDU [17:06:06]CAPDU: 80 0D 01 02 [17:06:06]Write to MH i2c: E2 08 00 AA 0C 80 0D 01 02 00 00 00 00 2F [17:06:06]Write i2c OK [17:06:06]MH_I2C_Read... [17:06:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:06:07]Read from MH i2c: E2 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 AA 0C 00 90 00 2A [17:06:07]RAPDU: 90 00 [17:06:07]wFMCommunicate OK [17:06:07]wFMCommunicate request_size=255 [17:06:07]MH_SAM_APDU [17:06:07]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 80 6C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 [17:06:07]Write to MH i2c: E2 02 01 AB 0C 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 80 6C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 00 00 BA [17:06:07]Write i2c OK [17:06:07]MH_I2C_Read... [17:06:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:06:07]Read from MH i2c: E2 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 AB 0C 00 90 00 2B [17:06:07]RAPDU: 90 00 [17:06:07]wFMCommunicate OK [17:06:07]wFMCommunicate request_size=19 [17:06:07]MH_SAM_APDU [17:06:07]CAPDU: 80 0D 02 02 0E A5 7E 00 00 35 04 06 00 E0 0A 49 FE AB D1 [17:06:07]Write to MH i2c: E2 16 00 AC 0C 80 0D 02 02 0E 00 A5 7E 00 00 35 04 06 00 E0 0A 49 FE AB D1 00 00 5D [17:06:07]Write i2c OK [17:06:07]MH_I2C_Read... [17:06:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:06:07]Read from MH i2c: E2 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 03 00 AC 0C 00 90 00 2C [17:06:07]RAPDU: 90 00 [17:06:07]wFMCommunicate OK [17:06:07]wFMCommunicate request_size=4 [17:06:07]MH_SAM_APDU [17:06:07]CAPDU: 80 0D 03 02 [17:06:07]Write to MH i2c: E2 08 00 AD 0C 80 0D 03 02 00 00 00 00 34 [17:06:07]Write i2c OK [17:06:07]MH_I2C_Read... [17:06:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:06:07]Read from MH i2c: E2 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 0B 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 0B 00 AD 0C 00 DB 0E 0A 24 17 79 F3 C0 90 00 8F [17:06:07]RAPDU: DB 0E 0A 24 17 79 F3 C0 90 00 [17:06:07]wFMCommunicate OK [17:06:07]SAM_PROTO_SignData done [17:06:07]FM_MakeSignedData done [17:06:07]CreateOFDProtocolMessage [17:06:07]wFMCommunicate request_size=4 [17:06:07]MH_SAM_APDU [17:06:07]CAPDU: 80 11 00 00 [17:06:07]Write to MH i2c: E2 08 00 AE 0C 80 11 00 00 00 00 00 00 34 [17:06:07]Write i2c OK [17:06:07]MH_I2C_Read... [17:06:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:06:07]Read from MH i2c: E2 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 17 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: E2 17 00 AE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8A [17:06:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:06:07]wFMCommunicate OK [17:06:07]CreateOFDProtocolMessage done [17:06:07]OFDSenderStorePacket 32421 [17:06:07]StoreOFDPacket docnum=32421 [17:06:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 18 01 00 00 B8 16 10 01 AC D3 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 80 6C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A5 7E 00 00 35 04 06 00 E0 0A 49 FE AB D1 DB 0E 0A 24 17 79 F3 C0 [17:06:07]CheckFolder [17:06:07]dirname=/storage/ofd_packets [17:06:07]CheckFolder done [17:06:07]ProducePacketName [17:06:07]name=ofd_packets/00032421 [17:06:07]NVStorageSaveData ofd_packets/00032421 [17:06:07]File name is /storage/ofd_packets/00032421 [17:06:07]Write 310 bytes [17:06:07]NVStorageSaveData done [17:06:07]OFDSenderStorePacket done [17:06:07]KKMCreateOFDPacket done [17:06:07]NVStorageSaveData kkm_last_timestamp [17:06:07]File name is /storage/kkm_last_timestamp [17:06:07]Write 4 bytes [17:06:07]NVStorageSaveData done [17:06:07]ExternCall_PrintAddStr [17:06:07]wPrintStart [17:06:07]Write to MH i2c: 01 00 00 AF 0C BB [17:06:07]Write i2c OK [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: 01 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: 01 07 00 [17:06:07]MH_I2C_Read... [17:06:07]Read from MH i2c: 01 07 00 AF 0C 00 00 00 00 00 FF 0F D0 [17:06:07]RasterBufferAndPrint [17:06:07]line Счет N : (3)130664 [17:06:07]line ИНН: 02508201610067 [17:06:07]line Контрольно-Кассовый Чек [17:06:07]line ПРОДАЖА [17:06:07]line Товар: 42113270 [17:06:07]line Жев Orbit арбуз [17:06:07]line 1.000 * 44.00 [17:06:07]line = 44.00 [17:06:07]line НДС 12% НСП 1% [17:06:07]line > о реализуемом товаре [17:06:07]line ИТОГО: 44.00 [17:06:07]line НСП 1% : 0.39 [17:06:07]line НДС 12% : 4.67 [17:06:07]line Наличными: 44.00 [17:06:07]line Безнал.: 0.00 [17:06:07]line Место: АЗС № 96 "Партнер Нефть" [17:06:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:06:07]line СНО: Общий режим [17:06:07]line Чек 52 17.02.2025 17:06 [17:06:07]line Смена: 382 ФФД: 1.0 [17:06:07]line ЗНМ: 0300000059 [17:06:07]line РНМ: 0000000000146237 [17:06:07]line Версия ККМ: v1.0 [17:06:07]line ФМ: 0000000000959282 [17:06:07]line ФД: 32421 [17:06:07]line ФПД: 246334795721681 [17:06:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T170608&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32421&fm=246334795721681&tin=02508201610067®Number=0000000000146237&sum=4400 [17:06:07]OFD Sender: Processing packet 32421 [packets to send 104, broken 103] [17:06:07]ProducePacketName [17:06:07]name=ofd_packets/00032421 [17:06:07]OFD Sender: To server: pG, [17:06:07]CommunicateWithHost lk.salyk.kg:30040 [17:06:07]ConnectInit lk.salyk.kg [17:06:07]line 0 [17:06:07]written 0, free lines is 4095 [17:06:08]Connected sock=9 [17:06:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 18 01 00 00 B8 16 10 01 AC D3 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 80 6C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A5 7E 00 00 35 04 06 00 E0 0A 49 FE AB D1 DB 0E 0A 24 17 79 F3 C0 [17:06:08]Write to MH i2c: 01 00 00 D7 0C E3 [17:06:08]Write i2c OK [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: 01 [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: 01 07 00 [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: 01 07 00 D7 0C 00 00 00 00 00 05 0D FC [17:06:08]RasterBufferAndPrint [17:06:08]line [17:06:08]line [17:06:08]line [17:06:08]line [17:06:08]line [17:06:08]written 0, free lines is 3339 [17:06:08]MH_Cut [17:06:08]Write to MH i2c: D1 01 00 DE 0C 01 BC [17:06:08]Write i2c OK [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: D1 [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: D1 01 00 [17:06:08]MH_I2C_Read... [17:06:08]Read from MH i2c: D1 01 00 DE 0C 00 BB [17:06:08]Write to MH i2c: 01 00 00 DF 0C EB [17:06:08]Write i2c OK [17:06:08]MH_I2C_Read... [17:06:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 37 8E 47 00 26 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 35 39 32 38 32 10 04 04 00 A5 7E 00 00 F4 03 04 00 23 16 B3 67 B6 04 01 00 00 31 75 EE 3E CA E3 7E 3C [17:06:08]CommunicateWithHost err = 0 [17:06:08]CheckOFDResponse [17:06:08]1017 (14) - 77093643461234 [17:06:08]1041 (16) - 0000000000959282 [17:06:08]1040 (4) - 32421 [17:06:08]1012 (4) - 17.02.2025 10:57 [17:06:08]1206 (1) - 0 [17:06:08]OFD Sender: Remove packet 32421 [17:06:08]ProducePacketName [17:06:08]name=ofd_packets/00032421 [17:06:08]NVStorageDeleteData [17:06:08]*** Cut start [17:06:08]*** Partial cut [17:06:08]*** CUTSNS_PIN = 1 [17:06:08]OFD Sender: No OFD packet to send [17:06:08]*** CUTSNS_PIN = 0 [17:06:09]*** Brake cut motor [17:06:09]Read from MH i2c: 01 [17:06:09]MH_I2C_Read... [17:06:09]*** Stop cut motor [17:06:09]*** Cut end [17:06:09]Read from MH i2c: 01 07 00 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: 01 07 00 DF 0C 00 00 00 00 00 FF 0F 00 [17:06:09]process_action close_receipt done [17:06:09]requested_data is exist [17:06:09]produce_requested_data [17:06:09]requested_item fm.sn is exist - process it [17:06:09]wFMCommunicate request_size=4 [17:06:09]MH_SAM_APDU [17:06:09]CAPDU: 80 11 00 00 [17:06:09]Write to MH i2c: E2 08 00 E0 0C 80 11 00 00 00 00 00 00 66 [17:06:09]Write i2c OK [17:06:09]MH_I2C_Read... [17:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:06:09]Read from MH i2c: E2 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 17 00 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 17 00 E0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BC [17:06:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:06:09]wFMCommunicate OK [17:06:09]requested_item fd.num is exist - process it [17:06:09]SAM_PROTO_GetFieldsCounters [17:06:09]wFMCommunicate request_size=4 [17:06:09]MH_SAM_APDU [17:06:09]CAPDU: 80 13 00 00 [17:06:09]Write to MH i2c: E2 08 00 E1 0C 80 13 00 00 00 00 00 00 69 [17:06:09]Write i2c OK [17:06:09]MH_I2C_Read... [17:06:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:06:09]Read from MH i2c: E2 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 62 00 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 62 00 E1 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A5 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [17:06:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A5 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:06:09]wFMCommunicate OK [17:06:09]SAM_PROTO_GetFieldsCounters done [17:06:09]requested_item shift.num is exist - process it [17:06:09]requested_item shift.opened is exist - process it [17:06:09]req_shift_opened [17:06:09]FM_GetShiftState [17:06:09]SAM_PROTO_GetShiftState [17:06:09]wFMCommunicate request_size=4 [17:06:09]MH_SAM_APDU [17:06:09]CAPDU: 80 13 01 00 [17:06:09]Write to MH i2c: E2 08 00 E2 0C 80 13 01 00 00 00 00 00 6B [17:06:09]Write i2c OK [17:06:09]MH_I2C_Read... [17:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:06:09]Read from MH i2c: E2 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 0E 00 [17:06:09]MH_I2C_Read... [17:06:09]Read from MH i2c: E2 0E 00 E2 0C 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 51 [17:06:09]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:06:09]wFMCommunicate OK [17:06:09]SAM_PROTO_GetShiftState done [17:06:09]FM_GetShiftState done [17:06:09]req_shift_opened done [17:06:09]requested_item shift.open_date is exist - process it [17:06:09]req_shift_open_date [17:06:09]req_shift_open_date done [17:06:09]produce_requested_data done [17:06:09]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32421,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [17:06:09]process_action_free close_receipt [17:06:09]json_value_free [17:06:09]json_value_free done [17:06:09]process_json_proto returns [17:06:09]Send response to host [17:06:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32421,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [17:06:09]free response buf [17:06:09]execute_script done [17:06:09]execute_script returns [17:06:09]free content buf [17:06:09]Sock 10.Close socket [17:06:09]Sock 10.Thread stoped [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:44]OFD Sender: No OFD packet to send [17:13:49]OFD Sender: No OFD packet to send [17:13:54]OFD Sender: No OFD packet to send [17:13:59]OFD Sender: No OFD packet to send [17:14:04]OFD Sender: No OFD packet to send [17:14:09]OFD Sender: No OFD packet to send [17:14:14]OFD Sender: No OFD packet to send [17:14:19]OFD Sender: No OFD packet to send [17:14:24]OFD Sender: No OFD packet to send [17:14:29]OFD Sender: No OFD packet to send [17:14:34]OFD Sender: No OFD packet to send [17:14:39]OFD Sender: No OFD packet to send [17:14:44]OFD Sender: No OFD packet to send [17:14:49]OFD Sender: No OFD packet to send [17:14:54]OFD Sender: No OFD packet to send [17:14:59]OFD Sender: No OFD packet to send [17:15:04]OFD Sender: No OFD packet to send [17:15:09]OFD Sender: No OFD packet to send [17:15:14]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:42]int [17:20:42]Write to MH i2c: 01 00 00 E3 0C EF [17:20:42]*** FLAG_PRN_PAP1 set [17:20:42]Write i2c OK [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 07 00 [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 07 00 E3 0C 00 01 00 00 00 FF 0F 05 [17:20:42]state=0 [17:20:42]No paper [17:20:42]int [17:20:42]Write to MH i2c: 01 00 00 E4 0C F0 [17:20:42]*** FLAG_PRN_PAP2 set [17:20:42]Write i2c OK [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 07 00 [17:20:42]MH_I2C_Read... [17:20:42]Read from MH i2c: 01 07 00 E4 0C 00 03 00 00 00 FF 0F 08 [17:20:42]state=0 [17:20:42]No paper [17:20:42]Cover opened [17:20:43]int [17:20:43]Write to MH i2c: 01 00 00 E5 0C F1 [17:20:43]*** FLAG_PRN_PAP2 reset [17:20:43]Write i2c OK [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 E5 0C 00 01 00 00 00 FF 0F 07 [17:20:43]state=3 [17:20:43]No paper [17:20:43]Cover closed [17:20:43]int [17:20:43]Write to MH i2c: 01 00 00 E6 0C F2 [17:20:43]*** FLAG_PRN_PAP2 set [17:20:43]Write i2c OK [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 E6 0C 00 03 00 00 00 FF 0F 0A [17:20:43]state=0 [17:20:43]No paper [17:20:43]Cover opened [17:20:43]int [17:20:43]Write to MH i2c: 01 00 00 E7 0C F3 [17:20:43]*** FLAG_PRN_PAP2 reset [17:20:43]Write i2c OK [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 E7 0C 00 01 00 00 00 FF 0F 09 [17:20:43]state=3 [17:20:43]No paper [17:20:43]Cover closed [17:20:43]int [17:20:43]Write to MH i2c: 01 00 00 E8 0C F4 [17:20:43]*** FLAG_PRN_PAP2 set [17:20:43]Write i2c OK [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 [17:20:43]MH_I2C_Read... [17:20:43]Read from MH i2c: 01 07 00 E8 0C 00 03 00 00 00 FF 0F 0C [17:20:43]state=0 [17:20:43]No paper [17:20:43]Cover opened [17:20:44]OFD Sender: No OFD packet to send [17:20:48]Write to MH i2c: 01 00 00 E9 0C F5 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 07 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 07 00 E9 0C 00 03 00 00 00 FF 0F 0D [17:20:48]state=3 [17:20:48]No paper [17:20:48]Cover opened [17:20:49]OFD Sender: No OFD packet to send [17:20:53]Write to MH i2c: 01 00 00 EA 0C F6 [17:20:53]Write i2c OK [17:20:53]MH_I2C_Read... [17:20:53]Read from MH i2c: 01 [17:20:53]MH_I2C_Read... [17:20:53]Read from MH i2c: 01 07 00 [17:20:53]MH_I2C_Read... [17:20:53]Read from MH i2c: 01 07 00 EA 0C 00 03 00 00 00 FF 0F 0E [17:20:53]state=3 [17:20:53]No paper [17:20:53]Cover opened [17:20:54]OFD Sender: No OFD packet to send [17:20:58]Write to MH i2c: 01 00 00 EB 0C F7 [17:20:58]Write i2c OK [17:20:58]MH_I2C_Read... [17:20:58]Read from MH i2c: 01 [17:20:58]MH_I2C_Read... [17:20:58]Read from MH i2c: 01 07 00 [17:20:58]MH_I2C_Read... [17:20:58]Read from MH i2c: 01 07 00 EB 0C 00 03 00 00 00 FF 0F 0F [17:20:58]state=3 [17:20:58]No paper [17:20:58]Cover opened [17:20:59]OFD Sender: No OFD packet to send [17:21:03]Write to MH i2c: 01 00 00 EC 0C F8 [17:21:03]Write i2c OK [17:21:03]MH_I2C_Read... [17:21:03]Read from MH i2c: 01 [17:21:03]MH_I2C_Read... [17:21:03]Read from MH i2c: 01 07 00 [17:21:03]MH_I2C_Read... [17:21:03]Read from MH i2c: 01 07 00 EC 0C 00 03 00 00 00 FF 0F 10 [17:21:03]state=3 [17:21:03]No paper [17:21:03]Cover opened [17:21:04]OFD Sender: No OFD packet to send [17:21:08]Write to MH i2c: 01 00 00 ED 0C F9 [17:21:08]Write i2c OK [17:21:08]MH_I2C_Read... [17:21:08]Read from MH i2c: 01 [17:21:08]MH_I2C_Read... [17:21:08]Read from MH i2c: 01 07 00 [17:21:08]MH_I2C_Read... [17:21:08]Read from MH i2c: 01 07 00 ED 0C 00 03 00 00 00 FF 0F 11 [17:21:08]state=3 [17:21:08]No paper [17:21:08]Cover opened [17:21:09]OFD Sender: No OFD packet to send [17:21:13]Write to MH i2c: 01 00 00 EE 0C FA [17:21:13]Write i2c OK [17:21:13]MH_I2C_Read... [17:21:13]Read from MH i2c: 01 [17:21:13]MH_I2C_Read... [17:21:13]Read from MH i2c: 01 07 00 [17:21:13]MH_I2C_Read... [17:21:13]Read from MH i2c: 01 07 00 EE 0C 00 03 00 00 00 FF 0F 12 [17:21:13]state=3 [17:21:13]No paper [17:21:13]Cover opened [17:21:14]OFD Sender: No OFD packet to send [17:21:18]Write to MH i2c: 01 00 00 EF 0C FB [17:21:18]Write i2c OK [17:21:18]MH_I2C_Read... [17:21:18]Read from MH i2c: 01 [17:21:18]MH_I2C_Read... [17:21:18]Read from MH i2c: 01 07 00 [17:21:18]MH_I2C_Read... [17:21:18]Read from MH i2c: 01 07 00 EF 0C 00 03 00 00 00 FF 0F 13 [17:21:18]state=3 [17:21:18]No paper [17:21:18]Cover opened [17:21:19]OFD Sender: No OFD packet to send [17:21:23]Write to MH i2c: 01 00 00 F0 0C FC [17:21:23]Write i2c OK [17:21:23]MH_I2C_Read... [17:21:23]Read from MH i2c: 01 [17:21:23]MH_I2C_Read... [17:21:23]Read from MH i2c: 01 07 00 [17:21:23]MH_I2C_Read... [17:21:23]Read from MH i2c: 01 07 00 F0 0C 00 03 00 00 00 FF 0F 14 [17:21:23]state=3 [17:21:23]No paper [17:21:23]Cover opened [17:21:24]OFD Sender: No OFD packet to send [17:21:28]Write to MH i2c: 01 00 00 F1 0C FD [17:21:28]Write i2c OK [17:21:28]MH_I2C_Read... [17:21:28]Read from MH i2c: 01 [17:21:28]MH_I2C_Read... [17:21:28]Read from MH i2c: 01 07 00 [17:21:28]MH_I2C_Read... [17:21:28]Read from MH i2c: 01 07 00 F1 0C 00 03 00 00 00 FF 0F 15 [17:21:28]state=3 [17:21:28]No paper [17:21:28]Cover opened [17:21:29]OFD Sender: No OFD packet to send [17:21:33]Write to MH i2c: 01 00 00 F2 0C FE [17:21:33]Write i2c OK [17:21:33]MH_I2C_Read... [17:21:33]Read from MH i2c: 01 [17:21:33]MH_I2C_Read... [17:21:33]Read from MH i2c: 01 07 00 [17:21:33]MH_I2C_Read... [17:21:33]Read from MH i2c: 01 07 00 F2 0C 00 03 00 00 00 FF 0F 16 [17:21:33]state=3 [17:21:33]No paper [17:21:33]Cover opened [17:21:34]OFD Sender: No OFD packet to send [17:21:38]Write to MH i2c: 01 00 00 F3 0C FF [17:21:39]Write i2c OK [17:21:39]MH_I2C_Read... [17:21:39]Read from MH i2c: 01 [17:21:39]MH_I2C_Read... [17:21:39]Read from MH i2c: 01 07 00 [17:21:39]MH_I2C_Read... [17:21:39]Read from MH i2c: 01 07 00 F3 0C 00 03 00 00 00 FF 0F 17 [17:21:39]state=3 [17:21:39]No paper [17:21:39]Cover opened [17:21:39]OFD Sender: No OFD packet to send [17:21:44]Write to MH i2c: 01 00 00 F4 0C 00 [17:21:44]Write i2c OK [17:21:44]MH_I2C_Read... [17:21:44]Read from MH i2c: 01 [17:21:44]MH_I2C_Read... [17:21:44]Read from MH i2c: 01 07 00 [17:21:44]MH_I2C_Read... [17:21:44]Read from MH i2c: 01 07 00 F4 0C 00 03 00 00 00 FF 0F 18 [17:21:44]state=3 [17:21:44]No paper [17:21:44]Cover opened [17:21:44]OFD Sender: No OFD packet to send [17:21:49]Write to MH i2c: 01 00 00 F5 0C 01 [17:21:49]Write i2c OK [17:21:49]MH_I2C_Read... [17:21:49]Read from MH i2c: 01 [17:21:49]MH_I2C_Read... [17:21:49]Read from MH i2c: 01 07 00 [17:21:49]MH_I2C_Read... [17:21:49]Read from MH i2c: 01 07 00 F5 0C 00 03 00 00 00 FF 0F 19 [17:21:49]state=3 [17:21:49]No paper [17:21:49]Cover opened [17:21:49]OFD Sender: No OFD packet to send [17:21:54]Write to MH i2c: 01 00 00 F6 0C 02 [17:21:54]Write i2c OK [17:21:54]MH_I2C_Read... [17:21:54]Read from MH i2c: 01 [17:21:54]MH_I2C_Read... [17:21:54]Read from MH i2c: 01 07 00 [17:21:54]MH_I2C_Read... [17:21:54]Read from MH i2c: 01 07 00 F6 0C 00 03 00 00 00 FF 0F 1A [17:21:54]state=3 [17:21:54]No paper [17:21:54]Cover opened [17:21:54]OFD Sender: No OFD packet to send [17:21:59]Write to MH i2c: 01 00 00 F7 0C 03 [17:21:59]Write i2c OK [17:21:59]MH_I2C_Read... [17:21:59]Read from MH i2c: 01 [17:21:59]MH_I2C_Read... [17:21:59]Read from MH i2c: 01 07 00 [17:21:59]MH_I2C_Read... [17:21:59]Read from MH i2c: 01 07 00 F7 0C 00 03 00 00 00 FF 0F 1B [17:21:59]state=3 [17:21:59]No paper [17:21:59]Cover opened [17:21:59]OFD Sender: No OFD packet to send [17:22:04]Write to MH i2c: 01 00 00 F8 0C 04 [17:22:04]Write i2c OK [17:22:04]MH_I2C_Read... [17:22:04]Read from MH i2c: 01 [17:22:04]MH_I2C_Read... [17:22:04]Read from MH i2c: 01 07 00 [17:22:04]MH_I2C_Read... [17:22:04]Read from MH i2c: 01 07 00 F8 0C 00 03 00 00 00 FF 0F 1C [17:22:04]state=3 [17:22:04]No paper [17:22:04]Cover opened [17:22:04]OFD Sender: No OFD packet to send [17:22:09]Write to MH i2c: 01 00 00 F9 0C 05 [17:22:09]Write i2c OK [17:22:09]MH_I2C_Read... [17:22:09]Read from MH i2c: 01 [17:22:09]MH_I2C_Read... [17:22:09]Read from MH i2c: 01 07 00 [17:22:09]MH_I2C_Read... [17:22:09]Read from MH i2c: 01 07 00 F9 0C 00 03 00 00 00 FF 0F 1D [17:22:09]state=3 [17:22:09]No paper [17:22:09]Cover opened [17:22:09]OFD Sender: No OFD packet to send [17:22:14]Write to MH i2c: 01 00 00 FA 0C 06 [17:22:14]Write i2c OK [17:22:14]MH_I2C_Read... [17:22:14]Read from MH i2c: 01 [17:22:14]MH_I2C_Read... [17:22:14]Read from MH i2c: 01 07 00 [17:22:14]MH_I2C_Read... [17:22:14]Read from MH i2c: 01 07 00 FA 0C 00 03 00 00 00 FF 0F 1E [17:22:14]state=3 [17:22:14]No paper [17:22:14]Cover opened [17:22:14]OFD Sender: No OFD packet to send [17:22:19]Write to MH i2c: 01 00 00 FB 0C 07 [17:22:19]Write i2c OK [17:22:19]MH_I2C_Read... [17:22:19]Read from MH i2c: 01 [17:22:19]MH_I2C_Read... [17:22:19]Read from MH i2c: 01 07 00 [17:22:19]MH_I2C_Read... [17:22:19]Read from MH i2c: 01 07 00 FB 0C 00 03 00 00 00 FF 0F 1F [17:22:19]state=3 [17:22:19]No paper [17:22:19]Cover opened [17:22:20]OFD Sender: No OFD packet to send [17:22:24]Write to MH i2c: 01 00 00 FC 0C 08 [17:22:24]Write i2c OK [17:22:24]MH_I2C_Read... [17:22:24]Read from MH i2c: 01 [17:22:24]MH_I2C_Read... [17:22:24]Read from MH i2c: 01 07 00 [17:22:24]MH_I2C_Read... [17:22:24]Read from MH i2c: 01 07 00 FC 0C 00 03 00 00 00 FF 0F 20 [17:22:24]state=3 [17:22:24]No paper [17:22:24]Cover opened [17:22:25]OFD Sender: No OFD packet to send [17:22:29]Write to MH i2c: 01 00 00 FD 0C 09 [17:22:29]Write i2c OK [17:22:29]MH_I2C_Read... [17:22:29]Read from MH i2c: 01 [17:22:29]MH_I2C_Read... [17:22:29]Read from MH i2c: 01 07 00 [17:22:29]MH_I2C_Read... [17:22:29]Read from MH i2c: 01 07 00 FD 0C 00 03 00 00 00 FF 0F 21 [17:22:29]state=3 [17:22:29]No paper [17:22:29]Cover opened [17:22:30]OFD Sender: No OFD packet to send [17:22:34]Write to MH i2c: 01 00 00 FE 0C 0A [17:22:34]Write i2c OK [17:22:34]MH_I2C_Read... [17:22:34]Read from MH i2c: 01 [17:22:34]MH_I2C_Read... [17:22:34]Read from MH i2c: 01 07 00 [17:22:34]MH_I2C_Read... [17:22:34]Read from MH i2c: 01 07 00 FE 0C 00 03 00 00 00 FF 0F 22 [17:22:34]state=3 [17:22:34]No paper [17:22:34]Cover opened [17:22:35]OFD Sender: No OFD packet to send [17:22:39]Write to MH i2c: 01 00 00 FF 0C 0B [17:22:39]Write i2c OK [17:22:39]MH_I2C_Read... [17:22:39]Read from MH i2c: 01 [17:22:39]MH_I2C_Read... [17:22:39]Read from MH i2c: 01 07 00 [17:22:39]MH_I2C_Read... [17:22:39]Read from MH i2c: 01 07 00 FF 0C 00 03 00 00 00 FF 0F 23 [17:22:39]state=3 [17:22:39]No paper [17:22:39]Cover opened [17:22:40]OFD Sender: No OFD packet to send [17:22:44]Write to MH i2c: 01 00 00 00 0D 0D [17:22:44]Write i2c OK [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: 01 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: 01 07 00 [17:22:44]MH_I2C_Read... [17:22:44]Read from MH i2c: 01 07 00 00 0D 00 03 00 00 00 FF 0F 25 [17:22:44]state=3 [17:22:44]No paper [17:22:44]Cover opened [17:22:45]OFD Sender: No OFD packet to send [17:22:49]Write to MH i2c: 01 00 00 01 0D 0E [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: 01 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: 01 07 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: 01 07 00 01 0D 00 03 00 00 00 FF 0F 26 [17:22:49]state=3 [17:22:49]No paper [17:22:49]Cover opened [17:22:50]OFD Sender: No OFD packet to send [17:22:54]Write to MH i2c: 01 00 00 02 0D 0F [17:22:54]Write i2c OK [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: 01 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: 01 07 00 [17:22:54]MH_I2C_Read... [17:22:54]Read from MH i2c: 01 07 00 02 0D 00 03 00 00 00 FF 0F 27 [17:22:54]state=3 [17:22:54]No paper [17:22:54]Cover opened [17:22:55]OFD Sender: No OFD packet to send [17:22:59]Write to MH i2c: 01 00 00 03 0D 10 [17:22:59]Write i2c OK [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: 01 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: 01 07 00 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: 01 07 00 03 0D 00 03 00 00 00 FF 0F 28 [17:22:59]state=3 [17:22:59]No paper [17:22:59]Cover opened [17:23:00]OFD Sender: No OFD packet to send [17:23:04]Write to MH i2c: 01 00 00 04 0D 11 [17:23:04]Write i2c OK [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: 01 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: 01 07 00 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: 01 07 00 04 0D 00 03 00 00 00 FF 0F 29 [17:23:04]state=3 [17:23:04]No paper [17:23:04]Cover opened [17:23:05]OFD Sender: No OFD packet to send [17:23:09]Write to MH i2c: 01 00 00 05 0D 12 [17:23:09]Write i2c OK [17:23:09]MH_I2C_Read... [17:23:09]Read from MH i2c: 01 [17:23:09]MH_I2C_Read... [17:23:09]Read from MH i2c: 01 07 00 [17:23:09]MH_I2C_Read... [17:23:09]Read from MH i2c: 01 07 00 05 0D 00 03 00 00 00 FF 0F 2A [17:23:09]state=3 [17:23:09]No paper [17:23:09]Cover opened [17:23:10]OFD Sender: No OFD packet to send [17:23:14]Write to MH i2c: 01 00 00 06 0D 13 [17:23:14]Write i2c OK [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 07 00 [17:23:14]MH_I2C_Read... [17:23:14]Read from MH i2c: 01 07 00 06 0D 00 03 00 00 00 FF 0F 2B [17:23:14]state=3 [17:23:14]No paper [17:23:14]Cover opened [17:23:15]OFD Sender: No OFD packet to send [17:23:19]Write to MH i2c: 01 00 00 07 0D 14 [17:23:19]Write i2c OK [17:23:19]MH_I2C_Read... [17:23:19]Read from MH i2c: 01 [17:23:19]MH_I2C_Read... [17:23:19]Read from MH i2c: 01 07 00 [17:23:19]MH_I2C_Read... [17:23:19]Read from MH i2c: 01 07 00 07 0D 00 03 00 00 00 FF 0F 2C [17:23:19]state=3 [17:23:19]No paper [17:23:19]Cover opened [17:23:20]OFD Sender: No OFD packet to send [17:23:24]Write to MH i2c: 01 00 00 08 0D 15 [17:23:24]Write i2c OK [17:23:24]MH_I2C_Read... [17:23:24]Read from MH i2c: 01 [17:23:24]MH_I2C_Read... [17:23:24]Read from MH i2c: 01 07 00 [17:23:24]MH_I2C_Read... [17:23:24]Read from MH i2c: 01 07 00 08 0D 00 03 00 00 00 FF 0F 2D [17:23:24]state=3 [17:23:24]No paper [17:23:24]Cover opened [17:23:25]OFD Sender: No OFD packet to send [17:23:29]Write to MH i2c: 01 00 00 09 0D 16 [17:23:29]Write i2c OK [17:23:29]MH_I2C_Read... [17:23:29]Read from MH i2c: 01 [17:23:29]MH_I2C_Read... [17:23:29]Read from MH i2c: 01 07 00 [17:23:29]MH_I2C_Read... [17:23:29]Read from MH i2c: 01 07 00 09 0D 00 03 00 00 00 FF 0F 2E [17:23:29]state=3 [17:23:29]No paper [17:23:29]Cover opened [17:23:30]OFD Sender: No OFD packet to send [17:23:34]Write to MH i2c: 01 00 00 0A 0D 17 [17:23:34]Write i2c OK [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: 01 [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: 01 07 00 [17:23:34]MH_I2C_Read... [17:23:34]Read from MH i2c: 01 07 00 0A 0D 00 03 00 00 00 FF 0F 2F [17:23:34]state=3 [17:23:34]No paper [17:23:34]Cover opened [17:23:35]OFD Sender: No OFD packet to send [17:23:39]Write to MH i2c: 01 00 00 0B 0D 18 [17:23:39]Write i2c OK [17:23:39]MH_I2C_Read... [17:23:39]Read from MH i2c: 01 [17:23:39]MH_I2C_Read... [17:23:39]Read from MH i2c: 01 07 00 [17:23:39]MH_I2C_Read... [17:23:39]Read from MH i2c: 01 07 00 0B 0D 00 03 00 00 00 FF 0F 30 [17:23:39]state=3 [17:23:39]No paper [17:23:39]Cover opened [17:23:40]OFD Sender: No OFD packet to send [17:23:44]Write to MH i2c: 01 00 00 0C 0D 19 [17:23:44]Write i2c OK [17:23:44]MH_I2C_Read... [17:23:44]Read from MH i2c: 01 [17:23:44]MH_I2C_Read... [17:23:44]Read from MH i2c: 01 07 00 [17:23:44]MH_I2C_Read... [17:23:44]Read from MH i2c: 01 07 00 0C 0D 00 03 00 00 00 FF 0F 31 [17:23:44]state=3 [17:23:44]No paper [17:23:44]Cover opened [17:23:45]OFD Sender: No OFD packet to send [17:23:49]Write to MH i2c: 01 00 00 0D 0D 1A [17:23:49]Write i2c OK [17:23:49]MH_I2C_Read... [17:23:49]Read from MH i2c: 01 [17:23:49]MH_I2C_Read... [17:23:49]Read from MH i2c: 01 07 00 [17:23:49]MH_I2C_Read... [17:23:49]Read from MH i2c: 01 07 00 0D 0D 00 03 00 00 00 FF 0F 32 [17:23:49]state=3 [17:23:49]No paper [17:23:49]Cover opened [17:23:50]OFD Sender: No OFD packet to send [17:23:54]Write to MH i2c: 01 00 00 0E 0D 1B [17:23:54]Write i2c OK [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: 01 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: 01 07 00 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: 01 07 00 0E 0D 00 03 00 00 00 FF 0F 33 [17:23:54]state=3 [17:23:54]No paper [17:23:54]Cover opened [17:23:55]OFD Sender: No OFD packet to send [17:23:59]Write to MH i2c: 01 00 00 0F 0D 1C [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: 01 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: 01 07 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: 01 07 00 0F 0D 00 03 00 00 00 FF 0F 34 [17:23:59]state=3 [17:23:59]No paper [17:23:59]Cover opened [17:24:00]OFD Sender: No OFD packet to send [17:24:04]Write to MH i2c: 01 00 00 10 0D 1D [17:24:04]Write i2c OK [17:24:04]MH_I2C_Read... [17:24:04]Read from MH i2c: 01 [17:24:04]MH_I2C_Read... [17:24:04]Read from MH i2c: 01 07 00 [17:24:04]MH_I2C_Read... [17:24:04]Read from MH i2c: 01 07 00 10 0D 00 03 00 00 00 FF 0F 35 [17:24:04]state=3 [17:24:04]No paper [17:24:04]Cover opened [17:24:05]OFD Sender: No OFD packet to send [17:24:09]Write to MH i2c: 01 00 00 11 0D 1E [17:24:09]Write i2c OK [17:24:09]MH_I2C_Read... [17:24:09]Read from MH i2c: 01 [17:24:09]MH_I2C_Read... [17:24:09]Read from MH i2c: 01 07 00 [17:24:09]MH_I2C_Read... [17:24:09]Read from MH i2c: 01 07 00 11 0D 00 03 00 00 00 FF 0F 36 [17:24:09]state=3 [17:24:09]No paper [17:24:09]Cover opened [17:24:10]OFD Sender: No OFD packet to send [17:24:14]Write to MH i2c: 01 00 00 12 0D 1F [17:24:14]Write i2c OK [17:24:14]MH_I2C_Read... [17:24:14]Read from MH i2c: 01 [17:24:14]MH_I2C_Read... [17:24:14]Read from MH i2c: 01 07 00 [17:24:14]MH_I2C_Read... [17:24:14]Read from MH i2c: 01 07 00 12 0D 00 03 00 00 00 FF 0F 37 [17:24:14]state=3 [17:24:14]No paper [17:24:14]Cover opened [17:24:15]OFD Sender: No OFD packet to send [17:24:19]Write to MH i2c: 01 00 00 13 0D 20 [17:24:19]Write i2c OK [17:24:19]MH_I2C_Read... [17:24:19]Read from MH i2c: 01 [17:24:19]MH_I2C_Read... [17:24:19]Read from MH i2c: 01 07 00 [17:24:19]MH_I2C_Read... [17:24:19]Read from MH i2c: 01 07 00 13 0D 00 03 00 00 00 FF 0F 38 [17:24:19]state=3 [17:24:19]No paper [17:24:19]Cover opened [17:24:20]OFD Sender: No OFD packet to send [17:24:20]int [17:24:20]Write to MH i2c: 01 00 00 14 0D 21 [17:24:20]*** FLAG_PRN_PAP2 reset [17:24:20]Write i2c OK [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 07 00 [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 07 00 14 0D 00 01 00 00 00 FF 0F 37 [17:24:20]state=3 [17:24:20]No paper [17:24:20]Cover closed [17:24:20]int [17:24:20]Write to MH i2c: 01 00 00 15 0D 22 [17:24:20]*** FLAG_PRN_PAP2 set [17:24:20]Write i2c OK [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 07 00 [17:24:20]MH_I2C_Read... [17:24:20]Read from MH i2c: 01 07 00 15 0D 00 03 00 00 00 FF 0F 3A [17:24:20]state=0 [17:24:20]No paper [17:24:20]Cover opened [17:24:22]int [17:24:22]Write to MH i2c: 01 00 00 16 0D 23 [17:24:22]*** FLAG_PRN_PAP2 reset [17:24:22]Write i2c OK [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 07 00 [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 07 00 16 0D 00 01 00 00 00 FF 0F 39 [17:24:22]state=3 [17:24:22]No paper [17:24:22]Cover closed [17:24:22]int [17:24:22]Write to MH i2c: 01 00 00 17 0D 24 [17:24:22]*** FLAG_PRN_PAP1 reset [17:24:22]Write i2c OK [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 07 00 [17:24:22]MH_I2C_Read... [17:24:22]Read from MH i2c: 01 07 00 17 0D 00 00 00 00 00 FF 0F 39 [17:24:22]state=0 [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]accept exits with 7 [17:35:15]New connection [17:35:15]New thread 3067555172 created [17:35:15]Thread 3067411812 joined [17:35:15]Waiting for new connection... [17:35:15] Sock 7.Parse request [17:35:15]Sock 7.Check first char [17:35:15]Sock 7.First char is OK [17:35:15]request: POST /json_proto HTTP/1.0 [17:35:15]Method: POST [17:35:15]URL: /json_proto [17:35:15]Method is POST - this is cgi request [17:35:15]url: /json_proto [17:35:15]query_string will be loaded in cgi processing [17:35:15]execute_cgi json_proto POST (null) [17:35:15]execute_cgi path=json_proto method=POST [17:35:15]POST find Content-Length [17:35:15]Host: 172.17.47.135:8080 [17:35:15]Content-Length: 797 [17:35:15]Content-Type: application/json [17:35:15] [17:35:15]POST finish read [17:35:15]Found Content-Length = 797 [17:35:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130665", "tax_sys" : 0, "items" : [ { "code": "4006396053787", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B CHAPMAN BROWN", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:15]execute_script... [17:35:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130665", "tax_sys" : 0, "items" : [ { "code": "4006396053787", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B CHAPMAN BROWN", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:15]POST & json_proto [17:35:15]process_json_proto [17:35:15]json parsed OK: [17:35:15]protocol is kg_v1.0 [17:35:15]action value=close_receipt [17:35:15]process_action close_receipt [17:35:15]cmd_close_receipt [17:35:15]MH_GetDate [17:35:15]Write to MH i2c: F0 00 00 18 0D 14 [17:35:15]Write i2c OK [17:35:15]MH_I2C_Read... [17:35:15]Read from MH i2c: F0 [17:35:15]MH_I2C_Read... [17:35:15]Read from MH i2c: F0 09 00 [17:35:15]MH_I2C_Read... [17:35:15]Read from MH i2c: F0 09 00 18 0D 00 56 73 B3 67 19 D8 DE 66 35 [17:35:15]GetLastDocTimeStamp 1739811968 [17:35:15]current date 1739813718 [17:35:15]FM_GetShiftState [17:35:15]SAM_PROTO_GetShiftState [17:35:15]wFMCommunicate request_size=4 [17:35:15]MH_SAM_APDU [17:35:15]CAPDU: 80 13 01 00 [17:35:15]Write to MH i2c: E2 08 00 19 0D 80 13 01 00 00 00 00 00 A3 [17:35:15]Write i2c OK [17:35:15]MH_I2C_Read... [17:35:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:15]Read from MH i2c: E2 [17:35:15]MH_I2C_Read... [17:35:15]Read from MH i2c: E2 0E 00 [17:35:15]MH_I2C_Read... [17:35:15]Read from MH i2c: E2 0E 00 19 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 89 [17:35:15]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:35:15]wFMCommunicate OK [17:35:15]SAM_PROTO_GetShiftState done [17:35:15]FM_GetShiftState done [17:35:15]opened in 1739750979 [17:35:15]opened+sec_in_day 1739837379 [17:35:15]quantity*price = 21000 [17:35:15]sum+1 = 21001 [17:35:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 53 17.02.2025 17:35 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32422 ФПД: 181641541828221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T173518&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32422&fm=181641541828221&tin=02508201610067®Number=0000000000146237&sum=21000 0 [17:35:16]StoreToDocumentArchive [17:35:16]shift 382 fd 32422 [17:35:16]save to /storage/0382/doc_00032422 [17:35:16]save last doc name /storage/0382/doc_00032422 to /storage/kkm_last_doc_name [17:35:16]save OK [17:35:16]Clear old archive folders... [17:35:16]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:35:16]tlvbuf is 004A3D30 [17:35:16]SAM_PROTO_ClearQueue [17:35:16]wFMCommunicate request_size=4 [17:35:16]MH_SAM_APDU [17:35:16]CAPDU: 80 09 00 00 [17:35:16]Write to MH i2c: E2 08 00 26 0D 80 09 00 00 00 00 00 00 A5 [17:35:16]Write i2c OK [17:35:16]MH_I2C_Read... [17:35:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:35:16]Read from MH i2c: E2 [17:35:16]MH_I2C_Read... [17:35:16]Read from MH i2c: E2 03 00 [17:35:16]MH_I2C_Read... [17:35:16]Read from MH i2c: E2 03 00 26 0D 00 90 00 A7 [17:35:16]RAPDU: 90 00 [17:35:16]wFMCommunicate OK [17:35:16]SAM_PROTO_ClearQueue done [17:35:16]KKMCreateOFDPacket [17:35:16]OFDProtocolAddRootSTLVToBuf [17:35:16]FM_MakeSignedData [17:35:16]FM_MakeSignedData [17:35:16]SAM_PROTO_SignData [17:35:16]wFMCommunicate request_size=4 [17:35:16]MH_SAM_APDU [17:35:16]CAPDU: 80 0D 01 02 [17:35:16]Write to MH i2c: E2 08 00 27 0D 80 0D 01 02 00 00 00 00 AD [17:35:16]Write i2c OK [17:35:16]MH_I2C_Read... [17:35:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:35:16]Read from MH i2c: E2 [17:35:16]MH_I2C_Read... [17:35:16]Read from MH i2c: E2 03 00 [17:35:16]MH_I2C_Read... [17:35:16]Read from MH i2c: E2 03 00 27 0D 00 90 00 A8 [17:35:16]RAPDU: 90 00 [17:35:16]wFMCommunicate OK [17:35:16]wFMCommunicate request_size=255 [17:35:16]MH_SAM_APDU [17:35:16]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 37 38 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 48 41 50 4D 41 4E 20 42 52 4F 57 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 [17:35:16]Write to MH i2c: E2 02 01 28 0D 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 37 38 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 48 41 50 4D 41 4E 20 42 52 4F 57 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 00 00 DD [17:35:16]Write i2c OK [17:35:16]MH_I2C_Read... [17:35:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:17]Read from MH i2c: E2 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 03 00 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 03 00 28 0D 00 90 00 A9 [17:35:17]RAPDU: 90 00 [17:35:17]wFMCommunicate OK [17:35:17]wFMCommunicate request_size=31 [17:35:17]MH_SAM_APDU [17:35:17]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 32 38 32 10 04 04 00 A6 7E 00 00 35 04 06 00 A5 33 B7 93 BE 7D [17:35:17]Write to MH i2c: E2 22 00 29 0D 80 0D 02 02 1A 00 30 30 39 35 39 32 38 32 10 04 04 00 A6 7E 00 00 35 04 06 00 A5 33 B7 93 BE 7D 00 00 5F [17:35:17]Write i2c OK [17:35:17]MH_I2C_Read... [17:35:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:17]Read from MH i2c: E2 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 03 00 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 03 00 29 0D 00 90 00 AA [17:35:17]RAPDU: 90 00 [17:35:17]wFMCommunicate OK [17:35:17]wFMCommunicate request_size=4 [17:35:17]MH_SAM_APDU [17:35:17]CAPDU: 80 0D 03 02 [17:35:17]Write to MH i2c: E2 08 00 2A 0D 80 0D 03 02 00 00 00 00 B2 [17:35:17]Write i2c OK [17:35:17]MH_I2C_Read... [17:35:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:35:17]Read from MH i2c: E2 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 0B 00 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 0B 00 2A 0D 00 B3 DD E9 39 63 D1 F9 D8 90 00 6A [17:35:17]RAPDU: B3 DD E9 39 63 D1 F9 D8 90 00 [17:35:17]wFMCommunicate OK [17:35:17]SAM_PROTO_SignData done [17:35:17]FM_MakeSignedData done [17:35:17]CreateOFDProtocolMessage [17:35:17]wFMCommunicate request_size=4 [17:35:17]MH_SAM_APDU [17:35:17]CAPDU: 80 11 00 00 [17:35:17]Write to MH i2c: E2 08 00 2B 0D 80 11 00 00 00 00 00 00 B2 [17:35:17]Write i2c OK [17:35:17]MH_I2C_Read... [17:35:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:17]Read from MH i2c: E2 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 17 00 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: E2 17 00 2B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 08 [17:35:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:35:17]wFMCommunicate OK [17:35:17]CreateOFDProtocolMessage done [17:35:17]OFDSenderStorePacket 32422 [17:35:17]StoreOFDPacket docnum=32422 [17:35:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 13 D7 1C 01 23 A4 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 37 38 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 48 41 50 4D 41 4E 20 42 52 4F 57 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A6 7E 00 00 35 04 06 00 A5 33 B7 93 BE 7D B3 DD E9 39 63 D1 F9 D8 [17:35:17]CheckFolder [17:35:17]dirname=/storage/ofd_packets [17:35:17]CheckFolder done [17:35:17]ProducePacketName [17:35:17]name=ofd_packets/00032422 [17:35:17]NVStorageSaveData ofd_packets/00032422 [17:35:17]File name is /storage/ofd_packets/00032422 [17:35:17]Write 322 bytes [17:35:17]NVStorageSaveData done [17:35:17]OFDSenderStorePacket done [17:35:17]KKMCreateOFDPacket done [17:35:17]NVStorageSaveData kkm_last_timestamp [17:35:17]File name is /storage/kkm_last_timestamp [17:35:17]Write 4 bytes [17:35:17]NVStorageSaveData done [17:35:17]ExternCall_PrintAddStr [17:35:17]wPrintStart [17:35:17]Write to MH i2c: 01 00 00 2C 0D 39 [17:35:17]Write i2c OK [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: 01 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: 01 07 00 [17:35:17]MH_I2C_Read... [17:35:17]Read from MH i2c: 01 07 00 2C 0D 00 00 00 00 00 FF 0F 4E [17:35:17]RasterBufferAndPrint [17:35:17]line Счет N : (3)130665 [17:35:17]line ИНН: 02508201610067 [17:35:17]line Контрольно-Кассовый Чек [17:35:17]line ПРОДАЖА [17:35:17]line Товар: 4006396053787 [17:35:17]line Сигареты CHAPMAN BROWN [17:35:17]line 1.000 * 210.00 [17:35:17]line = 210.00 [17:35:17]line НДС 12% НСП 1% [17:35:17]line > о реализуемом товаре [17:35:17]line ИТОГО: 210.00 [17:35:17]line НСП 1% : 1.86 [17:35:17]line НДС 12% : 22.30 [17:35:17]line Наличными: 0.00 [17:35:17]line Безнал.: 210.00 [17:35:17]line Место: АЗС № 96 "Партнер Нефть" [17:35:17]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:35:17]line СНО: Общий режим [17:35:17]line Чек 53 17.02.2025 17:35 [17:35:17]line Смена: 382 ФФД: 1.0 [17:35:17]line ЗНМ: 0300000059 [17:35:17]line РНМ: 0000000000146237 [17:35:17]line Версия ККМ: v1.0 [17:35:17]line Платежная система: Бакай Банк [17:35:17]line ФМ: 0000000000959282 [17:35:17]line ФД: 32422 [17:35:17]line ФПД: 181641541828221 [17:35:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T173518&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32422&fm=181641541828221&tin=02508201610067®Number=0000000000146237&sum=21000 [17:35:17]line 0 [17:35:17]OFD Sender: Processing packet 32422 [packets to send 104, broken 103] [17:35:17]ProducePacketName [17:35:17]name=ofd_packets/00032422 [17:35:17]OFD Sender: To server: pG, [17:35:17]CommunicateWithHost lk.salyk.kg:30040 [17:35:17]ConnectInit lk.salyk.kg [17:35:17]written 0, free lines is 4095 [17:35:17]Connected sock=10 [17:35:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 13 D7 1C 01 23 A4 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 30 30 36 33 39 36 30 35 33 37 38 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 48 41 50 4D 41 4E 20 42 52 4F 57 4E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 73 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A6 7E 00 00 35 04 06 00 A5 33 B7 93 BE 7D B3 DD E9 39 63 D1 F9 D8 [17:35:18]Write to MH i2c: 01 00 00 56 0D 63 [17:35:18]Write i2c OK [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: 01 [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: 01 07 00 [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: 01 07 00 56 0D 00 00 00 00 00 FD 0C 73 [17:35:18]RasterBufferAndPrint [17:35:18]line [17:35:18]line [17:35:18]line [17:35:18]line [17:35:18]line [17:35:18]written 0, free lines is 3334 [17:35:18]MH_Cut [17:35:18]Write to MH i2c: D1 01 00 5D 0D 01 3C [17:35:18]Write i2c OK [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: D1 [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: D1 01 00 [17:35:18]MH_I2C_Read... [17:35:18]Read from MH i2c: D1 01 00 5D 0D 00 3B [17:35:18]Write to MH i2c: 01 00 00 5E 0D 6B [17:35:18]Write i2c OK [17:35:18]MH_I2C_Read... [17:35:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 77 BC 47 00 DA FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A6 7E 00 00 F4 03 04 00 F9 1C B3 67 B6 04 01 00 00 1E 38 5B 2B E5 42 6C 5E [17:35:18]CommunicateWithHost err = 0 [17:35:18]CheckOFDResponse [17:35:18]1017 (14) - 77093643461234 [17:35:18]1041 (16) - 0000000000959282 [17:35:18]1040 (4) - 32422 [17:35:18]1012 (4) - 17.02.2025 11:26 [17:35:18]1206 (1) - 0 [17:35:18]OFD Sender: Remove packet 32422 [17:35:18]ProducePacketName [17:35:18]name=ofd_packets/00032422 [17:35:18]NVStorageDeleteData [17:35:18]*** Cut start [17:35:18]*** Partial cut [17:35:18]*** CUTSNS_PIN = 1 [17:35:18]OFD Sender: No OFD packet to send [17:35:18]*** CUTSNS_PIN = 0 [17:35:19]*** Brake cut motor [17:35:19]Read from MH i2c: 01 [17:35:19]MH_I2C_Read... [17:35:19]*** Stop cut motor [17:35:19]*** Cut end [17:35:19]Read from MH i2c: 01 07 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: 01 07 00 5E 0D 00 00 00 00 00 FF 0F 80 [17:35:19]process_action close_receipt done [17:35:19]requested_data is exist [17:35:19]produce_requested_data [17:35:19]requested_item fm.sn is exist - process it [17:35:19]wFMCommunicate request_size=4 [17:35:19]MH_SAM_APDU [17:35:19]CAPDU: 80 11 00 00 [17:35:19]Write to MH i2c: E2 08 00 5F 0D 80 11 00 00 00 00 00 00 E6 [17:35:19]Write i2c OK [17:35:19]MH_I2C_Read... [17:35:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:19]Read from MH i2c: E2 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 17 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 17 00 5F 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 3C [17:35:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:35:19]wFMCommunicate OK [17:35:19]requested_item fd.num is exist - process it [17:35:19]SAM_PROTO_GetFieldsCounters [17:35:19]wFMCommunicate request_size=4 [17:35:19]MH_SAM_APDU [17:35:19]CAPDU: 80 13 00 00 [17:35:19]Write to MH i2c: E2 08 00 60 0D 80 13 00 00 00 00 00 00 E9 [17:35:19]Write i2c OK [17:35:19]MH_I2C_Read... [17:35:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:35:19]Read from MH i2c: E2 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 62 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 62 00 60 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A6 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [17:35:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A6 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:35:19]wFMCommunicate OK [17:35:19]SAM_PROTO_GetFieldsCounters done [17:35:19]requested_item shift.num is exist - process it [17:35:19]requested_item shift.opened is exist - process it [17:35:19]req_shift_opened [17:35:19]FM_GetShiftState [17:35:19]SAM_PROTO_GetShiftState [17:35:19]wFMCommunicate request_size=4 [17:35:19]MH_SAM_APDU [17:35:19]CAPDU: 80 13 01 00 [17:35:19]Write to MH i2c: E2 08 00 61 0D 80 13 01 00 00 00 00 00 EB [17:35:19]Write i2c OK [17:35:19]MH_I2C_Read... [17:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:19]Read from MH i2c: E2 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 0E 00 [17:35:19]MH_I2C_Read... [17:35:19]Read from MH i2c: E2 0E 00 61 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D1 [17:35:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:35:19]wFMCommunicate OK [17:35:19]SAM_PROTO_GetShiftState done [17:35:19]FM_GetShiftState done [17:35:19]req_shift_opened done [17:35:19]requested_item shift.open_date is exist - process it [17:35:19]req_shift_open_date [17:35:19]req_shift_open_date done [17:35:19]produce_requested_data done [17:35:19]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32422,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [17:35:19]process_action_free close_receipt [17:35:19]json_value_free [17:35:19]json_value_free done [17:35:19]process_json_proto returns [17:35:19]Send response to host [17:35:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32422,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [17:35:19]free response buf [17:35:19]execute_script done [17:35:19]execute_script returns [17:35:19]free content buf [17:35:19]Sock 7.Close socket [17:35:19]Sock 7.Thread stoped [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:31]accept exits with 9 [17:47:31]New connection [17:47:31]New thread 3067411812 created [17:47:31]Thread 3067555172 joined [17:47:31]Waiting for new connection... [17:47:31] Sock 9.Parse request [17:47:31]Sock 9.Check first char [17:47:31]Sock 9.First char is OK [17:47:31]request: POST /json_proto HTTP/1.0 [17:47:31]Method: POST [17:47:31]URL: /json_proto [17:47:31]Method is POST - this is cgi request [17:47:31]url: /json_proto [17:47:31]query_string will be loaded in cgi processing [17:47:31]execute_cgi json_proto POST (null) [17:47:31]execute_cgi path=json_proto method=POST [17:47:31]POST find Content-Length [17:47:31]Host: 172.17.47.135:8080 [17:47:31]Content-Length: 890 [17:47:31]Content-Type: application/json [17:47:31] [17:47:31]POST finish read [17:47:31]Found Content-Length = 890 [17:47:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130666", "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" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:47:31]execute_script... [17:47: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)130666", "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" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:47:31]POST & json_proto [17:47:31]process_json_proto [17:47:31]json parsed OK: [17:47:31]protocol is kg_v1.0 [17:47:31]action value=close_receipt [17:47:31]process_action close_receipt [17:47:31]cmd_close_receipt [17:47:31]MH_GetDate [17:47:31]Write to MH i2c: F0 00 00 62 0D 5E [17:47:31]Write i2c OK [17:47:31]MH_I2C_Read... [17:47:31]Read from MH i2c: F0 [17:47:31]MH_I2C_Read... [17:47:31]Read from MH i2c: F0 09 00 [17:47:31]MH_I2C_Read... [17:47:31]Read from MH i2c: F0 09 00 62 0D 00 36 76 B3 67 19 D8 DE 66 62 [17:47:31]GetLastDocTimeStamp 1739813718 [17:47:31]current date 1739814454 [17:47:31]FM_GetShiftState [17:47:31]SAM_PROTO_GetShiftState [17:47:31]wFMCommunicate request_size=4 [17:47:31]MH_SAM_APDU [17:47:31]CAPDU: 80 13 01 00 [17:47:31]Write to MH i2c: E2 08 00 63 0D 80 13 01 00 00 00 00 00 ED [17:47:31]Write i2c OK [17:47:31]MH_I2C_Read... [17:47:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:47:31]Read from MH i2c: E2 [17:47:31]MH_I2C_Read... [17:47:31]Read from MH i2c: E2 0E 00 [17:47:31]MH_I2C_Read... [17:47:31]Read from MH i2c: E2 0E 00 63 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D3 [17:47:31]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:47:31]wFMCommunicate OK [17:47:31]SAM_PROTO_GetShiftState done [17:47:31]FM_GetShiftState done [17:47:31]opened in 1739750979 [17:47:31]opened+sec_in_day 1739837379 [17:47:31]quantity*price = 5900 [17:47:31]sum+1 = 5901 [17:47:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.29 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 54 17.02.2025 17:47 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32423 ФПД: 234797708133348 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T174734&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32423&fm=234797708133348&tin=02508201610067®Number=0000000000146237&sum=21000 0 [17:47:32]StoreToDocumentArchive [17:47:32]shift 382 fd 32423 [17:47:32]save to /storage/0382/doc_00032423 [17:47:32]save last doc name /storage/0382/doc_00032423 to /storage/kkm_last_doc_name [17:47:32]save OK [17:47:32]Clear old archive folders... [17:47:32]ProcessDocumentItem done err = 0, tmpTLVsize=378 [17:47:32]tlvbuf is 004CEBB0 [17:47:32]SAM_PROTO_ClearQueue [17:47:32]wFMCommunicate request_size=4 [17:47:32]MH_SAM_APDU [17:47:32]CAPDU: 80 09 00 00 [17:47:32]Write to MH i2c: E2 08 00 70 0D 80 09 00 00 00 00 00 00 EF [17:47:32]Write i2c OK [17:47:32]MH_I2C_Read... [17:47:32]Read from MH i2c: E2 [17:47:32]MH_I2C_Read... [17:47:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:47:32]Read from MH i2c: E2 03 00 [17:47:32]MH_I2C_Read... [17:47:32]Read from MH i2c: E2 03 00 70 0D 00 90 00 F1 [17:47:32]RAPDU: 90 00 [17:47:32]wFMCommunicate OK [17:47:32]SAM_PROTO_ClearQueue done [17:47:32]KKMCreateOFDPacket [17:47:32]OFDProtocolAddRootSTLVToBuf [17:47:32]FM_MakeSignedData [17:47:32]FM_MakeSignedData [17:47:32]SAM_PROTO_SignData [17:47:32]wFMCommunicate request_size=4 [17:47:32]MH_SAM_APDU [17:47:32]CAPDU: 80 0D 01 02 [17:47:32]Write to MH i2c: E2 08 00 71 0D 80 0D 01 02 00 00 00 00 F7 [17:47:32]Write i2c OK [17:47:32]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 [17:47:33]MH_I2C_Read... [17:47:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:47:33]Read from MH i2c: E2 03 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 03 00 71 0D 00 90 00 F2 [17:47:33]RAPDU: 90 00 [17:47:33]wFMCommunicate OK [17:47:33]wFMCommunicate request_size=255 [17:47:33]MH_SAM_APDU [17:47:33]CAPDU: 80 0D 02 02 FA 03 00 7A 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 [17:47:33]Write to MH i2c: E2 02 01 72 0D 80 0D 02 02 FA 00 03 00 7A 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 00 00 16 [17:47:33]Write i2c OK [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 [17:47:33]MH_I2C_Read... [17:47:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:47:33]Read from MH i2c: E2 03 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 03 00 72 0D 00 90 00 F3 [17:47:33]RAPDU: 90 00 [17:47:33]wFMCommunicate OK [17:47:33]wFMCommunicate request_size=137 [17:47:33]MH_SAM_APDU [17:47:33]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 36 76 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A7 7E 00 00 35 04 06 00 D5 8C 19 FC C3 E4 [17:47:33]Write to MH i2c: E2 8C 00 73 0D 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 36 76 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A7 7E 00 00 35 04 06 00 D5 8C 19 FC C3 E4 00 00 04 [17:47:33]Write i2c OK [17:47:33]MH_I2C_Read... [17:47:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:47:33]Read from MH i2c: E2 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 03 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 03 00 73 0D 00 90 00 F4 [17:47:33]RAPDU: 90 00 [17:47:33]wFMCommunicate OK [17:47:33]wFMCommunicate request_size=4 [17:47:33]MH_SAM_APDU [17:47:33]CAPDU: 80 0D 03 02 [17:47:33]Write to MH i2c: E2 08 00 74 0D 80 0D 03 02 00 00 00 00 FC [17:47:33]Write i2c OK [17:47:33]MH_I2C_Read... [17:47:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:47:33]Read from MH i2c: E2 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 0B 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 0B 00 74 0D 00 C4 98 16 C3 7C 09 44 A0 90 00 9B [17:47:33]RAPDU: C4 98 16 C3 7C 09 44 A0 90 00 [17:47:33]wFMCommunicate OK [17:47:33]SAM_PROTO_SignData done [17:47:33]FM_MakeSignedData done [17:47:33]CreateOFDProtocolMessage [17:47:33]wFMCommunicate request_size=4 [17:47:33]MH_SAM_APDU [17:47:33]CAPDU: 80 11 00 00 [17:47:33]Write to MH i2c: E2 08 00 75 0D 80 11 00 00 00 00 00 00 FC [17:47:33]Write i2c OK [17:47:33]MH_I2C_Read... [17:47:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:47:33]Read from MH i2c: E2 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 17 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: E2 17 00 75 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 52 [17:47:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:47:33]wFMCommunicate OK [17:47:33]CreateOFDProtocolMessage done [17:47:33]OFDSenderStorePacket 32423 [17:47:33]StoreOFDPacket docnum=32423 [17:47:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 8E 01 00 00 EE A1 86 01 ED BD 5A 03 01 00 03 00 7A 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 36 76 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A7 7E 00 00 35 04 06 00 D5 8C 19 FC C3 E4 C4 98 16 C3 7C 09 44 A0 [17:47:33]CheckFolder [17:47:33]dirname=/storage/ofd_packets [17:47:33]CheckFolder done [17:47:33]ProducePacketName [17:47:33]name=ofd_packets/00032423 [17:47:33]NVStorageSaveData ofd_packets/00032423 [17:47:33]File name is /storage/ofd_packets/00032423 [17:47:33]Write 428 bytes [17:47:33]NVStorageSaveData done [17:47:33]OFDSenderStorePacket done [17:47:33]KKMCreateOFDPacket done [17:47:33]NVStorageSaveData kkm_last_timestamp [17:47:33]File name is /storage/kkm_last_timestamp [17:47:33]Write 4 bytes [17:47:33]NVStorageSaveData done [17:47:33]ExternCall_PrintAddStr [17:47:33]wPrintStart [17:47:33]Write to MH i2c: 01 00 00 76 0D 83 [17:47:33]Write i2c OK [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: 01 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: 01 07 00 [17:47:33]MH_I2C_Read... [17:47:33]Read from MH i2c: 01 07 00 76 0D 00 00 00 00 00 FF 0F 98 [17:47:33]RasterBufferAndPrint [17:47:33]line Счет N : (3)130666 [17:47:33]line ИНН: 02508201610067 [17:47:33]line Контрольно-Кассовый Чек [17:47:33]line ПРОДАЖА [17:47:33]line Товар: 54491472 [17:47:33]line Напиток Кока-Кола 0,5л [17:47:33]line 1.000 * 59.00 [17:47:33]line = 59.00 [17:47:33]line НДС 12% НСП 1% [17:47:33]line > о реализуемом товаре [17:47:33]line Товар: 48747059 [17:47:33]line Сигареты Winston Legend Blue [17:47:33]line 1.000 * 151.00 [17:47:33]line = 151.00 [17:47:33]line НДС 12% НСП 1% [17:47:33]line > о реализуемом товаре [17:47:33]line ИТОГО: 210.00 [17:47:33]line НСП 1% : 1.86 [17:47:33]line НДС 12% : 22.29 [17:47:33]line Наличными: 210.00 [17:47:33]line Безнал.: 0.00 [17:47:33]line Место: АЗС № 96 "Партнер Нефть" [17:47:33]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:47:33]line СНО: Общий режим [17:47:33]line Чек 54 17.02.2025 17:47 [17:47:33]line Смена: 382 ФФД: 1.0 [17:47:33]line ЗНМ: 0300000059 [17:47:33]line РНМ: 0000000000146237 [17:47:33]line Версия ККМ: v1.0 [17:47:33]line ФМ: 0000000000959282 [17:47:33]line ФД: 32423 [17:47:33]line ФПД: 234797708133348 [17:47:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T174734&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32423&fm=234797708133348&tin=02508201610067®Number=0000000000146237&sum=21000 [17:47:33]line 0 [17:47:33]OFD Sender: Processing packet 32423 [packets to send 104, broken 103] [17:47:33]ProducePacketName [17:47:33]name=ofd_packets/00032423 [17:47:33]OFD Sender: To server: pG, [17:47:33]CommunicateWithHost lk.salyk.kg:30040 [17:47:33]ConnectInit lk.salyk.kg [17:47:33]written 0, free lines is 4095 [17:47:34]Connected sock=10 [17:47:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 8E 01 00 00 EE A1 86 01 ED BD 5A 03 01 00 03 00 7A 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 36 76 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A7 7E 00 00 35 04 06 00 D5 8C 19 FC C3 E4 C4 98 16 C3 7C 09 44 A0 [17:47:34]Write to MH i2c: 01 00 00 A5 0D B2 [17:47:34]Write i2c OK [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: 01 [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: 01 07 00 [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: 01 07 00 A5 0D 00 00 00 00 00 B1 0C 76 [17:47:34]RasterBufferAndPrint [17:47:34]line [17:47:34]line [17:47:34]line [17:47:34]line [17:47:34]line [17:47:34]written 0, free lines is 3258 [17:47:34]MH_Cut [17:47:34]Write to MH i2c: D1 01 00 AC 0D 01 8B [17:47:34]Write i2c OK [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: D1 [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: D1 01 00 [17:47:34]MH_I2C_Read... [17:47:34]Read from MH i2c: D1 01 00 AC 0D 00 8A [17:47:34]Write to MH i2c: 01 00 00 AD 0D BA [17:47:34]Write i2c OK [17:47:34]MH_I2C_Read... [17:47:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 82 62 47 00 3B 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A7 7E 00 00 F4 03 04 00 D9 1F B3 67 B6 04 01 00 00 28 C4 DC B9 99 4B F3 68 [17:47:34]CommunicateWithHost err = 0 [17:47:34]CheckOFDResponse [17:47:34]1017 (14) - 77093643461234 [17:47:34]1041 (16) - 0000000000959282 [17:47:34]1040 (4) - 32423 [17:47:34]1012 (4) - 17.02.2025 11:39 [17:47:34]1206 (1) - 0 [17:47:34]OFD Sender: Remove packet 32423 [17:47:34]ProducePacketName [17:47:34]name=ofd_packets/00032423 [17:47:34]NVStorageDeleteData [17:47:34]OFD Sender: No OFD packet to send [17:47:35]*** Cut start [17:47:35]*** Partial cut [17:47:35]*** CUTSNS_PIN = 1 [17:47:35]*** CUTSNS_PIN = 0 [17:47:35]*** Brake cut motor [17:47:35]Read from MH i2c: 01 [17:47:35]MH_I2C_Read... [17:47:35]*** Stop cut motor [17:47:35]*** Cut end [17:47:35]Read from MH i2c: 01 07 00 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: 01 07 00 AD 0D 00 00 00 00 00 FF 0F CF [17:47:35]process_action close_receipt done [17:47:35]requested_data is exist [17:47:35]produce_requested_data [17:47:35]requested_item fm.sn is exist - process it [17:47:35]wFMCommunicate request_size=4 [17:47:35]MH_SAM_APDU [17:47:35]CAPDU: 80 11 00 00 [17:47:35]Write to MH i2c: E2 08 00 AE 0D 80 11 00 00 00 00 00 00 35 [17:47:35]Write i2c OK [17:47:35]MH_I2C_Read... [17:47:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:47:35]Read from MH i2c: E2 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 17 00 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 17 00 AE 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8B [17:47:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:47:35]wFMCommunicate OK [17:47:35]requested_item fd.num is exist - process it [17:47:35]SAM_PROTO_GetFieldsCounters [17:47:35]wFMCommunicate request_size=4 [17:47:35]MH_SAM_APDU [17:47:35]CAPDU: 80 13 00 00 [17:47:35]Write to MH i2c: E2 08 00 AF 0D 80 13 00 00 00 00 00 00 38 [17:47:35]Write i2c OK [17:47:35]MH_I2C_Read... [17:47:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:47:35]Read from MH i2c: E2 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 62 00 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 62 00 AF 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A7 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 A0 [17:47:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A7 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:47:35]wFMCommunicate OK [17:47:35]SAM_PROTO_GetFieldsCounters done [17:47:35]requested_item shift.num is exist - process it [17:47:35]requested_item shift.opened is exist - process it [17:47:35]req_shift_opened [17:47:35]FM_GetShiftState [17:47:35]SAM_PROTO_GetShiftState [17:47:35]wFMCommunicate request_size=4 [17:47:35]MH_SAM_APDU [17:47:35]CAPDU: 80 13 01 00 [17:47:35]Write to MH i2c: E2 08 00 B0 0D 80 13 01 00 00 00 00 00 3A [17:47:35]Write i2c OK [17:47:35]MH_I2C_Read... [17:47:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:47:35]Read from MH i2c: E2 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 0E 00 [17:47:35]MH_I2C_Read... [17:47:35]Read from MH i2c: E2 0E 00 B0 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 20 [17:47:35]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [17:47:35]wFMCommunicate OK [17:47:35]SAM_PROTO_GetShiftState done [17:47:35]FM_GetShiftState done [17:47:35]req_shift_opened done [17:47:35]requested_item shift.open_date is exist - process it [17:47:35]req_shift_open_date [17:47:35]req_shift_open_date done [17:47:35]produce_requested_data done [17:47:35]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32423,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [17:47:35]process_action_free close_receipt [17:47:35]json_value_free [17:47:35]json_value_free done [17:47:35]process_json_proto returns [17:47:35]Send response to host [17:47:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32423,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [17:47:35]free response buf [17:47:35]execute_script done [17:47:35]execute_script returns [17:47:35]free content buf [17:47:35]Sock 9.Close socket [17:47:35]Sock 9.Thread stoped [17:47:39]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:13]accept exits with 7 [18:04:13]New connection [18:04:13]New thread 3067555172 created [18:04:13]Thread 3067411812 joined [18:04:13]Waiting for new connection... [18:04:13] Sock 7.Parse request [18:04:13]Sock 7.Check first char [18:04:13]Sock 7.First char is OK [18:04:13]request: POST /json_proto HTTP/1.0 [18:04:13]Method: POST [18:04:13]URL: /json_proto [18:04:13]Method is POST - this is cgi request [18:04:13]url: /json_proto [18:04:13]query_string will be loaded in cgi processing [18:04:13]execute_cgi json_proto POST (null) [18:04:13]execute_cgi path=json_proto method=POST [18:04:13]POST find Content-Length [18:04:13]Host: 172.17.47.135:8080 [18:04:13]Content-Length: 647 [18:04:13]Content-Type: application/json [18:04:13] [18:04:13]POST finish read [18:04:13]Found Content-Length = 647 [18:04:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130667", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:13]execute_script... [18:04: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)130667", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:13]POST & json_proto [18:04:13]process_json_proto [18:04:13]json parsed OK: [18:04:13]protocol is kg_v1.0 [18:04:13]action value=close_receipt [18:04:13]process_action close_receipt [18:04:13]cmd_close_receipt [18:04:13]MH_GetDate [18:04:13]Write to MH i2c: F0 00 00 B1 0D AD [18:04:13]Write i2c OK [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 09 00 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: F0 09 00 B1 0D 00 20 7A B3 67 19 D8 DE 66 9F [18:04:13]GetLastDocTimeStamp 1739814454 [18:04:13]current date 1739815456 [18:04:13]FM_GetShiftState [18:04:13]SAM_PROTO_GetShiftState [18:04:13]wFMCommunicate request_size=4 [18:04:13]MH_SAM_APDU [18:04:13]CAPDU: 80 13 01 00 [18:04:13]Write to MH i2c: E2 08 00 B2 0D 80 13 01 00 00 00 00 00 3C [18:04:13]Write i2c OK [18:04:13]MH_I2C_Read... [18:04:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:13]Read from MH i2c: E2 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: E2 0E 00 [18:04:13]MH_I2C_Read... [18:04:13]Read from MH i2c: E2 0E 00 B2 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 22 [18:04:13]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [18:04:13]wFMCommunicate OK [18:04:13]SAM_PROTO_GetShiftState done [18:04:13]FM_GetShiftState done [18:04:13]opened in 1739750979 [18:04:13]opened+sec_in_day 1739837379 [18:04:13]quantity*price = 4900 [18:04:13]sum+1 = 4901 [18:04:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 55 17.02.2025 18:04 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32424 ФПД: 231031109752945 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T180416&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32424&fm=231031109752945&tin=02508201610067®Number=0000000000146237&sum=4900 0 [18:04:14]StoreToDocumentArchive [18:04:14]shift 382 fd 32424 [18:04:14]save to /storage/0382/doc_00032424 [18:04:14]save last doc name /storage/0382/doc_00032424 to /storage/kkm_last_doc_name [18:04:14]save OK [18:04:14]Clear old archive folders... [18:04:14]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:04:14]tlvbuf is 004CEE30 [18:04:14]SAM_PROTO_ClearQueue [18:04:14]wFMCommunicate request_size=4 [18:04:14]MH_SAM_APDU [18:04:14]CAPDU: 80 09 00 00 [18:04:14]Write to MH i2c: E2 08 00 BF 0D 80 09 00 00 00 00 00 00 3E [18:04:14]Write i2c OK [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 [18:04:14]MH_I2C_Read... [18:04:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:14]Read from MH i2c: E2 03 00 BF 0D 00 90 00 40 [18:04:14]RAPDU: 90 00 [18:04:14]wFMCommunicate OK [18:04:14]SAM_PROTO_ClearQueue done [18:04:14]KKMCreateOFDPacket [18:04:14]OFDProtocolAddRootSTLVToBuf [18:04:14]FM_MakeSignedData [18:04:14]FM_MakeSignedData [18:04:14]SAM_PROTO_SignData [18:04:14]wFMCommunicate request_size=4 [18:04:14]MH_SAM_APDU [18:04:14]CAPDU: 80 0D 01 02 [18:04:14]Write to MH i2c: E2 08 00 C0 0D 80 0D 01 02 00 00 00 00 46 [18:04:14]Write i2c OK [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 [18:04:14]MH_I2C_Read... [18:04:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:14]Read from MH i2c: E2 03 00 [18:04:14]MH_I2C_Read... [18:04:14]Read from MH i2c: E2 03 00 C0 0D 00 90 00 41 [18:04:14]RAPDU: 90 00 [18:04:14]wFMCommunicate OK [18:04:14]wFMCommunicate request_size=255 [18:04:14]MH_SAM_APDU [18:04: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 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 20 7A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 [18:04:14]Write to MH i2c: E2 02 01 C1 0D 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 20 7A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 00 00 32 [18:04:14]Write i2c OK [18:04:14]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 C1 0D 00 90 00 42 [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=37 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A8 7E 00 00 35 04 06 00 D2 1F 1F 3A 98 71 [18:04:15]Write to MH i2c: E2 28 00 C2 0D 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A8 7E 00 00 35 04 06 00 D2 1F 1F 3A 98 71 00 00 1C [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 03 00 C2 0D 00 90 00 43 [18:04:15]RAPDU: 90 00 [18:04:15]wFMCommunicate OK [18:04:15]wFMCommunicate request_size=4 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 0D 03 02 [18:04:15]Write to MH i2c: E2 08 00 C3 0D 80 0D 03 02 00 00 00 00 4B [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 0B 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 0B 00 C3 0D 00 44 3D 40 70 9B 44 A9 FE 90 00 03 [18:04:15]RAPDU: 44 3D 40 70 9B 44 A9 FE 90 00 [18:04:15]wFMCommunicate OK [18:04:15]SAM_PROTO_SignData done [18:04:15]FM_MakeSignedData done [18:04:15]CreateOFDProtocolMessage [18:04:15]wFMCommunicate request_size=4 [18:04:15]MH_SAM_APDU [18:04:15]CAPDU: 80 11 00 00 [18:04:15]Write to MH i2c: E2 08 00 C4 0D 80 11 00 00 00 00 00 00 4B [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:15]Read from MH i2c: E2 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 17 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: E2 17 00 C4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A1 [18:04:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [18:04:15]wFMCommunicate OK [18:04:15]CreateOFDProtocolMessage done [18:04:15]OFDSenderStorePacket 32424 [18:04:15]StoreOFDPacket docnum=32424 [18:04:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 0F 6F 22 01 73 BE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 20 7A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A8 7E 00 00 35 04 06 00 D2 1F 1F 3A 98 71 44 3D 40 70 9B 44 A9 FE [18:04:15]CheckFolder [18:04:15]dirname=/storage/ofd_packets [18:04:15]CheckFolder done [18:04:15]ProducePacketName [18:04:15]name=ofd_packets/00032424 [18:04:15]NVStorageSaveData ofd_packets/00032424 [18:04:15]File name is /storage/ofd_packets/00032424 [18:04:15]Write 328 bytes [18:04:15]NVStorageSaveData done [18:04:15]OFDSenderStorePacket done [18:04:15]KKMCreateOFDPacket done [18:04:15]NVStorageSaveData kkm_last_timestamp [18:04:15]File name is /storage/kkm_last_timestamp [18:04:15]Write 4 bytes [18:04:15]NVStorageSaveData done [18:04:15]ExternCall_PrintAddStr [18:04:15]wPrintStart [18:04:15]Write to MH i2c: 01 00 00 C5 0D D2 [18:04:15]Write i2c OK [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: 01 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: 01 07 00 [18:04:15]MH_I2C_Read... [18:04:15]Read from MH i2c: 01 07 00 C5 0D 00 00 00 00 00 FF 0F E7 [18:04:15]RasterBufferAndPrint [18:04:15]line Счет N : (3)130667 [18:04:15]line ИНН: 02508201610067 [18:04:15]line Контрольно-Кассовый Чек [18:04:15]line ПРОДАЖА [18:04:15]line Товар: 4700000310036 [18:04:15]line Вода Жалалабат 27 0,5л [18:04:15]line 1.000 * 49.00 [18:04:15]line = 49.00 [18:04:15]line НДС 12% НСП 1% [18:04:15]line > о реализуемом товаре [18:04:15]line ИТОГО: 49.00 [18:04:15]line НСП 1% : 0.43 [18:04:15]line НДС 12% : 5.20 [18:04:15]line Наличными: 49.00 [18:04:15]line Безнал.: 0.00 [18:04:15]line Место: АЗС № 96 "Партнер Нефть" [18:04:15]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [18:04:15]line СНО: Общий режим [18:04:15]line Чек 55 17.02.2025 18:04 [18:04:15]line Смена: 382 ФФД: 1.0 [18:04:15]line ЗНМ: 0300000059 [18:04:15]line РНМ: 0000000000146237 [18:04:15]line Версия ККМ: v1.0 [18:04:15]line ФМ: 0000000000959282 [18:04:15]line ФД: 32424 [18:04:15]line ФПД: 231031109752945 [18:04:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T180416&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32424&fm=231031109752945&tin=02508201610067®Number=0000000000146237&sum=4900 [18:04:15]line 0 [18:04:15]OFD Sender: Processing packet 32424 [packets to send 104, broken 103] [18:04:15]ProducePacketName [18:04:15]name=ofd_packets/00032424 [18:04:15]OFD Sender: To server: pG, [18:04:15]CommunicateWithHost lk.salyk.kg:30040 [18:04:15]ConnectInit lk.salyk.kg [18:04:15]written 0, free lines is 4095 [18:04:15]Connected sock=11 [18:04:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 0F 6F 22 01 73 BE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 20 7A B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A8 7E 00 00 35 04 06 00 D2 1F 1F 3A 98 71 44 3D 40 70 9B 44 A9 FE [18:04:16]Write to MH i2c: 01 00 00 ED 0D FA [18:04:16]Write i2c OK [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 07 00 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: 01 07 00 ED 0D 00 00 00 00 00 10 0D 1E [18:04:16]RasterBufferAndPrint [18:04:16]line [18:04:16]line [18:04:16]line [18:04:16]line [18:04:16]line [18:04:16]written 0, free lines is 3350 [18:04:16]MH_Cut [18:04:16]Write to MH i2c: D1 01 00 F4 0D 01 D3 [18:04:16]Write i2c OK [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: D1 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: D1 01 00 [18:04:16]MH_I2C_Read... [18:04:16]Read from MH i2c: D1 01 00 F4 0D 00 D2 [18:04:16]Write to MH i2c: 01 00 00 F5 0D 02 [18:04:16]Write i2c OK [18:04:16]MH_I2C_Read... [18:04:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 2F C6 47 00 4D 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A8 7E 00 00 F4 03 04 00 C3 23 B3 67 B6 04 01 00 00 BF A2 7B C8 9C 18 E1 49 [18:04:16]CommunicateWithHost err = 0 [18:04:16]CheckOFDResponse [18:04:16]1017 (14) - 77093643461234 [18:04:16]1041 (16) - 0000000000959282 [18:04:16]1040 (4) - 32424 [18:04:16]1012 (4) - 17.02.2025 11:55 [18:04:16]1206 (1) - 0 [18:04:16]OFD Sender: Remove packet 32424 [18:04:16]ProducePacketName [18:04:16]name=ofd_packets/00032424 [18:04:16]NVStorageDeleteData [18:04:16]OFD Sender: No OFD packet to send [18:04:16]*** Cut start [18:04:16]*** Partial cut [18:04:16]*** CUTSNS_PIN = 1 [18:04:16]*** CUTSNS_PIN = 0 [18:04:16]*** Brake cut motor [18:04:17]Read from MH i2c: 01 [18:04:17]MH_I2C_Read... [18:04:17]*** Stop cut motor [18:04:17]*** Cut end [18:04:17]Read from MH i2c: 01 07 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: 01 07 00 F5 0D 00 00 00 00 00 FF 0F 17 [18:04:17]process_action close_receipt done [18:04:17]requested_data is exist [18:04:17]produce_requested_data [18:04:17]requested_item fm.sn is exist - process it [18:04:17]wFMCommunicate request_size=4 [18:04:17]MH_SAM_APDU [18:04:17]CAPDU: 80 11 00 00 [18:04:17]Write to MH i2c: E2 08 00 F6 0D 80 11 00 00 00 00 00 00 7D [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:17]Read from MH i2c: E2 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 17 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 17 00 F6 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D3 [18:04:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [18:04:17]wFMCommunicate OK [18:04:17]requested_item fd.num is exist - process it [18:04:17]SAM_PROTO_GetFieldsCounters [18:04:17]wFMCommunicate request_size=4 [18:04:17]MH_SAM_APDU [18:04:17]CAPDU: 80 13 00 00 [18:04:17]Write to MH i2c: E2 08 00 F7 0D 80 13 00 00 00 00 00 00 80 [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:17]Read from MH i2c: E2 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 62 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 62 00 F7 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A8 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [18:04:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A8 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:04:17]wFMCommunicate OK [18:04:17]SAM_PROTO_GetFieldsCounters done [18:04:17]requested_item shift.num is exist - process it [18:04:17]requested_item shift.opened is exist - process it [18:04:17]req_shift_opened [18:04:17]FM_GetShiftState [18:04:17]SAM_PROTO_GetShiftState [18:04:17]wFMCommunicate request_size=4 [18:04:17]MH_SAM_APDU [18:04:17]CAPDU: 80 13 01 00 [18:04:17]Write to MH i2c: E2 08 00 F8 0D 80 13 01 00 00 00 00 00 82 [18:04:17]Write i2c OK [18:04:17]MH_I2C_Read... [18:04:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:17]Read from MH i2c: E2 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 0E 00 [18:04:17]MH_I2C_Read... [18:04:17]Read from MH i2c: E2 0E 00 F8 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 68 [18:04:17]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [18:04:17]wFMCommunicate OK [18:04:17]SAM_PROTO_GetShiftState done [18:04:17]FM_GetShiftState done [18:04:17]req_shift_opened done [18:04:17]requested_item shift.open_date is exist - process it [18:04:17]req_shift_open_date [18:04:17]req_shift_open_date done [18:04:17]produce_requested_data done [18:04:17]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32424,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [18:04:17]process_action_free close_receipt [18:04:17]json_value_free [18:04:17]json_value_free done [18:04:17]process_json_proto returns [18:04:17]Send response to host [18:04:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32424,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [18:04:17]free response buf [18:04:17]execute_script done [18:04:17]execute_script returns [18:04:17]free content buf [18:04:17]Sock 7.Close socket [18:04:17]Sock 7.Thread stoped [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:42]OFD Sender: No OFD packet to send [18:15:47]OFD Sender: No OFD packet to send [18:15:52]OFD Sender: No OFD packet to send [18:15:57]OFD Sender: No OFD packet to send [18:16:02]OFD Sender: No OFD packet to send [18:16:07]OFD Sender: No OFD packet to send [18:16:12]OFD Sender: No OFD packet to send [18:16:17]OFD Sender: No OFD packet to send [18:16:22]OFD Sender: No OFD packet to send [18:16:27]OFD Sender: No OFD packet to send [18:16:32]OFD Sender: No OFD packet to send [18:16:37]OFD Sender: No OFD packet to send [18:16:42]OFD Sender: No OFD packet to send [18:16:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:11]OFD Sender: No OFD packet to send [19:10:16]OFD Sender: No OFD packet to send [19:10:21]OFD Sender: No OFD packet to send [19:10:26]OFD Sender: No OFD packet to send [19:10:31]OFD Sender: No OFD packet to send [19:10:31]ConnectInit Can't connect to host [19:10:36]OFD Sender: No OFD packet to send [19:10:41]OFD Sender: No OFD packet to send [19:10:46]OFD Sender: No OFD packet to send [19:10:51]OFD Sender: No OFD packet to send [19:10:56]OFD Sender: No OFD packet to send [19:11:01]OFD Sender: No OFD packet to send [19:11:06]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:32]OFD Sender: No OFD packet to send [19:36:37]OFD Sender: No OFD packet to send [19:36:42]OFD Sender: No OFD packet to send [19:36:47]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:02]OFD Sender: No OFD packet to send [19:37:07]OFD Sender: No OFD packet to send [19:37:12]OFD Sender: No OFD packet to send [19:37:17]OFD Sender: No OFD packet to send [19:37:22]OFD Sender: No OFD packet to send [19:37:27]OFD Sender: No OFD packet to send [19:37:32]OFD Sender: No OFD packet to send [19:37:37]OFD Sender: No OFD packet to send [19:37:42]OFD Sender: No OFD packet to send [19:37:47]OFD Sender: No OFD packet to send [19:37:52]OFD Sender: No OFD packet to send [19:37:57]OFD Sender: No OFD packet to send [19:38:02]OFD Sender: No OFD packet to send [19:38:07]OFD Sender: No OFD packet to send [19:38:12]OFD Sender: No OFD packet to send [19:38:17]OFD Sender: No OFD packet to send [19:38:22]OFD Sender: No OFD packet to send [19:38:27]OFD Sender: No OFD packet to send [19:38:32]OFD Sender: No OFD packet to send [19:38:37]OFD Sender: No OFD packet to send [19:38:42]OFD Sender: No OFD packet to send [19:38:47]OFD Sender: No OFD packet to send [19:38:52]OFD Sender: No OFD packet to send [19:38:57]OFD Sender: No OFD packet to send [19:39:02]OFD Sender: No OFD packet to send [19:39:07]OFD Sender: No OFD packet to send [19:39:12]OFD Sender: No OFD packet to send [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]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:44]accept exits with 9 [19:45:44]New connection [19:45:44]New thread 3067411812 created [19:45:44]Thread 3067555172 joined [19:45:44]Waiting for new connection... [19:45:44] Sock 9.Parse request [19:45:44]Sock 9.Check first char [19:45:44]Sock 9.First char is OK [19:45:44]request: POST /json_proto HTTP/1.0 [19:45:44]Method: POST [19:45:44]URL: /json_proto [19:45:44]Method is POST - this is cgi request [19:45:44]url: /json_proto [19:45:44]query_string will be loaded in cgi processing [19:45:44]execute_cgi json_proto POST (null) [19:45:44]execute_cgi path=json_proto method=POST [19:45:44]POST find Content-Length [19:45:44]Host: 172.17.47.135:8080 [19:45:44]Content-Length: 658 [19:45:44]Content-Type: application/json [19:45:44] [19:45:44]POST finish read [19:45:44]Found Content-Length = 658 [19:45:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130668", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 219.00, "quantity" : 1.000, "sum" : 219.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:45:44]execute_script... [19:45: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)130668", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 219.00, "quantity" : 1.000, "sum" : 219.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:45:44]POST & json_proto [19:45:44]process_json_proto [19:45:44]json parsed OK: [19:45:44]protocol is kg_v1.0 [19:45:44]action value=close_receipt [19:45:44]process_action close_receipt [19:45:44]cmd_close_receipt [19:45:44]MH_GetDate [19:45:44]Write to MH i2c: F0 00 00 F9 0D F5 [19:45:44]Write i2c OK [19:45:44]MH_I2C_Read... [19:45:44]Read from MH i2c: F0 [19:45:44]MH_I2C_Read... [19:45:44]Read from MH i2c: F0 09 00 [19:45:44]MH_I2C_Read... [19:45:44]Read from MH i2c: F0 09 00 F9 0D 00 EB 91 B3 67 19 D8 DE 66 C9 [19:45:44]GetLastDocTimeStamp 1739815456 [19:45:44]current date 1739821547 [19:45:44]FM_GetShiftState [19:45:44]SAM_PROTO_GetShiftState [19:45:44]wFMCommunicate request_size=4 [19:45:44]MH_SAM_APDU [19:45:44]CAPDU: 80 13 01 00 [19:45:44]Write to MH i2c: E2 08 00 FA 0D 80 13 01 00 00 00 00 00 84 [19:45:44]Write i2c OK [19:45:44]MH_I2C_Read... [19:45:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:45:44]Read from MH i2c: E2 [19:45:44]MH_I2C_Read... [19:45:44]Read from MH i2c: E2 0E 00 [19:45:44]MH_I2C_Read... [19:45:44]Read from MH i2c: E2 0E 00 FA 0D 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6A [19:45:44]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [19:45:44]wFMCommunicate OK [19:45:44]SAM_PROTO_GetShiftState done [19:45:44]FM_GetShiftState done [19:45:44]opened in 1739750979 [19:45:44]opened+sec_in_day 1739837379 [19:45:44]quantity*price = 21900 [19:45:44]sum+1 = 21901 [19:45:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 219.00 НСП 1% : 1.94 НДС 12% : 23.26 Наличными: 219.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 56 17.02.2025 19:45 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32425 ФПД: 187554387008538 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T194547&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32425&fm=187554387008538&tin=02508201610067®Number=0000000000146237&sum=21900 0 [19:45:45]StoreToDocumentArchive [19:45:45]shift 382 fd 32425 [19:45:45]save to /storage/0382/doc_00032425 [19:45:45]save last doc name /storage/0382/doc_00032425 to /storage/kkm_last_doc_name [19:45:45]save OK [19:45:45]Clear old archive folders... [19:45:45]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:45:45]tlvbuf is 004CF140 [19:45:45]SAM_PROTO_ClearQueue [19:45:45]wFMCommunicate request_size=4 [19:45:45]MH_SAM_APDU [19:45:45]CAPDU: 80 09 00 00 [19:45:45]Write to MH i2c: E2 08 00 07 0E 80 09 00 00 00 00 00 00 87 [19:45:45]Write i2c OK [19:45:45]MH_I2C_Read... [19:45:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:45:45]Read from MH i2c: E2 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 07 0E 00 90 00 89 [19:45:45]RAPDU: 90 00 [19:45:45]wFMCommunicate OK [19:45:45]SAM_PROTO_ClearQueue done [19:45:45]KKMCreateOFDPacket [19:45:45]OFDProtocolAddRootSTLVToBuf [19:45:45]FM_MakeSignedData [19:45:45]FM_MakeSignedData [19:45:45]SAM_PROTO_SignData [19:45:45]wFMCommunicate request_size=4 [19:45:45]MH_SAM_APDU [19:45:45]CAPDU: 80 0D 01 02 [19:45:45]Write to MH i2c: E2 08 00 08 0E 80 0D 01 02 00 00 00 00 8F [19:45:45]Write i2c OK [19:45:45]MH_I2C_Read... [19:45:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:45:45]Read from MH i2c: E2 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 08 0E 00 90 00 8A [19:45:45]RAPDU: 90 00 [19:45:45]wFMCommunicate OK [19:45:45]wFMCommunicate request_size=255 [19:45:45]MH_SAM_APDU [19:45:45]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 55 00 00 00 00 13 04 06 00 8C 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EB 91 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 [19:45:45]Write to MH i2c: E2 02 01 09 0E 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 55 00 00 00 00 13 04 06 00 8C 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EB 91 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 00 00 35 [19:45:45]Write i2c OK [19:45:45]MH_I2C_Read... [19:45:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:45:45]Read from MH i2c: E2 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 [19:45:45]MH_I2C_Read... [19:45:45]Read from MH i2c: E2 03 00 09 0E 00 90 00 8B [19:45:45]RAPDU: 90 00 [19:45:45]wFMCommunicate OK [19:45:45]wFMCommunicate request_size=37 [19:45:45]MH_SAM_APDU [19:45:45]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A9 7E 00 00 35 04 06 00 AA 94 68 9D 1C 1A [19:45:45]Write to MH i2c: E2 28 00 0A 0E 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A9 7E 00 00 35 04 06 00 AA 94 68 9D 1C 1A 00 00 8C [19:45:45]Write i2c OK [19:45:45]MH_I2C_Read... [19:45:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:45:46]Read from MH i2c: E2 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 03 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 03 00 0A 0E 00 90 00 8C [19:45:46]RAPDU: 90 00 [19:45:46]wFMCommunicate OK [19:45:46]wFMCommunicate request_size=4 [19:45:46]MH_SAM_APDU [19:45:46]CAPDU: 80 0D 03 02 [19:45:46]Write to MH i2c: E2 08 00 0B 0E 80 0D 03 02 00 00 00 00 94 [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:45:46]Read from MH i2c: E2 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 0B 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 0B 00 0B 0E 00 F6 3D 3D CF 01 D9 1D 37 90 00 02 [19:45:46]RAPDU: F6 3D 3D CF 01 D9 1D 37 90 00 [19:45:46]wFMCommunicate OK [19:45:46]SAM_PROTO_SignData done [19:45:46]FM_MakeSignedData done [19:45:46]CreateOFDProtocolMessage [19:45:46]wFMCommunicate request_size=4 [19:45:46]MH_SAM_APDU [19:45:46]CAPDU: 80 11 00 00 [19:45:46]Write to MH i2c: E2 08 00 0C 0E 80 11 00 00 00 00 00 00 94 [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:45:46]Read from MH i2c: E2 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 17 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: E2 17 00 0C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 EA [19:45:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [19:45:46]wFMCommunicate OK [19:45:46]CreateOFDProtocolMessage done [19:45:46]OFDSenderStorePacket 32425 [19:45:46]StoreOFDPacket docnum=32425 [19:45:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 96 50 22 01 19 4F 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 55 00 00 00 00 13 04 06 00 8C 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EB 91 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A9 7E 00 00 35 04 06 00 AA 94 68 9D 1C 1A F6 3D 3D CF 01 D9 1D 37 [19:45:46]CheckFolder [19:45:46]dirname=/storage/ofd_packets [19:45:46]CheckFolder done [19:45:46]ProducePacketName [19:45:46]name=ofd_packets/00032425 [19:45:46]NVStorageSaveData ofd_packets/00032425 [19:45:46]File name is /storage/ofd_packets/00032425 [19:45:46]Write 328 bytes [19:45:46]NVStorageSaveData done [19:45:46]OFDSenderStorePacket done [19:45:46]KKMCreateOFDPacket done [19:45:46]NVStorageSaveData kkm_last_timestamp [19:45:46]File name is /storage/kkm_last_timestamp [19:45:46]Write 4 bytes [19:45:46]NVStorageSaveData done [19:45:46]ExternCall_PrintAddStr [19:45:46]wPrintStart [19:45:46]Write to MH i2c: 01 00 00 0D 0E 1B [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 07 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 07 00 0D 0E 00 00 00 00 00 FF 0F 30 [19:45:46]RasterBufferAndPrint [19:45:46]line Счет N : (3)130668 [19:45:46]line ИНН: 02508201610067 [19:45:46]line Контрольно-Кассовый Чек [19:45:46]line ПРОДАЖА [19:45:46]line Товар: 5449000000286 [19:45:46]line Напиток Кока-Кола 2л [19:45:46]line 1.000 * 219.00 [19:45:46]line = 219.00 [19:45:46]line НДС 12% НСП 1% [19:45:46]line > о реализуемом товаре [19:45:46]line ИТОГО: 219.00 [19:45:46]line НСП 1% : 1.94 [19:45:46]line НДС 12% : 23.26 [19:45:46]line Наличными: 219.00 [19:45:46]line Безнал.: 0.00 [19:45:46]line Место: АЗС № 96 "Партнер Нефть" [19:45:46]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [19:45:46]line СНО: Общий режим [19:45:46]line Чек 56 17.02.2025 19:45 [19:45:46]line Смена: 382 ФФД: 1.0 [19:45:46]line ЗНМ: 0300000059 [19:45:46]line РНМ: 0000000000146237 [19:45:46]line Версия ККМ: v1.0 [19:45:46]line ФМ: 0000000000959282 [19:45:46]line ФД: 32425 [19:45:46]line ФПД: 187554387008538 [19:45:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T194547&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32425&fm=187554387008538&tin=02508201610067®Number=0000000000146237&sum=21900 [19:45:46]OFD Sender: Processing packet 32425 [packets to send 104, broken 103] [19:45:46]ProducePacketName [19:45:46]name=ofd_packets/00032425 [19:45:46]OFD Sender: To server: pG, [19:45:46]CommunicateWithHost lk.salyk.kg:30040 [19:45:46]ConnectInit lk.salyk.kg [19:45:46]line 0 [19:45:46]written 0, free lines is 4095 [19:45:46]Write to MH i2c: 01 00 00 35 0E 43 [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 07 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: 01 07 00 35 0E 00 00 00 00 00 1D 0D 74 [19:45:46]RasterBufferAndPrint [19:45:46]line [19:45:46]line [19:45:46]line [19:45:46]line [19:45:46]line [19:45:46]written 0, free lines is 3363 [19:45:46]MH_Cut [19:45:46]Write to MH i2c: D1 01 00 3C 0E 01 1C [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: D1 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: D1 01 00 [19:45:46]MH_I2C_Read... [19:45:46]Read from MH i2c: D1 01 00 3C 0E 00 1B [19:45:46]Write to MH i2c: 01 00 00 3D 0E 4B [19:45:46]Write i2c OK [19:45:46]MH_I2C_Read... [19:45:47]Connected sock=11 [19:45:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 96 50 22 01 19 4F 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 55 00 00 00 00 13 04 06 00 8C 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 EB 91 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A9 7E 00 00 35 04 06 00 AA 94 68 9D 1C 1A F6 3D 3D CF 01 D9 1D 37 [19:45:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 51 9A 47 00 9B 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 A9 7E 00 00 F4 03 04 00 8E 3B B3 67 B6 04 01 00 00 D8 FD 98 F1 5F 86 A9 2D [19:45:47]CommunicateWithHost err = 0 [19:45:47]CheckOFDResponse [19:45:47]1017 (14) - 77093643461234 [19:45:47]1041 (16) - 0000000000959282 [19:45:47]1040 (4) - 32425 [19:45:47]1012 (4) - 17.02.2025 13:37 [19:45:47]1206 (1) - 0 [19:45:47]OFD Sender: Remove packet 32425 [19:45:47]ProducePacketName [19:45:47]name=ofd_packets/00032425 [19:45:47]NVStorageDeleteData [19:45:47]*** Cut start [19:45:47]*** Partial cut [19:45:47]*** CUTSNS_PIN = 1 [19:45:47]*** CUTSNS_PIN = 0 [19:45:47]OFD Sender: No OFD packet to send [19:45:47]*** Brake cut motor [19:45:48]Read from MH i2c: 01 [19:45:48]MH_I2C_Read... [19:45:48]*** Stop cut motor [19:45:48]*** Cut end [19:45:48]Read from MH i2c: 01 07 00 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: 01 07 00 3D 0E 00 00 00 00 00 FF 0F 60 [19:45:48]process_action close_receipt done [19:45:48]requested_data is exist [19:45:48]produce_requested_data [19:45:48]requested_item fm.sn is exist - process it [19:45:48]wFMCommunicate request_size=4 [19:45:48]MH_SAM_APDU [19:45:48]CAPDU: 80 11 00 00 [19:45:48]Write to MH i2c: E2 08 00 3E 0E 80 11 00 00 00 00 00 00 C6 [19:45:48]Write i2c OK [19:45:48]MH_I2C_Read... [19:45:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:45:48]Read from MH i2c: E2 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 17 00 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 17 00 3E 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1C [19:45:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [19:45:48]wFMCommunicate OK [19:45:48]requested_item fd.num is exist - process it [19:45:48]SAM_PROTO_GetFieldsCounters [19:45:48]wFMCommunicate request_size=4 [19:45:48]MH_SAM_APDU [19:45:48]CAPDU: 80 13 00 00 [19:45:48]Write to MH i2c: E2 08 00 3F 0E 80 13 00 00 00 00 00 00 C9 [19:45:48]Write i2c OK [19:45:48]MH_I2C_Read... [19:45:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:45:48]Read from MH i2c: E2 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 62 00 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 62 00 3F 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A9 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [19:45:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 A9 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:45:48]wFMCommunicate OK [19:45:48]SAM_PROTO_GetFieldsCounters done [19:45:48]requested_item shift.num is exist - process it [19:45:48]requested_item shift.opened is exist - process it [19:45:48]req_shift_opened [19:45:48]FM_GetShiftState [19:45:48]SAM_PROTO_GetShiftState [19:45:48]wFMCommunicate request_size=4 [19:45:48]MH_SAM_APDU [19:45:48]CAPDU: 80 13 01 00 [19:45:48]Write to MH i2c: E2 08 00 40 0E 80 13 01 00 00 00 00 00 CB [19:45:48]Write i2c OK [19:45:48]MH_I2C_Read... [19:45:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:45:48]Read from MH i2c: E2 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 0E 00 [19:45:48]MH_I2C_Read... [19:45:48]Read from MH i2c: E2 0E 00 40 0E 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B1 [19:45:48]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [19:45:48]wFMCommunicate OK [19:45:48]SAM_PROTO_GetShiftState done [19:45:48]FM_GetShiftState done [19:45:48]req_shift_opened done [19:45:48]requested_item shift.open_date is exist - process it [19:45:48]req_shift_open_date [19:45:48]req_shift_open_date done [19:45:48]produce_requested_data done [19:45:48]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32425,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [19:45:48]process_action_free close_receipt [19:45:48]json_value_free [19:45:48]json_value_free done [19:45:48]process_json_proto returns [19:45:48]Send response to host [19:45:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32425,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [19:45:48]free response buf [19:45:48]execute_script done [19:45:48]execute_script returns [19:45:48]free content buf [19:45:48]Sock 9.Close socket [19:45:48]Sock 9.Thread stoped [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:38]OFD Sender: No OFD packet to send [20:01:43]OFD Sender: No OFD packet to send [20:01:48]OFD Sender: No OFD packet to send [20:01:53]OFD Sender: No OFD packet to send [20:01:58]OFD Sender: No OFD packet to send [20:02:03]OFD Sender: No OFD packet to send [20:02:08]OFD Sender: No OFD packet to send [20:02:13]OFD Sender: No OFD packet to send [20:02:18]OFD Sender: No OFD packet to send [20:02:23]OFD Sender: No OFD packet to send [20:02:28]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04: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:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:02]accept exits with 7 [20:12:02]New connection [20:12:02]New thread 3067555172 created [20:12:02]Thread 3067411812 joined [20:12:02]Waiting for new connection... [20:12:02] Sock 7.Parse request [20:12:02]Sock 7.Check first char [20:12:02]Sock 7.First char is OK [20:12:02]request: POST /json_proto HTTP/1.0 [20:12:02]Method: POST [20:12:02]URL: /json_proto [20:12:02]Method is POST - this is cgi request [20:12:02]url: /json_proto [20:12:02]query_string will be loaded in cgi processing [20:12:02]execute_cgi json_proto POST (null) [20:12:02]execute_cgi path=json_proto method=POST [20:12:02]POST find Content-Length [20:12:02]Host: 172.17.47.135:8080 [20:12:02]Content-Length: 621 [20:12:02]Content-Type: application/json [20:12:02] [20:12:02]POST finish read [20:12:02]Found Content-Length = 621 [20:12:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130670", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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" ] } } [20:12:02]execute_script... [20:12: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)130670", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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" ] } } [20:12:02]POST & json_proto [20:12:02]process_json_proto [20:12:02]json parsed OK: [20:12:02]protocol is kg_v1.0 [20:12:02]action value=close_receipt [20:12:02]process_action close_receipt [20:12:02]cmd_close_receipt [20:12:02]MH_GetDate [20:12:02]Write to MH i2c: F0 00 00 41 0E 3E [20:12:02]Write i2c OK [20:12:02]MH_I2C_Read... [20:12:02]Read from MH i2c: F0 [20:12:02]MH_I2C_Read... [20:12:02]Read from MH i2c: F0 09 00 [20:12:02]MH_I2C_Read... [20:12:02]Read from MH i2c: F0 09 00 41 0E 00 15 98 B3 67 19 D8 DE 66 43 [20:12:02]GetLastDocTimeStamp 1739821547 [20:12:02]current date 1739823125 [20:12:02]FM_GetShiftState [20:12:02]SAM_PROTO_GetShiftState [20:12:02]wFMCommunicate request_size=4 [20:12:02]MH_SAM_APDU [20:12:02]CAPDU: 80 13 01 00 [20:12:02]Write to MH i2c: E2 08 00 42 0E 80 13 01 00 00 00 00 00 CD [20:12:02]Write i2c OK [20:12:02]MH_I2C_Read... [20:12:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:02]Read from MH i2c: E2 [20:12:02]MH_I2C_Read... [20:12:02]Read from MH i2c: E2 0E 00 [20:12:02]MH_I2C_Read... [20:12:02]Read from MH i2c: E2 0E 00 42 0E 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B3 [20:12:02]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:12:02]wFMCommunicate OK [20:12:02]SAM_PROTO_GetShiftState done [20:12:02]FM_GetShiftState done [20:12:02]opened in 1739750979 [20:12:02]opened+sec_in_day 1739837379 [20:12:02]quantity*price = 15100 [20:12:02]sum+1 = 15101 [20:12:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 57 17.02.2025 20:12 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32426 ФПД: 116396838845914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201205&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32426&fm=116396838845914&tin=02508201610067®Number=0000000000146237&sum=15100 0 [20:12:03]StoreToDocumentArchive [20:12:03]shift 382 fd 32426 [20:12:03]save to /storage/0382/doc_00032426 [20:12:03]save last doc name /storage/0382/doc_00032426 to /storage/kkm_last_doc_name [20:12:03]save OK [20:12:03]Clear old archive folders... [20:12:03]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:12:03]tlvbuf is 004A40C0 [20:12:03]SAM_PROTO_ClearQueue [20:12:03]wFMCommunicate request_size=4 [20:12:03]MH_SAM_APDU [20:12:03]CAPDU: 80 09 00 00 [20:12:03]Write to MH i2c: E2 08 00 4F 0E 80 09 00 00 00 00 00 00 CF [20:12:03]Write i2c OK [20:12:03]MH_I2C_Read... [20:12:03]Read from MH i2c: E2 [20:12:03]MH_I2C_Read... [20:12:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:12:03]Read from MH i2c: E2 03 00 [20:12:03]MH_I2C_Read... [20:12:03]Read from MH i2c: E2 03 00 4F 0E 00 90 00 D1 [20:12:03]RAPDU: 90 00 [20:12:03]wFMCommunicate OK [20:12:03]SAM_PROTO_ClearQueue done [20:12:03]KKMCreateOFDPacket [20:12:03]OFDProtocolAddRootSTLVToBuf [20:12:03]FM_MakeSignedData [20:12:03]FM_MakeSignedData [20:12:03]SAM_PROTO_SignData [20:12:03]wFMCommunicate request_size=4 [20:12:03]MH_SAM_APDU [20:12:03]CAPDU: 80 0D 01 02 [20:12:03]Write to MH i2c: E2 08 00 50 0E 80 0D 01 02 00 00 00 00 D7 [20:12:03]Write i2c OK [20:12:03]MH_I2C_Read... [20:12:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:12:03]Read from MH i2c: E2 [20:12:03]MH_I2C_Read... [20:12:03]Read from MH i2c: E2 03 00 [20:12:03]MH_I2C_Read... [20:12:03]Read from MH i2c: E2 03 00 50 0E 00 90 00 D2 [20:12:03]RAPDU: 90 00 [20:12:03]wFMCommunicate OK [20:12:03]wFMCommunicate request_size=255 [20:12:03]MH_SAM_APDU [20:12:03]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 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 39 00 00 00 F4 03 04 00 15 98 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 [20:12:03]Write to MH i2c: E2 02 01 51 0E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 39 00 00 00 F4 03 04 00 15 98 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 00 00 08 [20:12:03]Write i2c OK [20:12:03]MH_I2C_Read... [20:12:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:04]Read from MH i2c: E2 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 03 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 03 00 51 0E 00 90 00 D3 [20:12:04]RAPDU: 90 00 [20:12:04]wFMCommunicate OK [20:12:04]wFMCommunicate request_size=32 [20:12:04]MH_SAM_APDU [20:12:04]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 32 38 32 10 04 04 00 AA 7E 00 00 35 04 06 00 69 DC C0 3B 7D DA [20:12:04]Write to MH i2c: E2 23 00 52 0E 80 0D 02 02 1B 00 30 30 30 39 35 39 32 38 32 10 04 04 00 AA 7E 00 00 35 04 06 00 69 DC C0 3B 7D DA 00 00 F9 [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:04]Read from MH i2c: E2 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 03 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 03 00 52 0E 00 90 00 D4 [20:12:04]RAPDU: 90 00 [20:12:04]wFMCommunicate OK [20:12:04]wFMCommunicate request_size=4 [20:12:04]MH_SAM_APDU [20:12:04]CAPDU: 80 0D 03 02 [20:12:04]Write to MH i2c: E2 08 00 53 0E 80 0D 03 02 00 00 00 00 DC [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:12:04]Read from MH i2c: E2 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 0B 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 0B 00 53 0E 00 E6 37 1E 34 D8 74 04 7E 90 00 1A [20:12:04]RAPDU: E6 37 1E 34 D8 74 04 7E 90 00 [20:12:04]wFMCommunicate OK [20:12:04]SAM_PROTO_SignData done [20:12:04]FM_MakeSignedData done [20:12:04]CreateOFDProtocolMessage [20:12:04]wFMCommunicate request_size=4 [20:12:04]MH_SAM_APDU [20:12:04]CAPDU: 80 11 00 00 [20:12:04]Write to MH i2c: E2 08 00 54 0E 80 11 00 00 00 00 00 00 DC [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:04]Read from MH i2c: E2 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 17 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: E2 17 00 54 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 32 [20:12:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:12:04]wFMCommunicate OK [20:12:04]CreateOFDProtocolMessage done [20:12:04]OFDSenderStorePacket 32426 [20:12:04]StoreOFDPacket docnum=32426 [20:12:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 9A 88 1D 01 E9 27 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 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 39 00 00 00 F4 03 04 00 15 98 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AA 7E 00 00 35 04 06 00 69 DC C0 3B 7D DA E6 37 1E 34 D8 74 04 7E [20:12:04]CheckFolder [20:12:04]dirname=/storage/ofd_packets [20:12:04]CheckFolder done [20:12:04]ProducePacketName [20:12:04]name=ofd_packets/00032426 [20:12:04]NVStorageSaveData ofd_packets/00032426 [20:12:04]File name is /storage/ofd_packets/00032426 [20:12:04]Write 323 bytes [20:12:04]NVStorageSaveData done [20:12:04]OFDSenderStorePacket done [20:12:04]KKMCreateOFDPacket done [20:12:04]NVStorageSaveData kkm_last_timestamp [20:12:04]File name is /storage/kkm_last_timestamp [20:12:04]Write 4 bytes [20:12:04]NVStorageSaveData done [20:12:04]ExternCall_PrintAddStr [20:12:04]wPrintStart [20:12:04]Write to MH i2c: 01 00 00 55 0E 63 [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 07 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 07 00 55 0E 00 00 00 00 00 FF 0F 78 [20:12:04]RasterBufferAndPrint [20:12:04]line Счет N : (3)130670 [20:12:04]line ИНН: 02508201610067 [20:12:04]line Контрольно-Кассовый Чек [20:12:04]line ПРОДАЖА [20:12:04]line Товар: 48743570 [20:12:04]line Сигареты Winston XStyle Blue [20:12:04]line 1.000 * 151.00 [20:12:04]line = 151.00 [20:12:04]line НДС 12% НСП 1% [20:12:04]line > о реализуемом товаре [20:12:04]line ИТОГО: 151.00 [20:12:04]line НСП 1% : 1.34 [20:12:04]line НДС 12% : 16.03 [20:12:04]line Наличными: 151.00 [20:12:04]line Безнал.: 0.00 [20:12:04]line Место: АЗС № 96 "Партнер Нефть" [20:12:04]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:12:04]line СНО: Общий режим [20:12:04]line Чек 57 17.02.2025 20:12 [20:12:04]line Смена: 382 ФФД: 1.0 [20:12:04]line ЗНМ: 0300000059 [20:12:04]line РНМ: 0000000000146237 [20:12:04]line Версия ККМ: v1.0 [20:12:04]line ФМ: 0000000000959282 [20:12:04]line ФД: 32426 [20:12:04]line ФПД: 116396838845914 [20:12:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201205&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32426&fm=116396838845914&tin=02508201610067®Number=0000000000146237&sum=15100 [20:12:04]line 0 [20:12:04]OFD Sender: Processing packet 32426 [packets to send 104, broken 103] [20:12:04]ProducePacketName [20:12:04]name=ofd_packets/00032426 [20:12:04]OFD Sender: To server: pG, [20:12:04]CommunicateWithHost lk.salyk.kg:30040 [20:12:04]ConnectInit lk.salyk.kg [20:12:04]written 0, free lines is 4095 [20:12:04]Connected sock=11 [20:12:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 9A 88 1D 01 E9 27 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 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 39 00 00 00 F4 03 04 00 15 98 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AA 7E 00 00 35 04 06 00 69 DC C0 3B 7D DA E6 37 1E 34 D8 74 04 7E [20:12:04]Write to MH i2c: 01 00 00 7D 0E 8B [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 07 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: 01 07 00 7D 0E 00 00 00 00 00 09 0D A8 [20:12:04]RasterBufferAndPrint [20:12:04]line [20:12:04]line [20:12:04]line [20:12:04]line [20:12:04]line [20:12:04]written 0, free lines is 3343 [20:12:04]MH_Cut [20:12:04]Write to MH i2c: D1 01 00 84 0E 01 64 [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: D1 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: D1 01 00 [20:12:04]MH_I2C_Read... [20:12:04]Read from MH i2c: D1 01 00 84 0E 00 63 [20:12:04]Write to MH i2c: 01 00 00 85 0E 93 [20:12:04]Write i2c OK [20:12:04]MH_I2C_Read... [20:12:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 DB DC 47 00 55 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AA 7E 00 00 F4 03 04 00 B8 41 B3 67 B6 04 01 00 00 24 D1 E0 80 69 27 14 0B [20:12:05]CommunicateWithHost err = 0 [20:12:05]CheckOFDResponse [20:12:05]1017 (14) - 77093643461234 [20:12:05]1041 (16) - 0000000000959282 [20:12:05]1040 (4) - 32426 [20:12:05]1012 (4) - 17.02.2025 14:03 [20:12:05]1206 (1) - 0 [20:12:05]OFD Sender: Remove packet 32426 [20:12:05]ProducePacketName [20:12:05]name=ofd_packets/00032426 [20:12:05]NVStorageDeleteData [20:12:05]OFD Sender: No OFD packet to send [20:12:05]*** Cut start [20:12:05]*** Partial cut [20:12:05]*** CUTSNS_PIN = 1 [20:12:05]*** CUTSNS_PIN = 0 [20:12:05]*** Brake cut motor [20:12:06]Read from MH i2c: 01 [20:12:06]MH_I2C_Read... [20:12:06]*** Stop cut motor [20:12:06]*** Cut end [20:12:06]Read from MH i2c: 01 07 00 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: 01 07 00 85 0E 00 00 00 00 00 FF 0F A8 [20:12:06]process_action close_receipt done [20:12:06]requested_data is exist [20:12:06]produce_requested_data [20:12:06]requested_item fm.sn is exist - process it [20:12:06]wFMCommunicate request_size=4 [20:12:06]MH_SAM_APDU [20:12:06]CAPDU: 80 11 00 00 [20:12:06]Write to MH i2c: E2 08 00 86 0E 80 11 00 00 00 00 00 00 0E [20:12:06]Write i2c OK [20:12:06]MH_I2C_Read... [20:12:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:06]Read from MH i2c: E2 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 17 00 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 17 00 86 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 64 [20:12:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:12:06]wFMCommunicate OK [20:12:06]requested_item fd.num is exist - process it [20:12:06]SAM_PROTO_GetFieldsCounters [20:12:06]wFMCommunicate request_size=4 [20:12:06]MH_SAM_APDU [20:12:06]CAPDU: 80 13 00 00 [20:12:06]Write to MH i2c: E2 08 00 87 0E 80 13 00 00 00 00 00 00 11 [20:12:06]Write i2c OK [20:12:06]MH_I2C_Read... [20:12:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:06]Read from MH i2c: E2 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 62 00 [20:12:06]MH_I2C_Read... [20:12:06]Read from MH i2c: E2 62 00 87 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [20:12:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:06]wFMCommunicate OK [20:12:06]SAM_PROTO_GetFieldsCounters done [20:12:06]requested_item shift.num is exist - process it [20:12:06]requested_item shift.opened is exist - process it [20:12:06]req_shift_opened [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 88 0E 80 13 01 00 00 00 00 00 13 [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 88 0E 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F9 [20:12:06]RAPDU: 09 00 01 43 7E B2 67 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]req_shift_opened done [20:12:06]requested_item shift.open_date is exist - process it [20:12:06]req_shift_open_date [20:12:06]req_shift_open_date done [20:12:06]produce_requested_data done [20:12:06]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:12:06]process_action_free close_receipt [20:12:06]json_value_free [20:12:06]json_value_free done [20:12:06]process_json_proto returns [20:12:06]Send response to host [20:12:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:12:06]free response buf [20:12:06]execute_script done [20:12:06]execute_script returns [20:12:06]free content buf [20:12:06]Sock 7.Close socket [20:12:06]Sock 7.Thread stoped [20:12:10]OFD Sender: No OFD packet to send [20:12:12]accept exits with 9 [20:12:12]New connection [20:12:12]New thread 3067411812 created [20:12:12]Thread 3067555172 joined [20:12:12]Waiting for new connection... [20:12:12] Sock 9.Parse request [20:12:12]Sock 9.Check first char [20:12:12]Sock 9.First char is OK [20:12:12]request: POST /json_proto HTTP/1.0 [20:12:12]Method: POST [20:12:12]URL: /json_proto [20:12:12]Method is POST - this is cgi request [20:12:12]url: /json_proto [20:12:12]query_string will be loaded in cgi processing [20:12:12]execute_cgi json_proto POST (null) [20:12:12]execute_cgi path=json_proto method=POST [20:12:12]POST find Content-Length [20:12:12]Host: 172.17.47.135:8080 [20:12:12]Content-Length: 215 [20:12:12]Content-Type: application/json [20:12:12] [20:12:12]POST finish read [20:12:12]Found Content-Length = 215 [20:12:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:12]execute_script... [20:12:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:12]POST & json_proto [20:12:12]process_json_proto [20:12:12]json parsed OK: [20:12:12]protocol is kg_v1.0 [20:12:12]action value=get_value [20:12:12]process_action get_value [20:12:12]cmd_get_value [20:12:12]process_action get_value done [20:12:12]requested_data is exist [20:12:12]produce_requested_data [20:12:12]requested_item kkm.sn is exist - process it [20:12:12]requested_item kkm.ver is exist - process it [20:12:12]requested_item fm.sn is exist - process it [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 11 00 00 [20:12:12]Write to MH i2c: E2 08 00 89 0E 80 11 00 00 00 00 00 00 11 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 17 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 17 00 89 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 67 [20:12:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:12:12]wFMCommunicate OK [20:12:12]requested_item fd.num is exist - process it [20:12:12]SAM_PROTO_GetFieldsCounters [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 00 00 [20:12:12]Write to MH i2c: E2 08 00 8A 0E 80 13 00 00 00 00 00 00 14 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 8A 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [20:12:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:12]wFMCommunicate OK [20:12:12]SAM_PROTO_GetFieldsCounters done [20:12:12]requested_item shift.num is exist - process it [20:12:12]requested_item shift.opened is exist - process it [20:12:12]req_shift_opened [20:12:12]FM_GetShiftState [20:12:12]SAM_PROTO_GetShiftState [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 01 00 [20:12:12]Write to MH i2c: E2 08 00 8B 0E 80 13 01 00 00 00 00 00 16 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 0E 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 0E 00 8B 0E 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FC [20:12:12]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:12:12]wFMCommunicate OK [20:12:12]SAM_PROTO_GetShiftState done [20:12:12]FM_GetShiftState done [20:12:12]req_shift_opened done [20:12:12]requested_item shift.open_date is exist - process it [20:12:12]req_shift_open_date [20:12:12]req_shift_open_date done [20:12:12]produce_requested_data done [20:12:12]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:12:12]process_action_free get_value [20:12:12]json_value_free [20:12:12]json_value_free done [20:12:12]process_json_proto returns [20:12:12]Send response to host [20:12:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:12:12]free response buf [20:12:12]execute_script done [20:12:12]execute_script returns [20:12:12]free content buf [20:12:12]Sock 9.Close socket [20:12:12]Sock 9.Thread stoped [20:12:12]accept exits with 7 [20:12:12]New connection [20:12:12]New thread 3067555172 created [20:12:12]Thread 3067411812 joined [20:12:12]Waiting for new connection... [20:12:12] Sock 7.Parse request [20:12:12]Sock 7.Check first char [20:12:12]Sock 7.First char is OK [20:12:12]request: POST /json_proto HTTP/1.0 [20:12:12]Method: POST [20:12:12]URL: /json_proto [20:12:12]Method is POST - this is cgi request [20:12:12]url: /json_proto [20:12:12]query_string will be loaded in cgi processing [20:12:12]execute_cgi json_proto POST (null) [20:12:12]execute_cgi path=json_proto method=POST [20:12:12]POST find Content-Length [20:12:12]Host: 172.17.47.135:8080 [20:12:12]Content-Length: 331 [20:12:12]Content-Type: application/json [20:12:12] [20:12:12]POST finish read [20:12:12]Found Content-Length = 331 [20:12:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:12:12]execute_script... [20:12:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:12:12]POST & json_proto [20:12:12]process_json_proto [20:12:12]json parsed OK: [20:12:12]protocol is kg_v1.0 [20:12:12]action value=get_value [20:12:13]process_action get_value [20:12:13]cmd_get_value [20:12:13]process_action get_value done [20:12:13]requested_data is exist [20:12:13]produce_requested_data [20:12:13]requested_item fm.sale.total is exist - process it [20:12:13]SAM_PROTO_GetFMData [20:12:13]wFMCommunicate request_size=4 [20:12:13]MH_SAM_APDU [20:12:13]CAPDU: 80 13 03 00 [20:12:13]Write to MH i2c: E2 08 00 8C 0E 80 13 03 00 00 00 00 00 19 [20:12:13]Write i2c OK [20:12:13]MH_I2C_Read... [20:12:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:12:13]Read from MH i2c: E2 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 FD 00 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 FD 00 8C 0E 00 C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 15 [20:12:13]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [20:12:13]wFMCommunicate OK [20:12:13]wFMCommunicate request_size=4 [20:12:13]MH_SAM_APDU [20:12:13]CAPDU: 80 17 00 00 [20:12:13]Write to MH i2c: E2 08 00 8D 0E 80 17 00 00 00 00 00 00 1B [20:12:13]Write i2c OK [20:12:13]MH_I2C_Read... [20:12:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:14]Read from MH i2c: E2 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 8D 0E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 96 [20:12:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [20:12:14]wFMCommunicate OK [20:12:14]wFMCommunicate request_size=4 [20:12:14]MH_SAM_APDU [20:12:14]CAPDU: 80 17 00 00 [20:12:14]Write to MH i2c: E2 08 00 8E 0E 80 17 00 00 00 00 00 00 1C [20:12:14]Write i2c OK [20:12:14]MH_I2C_Read... [20:12:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:14]Read from MH i2c: E2 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 8E 0E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 31 [20:12:14]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:12:14]wFMCommunicate OK [20:12:14]wFMCommunicate request_size=4 [20:12:14]MH_SAM_APDU [20:12:14]CAPDU: 80 17 00 00 [20:12:14]Write to MH i2c: E2 08 00 8F 0E 80 17 00 00 00 00 00 00 1D [20:12:14]Write i2c OK [20:12:14]MH_I2C_Read... [20:12:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:14]Read from MH i2c: E2 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 FD 00 8F 0E 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 95 [20:12:14]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:12:14]wFMCommunicate OK [20:12:14]wFMCommunicate request_size=4 [20:12:14]MH_SAM_APDU [20:12:14]CAPDU: 80 17 00 00 [20:12:14]Write to MH i2c: E2 08 00 90 0E 80 17 00 00 00 00 00 00 1E [20:12:14]Write i2c OK [20:12:14]MH_I2C_Read... [20:12:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:12:14]Read from MH i2c: E2 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 E1 00 [20:12:14]MH_I2C_Read... [20:12:14]Read from MH i2c: E2 E1 00 90 0E 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0C [20:12:14]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:14]wFMCommunicate OK [20:12:14]SAM_PROTO_GetFMData done [20:12:14]requested_item fm.sale_refund.total is exist - process it [20:12:14]requested_item fm.buy.total is exist - process it [20:12:14]requested_item shift.sale.total is exist - process it [20:12:14]SAM_PROTO_GetShiftData [20:12:14]wFMCommunicate request_size=4 [20:12:14]MH_SAM_APDU [20:12:14]CAPDU: 80 13 02 00 [20:12:14]Write to MH i2c: E2 08 00 91 0E 80 13 02 00 00 00 00 00 1D [20:12:14]Write i2c OK [20:12:14]MH_I2C_Read... [20:12:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:12:15]Read from MH i2c: E2 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 91 0E 00 B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 FE [20:12:15]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [20:12:15]wFMCommunicate OK [20:12:15]wFMCommunicate request_size=4 [20:12:15]MH_SAM_APDU [20:12:15]CAPDU: 80 17 00 00 [20:12:15]Write to MH i2c: E2 08 00 92 0E 80 17 00 00 00 00 00 00 20 [20:12:15]Write i2c OK [20:12:15]MH_I2C_Read... [20:12:15]OFD Sender: No OFD packet to send [20:12:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:15]Read from MH i2c: E2 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 92 0E 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 23 [20:12:15]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [20:12:15]wFMCommunicate OK [20:12:15]wFMCommunicate request_size=4 [20:12:15]MH_SAM_APDU [20:12:15]CAPDU: 80 17 00 00 [20:12:15]Write to MH i2c: E2 08 00 93 0E 80 17 00 00 00 00 00 00 21 [20:12:15]Write i2c OK [20:12:15]MH_I2C_Read... [20:12:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:15]Read from MH i2c: E2 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 [20:12:15]MH_I2C_Read... [20:12:15]Read from MH i2c: E2 FD 00 93 0E 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 C3 [20:12:16]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [20:12:16]wFMCommunicate OK [20:12:16]wFMCommunicate request_size=4 [20:12:16]MH_SAM_APDU [20:12:16]CAPDU: 80 17 00 00 [20:12:16]Write to MH i2c: E2 08 00 94 0E 80 17 00 00 00 00 00 00 22 [20:12:16]Write i2c OK [20:12:16]MH_I2C_Read... [20:12:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:16]Read from MH i2c: E2 [20:12:16]MH_I2C_Read... [20:12:16]Read from MH i2c: E2 FD 00 [20:12:16]MH_I2C_Read... [20:12:16]Read from MH i2c: E2 FD 00 94 0E 00 03 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 90 00 AB [20:12:16]RAPDU: 03 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 90 00 [20:12:16]wFMCommunicate OK [20:12:16]wFMCommunicate request_size=4 [20:12:16]MH_SAM_APDU [20:12:16]CAPDU: 80 17 00 00 [20:12:16]Write to MH i2c: E2 08 00 95 0E 80 17 00 00 00 00 00 00 23 [20:12:16]Write i2c OK [20:12:16]MH_I2C_Read... [20:12:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [20:12:16]Read from MH i2c: E2 [20:12:16]MH_I2C_Read... [20:12:16]Read from MH i2c: E2 D5 00 [20:12:16]MH_I2C_Read... [20:12:16]Read from MH i2c: E2 D5 00 95 0E 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 04 [20:12:16]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:16]wFMCommunicate OK [20:12:16]SAM_PROTO_GetShiftData done [20:12:16]requested_item shift.sale.total_cash is exist - process it [20:12:16]requested_item shift.sale_refund.total is exist - process it [20:12:16]requested_item shift.sale_refund.total_cash is exist - process it [20:12:16]requested_item shift.buy.total is exist - process it [20:12:16]requested_item shift.buy.total_cash is exist - process it [20:12:16]produce_requested_data done [20:12:16]produce_requested_data return {"fm.sale.total":14707097.36,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":17761.61,"shift.sale.total_cash":10180.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [20:12:16]process_action_free get_value [20:12:16]json_value_free [20:12:16]json_value_free done [20:12:16]process_json_proto returns [20:12:16]Send response to host [20:12:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14707097.36,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":17761.61,"shift.sale.total_cash":10180.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [20:12:16]free response buf [20:12:16]execute_script done [20:12:16]execute_script returns [20:12:16]free content buf [20:12:16]Sock 7.Close socket [20:12:16]Sock 7.Thread stoped [20:12:16]accept exits with 9 [20:12:16]New connection [20:12:16]New thread 3067411812 created [20:12:16]Thread 3067555172 joined [20:12:16]Waiting for new connection... [20:12:16] Sock 9.Parse request [20:12:16]Sock 9.Check first char [20:12:16]Sock 9.First char is OK [20:12:16]request: POST /json_proto HTTP/1.0 [20:12:16]Method: POST [20:12:16]URL: /json_proto [20:12:16]Method is POST - this is cgi request [20:12:16]url: /json_proto [20:12:16]query_string will be loaded in cgi processing [20:12:16]execute_cgi json_proto POST (null) [20:12:16]execute_cgi path=json_proto method=POST [20:12:16]POST find Content-Length [20:12:16]Host: 172.17.47.135:8080 [20:12:16]Content-Length: 331 [20:12:16]Content-Type: application/json [20:12:16] [20:12:16]POST finish read [20:12:16]Found Content-Length = 331 [20:12:16]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" ] } } [20:12:16]execute_script... [20:12:16]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" ] } } [20:12:16]POST & json_proto [20:12:16]process_json_proto [20:12:16]json parsed OK: [20:12:16]protocol is kg_v1.0 [20:12:16]action value=get_value [20:12:16]process_action get_value [20:12:16]cmd_get_value [20:12:16]process_action get_value done [20:12:16]requested_data is exist [20:12:16]produce_requested_data [20:12:16]requested_item fm.sale.total is exist - process it [20:12:16]SAM_PROTO_GetFMData [20:12:16]wFMCommunicate request_size=4 [20:12:16]MH_SAM_APDU [20:12:16]CAPDU: 80 13 03 00 [20:12:16]Write to MH i2c: E2 08 00 96 0E 80 13 03 00 00 00 00 00 23 [20:12:16]Write i2c OK [20:12:16]MH_I2C_Read... [20:12:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:12:17]Read from MH i2c: E2 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 96 0E 00 C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 1F [20:12:17]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [20:12:17]wFMCommunicate OK [20:12:17]wFMCommunicate request_size=4 [20:12:17]MH_SAM_APDU [20:12:17]CAPDU: 80 17 00 00 [20:12:17]Write to MH i2c: E2 08 00 97 0E 80 17 00 00 00 00 00 00 25 [20:12:17]Write i2c OK [20:12:17]MH_I2C_Read... [20:12:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:17]Read from MH i2c: E2 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 97 0E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 A0 [20:12:17]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [20:12:17]wFMCommunicate OK [20:12:17]wFMCommunicate request_size=4 [20:12:17]MH_SAM_APDU [20:12:17]CAPDU: 80 17 00 00 [20:12:17]Write to MH i2c: E2 08 00 98 0E 80 17 00 00 00 00 00 00 26 [20:12:17]Write i2c OK [20:12:17]MH_I2C_Read... [20:12:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:17]Read from MH i2c: E2 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 [20:12:17]MH_I2C_Read... [20:12:17]Read from MH i2c: E2 FD 00 98 0E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 3B [20:12:18]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:12:18]wFMCommunicate OK [20:12:18]wFMCommunicate request_size=4 [20:12:18]MH_SAM_APDU [20:12:18]CAPDU: 80 17 00 00 [20:12:18]Write to MH i2c: E2 08 00 99 0E 80 17 00 00 00 00 00 00 27 [20:12:18]Write i2c OK [20:12:18]MH_I2C_Read... [20:12:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:18]Read from MH i2c: E2 [20:12:18]MH_I2C_Read... [20:12:18]Read from MH i2c: E2 FD 00 [20:12:18]MH_I2C_Read... [20:12:18]Read from MH i2c: E2 FD 00 99 0E 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 9F [20:12:18]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:12:18]wFMCommunicate OK [20:12:18]wFMCommunicate request_size=4 [20:12:18]MH_SAM_APDU [20:12:18]CAPDU: 80 17 00 00 [20:12:18]Write to MH i2c: E2 08 00 9A 0E 80 17 00 00 00 00 00 00 28 [20:12:18]Write i2c OK [20:12:18]MH_I2C_Read... [20:12:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:12:18]Read from MH i2c: E2 [20:12:18]MH_I2C_Read... [20:12:18]Read from MH i2c: E2 E1 00 [20:12:18]MH_I2C_Read... [20:12:18]Read from MH i2c: E2 E1 00 9A 0E 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 16 [20:12:18]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:18]wFMCommunicate OK [20:12:18]SAM_PROTO_GetFMData done [20:12:18]requested_item fm.sale_refund.total is exist - process it [20:12:18]requested_item fm.buy.total is exist - process it [20:12:18]requested_item shift.sale.total is exist - process it [20:12:18]SAM_PROTO_GetShiftData [20:12:18]wFMCommunicate request_size=4 [20:12:18]MH_SAM_APDU [20:12:18]CAPDU: 80 13 02 00 [20:12:18]Write to MH i2c: E2 08 00 9B 0E 80 13 02 00 00 00 00 00 27 [20:12:18]Write i2c OK [20:12:18]MH_I2C_Read... [20:12:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:12:19]Read from MH i2c: E2 [20:12:19]MH_I2C_Read... [20:12:19]Read from MH i2c: E2 FD 00 [20:12:19]MH_I2C_Read... [20:12:19]Read from MH i2c: E2 FD 00 9B 0E 00 B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 08 [20:12:19]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [20:12:19]wFMCommunicate OK [20:12:19]wFMCommunicate request_size=4 [20:12:19]MH_SAM_APDU [20:12:19]CAPDU: 80 17 00 00 [20:12:19]Write to MH i2c: E2 08 00 9C 0E 80 17 00 00 00 00 00 00 2A [20:12:19]Write i2c OK [20:12:19]MH_I2C_Read... [20:12:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:19]Read from MH i2c: E2 [20:12:19]MH_I2C_Read... [20:12:19]Read from MH i2c: E2 FD 00 [20:12:19]MH_I2C_Read... [20:12:19]Read from MH i2c: E2 FD 00 9C 0E 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 2D [20:12:19]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [20:12:19]wFMCommunicate OK [20:12:19]wFMCommunicate request_size=4 [20:12:19]MH_SAM_APDU [20:12:19]CAPDU: 80 17 00 00 [20:12:19]Write to MH i2c: E2 08 00 9D 0E 80 17 00 00 00 00 00 00 2B [20:12:19]Write i2c OK [20:12:19]MH_I2C_Read... [20:12:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:20]Read from MH i2c: E2 [20:12:20]MH_I2C_Read... [20:12:20]Read from MH i2c: E2 FD 00 [20:12:20]MH_I2C_Read... [20:12:20]Read from MH i2c: E2 FD 00 9D 0E 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 CD [20:12:20]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [20:12:20]wFMCommunicate OK [20:12:20]wFMCommunicate request_size=4 [20:12:20]MH_SAM_APDU [20:12:20]CAPDU: 80 17 00 00 [20:12:20]Write to MH i2c: E2 08 00 9E 0E 80 17 00 00 00 00 00 00 2C [20:12:20]Write i2c OK [20:12:20]MH_I2C_Read... [20:12:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:20]Read from MH i2c: E2 [20:12:20]MH_I2C_Read... [20:12:20]Read from MH i2c: E2 FD 00 [20:12:20]MH_I2C_Read... [20:12:20]Read from MH i2c: E2 FD 00 9E 0E 00 03 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 OFD Sender: No OFD packet to send [20:12:20]03 01 00 01 F7 03 00 00 90 00 B5 [20:12:20]RAPDU: 03 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 90 00 [20:12:20]wFMCommunicate OK [20:12:20]wFMCommunicate request_size=4 [20:12:20]MH_SAM_APDU [20:12:20]CAPDU: 80 17 00 00 [20:12:20]Write to MH i2c: E2 08 00 9F 0E 80 17 00 00 00 00 00 00 2D [20:12:20]Write i2c OK [20:12:20]MH_I2C_Read... [20:12:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [20:12:21]Read from MH i2c: E2 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 D5 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 D5 00 9F 0E 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0E [20:12:21]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:21]wFMCommunicate OK [20:12:21]SAM_PROTO_GetShiftData done [20:12:21]requested_item shift.sale.total_cash is exist - process it [20:12:21]requested_item shift.sale_refund.total is exist - process it [20:12:21]requested_item shift.sale_refund.total_cash is exist - process it [20:12:21]requested_item shift.buy.total is exist - process it [20:12:21]requested_item shift.buy.total_cash is exist - process it [20:12:21]produce_requested_data done [20:12:21]produce_requested_data return {"fm.sale.total":14707097.36,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":17761.61,"shift.sale.total_cash":10180.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [20:12:21]process_action_free get_value [20:12:21]json_value_free [20:12:21]json_value_free done [20:12:21]process_json_proto returns [20:12:21]Send response to host [20:12:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14707097.36,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":17761.61,"shift.sale.total_cash":10180.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [20:12:21]free response buf [20:12:21]execute_script done [20:12:21]execute_script returns [20:12:21]free content buf [20:12:21]Sock 9.Close socket [20:12:21]Sock 9.Thread stoped [20:12:21]accept exits with 7 [20:12:21]New connection [20:12:21]New thread 3067555172 created [20:12:21]Thread 3067411812 joined [20:12:21]Waiting for new connection... [20:12:21] Sock 7.Parse request [20:12:21]Sock 7.Check first char [20:12:21]Sock 7.First char is OK [20:12:21]request: POST /json_proto HTTP/1.0 [20:12:21]Method: POST [20:12:21]URL: /json_proto [20:12:21]Method is POST - this is cgi request [20:12:21]url: /json_proto [20:12:21]query_string will be loaded in cgi processing [20:12:21]execute_cgi json_proto POST (null) [20:12:21]execute_cgi path=json_proto method=POST [20:12:21]POST find Content-Length [20:12:21]Host: 172.17.47.135:8080 [20:12:21]Content-Length: 256 [20:12:21]Content-Type: application/json [20:12:21] [20:12:21]POST finish read [20:12:21]Found Content-Length = 256 [20:12:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:21]execute_script... [20:12:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:21]POST & json_proto [20:12:21]process_json_proto [20:12:21]json parsed OK: [20:12:21]protocol is kg_v1.0 [20:12:21]action value=x_report [20:12:21]process_action x_report [20:12:21]cmd_x_report [20:12:21]MH_GetDate [20:12:21]Write to MH i2c: F0 00 00 A0 0E 9D [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 09 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 09 00 A0 0E 00 28 98 B3 67 19 D8 DE 66 B5 [20:12:21]GetLastDocTimeStamp 1739823125 [20:12:21]current date 1739823144 [20:12:21]FM_GetShiftState [20:12:21]SAM_PROTO_GetShiftState [20:12:21]wFMCommunicate request_size=4 [20:12:21]MH_SAM_APDU [20:12:21]CAPDU: 80 13 01 00 [20:12:21]Write to MH i2c: E2 08 00 A1 0E 80 13 01 00 00 00 00 00 2C [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:21]Read from MH i2c: E2 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 0E 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 0E 00 A1 0E 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 12 [20:12:21]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:12:21]wFMCommunicate OK [20:12:21]SAM_PROTO_GetShiftState done [20:12:21]FM_GetShiftState done [20:12:21]KKMCreateXReportDocument [20:12:21]Load OK [20:12:21]Malloc new data [20:12:21]MH_GetDate [20:12:21]Write to MH i2c: F0 00 00 A2 0E 9F [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 09 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: F0 09 00 A2 0E 00 28 98 B3 67 19 D8 DE 66 B7 [20:12:21]Malloc new data [20:12:21]Malloc new data [20:12:21]wFMCommunicate request_size=4 [20:12:21]MH_SAM_APDU [20:12:21]CAPDU: 80 11 00 00 [20:12:21]Write to MH i2c: E2 08 00 A3 0E 80 11 00 00 00 00 00 00 2B [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:21]Read from MH i2c: E2 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 17 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 17 00 A3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 81 [20:12:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:12:21]wFMCommunicate OK [20:12:21]SAM_PROTO_GetFieldsCounters [20:12:21]wFMCommunicate request_size=4 [20:12:21]MH_SAM_APDU [20:12:21]CAPDU: 80 13 00 00 [20:12:21]Write to MH i2c: E2 08 00 A4 0E 80 13 00 00 00 00 00 00 2E [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:21]Read from MH i2c: E2 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 62 00 [20:12:21]MH_I2C_Read... [20:12:21]Read from MH i2c: E2 62 00 A4 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [20:12:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:21]wFMCommunicate OK [20:12:21]SAM_PROTO_GetFieldsCounters done [20:12:21]Malloc new data [20:12:21]Malloc new data [20:12:21]Malloc new data [20:12:21]KKMCreateXReportDocument OK [20:12:21]KKMSetXReportData OK [20:12:21]KKMPrepareXReportFMData [20:12:21]SAM_PROTO_GetShiftData [20:12:21]wFMCommunicate request_size=4 [20:12:21]MH_SAM_APDU [20:12:21]CAPDU: 80 13 02 00 [20:12:21]Write to MH i2c: E2 08 00 A5 0E 80 13 02 00 00 00 00 00 31 [20:12:21]Write i2c OK [20:12:21]MH_I2C_Read... [20:12:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:12:22]Read from MH i2c: E2 [20:12:22]MH_I2C_Read... [20:12:22]Read from MH i2c: E2 FD 00 [20:12:22]MH_I2C_Read... [20:12:22]Read from MH i2c: E2 FD 00 A5 0E 00 B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 12 [20:12:22]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 21 1A 1B 70 04 03 00 90 88 0F 72 04 03 00 91 91 0B 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D1 E0 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 67 3D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [20:12:22]wFMCommunicate OK [20:12:22]wFMCommunicate request_size=4 [20:12:22]MH_SAM_APDU [20:12:22]CAPDU: 80 17 00 00 [20:12:22]Write to MH i2c: E2 08 00 A6 0E 80 17 00 00 00 00 00 00 34 [20:12:22]Write i2c OK [20:12:22]MH_I2C_Read... [20:12:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:22]Read from MH i2c: E2 [20:12:22]MH_I2C_Read... [20:12:22]Read from MH i2c: E2 FD 00 [20:12:22]MH_I2C_Read... [20:12:22]Read from MH i2c: E2 FD 00 A6 0E 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 37 [20:12:22]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [20:12:22]wFMCommunicate OK [20:12:22]wFMCommunicate request_size=4 [20:12:22]MH_SAM_APDU [20:12:22]CAPDU: 80 17 00 00 [20:12:22]Write to MH i2c: E2 08 00 A7 0E 80 17 00 00 00 00 00 00 35 [20:12:22]Write i2c OK [20:12:22]MH_I2C_Read... [20:12:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:23]Read from MH i2c: E2 [20:12:23]MH_I2C_Read... [20:12:23]Read from MH i2c: E2 FD 00 [20:12:23]MH_I2C_Read... [20:12:23]Read from MH i2c: E2 FD 00 A7 0E 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 D7 [20:12:23]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [20:12:23]wFMCommunicate OK [20:12:23]wFMCommunicate request_size=4 [20:12:23]MH_SAM_APDU [20:12:23]CAPDU: 80 17 00 00 [20:12:23]Write to MH i2c: E2 08 00 A8 0E 80 17 00 00 00 00 00 00 36 [20:12:23]Write i2c OK [20:12:23]MH_I2C_Read... [20:12:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:23]Read from MH i2c: E2 [20:12:23]MH_I2C_Read... [20:12:23]Read from MH i2c: E2 FD 00 [20:12:23]MH_I2C_Read... [20:12:23]Read from MH i2c: E2 FD 00 A8 0E 00 03 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 90 00 BF [20:12:23]RAPDU: 03 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 90 00 [20:12:23]wFMCommunicate OK [20:12:23]wFMCommunicate request_size=4 [20:12:23]MH_SAM_APDU [20:12:23]CAPDU: 80 17 00 00 [20:12:23]Write to MH i2c: E2 08 00 A9 0E 80 17 00 00 00 00 00 00 37 [20:12:23]Write i2c OK [20:12:23]MH_I2C_Read... [20:12:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [20:12:24]Read from MH i2c: E2 [20:12:24]MH_I2C_Read... [20:12:24]Read from MH i2c: E2 D5 00 [20:12:24]MH_I2C_Read... [20:12:24]Read from MH i2c: E2 D5 00 A9 0E 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 18 [20:12:24]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:24]wFMCommunicate OK [20:12:24]SAM_PROTO_GetShiftData done [20:12:24]1194 (1204) - счетчики итогов смены [20:12:24] 1134 (4) - 57 - количество чеков со всеми признаками расчетов [20:12:24] 1129 (155) - счетчики операций «приход» [20:12:24] 1135 (4) - 55 - количество чеков по признаку расчетов [20:12:24] 1201 (3) - 17761.61 - общая итоговая сумма в чеках [20:12:24] 1136 (3) - 10180.00 - итоговая сумма в чеках наличными [20:12:24] 1138 (3) - 7581.61 - итоговая сумма в чеках безналичными [20:12:24] 1024 (122) - суммы налогов [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 0% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1006 (12) - суммы НДС [20:12:24] 1010 (1) - 12% - код ставки НДС [20:12:24] 1011 (3) - 1886.25 - сумма НДС по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (11) - суммы НСП [20:12:24] 1014 (1) - 1% - код ставки НСП [20:12:24] 1015 (2) - 157.19 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 2% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 3% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 5% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1130 (151) - счетчики операций «возврат прихода» [20:12:24] 1135 (4) - 2 - количество чеков по признаку расчетов [20:12:24] 1201 (3) - 4272.00 - общая итоговая сумма в чеках [20:12:24] 1136 (3) - 4272.00 - итоговая сумма в чеках наличными [20:12:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:12:24] 1024 (121) - суммы налогов [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 0% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1006 (11) - суммы НДС [20:12:24] 1010 (1) - 12% - код ставки НДС [20:12:24] 1011 (2) - 453.67 - сумма НДС по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (11) - суммы НСП [20:12:24] 1014 (1) - 1% - код ставки НСП [20:12:24] 1015 (2) - 37.80 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 2% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 3% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 5% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1131 (141) - счетчики операций «расход» [20:12:24] 1135 (4) - 0 - количество чеков по признаку расчетов [20:12:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:12:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:12:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:12:24] 1024 (117) - суммы налогов [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 0% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 12% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 2% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 3% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 5% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1132 (141) - счетчики операций «возврат расхода» [20:12:24] 1135 (4) - 0 - количество чеков по признаку расчетов [20:12:24] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:12:24] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:12:24] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:12:24] 1024 (117) - суммы налогов [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 0% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1006 (9) - суммы НДС [20:12:24] 1010 (1) - 12% - код ставки НДС [20:12:24] 1011 (0) - 0.00 - сумма НДС по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 2% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 3% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 5% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 0,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1007 (9) - суммы НСП [20:12:24] 1014 (1) - 1,50% - код ставки НСП [20:12:24] 1015 (0) - 0.00 - сумма НСП по ставке [20:12:24] 1133 (588) - - счетчики коррекции - не используются [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1194 (04AA) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1134 (046E) [20:12:24]Malloc new data [20:12:24]Processing tag 1129 (0469) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1135 (046F) [20:12:24]Malloc new data [20:12:24]Processing tag 1201 (04B1) [20:12:24]Malloc new data [20:12:24]Processing tag 1136 (0470) [20:12:24]Malloc new data [20:12:24]Processing tag 1138 (0472) [20:12:24]Malloc new data [20:12:24]Processing tag 1024 (0400) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1006 (03EE) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1010 (03F2) [20:12:24]Malloc new data [20:12:24]Processing tag 1011 (03F3) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:24]Processing tag 1006 (03EE) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1010 (03F2) [20:12:24]Malloc new data [20:12:24]Processing tag 1011 (03F3) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:24]Processing tag 1007 (03EF) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1014 (03F6) [20:12:24]Malloc new data [20:12:24]Processing tag 1015 (03F7) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:24]Processing tag 1007 (03EF) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1014 (03F6) [20:12:24]Malloc new data [20:12:24]Processing tag 1015 (03F7) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:24]Processing tag 1007 (03EF) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1014 (03F6) [20:12:24]Malloc new data [20:12:24]Processing tag 1015 (03F7) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:24]Processing tag 1007 (03EF) [20:12:24]Load OK [20:12:24]SetTLVBufToDocument [20:12:24]Processing tag 1014 (03F6) [20:12:24]Malloc new data [20:12:24]Processing tag 1015 (03F7) [20:12:24]Malloc new data [20:12:24]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1130 (046A) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1135 (046F) [20:12:25]Malloc new data [20:12:25]Processing tag 1201 (04B1) [20:12:25]Malloc new data [20:12:25]Processing tag 1136 (0470) [20:12:25]Malloc new data [20:12:25]Processing tag 1138 (0472) [20:12:25]Malloc new data [20:12:25]Processing tag 1024 (0400) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1131 (046B) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1135 (046F) [20:12:25]Malloc new data [20:12:25]Processing tag 1201 (04B1) [20:12:25]Malloc new data [20:12:25]Processing tag 1136 (0470) [20:12:25]Malloc new data [20:12:25]Processing tag 1138 (0472) [20:12:25]Malloc new data [20:12:25]Processing tag 1024 (0400) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1132 (046C) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1135 (046F) [20:12:25]Malloc new data [20:12:25]Processing tag 1201 (04B1) [20:12:25]Malloc new data [20:12:25]Processing tag 1136 (0470) [20:12:25]Malloc new data [20:12:25]Processing tag 1138 (0472) [20:12:25]Malloc new data [20:12:25]Processing tag 1024 (0400) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1006 (03EE) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1010 (03F2) [20:12:25]Malloc new data [20:12:25]Processing tag 1011 (03F3) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1007 (03EF) [20:12:25]Load OK [20:12:25]SetTLVBufToDocument [20:12:25]Processing tag 1014 (03F6) [20:12:25]Malloc new data [20:12:25]Processing tag 1015 (03F7) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Processing tag 1133 (046D) [20:12:25]Malloc new data [20:12:25]SetTLVBufToDocument err=0 [20:12:25]SetTLVBufToDocument err=0 [20:12:25]Malloc new data [20:12:25]SAM_PROTO_GetFMData [20:12:25]wFMCommunicate request_size=4 [20:12:25]MH_SAM_APDU [20:12:25]CAPDU: 80 13 03 00 [20:12:25]Write to MH i2c: E2 08 00 AA 0E 80 13 03 00 00 00 00 00 37 [20:12:25]Write i2c OK [20:12:25]MH_I2C_Read... [20:12:25]OFD Sender: No OFD packet to send [20:12:26]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:12:26]Read from MH i2c: E2 [20:12:26]MH_I2C_Read... [20:12:26]Read from MH i2c: E2 FD 00 [20:12:26]MH_I2C_Read... [20:12:26]Read from MH i2c: E2 FD 00 AA 0E 00 C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 33 [20:12:26]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [20:12:26]wFMCommunicate OK [20:12:26]wFMCommunicate request_size=4 [20:12:26]MH_SAM_APDU [20:12:26]CAPDU: 80 17 00 00 [20:12:26]Write to MH i2c: E2 08 00 AB 0E 80 17 00 00 00 00 00 00 39 [20:12:26]Write i2c OK [20:12:26]MH_I2C_Read... [20:12:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:26]Read from MH i2c: E2 [20:12:26]MH_I2C_Read... [20:12:26]Read from MH i2c: E2 FD 00 [20:12:26]MH_I2C_Read... [20:12:26]Read from MH i2c: E2 FD 00 AB 0E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 B4 [20:12:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [20:12:26]wFMCommunicate OK [20:12:26]wFMCommunicate request_size=4 [20:12:26]MH_SAM_APDU [20:12:26]CAPDU: 80 17 00 00 [20:12:26]Write to MH i2c: E2 08 00 AC 0E 80 17 00 00 00 00 00 00 3A [20:12:26]Write i2c OK [20:12:26]MH_I2C_Read... [20:12:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:27]Read from MH i2c: E2 [20:12:27]MH_I2C_Read... [20:12:27]Read from MH i2c: E2 FD 00 [20:12:27]MH_I2C_Read... [20:12:27]Read from MH i2c: E2 FD 00 AC 0E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 4F [20:12:27]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:12:27]wFMCommunicate OK [20:12:27]wFMCommunicate request_size=4 [20:12:27]MH_SAM_APDU [20:12:27]CAPDU: 80 17 00 00 [20:12:27]Write to MH i2c: E2 08 00 AD 0E 80 17 00 00 00 00 00 00 3B [20:12:27]Write i2c OK [20:12:27]MH_I2C_Read... [20:12:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:12:27]Read from MH i2c: E2 [20:12:27]MH_I2C_Read... [20:12:27]Read from MH i2c: E2 FD 00 [20:12:27]MH_I2C_Read... [20:12:27]Read from MH i2c: E2 FD 00 AD 0E 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B3 [20:12:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:12:27]wFMCommunicate OK [20:12:27]wFMCommunicate request_size=4 [20:12:28]MH_SAM_APDU [20:12:28]CAPDU: 80 17 00 00 [20:12:28]Write to MH i2c: E2 08 00 AE 0E 80 17 00 00 00 00 00 00 3C [20:12:28]Write i2c OK [20:12:28]MH_I2C_Read... [20:12:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:12:28]Read from MH i2c: E2 [20:12:28]MH_I2C_Read... [20:12:28]Read from MH i2c: E2 E1 00 [20:12:28]MH_I2C_Read... [20:12:28]Read from MH i2c: E2 E1 00 AE 0E 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [20:12:28]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:12:28]wFMCommunicate OK [20:12:28]SAM_PROTO_GetFMData done [20:12:28]FM_GetFMData:85 04 C0 04 6E 04 04 00 AD 7B 00 00 69 04 A0 00 6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:12:29]oper:6F 04 04 00 25 7A 00 00 B1 04 04 00 E8 3F A9 57 70 04 04 00 55 A5 EB 27 72 04 04 00 93 9A BD 2F 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 00 5C 4F 09 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 25 93 C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:12:29]total:E8 3F A9 57 [20:12:29]Malloc new data [20:12:29]oper:6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:12:29]total:54 57 2A 02 [20:12:29]Malloc new data [20:12:29]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 [20:12:29]total: [20:12:29]Malloc new data [20:12:29]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 [20:12:29]total: [20:12:29]Malloc new data [20:12:29]KKMPrepareXReportFMData err=0 [20:12:29]Х отчет ИНН: 02508201610067 Кассир: Рахманов У. 17.02.2025 20:12 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 57 ИТОГИ ПРИХОД Чеков: 55 Общий итог: 17761.61 Итого наличными: 10180.00 Итого безнал.: 7581.61 НДС 0% : 0.00 НДС 12% : 1886.25 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 157.19 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 4272.00 Итого наличными: 4272.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 453.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 37.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 5908.00 НС Приход: 14707097.36 НС Возвр.Прихода: 363293.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [20:12:29]StoreToDocumentArchive [20:12:29]MH_GetDate [20:12:29]Write to MH i2c: F0 00 00 AF 0E AC [20:12:29]Write i2c OK [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: F0 [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: F0 09 00 [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: F0 09 00 AF 0E 00 30 98 B3 67 19 D8 DE 66 CC [20:12:29]shift 266 fd 1739823152 [20:12:29]Create dir for shift 0266 [20:12:29]save to /storage/0266/doc_1739823152 [20:12:29]save last doc name /storage/0266/doc_1739823152 to /storage/kkm_last_doc_name [20:12:29]save OK [20:12:29]Clear old archive folders... [20:12:29]NVStorageSaveData kkm_last_timestamp [20:12:29]File name is /storage/kkm_last_timestamp [20:12:29]Write 4 bytes [20:12:29]NVStorageSaveData done [20:12:29]ExternCall_PrintAddStr [20:12:29]wPrintStart [20:12:29]Write to MH i2c: 01 00 00 B0 0E BE [20:12:29]Write i2c OK [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: 01 [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: 01 07 00 [20:12:29]MH_I2C_Read... [20:12:29]Read from MH i2c: 01 07 00 B0 0E 00 00 00 00 00 FF 0F D3 [20:12:29]RasterBufferAndPrint [20:12:29]line Х отчет [20:12:29]line ИНН: 02508201610067 [20:12:29]line Кассир: Рахманов У. [20:12:29]line 17.02.2025 20:12 [20:12:29]line Смена: 266 [20:12:29]line РНМ: 0000000000146237 [20:12:29]line ЗНМ: 0300000059 [20:12:29]line СНО: Общий режим [20:12:29]line Всего чеков: 57 [20:12:29]line ИТОГИ ПРИХОД [20:12:29]line Чеков: 55 [20:12:29]line Общий итог: 17761.61 [20:12:29]line Итого наличными: 10180.00 [20:12:29]line Итого безнал.: 7581.61 [20:12:29]line НДС 0% : 0.00 [20:12:29]line НДС 12% : 1886.25 [20:12:29]line НСП 0% : 0.00 [20:12:29]line НСП 1,50% : 0.00 [20:12:29]line НСП 0,50% : 0.00 [20:12:29]line НСП 5% : 0.00 [20:12:29]line НСП 3% : 0.00 [20:12:29]line НСП 2% : 0.00 [20:12:29]line НСП 1% : 157.19 [20:12:29]line ИТОГИ ВОЗВРАТ ПРИХОДА [20:12:29]line Чеков: 2 [20:12:29]line Общий итог: 4272.00 [20:12:29]line Итого наличными: 4272.00 [20:12:29]line Итого безнал.: 0.00 [20:12:29]line НДС 0% : 0.00 [20:12:29]line НДС 12% : 453.67 [20:12:29]line НСП 0% : 0.00 [20:12:29]line НСП 1,50% : 0.00 [20:12:29]line НСП 0,50% : 0.00 [20:12:29]line НСП 5% : 0.00 [20:12:29]line НСП 3% : 0.00 [20:12:29]line НСП 2% : 0.00 [20:12:29]line НСП 1% : 37.80 [20:12:29]line ИТОГИ РАСХОД [20:12:29]line Чеков: 0 [20:12:29]line Общий итог: 0.00 [20:12:29]line Итого наличными: 0.00 [20:12:29]line Итого безнал.: 0.00 [20:12:29]line НДС 0% : 0.00 [20:12:29]line НДС 12% : 0.00 [20:12:29]line НСП 0% : 0.00 [20:12:29]line НСП 1,50% : 0.00 [20:12:29]line НСП 0,50% : 0.00 [20:12:29]line НСП 5% : 0.00 [20:12:29]line НСП 3% : 0.00 [20:12:29]line НСП 2% : 0.00 [20:12:29]line НСП 1% : 0.00 [20:12:29]line ИТОГИ ВОЗВРАТ РАСХОДА [20:12:29]line Чеков: 0 [20:12:29]line Общий итог: 0.00 [20:12:29]line Итого наличными: 0.00 [20:12:29]line Итого безнал.: 0.00 [20:12:29]line НДС 0% : 0.00 [20:12:29]line НДС 12% : 0.00 [20:12:29]line НСП 0% : 0.00 [20:12:29]line НСП 1,50% : 0.00 [20:12:29]line НСП 0,50% : 0.00 [20:12:29]line НСП 5% : 0.00 [20:12:29]line НСП 3% : 0.00 [20:12:29]line НСП 2% : 0.00 [20:12:29]line НСП 1% : 0.00 [20:12:29]line Сумма внесений: 0.00 [20:12:29]line Сумма выплат: 0.00 [20:12:29]line Нал. в кассе: 5908.00 [20:12:29]line НС Приход: 14707097.36 [20:12:29]line НС Возвр.Прихода: 363293.00 [20:12:29]line НС Расход: 0.00 [20:12:29]line НС Возвр.Расхода: 0.00 [20:12:29]line ФМ: 0000000000959282 [20:12:29]written 0, free lines is 4095 [20:12:30]Write to MH i2c: 01 00 00 FB 0E 09 [20:12:30]Write i2c OK [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: 01 [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: 01 07 00 [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: 01 07 00 FB 0E 00 00 00 00 00 0C 0B 27 [20:12:30]RasterBufferAndPrint [20:12:30]line [20:12:30]line [20:12:30]line [20:12:30]line [20:12:30]line [20:12:30]written 0, free lines is 2867 [20:12:30]MH_Cut [20:12:30]Write to MH i2c: D1 01 00 02 0F 01 E3 [20:12:30]Write i2c OK [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: D1 [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: D1 01 00 [20:12:30]MH_I2C_Read... [20:12:30]Read from MH i2c: D1 01 00 02 0F 00 E2 [20:12:30]Write to MH i2c: 01 00 00 03 0F 12 [20:12:30]Write i2c OK [20:12:30]MH_I2C_Read... [20:12:30]OFD Sender: No OFD packet to send [20:12:31]*** Cut start [20:12:31]*** Partial cut [20:12:31]*** CUTSNS_PIN = 1 [20:12:31]*** CUTSNS_PIN = 0 [20:12:31]*** Brake cut motor [20:12:32]Read from MH i2c: 01 [20:12:32]MH_I2C_Read... [20:12:32]*** Stop cut motor [20:12:32]*** Cut end [20:12:32]Read from MH i2c: 01 07 00 [20:12:32]MH_I2C_Read... [20:12:32]Read from MH i2c: 01 07 00 03 0F 00 00 00 00 00 FF 0F 27 [20:12:32]process_action x_report done [20:12:32]requested_data is exist [20:12:32]produce_requested_data [20:12:32]requested_item fd.num is exist - process it [20:12:32]SAM_PROTO_GetFieldsCounters [20:12:32]wFMCommunicate request_size=4 [20:12:32]MH_SAM_APDU [20:12:32]CAPDU: 80 13 00 00 [20:12:32]Write to MH i2c: E2 08 00 04 0F 80 13 00 00 00 00 00 00 8F [20:12:32]Write i2c OK [20:12:32]MH_I2C_Read... [20:12:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:32]Read from MH i2c: E2 [20:12:32]MH_I2C_Read... [20:12:32]Read from MH i2c: E2 62 00 [20:12:32]MH_I2C_Read... [20:12:32]Read from MH i2c: E2 62 00 04 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [20:12:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:32]wFMCommunicate OK [20:12:32]SAM_PROTO_GetFieldsCounters done [20:12:32]requested_item shift.num is exist - process it [20:12:32]requested_item shift.opened is exist - process it [20:12:32]req_shift_opened [20:12:32]FM_GetShiftState [20:12:32]SAM_PROTO_GetShiftState [20:12:32]wFMCommunicate request_size=4 [20:12:32]MH_SAM_APDU [20:12:32]CAPDU: 80 13 01 00 [20:12:32]Write to MH i2c: E2 08 00 05 0F 80 13 01 00 00 00 00 00 91 [20:12:32]Write i2c OK [20:12:32]MH_I2C_Read... [20:12:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:32]Read from MH i2c: E2 [20:12:32]MH_I2C_Read... [20:12:32]Read from MH i2c: E2 0E 00 [20:12:32]MH_I2C_Read... [20:12:32]Read from MH i2c: E2 0E 00 05 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 77 [20:12:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:12:32]wFMCommunicate OK [20:12:32]SAM_PROTO_GetShiftState done [20:12:32]FM_GetShiftState done [20:12:32]req_shift_opened done [20:12:32]requested_item shift.open_date is exist - process it [20:12:32]req_shift_open_date [20:12:32]req_shift_open_date done [20:12:32]produce_requested_data done [20:12:32]produce_requested_data return {"fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:12:32]process_action_free x_report [20:12:32]json_value_free [20:12:32]json_value_free done [20:12:32]process_json_proto returns [20:12:32]Send response to host [20:12:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32426,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:12:32]free response buf [20:12:32]execute_script done [20:12:32]execute_script returns [20:12:32]free content buf [20:12:32]Sock 7.Close socket [20:12:32]Sock 7.Thread stoped [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:16]accept exits with 9 [20:18:16]New connection [20:18:16]New thread 3067411812 created [20:18:16]Thread 3067555172 joined [20:18:16]Waiting for new connection... [20:18:16] Sock 9.Parse request [20:18:16]Sock 9.Check first char [20:18:16]Sock 9.First char is OK [20:18:16]request: POST /json_proto HTTP/1.0 [20:18:16]Method: POST [20:18:16]URL: /json_proto [20:18:16]Method is POST - this is cgi request [20:18:16]url: /json_proto [20:18:16]query_string will be loaded in cgi processing [20:18:16]execute_cgi json_proto POST (null) [20:18:16]execute_cgi path=json_proto method=POST [20:18:16]POST find Content-Length [20:18:16]Host: 172.17.47.135:8080 [20:18:16]Content-Length: 790 [20:18:16]Content-Type: application/json [20:18:16] [20:18:16]POST finish read [20:18:16]Found Content-Length = 790 [20:18:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543508", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:16]execute_script... [20: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 : (1)6543508", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:16]POST & json_proto [20:18:16]process_json_proto [20:18:16]json parsed OK: [20:18:16]protocol is kg_v1.0 [20:18:16]action value=close_receipt [20:18:16]process_action close_receipt [20:18:16]cmd_close_receipt [20:18:16]MH_GetDate [20:18:16]Write to MH i2c: F0 00 00 06 0F 04 [20:18:16]Write i2c OK [20:18:16]MH_I2C_Read... [20:18:16]Read from MH i2c: F0 [20:18:16]MH_I2C_Read... [20:18:16]Read from MH i2c: F0 09 00 [20:18:16]MH_I2C_Read... [20:18:16]Read from MH i2c: F0 09 00 06 0F 00 8B 99 B3 67 19 D8 DE 66 80 [20:18:16]GetLastDocTimeStamp 1739823144 [20:18:16]current date 1739823499 [20:18:16]FM_GetShiftState [20:18:16]SAM_PROTO_GetShiftState [20:18:16]wFMCommunicate request_size=4 [20:18:16]MH_SAM_APDU [20:18:16]CAPDU: 80 13 01 00 [20:18:16]Write to MH i2c: E2 08 00 07 0F 80 13 01 00 00 00 00 00 93 [20:18:16]Write i2c OK [20:18:16]MH_I2C_Read... [20:18:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:16]Read from MH i2c: E2 [20:18:16]MH_I2C_Read... [20:18:16]Read from MH i2c: E2 0E 00 [20:18:16]MH_I2C_Read... [20:18:16]Read from MH i2c: E2 0E 00 07 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 79 [20:18:16]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:18:16]wFMCommunicate OK [20:18:16]SAM_PROTO_GetShiftState done [20:18:16]FM_GetShiftState done [20:18:16]opened in 1739750979 [20:18:16]opened+sec_in_day 1739837379 [20:18:16]quantity*price = 0 [20:18:16]sum+1 = 1 [20:18:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 58 17.02.2025 20:18 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 59898 ФМ: 0000000000959282 ФД: 32427 ФПД: 183583221968139 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201819&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32427&fm=183583221968139&tin=02508201610067®Number=0000000000146237&sum=0 [20:18:17]StoreToDocumentArchive [20:18:17]shift 382 fd 32427 [20:18:17]save to /storage/0382/doc_00032427 [20:18:17]save last doc name /storage/0382/doc_00032427 to /storage/kkm_last_doc_name [20:18:17]save OK [20:18:17]Clear old archive folders... [20:18:17]Remove dir /storage/0266 [20:18:17]opendir ok [20:18:17]file . [20:18:17]file .. [20:18:17]file doc_1739823152 [20:18:17]remove file /storage/0266/doc_1739823152 [20:18:17]remove dir /storage/0266 [20:18:17]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:18:17]tlvbuf is 004B5830 [20:18:17]SAM_PROTO_ClearQueue [20:18:17]wFMCommunicate request_size=4 [20:18:17]MH_SAM_APDU [20:18:17]CAPDU: 80 09 00 00 [20:18:17]Write to MH i2c: E2 08 00 14 0F 80 09 00 00 00 00 00 00 95 [20:18:17]Write i2c OK [20:18:17]MH_I2C_Read... [20:18:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:18:17]Read from MH i2c: E2 [20:18:17]MH_I2C_Read... [20:18:17]Read from MH i2c: E2 03 00 [20:18:17]MH_I2C_Read... [20:18:17]Read from MH i2c: E2 03 00 14 0F 00 90 00 97 [20:18:17]RAPDU: 90 00 [20:18:17]wFMCommunicate OK [20:18:17]SAM_PROTO_ClearQueue done [20:18:17]KKMCreateOFDPacket [20:18:17]OFDProtocolAddRootSTLVToBuf [20:18:17]FM_MakeSignedData [20:18:17]FM_MakeSignedData [20:18:17]SAM_PROTO_SignData [20:18:17]wFMCommunicate request_size=4 [20:18:17]MH_SAM_APDU [20:18:17]CAPDU: 80 0D 01 02 [20:18:17]Write to MH i2c: E2 08 00 15 0F 80 0D 01 02 00 00 00 00 9D [20:18:17]Write i2c OK [20:18:17]MH_I2C_Read... [20:18:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:18:17]Read from MH i2c: E2 [20:18:17]MH_I2C_Read... [20:18:17]Read from MH i2c: E2 03 00 [20:18:17]MH_I2C_Read... [20:18:17]Read from MH i2c: E2 03 00 15 0F 00 90 00 98 [20:18:17]RAPDU: 90 00 [20:18:17]wFMCommunicate OK [20:18:17]wFMCommunicate request_size=255 [20:18:17]MH_SAM_APDU [20:18:17]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8B 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AB 7E 00 00 35 04 06 00 A6 F7 CC BB [20:18:17]Write to MH i2c: E2 02 01 16 0F 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8B 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AB 7E 00 00 35 04 06 00 A6 F7 CC BB 00 00 45 [20:18:17]Write i2c OK [20:18:17]MH_I2C_Read... [20:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:18]Read from MH i2c: E2 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 03 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 03 00 16 0F 00 90 00 99 [20:18:18]RAPDU: 90 00 [20:18:18]wFMCommunicate OK [20:18:18]wFMCommunicate request_size=7 [20:18:18]MH_SAM_APDU [20:18:18]CAPDU: 80 0D 02 02 02 6D 0B [20:18:18]Write to MH i2c: E2 0A 00 17 0F 80 0D 02 02 02 00 6D 0B 00 00 1C [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:18]Read from MH i2c: E2 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 03 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 03 00 17 0F 00 90 00 9A [20:18:18]RAPDU: 90 00 [20:18:18]wFMCommunicate OK [20:18:18]wFMCommunicate request_size=4 [20:18:18]MH_SAM_APDU [20:18:18]CAPDU: 80 0D 03 02 [20:18:18]Write to MH i2c: E2 08 00 18 0F 80 0D 03 02 00 00 00 00 A2 [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:18:18]Read from MH i2c: E2 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 0B 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 0B 00 18 0F 00 AA 4A 5B 39 28 8E D4 A7 90 00 5C [20:18:18]RAPDU: AA 4A 5B 39 28 8E D4 A7 90 00 [20:18:18]wFMCommunicate OK [20:18:18]SAM_PROTO_SignData done [20:18:18]FM_MakeSignedData done [20:18:18]CreateOFDProtocolMessage [20:18:18]wFMCommunicate request_size=4 [20:18:18]MH_SAM_APDU [20:18:18]CAPDU: 80 11 00 00 [20:18:18]Write to MH i2c: E2 08 00 19 0F 80 11 00 00 00 00 00 00 A2 [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:18]Read from MH i2c: E2 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 17 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: E2 17 00 19 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F8 [20:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:18:18]wFMCommunicate OK [20:18:18]CreateOFDProtocolMessage done [20:18:18]OFDSenderStorePacket 32427 [20:18:18]StoreOFDPacket docnum=32427 [20:18:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 3A FD 04 01 80 6B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8B 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AB 7E 00 00 35 04 06 00 A6 F7 CC BB 6D 0B AA 4A 5B 39 28 8E D4 A7 [20:18:18]CheckFolder [20:18:18]dirname=/storage/ofd_packets [20:18:18]CheckFolder done [20:18:18]ProducePacketName [20:18:18]name=ofd_packets/00032427 [20:18:18]NVStorageSaveData ofd_packets/00032427 [20:18:18]File name is /storage/ofd_packets/00032427 [20:18:18]Write 298 bytes [20:18:18]NVStorageSaveData done [20:18:18]OFDSenderStorePacket done [20:18:18]KKMCreateOFDPacket done [20:18:18]NVStorageSaveData kkm_last_timestamp [20:18:18]File name is /storage/kkm_last_timestamp [20:18:18]Write 4 bytes [20:18:18]NVStorageSaveData done [20:18:18]ExternCall_PrintAddStr [20:18:18]wPrintStart [20:18:18]Write to MH i2c: 01 00 00 1A 0F 29 [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 07 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 07 00 1A 0F 00 00 00 00 00 FF 0F 3E [20:18:18]RasterBufferAndPrint [20:18:18]line Счет N : (1)6543508 [20:18:18]line ИНН: 02508201610067 [20:18:18]line Контрольно-Кассовый Чек [20:18:18]line ПРОДАЖА [20:18:18]line ТРК (МРК, ГНК) : 13 [20:18:18]line Товар: 2710194210 [20:18:18]line ДТ-К-2 [20:18:18]line 13.780 * 0.00 [20:18:18]line = 0.00 [20:18:18]line НДС 12% НСП 1% [20:18:18]line > о реализуемом товаре [20:18:18]line ИТОГО: 0.00 [20:18:18]line НСП 1% : 0.00 [20:18:18]line НДС 12% : 0.00 [20:18:18]line Наличными: 0.00 [20:18:18]line Безнал.: 0.00 [20:18:18]line Место: АЗС № 96 "Партнер Нефть" [20:18:18]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:18:18]line СНО: Общий режим [20:18:18]line Чек 58 17.02.2025 20:18 [20:18:18]line Смена: 382 ФФД: 1.0 [20:18:18]line ЗНМ: 0300000059 [20:18:18]line РНМ: 0000000000146237 [20:18:18]line Версия ККМ: v1.0 [20:18:18]line Талоны: Топливная Карта [20:18:18]line 59898 [20:18:18]line ФМ: 0000000000959282 [20:18:18]line ФД: 32427 [20:18:18]line ФПД: 183583221968139 [20:18:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201819&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32427&fm=183583221968139&tin=02508201610067®Number=0000000000146237&sum=0 [20:18:18]OFD Sender: Processing packet 32427 [packets to send 104, broken 103] [20:18:18]ProducePacketName [20:18:18]name=ofd_packets/00032427 [20:18:18]OFD Sender: To server: pG, [20:18:18]CommunicateWithHost lk.salyk.kg:30040 [20:18:18]ConnectInit lk.salyk.kg [20:18:18]written 0, free lines is 4095 [20:18:18]Connected sock=10 [20:18:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 3A FD 04 01 80 6B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 8B 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AB 7E 00 00 35 04 06 00 A6 F7 CC BB 6D 0B AA 4A 5B 39 28 8E D4 A7 [20:18:18]Write to MH i2c: 01 00 00 44 0F 53 [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 07 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: 01 07 00 44 0F 00 00 00 00 00 F1 0C 57 [20:18:18]RasterBufferAndPrint [20:18:18]line [20:18:18]line [20:18:18]line [20:18:18]line [20:18:18]line [20:18:18]written 0, free lines is 3319 [20:18:18]MH_Cut [20:18:18]Write to MH i2c: D1 01 00 4B 0F 01 2C [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: D1 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: D1 01 00 [20:18:18]MH_I2C_Read... [20:18:18]Read from MH i2c: D1 01 00 4B 0F 00 2B [20:18:18]Write to MH i2c: 01 00 00 4C 0F 5B [20:18:18]Write i2c OK [20:18:18]MH_I2C_Read... [20:18:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 82 A8 47 00 1D B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AB 7E 00 00 F4 03 04 00 2E 43 B3 67 B6 04 01 00 00 37 ED 3F B4 15 81 82 50 [20:18:18]CommunicateWithHost err = 0 [20:18:18]CheckOFDResponse [20:18:18]1017 (14) - 77093643461234 [20:18:18]1041 (16) - 0000000000959282 [20:18:18]1040 (4) - 32427 [20:18:18]1012 (4) - 17.02.2025 14:09 [20:18:18]1206 (1) - 0 [20:18:18]OFD Sender: Remove packet 32427 [20:18:18]ProducePacketName [20:18:18]name=ofd_packets/00032427 [20:18:18]NVStorageDeleteData [20:18:19]OFD Sender: No OFD packet to send [20:18:19]*** Cut start [20:18:19]*** Partial cut [20:18:19]*** CUTSNS_PIN = 1 [20:18:19]*** CUTSNS_PIN = 0 [20:18:19]*** Brake cut motor [20:18:20]Read from MH i2c: 01 [20:18:20]MH_I2C_Read... [20:18:20]*** Stop cut motor [20:18:20]*** Cut end [20:18:20]Read from MH i2c: 01 07 00 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: 01 07 00 4C 0F 00 00 00 00 00 FF 0F 70 [20:18:20]process_action close_receipt done [20:18:20]requested_data is exist [20:18:20]produce_requested_data [20:18:20]requested_item fm.sn is exist - process it [20:18:20]wFMCommunicate request_size=4 [20:18:20]MH_SAM_APDU [20:18:20]CAPDU: 80 11 00 00 [20:18:20]Write to MH i2c: E2 08 00 4D 0F 80 11 00 00 00 00 00 00 D6 [20:18:20]Write i2c OK [20:18:20]MH_I2C_Read... [20:18:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:20]Read from MH i2c: E2 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 17 00 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 17 00 4D 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2C [20:18:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:18:20]wFMCommunicate OK [20:18:20]requested_item fd.num is exist - process it [20:18:20]SAM_PROTO_GetFieldsCounters [20:18:20]wFMCommunicate request_size=4 [20:18:20]MH_SAM_APDU [20:18:20]CAPDU: 80 13 00 00 [20:18:20]Write to MH i2c: E2 08 00 4E 0F 80 13 00 00 00 00 00 00 D9 [20:18:20]Write i2c OK [20:18:20]MH_I2C_Read... [20:18:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:18:20]Read from MH i2c: E2 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 62 00 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 62 00 4E 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [20: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 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:18:20]wFMCommunicate OK [20:18:20]SAM_PROTO_GetFieldsCounters done [20:18:20]requested_item shift.num is exist - process it [20:18:20]requested_item shift.opened is exist - process it [20:18:20]req_shift_opened [20:18:20]FM_GetShiftState [20:18:20]SAM_PROTO_GetShiftState [20:18:20]wFMCommunicate request_size=4 [20:18:20]MH_SAM_APDU [20:18:20]CAPDU: 80 13 01 00 [20:18:20]Write to MH i2c: E2 08 00 4F 0F 80 13 01 00 00 00 00 00 DB [20:18:20]Write i2c OK [20:18:20]MH_I2C_Read... [20:18:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:20]Read from MH i2c: E2 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 0E 00 [20:18:20]MH_I2C_Read... [20:18:20]Read from MH i2c: E2 0E 00 4F 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C1 [20:18:20]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:18:20]wFMCommunicate OK [20:18:20]SAM_PROTO_GetShiftState done [20:18:20]FM_GetShiftState done [20:18:20]req_shift_opened done [20:18:20]requested_item shift.open_date is exist - process it [20:18:20]req_shift_open_date [20:18:20]req_shift_open_date done [20:18:20]produce_requested_data done [20:18:20]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32427,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:18:20]process_action_free close_receipt [20:18:20]json_value_free [20:18:20]json_value_free done [20:18:20]process_json_proto returns [20:18:20]Send response to host [20:18:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32427,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:18:20]free response buf [20:18:20]execute_script done [20:18:20]execute_script returns [20:18:20]free content buf [20:18:20]Sock 9.Close socket [20:18:20]Sock 9.Thread stoped [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:19]accept exits with 7 [20:19:19]New connection [20:19:19]New thread 3067555172 created [20:19:19]Thread 3067411812 joined [20:19:19]Waiting for new connection... [20:19:19] Sock 7.Parse request [20:19:19]Sock 7.Check first char [20:19:19]Sock 7.First char is OK [20:19:19]request: POST /json_proto HTTP/1.0 [20:19:19]Method: POST [20:19:19]URL: /json_proto [20:19:19]Method is POST - this is cgi request [20:19:19]url: /json_proto [20:19:19]query_string will be loaded in cgi processing [20:19:19]execute_cgi json_proto POST (null) [20:19:19]execute_cgi path=json_proto method=POST [20:19:19]POST find Content-Length [20:19:19]Host: 172.17.47.135:8080 [20:19:19]Content-Length: 790 [20:19:19]Content-Type: application/json [20:19:19] [20:19:19]POST finish read [20:19:19]Found Content-Length = 790 [20:19:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543509", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:19:19]execute_script... [20:19: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)6543509", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:19:19]POST & json_proto [20:19:19]process_json_proto [20:19:19]json parsed OK: [20:19:19]protocol is kg_v1.0 [20:19:19]action value=close_receipt [20:19:19]process_action close_receipt [20:19:19]cmd_close_receipt [20:19:19]MH_GetDate [20:19:19]Write to MH i2c: F0 00 00 50 0F 4E [20:19:19]Write i2c OK [20:19:19]MH_I2C_Read... [20:19:19]Read from MH i2c: F0 [20:19:19]MH_I2C_Read... [20:19:19]Read from MH i2c: F0 09 00 [20:19:19]MH_I2C_Read... [20:19:19]Read from MH i2c: F0 09 00 50 0F 00 CA 99 B3 67 19 D8 DE 66 09 [20:19:19]GetLastDocTimeStamp 1739823499 [20:19:19]current date 1739823562 [20:19:19]FM_GetShiftState [20:19:19]SAM_PROTO_GetShiftState [20:19:19]wFMCommunicate request_size=4 [20:19:19]MH_SAM_APDU [20:19:19]CAPDU: 80 13 01 00 [20:19:19]Write to MH i2c: E2 08 00 51 0F 80 13 01 00 00 00 00 00 DD [20:19:19]Write i2c OK [20:19:19]MH_I2C_Read... [20:19:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:19]Read from MH i2c: E2 [20:19:19]MH_I2C_Read... [20:19:19]Read from MH i2c: E2 0E 00 [20:19:19]MH_I2C_Read... [20:19:19]Read from MH i2c: E2 0E 00 51 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 C3 [20:19:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:19:19]wFMCommunicate OK [20:19:19]SAM_PROTO_GetShiftState done [20:19:19]FM_GetShiftState done [20:19:19]opened in 1739750979 [20:19:19]opened+sec_in_day 1739837379 [20:19:19]quantity*price = 0 [20:19:19]sum+1 = 1 [20:19:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 59 17.02.2025 20:19 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 59898 ФМ: 0000000000959282 ФД: 32428 ФПД: 107135903162421 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201922&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32428&fm=107135903162421&tin=02508201610067®Number=0000000000146237&sum=0 [20:19:20]StoreToDocumentArchive [20:19:20]shift 382 fd 32428 [20:19:20]save to /storage/0382/doc_00032428 [20:19:20]save last doc name /storage/0382/doc_00032428 to /storage/kkm_last_doc_name [20:19:20]save OK [20:19:20]Clear old archive folders... [20:19:20]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:19:20]tlvbuf is 004A4990 [20:19:20]SAM_PROTO_ClearQueue [20:19:20]wFMCommunicate request_size=4 [20:19:20]MH_SAM_APDU [20:19:20]CAPDU: 80 09 00 00 [20:19:20]Write to MH i2c: E2 08 00 5E 0F 80 09 00 00 00 00 00 00 DF [20:19:20]Write i2c OK [20:19:20]MH_I2C_Read... [20:19:20]Read from MH i2c: E2 [20:19:20]MH_I2C_Read... [20:19:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:19:20]Read from MH i2c: E2 03 00 [20:19:20]MH_I2C_Read... [20:19:20]Read from MH i2c: E2 03 00 5E 0F 00 90 00 E1 [20:19:20]RAPDU: 90 00 [20:19:20]wFMCommunicate OK [20:19:20]SAM_PROTO_ClearQueue done [20:19:20]KKMCreateOFDPacket [20:19:20]OFDProtocolAddRootSTLVToBuf [20:19:20]FM_MakeSignedData [20:19:20]FM_MakeSignedData [20:19:20]SAM_PROTO_SignData [20:19:20]wFMCommunicate request_size=4 [20:19:20]MH_SAM_APDU [20:19:20]CAPDU: 80 0D 01 02 [20:19:20]Write to MH i2c: E2 08 00 5F 0F 80 0D 01 02 00 00 00 00 E7 [20:19:20]Write i2c OK [20:19:20]MH_I2C_Read... [20:19:20]Read from MH i2c: E2 [20:19:20]MH_I2C_Read... [20:19:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:19:20]Read from MH i2c: E2 03 00 [20:19:20]MH_I2C_Read... [20:19:20]Read from MH i2c: E2 03 00 5F 0F 00 90 00 E2 [20:19:20]RAPDU: 90 00 [20:19:20]wFMCommunicate OK [20:19:20]wFMCommunicate request_size=255 [20:19:20]MH_SAM_APDU [20:19:20]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CA 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AC 7E 00 00 35 04 06 00 61 70 85 73 [20:19:20]Write to MH i2c: E2 02 01 60 0F 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CA 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AC 7E 00 00 35 04 06 00 61 70 85 73 00 00 75 [20:19:20]Write i2c OK [20:19:20]MH_I2C_Read... [20:19:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:21]Read from MH i2c: E2 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 03 00 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 03 00 60 0F 00 90 00 E3 [20:19:21]RAPDU: 90 00 [20:19:21]wFMCommunicate OK [20:19:21]wFMCommunicate request_size=7 [20:19:21]MH_SAM_APDU [20:19:21]CAPDU: 80 0D 02 02 02 60 35 [20:19:21]Write to MH i2c: E2 0A 00 61 0F 80 0D 02 02 02 00 60 35 00 00 83 [20:19:21]Write i2c OK [20:19:21]MH_I2C_Read... [20:19:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:21]Read from MH i2c: E2 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 03 00 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 03 00 61 0F 00 90 00 E4 [20:19:21]RAPDU: 90 00 [20:19:21]wFMCommunicate OK [20:19:21]wFMCommunicate request_size=4 [20:19:21]MH_SAM_APDU [20:19:21]CAPDU: 80 0D 03 02 [20:19:21]Write to MH i2c: E2 08 00 62 0F 80 0D 03 02 00 00 00 00 EC [20:19:21]Write i2c OK [20:19:21]MH_I2C_Read... [20:19:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:19:21]Read from MH i2c: E2 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 0B 00 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 0B 00 62 0F 00 AE DD 43 FB 0C 0C FD D4 90 00 9F [20:19:21]RAPDU: AE DD 43 FB 0C 0C FD D4 90 00 [20:19:21]wFMCommunicate OK [20:19:21]SAM_PROTO_SignData done [20:19:21]FM_MakeSignedData done [20:19:21]CreateOFDProtocolMessage [20:19:21]wFMCommunicate request_size=4 [20:19:21]MH_SAM_APDU [20:19:21]CAPDU: 80 11 00 00 [20:19:21]Write to MH i2c: E2 08 00 63 0F 80 11 00 00 00 00 00 00 EC [20:19:21]Write i2c OK [20:19:21]MH_I2C_Read... [20:19:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:21]Read from MH i2c: E2 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 17 00 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: E2 17 00 63 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 42 [20:19:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:19:21]wFMCommunicate OK [20:19:21]CreateOFDProtocolMessage done [20:19:21]OFDSenderStorePacket 32428 [20:19:21]StoreOFDPacket docnum=32428 [20:19:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 75 24 04 01 82 E1 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CA 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AC 7E 00 00 35 04 06 00 61 70 85 73 60 35 AE DD 43 FB 0C 0C FD D4 [20:19:21]CheckFolder [20:19:21]dirname=/storage/ofd_packets [20:19:21]CheckFolder done [20:19:21]ProducePacketName [20:19:21]name=ofd_packets/00032428 [20:19:21]NVStorageSaveData ofd_packets/00032428 [20:19:21]File name is /storage/ofd_packets/00032428 [20:19:21]Write 298 bytes [20:19:21]NVStorageSaveData done [20:19:21]OFDSenderStorePacket done [20:19:21]KKMCreateOFDPacket done [20:19:21]NVStorageSaveData kkm_last_timestamp [20:19:21]File name is /storage/kkm_last_timestamp [20:19:21]Write 4 bytes [20:19:21]NVStorageSaveData done [20:19:21]ExternCall_PrintAddStr [20:19:21]wPrintStart [20:19:21]Write to MH i2c: 01 00 00 64 0F 73 [20:19:21]Write i2c OK [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: 01 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: 01 07 00 [20:19:21]MH_I2C_Read... [20:19:21]Read from MH i2c: 01 07 00 64 0F 00 00 00 00 00 FF 0F 88 [20:19:21]RasterBufferAndPrint [20:19:21]line Счет N : (1)6543509 [20:19:21]line ИНН: 02508201610067 [20:19:21]line Контрольно-Кассовый Чек [20:19:21]line ПРОДАЖА [20:19:21]line ТРК (МРК, ГНК) : 33 [20:19:21]line Товар: 2710194210 [20:19:21]line ДТ-К-2 [20:19:21]line 13.780 * 0.00 [20:19:21]line = 0.00 [20:19:21]line НДС 12% НСП 1% [20:19:21]line > о реализуемом товаре [20:19:21]line ИТОГО: 0.00 [20:19:21]line НСП 1% : 0.00 [20:19:21]line НДС 12% : 0.00 [20:19:21]line Наличными: 0.00 [20:19:21]line Безнал.: 0.00 [20:19:21]line Место: АЗС № 96 "Партнер Нефть" [20:19:21]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:19:21]line СНО: Общий режим [20:19:21]line Чек 59 17.02.2025 20:19 [20:19:21]line Смена: 382 ФФД: 1.0 [20:19:21]line ЗНМ: 0300000059 [20:19:21]line РНМ: 0000000000146237 [20:19:21]line Версия ККМ: v1.0 [20:19:21]line Талоны: Топливная Карта [20:19:21]line 59898 [20:19:21]line ФМ: 0000000000959282 [20:19:21]line ФД: 32428 [20:19:21]line ФПД: 107135903162421 [20:19:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T201922&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32428&fm=107135903162421&tin=02508201610067®Number=0000000000146237&sum=0 [20:19:21]OFD Sender: Processing packet 32428 [packets to send 104, broken 103] [20:19:21]ProducePacketName [20:19:21]name=ofd_packets/00032428 [20:19:21]OFD Sender: To server: pG, [20:19:21]CommunicateWithHost lk.salyk.kg:30040 [20:19:21]ConnectInit lk.salyk.kg [20:19:21]written 0, free lines is 4095 [20:19:21]Connected sock=10 [20:19:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 75 24 04 01 82 E1 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 CA 99 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AC 7E 00 00 35 04 06 00 61 70 85 73 60 35 AE DD 43 FB 0C 0C FD D4 [20:19:22]Write to MH i2c: 01 00 00 8E 0F 9D [20:19:22]Write i2c OK [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: 01 [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: 01 07 00 [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: 01 07 00 8E 0F 00 00 00 00 00 02 0D B3 [20:19:22]RasterBufferAndPrint [20:19:22]line [20:19:22]line [20:19:22]line [20:19:22]line [20:19:22]line [20:19:22]written 0, free lines is 3336 [20:19:22]MH_Cut [20:19:22]Write to MH i2c: D1 01 00 95 0F 01 76 [20:19:22]Write i2c OK [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: D1 [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: D1 01 00 [20:19:22]MH_I2C_Read... [20:19:22]Read from MH i2c: D1 01 00 95 0F 00 75 [20:19:22]Write to MH i2c: 01 00 00 96 0F A5 [20:19:22]Write i2c OK [20:19:22]MH_I2C_Read... [20:19:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 25 74 47 00 7F 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AC 7E 00 00 F4 03 04 00 6D 43 B3 67 B6 04 01 00 00 D1 55 39 62 E9 B6 14 75 [20:19:22]CommunicateWithHost err = 0 [20:19:22]CheckOFDResponse [20:19:22]1017 (14) - 77093643461234 [20:19:22]1041 (16) - 0000000000959282 [20:19:22]1040 (4) - 32428 [20:19:22]1012 (4) - 17.02.2025 14:10 [20:19:22]1206 (1) - 0 [20:19:22]OFD Sender: Remove packet 32428 [20:19:22]ProducePacketName [20:19:22]name=ofd_packets/00032428 [20:19:22]NVStorageDeleteData [20:19:22]*** Cut start [20:19:22]*** Partial cut [20:19:22]*** CUTSNS_PIN = 1 [20:19:22]OFD Sender: No OFD packet to send [20:19:22]*** CUTSNS_PIN = 0 [20:19:23]*** Brake cut motor [20:19:23]Read from MH i2c: 01 [20:19:23]MH_I2C_Read... [20:19:23]*** Stop cut motor [20:19:23]*** Cut end [20:19:23]Read from MH i2c: 01 07 00 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: 01 07 00 96 0F 00 00 00 00 00 FF 0F BA [20:19:23]process_action close_receipt done [20:19:23]requested_data is exist [20:19:23]produce_requested_data [20:19:23]requested_item fm.sn is exist - process it [20:19:23]wFMCommunicate request_size=4 [20:19:23]MH_SAM_APDU [20:19:23]CAPDU: 80 11 00 00 [20:19:23]Write to MH i2c: E2 08 00 97 0F 80 11 00 00 00 00 00 00 20 [20:19:23]Write i2c OK [20:19:23]MH_I2C_Read... [20:19:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:23]Read from MH i2c: E2 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 17 00 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 17 00 97 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 76 [20:19:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:19:23]wFMCommunicate OK [20:19:23]requested_item fd.num is exist - process it [20:19:23]SAM_PROTO_GetFieldsCounters [20:19:23]wFMCommunicate request_size=4 [20:19:23]MH_SAM_APDU [20:19:23]CAPDU: 80 13 00 00 [20:19:23]Write to MH i2c: E2 08 00 98 0F 80 13 00 00 00 00 00 00 23 [20:19:23]Write i2c OK [20:19:23]MH_I2C_Read... [20:19:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:19:23]Read from MH i2c: E2 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 62 00 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 62 00 98 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AC 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 9F [20:19:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AC 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:19:23]wFMCommunicate OK [20:19:23]SAM_PROTO_GetFieldsCounters done [20:19:23]requested_item shift.num is exist - process it [20:19:23]requested_item shift.opened is exist - process it [20:19:23]req_shift_opened [20:19:23]FM_GetShiftState [20:19:23]SAM_PROTO_GetShiftState [20:19:23]wFMCommunicate request_size=4 [20:19:23]MH_SAM_APDU [20:19:23]CAPDU: 80 13 01 00 [20:19:23]Write to MH i2c: E2 08 00 99 0F 80 13 01 00 00 00 00 00 25 [20:19:23]Write i2c OK [20:19:23]MH_I2C_Read... [20:19:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:23]Read from MH i2c: E2 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 0E 00 [20:19:23]MH_I2C_Read... [20:19:23]Read from MH i2c: E2 0E 00 99 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 0B [20:19:23]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:19:23]wFMCommunicate OK [20:19:23]SAM_PROTO_GetShiftState done [20:19:23]FM_GetShiftState done [20:19:23]req_shift_opened done [20:19:23]requested_item shift.open_date is exist - process it [20:19:23]req_shift_open_date [20:19:23]req_shift_open_date done [20:19:23]produce_requested_data done [20:19:23]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32428,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:19:23]process_action_free close_receipt [20:19:23]json_value_free [20:19:23]json_value_free done [20:19:23]process_json_proto returns [20:19:23]Send response to host [20:19:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32428,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:19:23]free response buf [20:19:23]execute_script done [20:19:23]execute_script returns [20:19:23]free content buf [20:19:23]Sock 7.Close socket [20:19:23]Sock 7.Thread stoped [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:26]accept exits with 9 [20:29:26]New connection [20:29:26]New thread 3067411812 created [20:29:26]Thread 3067555172 joined [20:29:26]Waiting for new connection... [20:29:26] Sock 9.Parse request [20:29:26]Sock 9.Check first char [20:29:26]Sock 9.First char is OK [20:29:26]request: POST /json_proto HTTP/1.0 [20:29:26]Method: POST [20:29:26]URL: /json_proto [20:29:26]Method is POST - this is cgi request [20:29:26]url: /json_proto [20:29:26]query_string will be loaded in cgi processing [20:29:26]execute_cgi json_proto POST (null) [20:29:26]execute_cgi path=json_proto method=POST [20:29:26]POST find Content-Length [20:29:26]Host: 172.17.47.135:8080 [20:29:26]Content-Length: 953 [20:29:26]Content-Type: application/json [20:29:26] [20:29:26]POST finish read [20:29:26]Found Content-Length = 953 [20:29:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130671", "tax_sys" : 0, "items" : [ { "code": "4650243870968", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041F\u0435\u0440\u0441\u0438\u043A \u0410\u0431\u0440\u0438\u043A\u043E\u0441", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:26]execute_script... [20:29: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)130671", "tax_sys" : 0, "items" : [ { "code": "4650243870968", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B \u041F\u0435\u0440\u0441\u0438\u043A \u0410\u0431\u0440\u0438\u043A\u043E\u0441", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:26]POST & json_proto [20:29:26]process_json_proto [20:29:26]json parsed OK: [20:29:26]protocol is kg_v1.0 [20:29:26]action value=close_receipt [20:29:26]process_action close_receipt [20:29:26]cmd_close_receipt [20:29:26]MH_GetDate [20:29:26]Write to MH i2c: F0 00 00 9A 0F 98 [20:29:26]Write i2c OK [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: F0 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: F0 09 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: F0 09 00 9A 0F 00 29 9C B3 67 19 D8 DE 66 B5 [20:29:26]GetLastDocTimeStamp 1739823562 [20:29:26]current date 1739824169 [20:29:26]FM_GetShiftState [20:29:26]SAM_PROTO_GetShiftState [20:29:26]wFMCommunicate request_size=4 [20:29:26]MH_SAM_APDU [20:29:26]CAPDU: 80 13 01 00 [20:29:26]Write to MH i2c: E2 08 00 9B 0F 80 13 01 00 00 00 00 00 27 [20:29:26]Write i2c OK [20:29:26]MH_I2C_Read... [20:29:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:26]Read from MH i2c: E2 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 0E 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 0E 00 9B 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 0D [20:29:26]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:29:26]wFMCommunicate OK [20:29:26]SAM_PROTO_GetShiftState done [20:29:26]FM_GetShiftState done [20:29:26]opened in 1739750979 [20:29:26]opened+sec_in_day 1739837379 [20:29:26]quantity*price = 9900 [20:29:26]sum+1 = 9901 [20:29:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741224 Сигареты Winston Super Slims Blue 1.000 * 146.00 = 146.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.01 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 60 17.02.2025 20:29 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32429 ФПД: 194494564216406 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T202929&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32429&fm=194494564216406&tin=02508201610067®Number=0000000000146237&sum=24500 0 [20:29:27]StoreToDocumentArchive [20:29:27]shift 382 fd 32429 [20:29:27]save to /storage/0382/doc_00032429 [20:29:27]save last doc name /storage/0382/doc_00032429 to /storage/kkm_last_doc_name [20:29:27]save OK [20:29:27]Clear old archive folders... [20:29:27]ProcessDocumentItem done err = 0, tmpTLVsize=413 [20:29:27]tlvbuf is 004BB9B0 [20:29:27]SAM_PROTO_ClearQueue [20:29:27]wFMCommunicate request_size=4 [20:29:27]MH_SAM_APDU [20:29:27]CAPDU: 80 09 00 00 [20:29:27]Write to MH i2c: E2 08 00 A8 0F 80 09 00 00 00 00 00 00 29 [20:29:27]Write i2c OK [20:29:27]MH_I2C_Read... [20:29:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:29:27]Read from MH i2c: E2 [20:29:27]MH_I2C_Read... [20:29:27]Read from MH i2c: E2 03 00 [20:29:27]MH_I2C_Read... [20:29:27]Read from MH i2c: E2 03 00 A8 0F 00 90 00 2B [20:29:27]RAPDU: 90 00 [20:29:27]wFMCommunicate OK [20:29:27]SAM_PROTO_ClearQueue done [20:29:27]KKMCreateOFDPacket [20:29:27]OFDProtocolAddRootSTLVToBuf [20:29:27]FM_MakeSignedData [20:29:27]FM_MakeSignedData [20:29:27]SAM_PROTO_SignData [20:29:27]wFMCommunicate request_size=4 [20:29:27]MH_SAM_APDU [20:29:27]CAPDU: 80 0D 01 02 [20:29:27]Write to MH i2c: E2 08 00 A9 0F 80 0D 01 02 00 00 00 00 31 [20:29:27]Write i2c OK [20:29:27]MH_I2C_Read... [20:29:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:29:27]Read from MH i2c: E2 [20:29:27]MH_I2C_Read... [20:29:27]Read from MH i2c: E2 03 00 [20:29:27]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 03 00 A9 0F 00 90 00 2C [20:29:28]RAPDU: 90 00 [20:29:28]wFMCommunicate OK [20:29:28]wFMCommunicate request_size=255 [20:29:28]MH_SAM_APDU [20:29:28]CAPDU: 80 0D 02 02 FA 03 00 9D 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 [20:29:28]Write to MH i2c: E2 02 01 AA 0F 80 0D 02 02 FA 00 03 00 9D 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 18 [20:29:28]Write i2c OK [20:29:28]MH_I2C_Read... [20:29:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:28]Read from MH i2c: E2 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 03 00 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 03 00 AA 0F 00 90 00 2D [20:29:28]RAPDU: 90 00 [20:29:28]wFMCommunicate OK [20:29:28]wFMCommunicate request_size=172 [20:29:28]MH_SAM_APDU [20:29:28]CAPDU: 80 0D 02 02 A7 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 29 9C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AD 7E 00 00 35 04 06 00 B0 E4 4B 69 2E 56 [20:29:28]Write to MH i2c: E2 AF 00 AB 0F 80 0D 02 02 A7 00 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 29 9C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AD 7E 00 00 35 04 06 00 B0 E4 4B 69 2E 56 00 00 89 [20:29:28]Write i2c OK [20:29:28]MH_I2C_Read... [20:29:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:28]Read from MH i2c: E2 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 03 00 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 03 00 AB 0F 00 90 00 2E [20:29:28]RAPDU: 90 00 [20:29:28]wFMCommunicate OK [20:29:28]wFMCommunicate request_size=4 [20:29:28]MH_SAM_APDU [20:29:28]CAPDU: 80 0D 03 02 [20:29:28]Write to MH i2c: E2 08 00 AC 0F 80 0D 03 02 00 00 00 00 36 [20:29:28]Write i2c OK [20:29:28]MH_I2C_Read... [20:29:28]OFD Sender: No OFD packet to send [20:29:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:29:28]Read from MH i2c: E2 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 0B 00 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 0B 00 AC 0F 00 31 90 AA 5B FA 24 71 35 90 00 C1 [20:29:28]RAPDU: 31 90 AA 5B FA 24 71 35 90 00 [20:29:28]wFMCommunicate OK [20:29:28]SAM_PROTO_SignData done [20:29:28]FM_MakeSignedData done [20:29:28]CreateOFDProtocolMessage [20:29:28]wFMCommunicate request_size=4 [20:29:28]MH_SAM_APDU [20:29:28]CAPDU: 80 11 00 00 [20:29:28]Write to MH i2c: E2 08 00 AD 0F 80 11 00 00 00 00 00 00 36 [20:29:28]Write i2c OK [20:29:28]MH_I2C_Read... [20:29:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:28]Read from MH i2c: E2 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 17 00 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: E2 17 00 AD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8C [20:29:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:29:28]wFMCommunicate OK [20:29:28]CreateOFDProtocolMessage done [20:29:28]OFDSenderStorePacket 32429 [20:29:28]StoreOFDPacket docnum=32429 [20:29:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 B1 01 00 00 60 40 A9 01 C2 57 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 29 9C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AD 7E 00 00 35 04 06 00 B0 E4 4B 69 2E 56 31 90 AA 5B FA 24 71 35 [20:29:28]CheckFolder [20:29:28]dirname=/storage/ofd_packets [20:29:28]CheckFolder done [20:29:28]ProducePacketName [20:29:28]name=ofd_packets/00032429 [20:29:28]NVStorageSaveData ofd_packets/00032429 [20:29:28]File name is /storage/ofd_packets/00032429 [20:29:28]Write 463 bytes [20:29:28]NVStorageSaveData done [20:29:28]OFDSenderStorePacket done [20:29:28]KKMCreateOFDPacket done [20:29:28]NVStorageSaveData kkm_last_timestamp [20:29:28]File name is /storage/kkm_last_timestamp [20:29:28]Write 4 bytes [20:29:28]NVStorageSaveData done [20:29:28]ExternCall_PrintAddStr [20:29:28]wPrintStart [20:29:28]Write to MH i2c: 01 00 00 AE 0F BD [20:29:28]Write i2c OK [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: 01 [20:29:28]MH_I2C_Read... [20:29:28]Read from MH i2c: 01 07 00 [20:29:28]MH_I2C_Read... [20:29:28]OFD Sender: Processing packet 32429 [packets to send 104, broken 103] [20:29:28]ProducePacketName [20:29:28]name=ofd_packets/00032429 [20:29:28]Read from MH i2c: 01 07 00 AE 0F 00 00 00 00 00 FF 0F D2 [20:29:28]RasterBufferAndPrint [20:29:28]line Счет N : (3)130671 [20:29:28]line ИНН: 02508201610067 [20:29:28]line Контрольно-Кассовый Чек [20:29:28]line ПРОДАЖА [20:29:28]line Товар: 4650243870968 [20:29:28]line Напиток Gorilla ж/б 0,45л Персик Абрикос [20:29:28]line 1.000 * 99.00 [20:29:28]line = 99.00 [20:29:28]line НДС 12% НСП 1% [20:29:28]line > о реализуемом товаре [20:29:28]line Товар: 48741224 [20:29:28]line Сигареты Winston Super Slims Blue [20:29:28]line 1.000 * 146.00 [20:29:28]line = 146.00 [20:29:28]line НДС 12% НСП 1% [20:29:28]line > о реализуемом товаре [20:29:28]line ИТОГО: 245.00 [20:29:28]line НСП 1% : 2.17 [20:29:28]line НДС 12% : 26.01 [20:29:28]line Наличными: 245.00 [20:29:28]line Безнал.: 0.00 [20:29:28]line Место: АЗС № 96 "Партнер Нефть" [20:29:28]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:29:28]line СНО: Общий режим [20:29:28]line Чек 60 17.02.2025 20:29 [20:29:28]line Смена: 382 ФФД: 1.0 [20:29:28]line ЗНМ: 0300000059 [20:29:28]line РНМ: 0000000000146237 [20:29:28]line Версия ККМ: v1.0 [20:29:28]line ФМ: 0000000000959282 [20:29:28]line ФД: 32429 [20:29:28]line ФПД: 194494564216406 [20:29:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T202929&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32429&fm=194494564216406&tin=02508201610067®Number=0000000000146237&sum=24500 [20:29:28]OFD Sender: To server: pG, [20:29:28]CommunicateWithHost lk.salyk.kg:30040 [20:29:28]ConnectInit lk.salyk.kg [20:29:28]line 0 [20:29:28]written 0, free lines is 4095 [20:29:29]Connected sock=10 [20:29:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 B1 01 00 00 60 40 A9 01 C2 57 5A 03 01 00 03 00 9D 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 30 39 36 38 06 04 3F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 D0 9F D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 90 D0 B1 D1 80 D0 B8 D0 BA D0 BE D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 29 9C B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AD 7E 00 00 35 04 06 00 B0 E4 4B 69 2E 56 31 90 AA 5B FA 24 71 35 [20:29:29]Write to MH i2c: 01 00 00 DE 0F ED [20:29:29]Write i2c OK [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: 01 [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: 01 07 00 [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: 01 07 00 DE 0F 00 00 00 00 00 99 0C 99 [20:29:29]RasterBufferAndPrint [20:29:29]line [20:29:29]line [20:29:29]line [20:29:29]line [20:29:29]line [20:29:29]written 0, free lines is 3231 [20:29:29]MH_Cut [20:29:29]Write to MH i2c: D1 01 00 E5 0F 01 C6 [20:29:29]Write i2c OK [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: D1 [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: D1 01 00 [20:29:29]MH_I2C_Read... [20:29:29]Read from MH i2c: D1 01 00 E5 0F 00 C5 [20:29:29]Write to MH i2c: 01 00 00 E6 0F F5 [20:29:29]Write i2c OK [20:29:29]MH_I2C_Read... [20:29:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 56 7F 47 00 12 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 AD 7E 00 00 F4 03 04 00 CC 45 B3 67 B6 04 01 00 00 82 E4 3B 84 8E C7 7A 70 [20:29:29]CommunicateWithHost err = 0 [20:29:29]CheckOFDResponse [20:29:29]1017 (14) - 77093643461234 [20:29:29]1041 (16) - 0000000000959282 [20:29:29]1040 (4) - 32429 [20:29:29]1012 (4) - 17.02.2025 14:21 [20:29:29]1206 (1) - 0 [20:29:29]OFD Sender: Remove packet 32429 [20:29:29]ProducePacketName [20:29:29]name=ofd_packets/00032429 [20:29:29]NVStorageDeleteData [20:29:30]*** Cut start [20:29:30]*** Partial cut [20:29:30]*** CUTSNS_PIN = 1 [20:29:30]*** CUTSNS_PIN = 0 [20:29:30]OFD Sender: No OFD packet to send [20:29:30]*** Brake cut motor [20:29:30]Read from MH i2c: 01 [20:29:30]MH_I2C_Read... [20:29:30]*** Stop cut motor [20:29:30]*** Cut end [20:29:30]Read from MH i2c: 01 07 00 [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: 01 07 00 E6 0F 00 00 00 00 00 FF 0F 0A [20:29:30]process_action close_receipt done [20:29:30]requested_data is exist [20:29:30]produce_requested_data [20:29:30]requested_item fm.sn is exist - process it [20:29:30]wFMCommunicate request_size=4 [20:29:30]MH_SAM_APDU [20:29:30]CAPDU: 80 11 00 00 [20:29:30]Write to MH i2c: E2 08 00 E7 0F 80 11 00 00 00 00 00 00 70 [20:29:30]Write i2c OK [20:29:30]MH_I2C_Read... [20:29:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:30]Read from MH i2c: E2 [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: E2 17 00 [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: E2 17 00 E7 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C6 [20:29:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:29:30]wFMCommunicate OK [20:29:30]requested_item fd.num is exist - process it [20:29:30]SAM_PROTO_GetFieldsCounters [20:29:30]wFMCommunicate request_size=4 [20:29:30]MH_SAM_APDU [20:29:30]CAPDU: 80 13 00 00 [20:29:30]Write to MH i2c: E2 08 00 E8 0F 80 13 00 00 00 00 00 00 73 [20:29:30]Write i2c OK [20:29:30]MH_I2C_Read... [20:29:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:29:30]Read from MH i2c: E2 [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: E2 62 00 [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: E2 62 00 E8 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AD 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [20:29:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AD 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:29:30]wFMCommunicate OK [20:29:30]SAM_PROTO_GetFieldsCounters done [20:29:30]requested_item shift.num is exist - process it [20:29:30]requested_item shift.opened is exist - process it [20:29:30]req_shift_opened [20:29:30]FM_GetShiftState [20:29:30]SAM_PROTO_GetShiftState [20:29:30]wFMCommunicate request_size=4 [20:29:30]MH_SAM_APDU [20:29:30]CAPDU: 80 13 01 00 [20:29:30]Write to MH i2c: E2 08 00 E9 0F 80 13 01 00 00 00 00 00 75 [20:29:30]Write i2c OK [20:29:30]MH_I2C_Read... [20:29:30]Read from MH i2c: E2 [20:29:31]MH_I2C_Read... [20:29:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:31]Read from MH i2c: E2 0E 00 [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: E2 0E 00 E9 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5B [20:29:31]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:29:31]wFMCommunicate OK [20:29:31]SAM_PROTO_GetShiftState done [20:29:31]FM_GetShiftState done [20:29:31]req_shift_opened done [20:29:31]requested_item shift.open_date is exist - process it [20:29:31]req_shift_open_date [20:29:31]req_shift_open_date done [20:29:31]produce_requested_data done [20:29:31]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32429,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:29:31]process_action_free close_receipt [20:29:31]json_value_free [20:29:31]json_value_free done [20:29:31]process_json_proto returns [20:29:31]Send response to host [20:29:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32429,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:29:31]free response buf [20:29:31]execute_script done [20:29:31]execute_script returns [20:29:31]free content buf [20:29:31]Sock 9.Close socket [20:29:31]Sock 9.Thread stoped [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:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:43]accept exits with 7 [20:45:43]New connection [20:45:43]New thread 3067555172 created [20:45:43]Thread 3067411812 joined [20:45:43]Waiting for new connection... [20:45:43] Sock 7.Parse request [20:45:43]Sock 7.Check first char [20:45:43]Sock 7.First char is OK [20:45:43]request: POST /json_proto HTTP/1.0 [20:45:43]Method: POST [20:45:43]URL: /json_proto [20:45:43]Method is POST - this is cgi request [20:45:43]url: /json_proto [20:45:43]query_string will be loaded in cgi processing [20:45:43]execute_cgi json_proto POST (null) [20:45:43]execute_cgi path=json_proto method=POST [20:45:43]POST find Content-Length [20:45:43]Host: 172.17.47.135:8080 [20:45:43]Content-Length: 621 [20:45:43]Content-Type: application/json [20:45:43] [20:45:43]POST finish read [20:45:43]Found Content-Length = 621 [20:45:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130672", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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" ] } } [20:45:43]execute_script... [20:45: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)130672", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle 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" ] } } [20:45:43]POST & json_proto [20:45:43]process_json_proto [20:45:43]json parsed OK: [20:45:43]protocol is kg_v1.0 [20:45:43]action value=close_receipt [20:45:43]process_action close_receipt [20:45:43]cmd_close_receipt [20:45:43]MH_GetDate [20:45:43]Write to MH i2c: F0 00 00 EA 0F E8 [20:45:43]Write i2c OK [20:45:43]MH_I2C_Read... [20:45:43]Read from MH i2c: F0 [20:45:43]MH_I2C_Read... [20:45:43]Read from MH i2c: F0 09 00 [20:45:43]MH_I2C_Read... [20:45:43]Read from MH i2c: F0 09 00 EA 0F 00 FA 9F B3 67 19 D8 DE 66 D9 [20:45:43]GetLastDocTimeStamp 1739824169 [20:45:43]current date 1739825146 [20:45:43]FM_GetShiftState [20:45:43]SAM_PROTO_GetShiftState [20:45:43]wFMCommunicate request_size=4 [20:45:43]MH_SAM_APDU [20:45:43]CAPDU: 80 13 01 00 [20:45:43]Write to MH i2c: E2 08 00 EB 0F 80 13 01 00 00 00 00 00 77 [20:45:43]Write i2c OK [20:45:43]MH_I2C_Read... [20:45:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:45:43]Read from MH i2c: E2 [20:45:43]MH_I2C_Read... [20:45:43]Read from MH i2c: E2 0E 00 [20:45:43]MH_I2C_Read... [20:45:43]Read from MH i2c: E2 0E 00 EB 0F 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 5D [20:45:43]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:45:43]wFMCommunicate OK [20:45:43]SAM_PROTO_GetShiftState done [20:45:43]FM_GetShiftState done [20:45:43]opened in 1739750979 [20:45:43]opened+sec_in_day 1739837379 [20:45:43]quantity*price = 15100 [20:45:43]sum+1 = 15101 [20:45:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 61 17.02.2025 20:45 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32430 ФПД: 236320533841075 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T204546&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32430&fm=236320533841075&tin=02508201610067®Number=0000000000146237&sum=15100 0 [20:45:44]StoreToDocumentArchive [20:45:44]shift 382 fd 32430 [20:45:44]save to /storage/0382/doc_00032430 [20:45:44]save last doc name /storage/0382/doc_00032430 to /storage/kkm_last_doc_name [20:45:44]save OK [20:45:44]Clear old archive folders... [20:45:44]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:45:44]tlvbuf is 004E8ED0 [20:45:44]SAM_PROTO_ClearQueue [20:45:44]wFMCommunicate request_size=4 [20:45:44]MH_SAM_APDU [20:45:44]CAPDU: 80 09 00 00 [20:45:44]Write to MH i2c: E2 08 00 F8 0F 80 09 00 00 00 00 00 00 79 [20:45:44]Write i2c OK [20:45:44]MH_I2C_Read... [20:45:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:45:44]Read from MH i2c: E2 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [20:45:44]RAPDU: 90 00 [20:45:44]wFMCommunicate OK [20:45:44]SAM_PROTO_ClearQueue done [20:45:44]KKMCreateOFDPacket [20:45:44]OFDProtocolAddRootSTLVToBuf [20:45:44]FM_MakeSignedData [20:45:44]FM_MakeSignedData [20:45:44]SAM_PROTO_SignData [20:45:44]wFMCommunicate request_size=4 [20:45:44]MH_SAM_APDU [20:45:44]CAPDU: 80 0D 01 02 [20:45:44]Write to MH i2c: E2 08 00 F9 0F 80 0D 01 02 00 00 00 00 81 [20:45:44]Write i2c OK [20:45:44]MH_I2C_Read... [20:45:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:45:44]Read from MH i2c: E2 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [20:45:44]RAPDU: 90 00 [20:45:44]wFMCommunicate OK [20:45:44]wFMCommunicate request_size=255 [20:45:44]MH_SAM_APDU [20:45:44]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 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 3D 00 00 00 F4 03 04 00 FA 9F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 [20:45:44]Write to MH i2c: E2 02 01 FA 0F 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 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 3D 00 00 00 F4 03 04 00 FA 9F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 00 00 A2 [20:45:44]Write i2c OK [20:45:44]MH_I2C_Read... [20:45:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:44]Read from MH i2c: E2 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [20:45:44]RAPDU: 90 00 [20:45:44]wFMCommunicate OK [20:45:44]wFMCommunicate request_size=32 [20:45:44]MH_SAM_APDU [20:45:44]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 32 38 32 10 04 04 00 AE 7E 00 00 35 04 06 00 D6 EE A9 79 04 B3 [20:45:44]Write to MH i2c: E2 23 00 FB 0F 80 0D 02 02 1B 00 30 30 30 39 35 39 32 38 32 10 04 04 00 AE 7E 00 00 35 04 06 00 D6 EE A9 79 04 B3 00 00 AD [20:45:44]Write i2c OK [20:45:44]MH_I2C_Read... [20:45:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:44]Read from MH i2c: E2 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 [20:45:44]MH_I2C_Read... [20:45:44]Read from MH i2c: E2 03 00 FB 0F 00 90 00 7E [20:45:44]RAPDU: 90 00 [20:45:44]wFMCommunicate OK [20:45:44]wFMCommunicate request_size=4 [20:45:44]MH_SAM_APDU [20:45:44]CAPDU: 80 0D 03 02 [20:45:44]Write to MH i2c: E2 08 00 FC 0F 80 0D 03 02 00 00 00 00 86 [20:45:44]Write i2c OK [20:45:44]MH_I2C_Read... [20:45:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:45:45]Read from MH i2c: E2 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: E2 0B 00 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: E2 0B 00 FC 0F 00 4E E4 A2 3E CB 03 85 29 90 00 15 [20:45:45]RAPDU: 4E E4 A2 3E CB 03 85 29 90 00 [20:45:45]wFMCommunicate OK [20:45:45]SAM_PROTO_SignData done [20:45:45]FM_MakeSignedData done [20:45:45]CreateOFDProtocolMessage [20:45:45]wFMCommunicate request_size=4 [20:45:45]MH_SAM_APDU [20:45:45]CAPDU: 80 11 00 00 [20:45:45]Write to MH i2c: E2 08 00 FD 0F 80 11 00 00 00 00 00 00 86 [20:45:45]Write i2c OK [20:45:45]MH_I2C_Read... [20:45:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:45:45]Read from MH i2c: E2 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: E2 17 00 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: E2 17 00 FD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DC [20:45:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:45:45]wFMCommunicate OK [20:45:45]CreateOFDProtocolMessage done [20:45:45]OFDSenderStorePacket 32430 [20:45:45]StoreOFDPacket docnum=32430 [20:45:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 68 D5 1D 01 9A 8C 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 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 3D 00 00 00 F4 03 04 00 FA 9F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AE 7E 00 00 35 04 06 00 D6 EE A9 79 04 B3 4E E4 A2 3E CB 03 85 29 [20:45:45]CheckFolder [20:45:45]dirname=/storage/ofd_packets [20:45:45]CheckFolder done [20:45:45]ProducePacketName [20:45:45]name=ofd_packets/00032430 [20:45:45]NVStorageSaveData ofd_packets/00032430 [20:45:45]File name is /storage/ofd_packets/00032430 [20:45:45]Write 323 bytes [20:45:45]NVStorageSaveData done [20:45:45]OFDSenderStorePacket done [20:45:45]KKMCreateOFDPacket done [20:45:45]NVStorageSaveData kkm_last_timestamp [20:45:45]File name is /storage/kkm_last_timestamp [20:45:45]Write 4 bytes [20:45:45]NVStorageSaveData done [20:45:45]ExternCall_PrintAddStr [20:45:45]wPrintStart [20:45:45]Write to MH i2c: 01 00 00 FE 0F 0D [20:45:45]Write i2c OK [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 07 00 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 07 00 FE 0F 00 00 00 00 00 FF 0F 22 [20:45:45]RasterBufferAndPrint [20:45:45]line Счет N : (3)130672 [20:45:45]line ИНН: 02508201610067 [20:45:45]line Контрольно-Кассовый Чек [20:45:45]line ПРОДАЖА [20:45:45]line Товар: 48743570 [20:45:45]line Сигареты Winston XStyle Blue [20:45:45]line 1.000 * 151.00 [20:45:45]line = 151.00 [20:45:45]line НДС 12% НСП 1% [20:45:45]line > о реализуемом товаре [20:45:45]line ИТОГО: 151.00 [20:45:45]line НСП 1% : 1.34 [20:45:45]line НДС 12% : 16.03 [20:45:45]line Наличными: 151.00 [20:45:45]line Безнал.: 0.00 [20:45:45]line Место: АЗС № 96 "Партнер Нефть" [20:45:45]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:45:45]line СНО: Общий режим [20:45:45]line Чек 61 17.02.2025 20:45 [20:45:45]line Смена: 382 ФФД: 1.0 [20:45:45]line ЗНМ: 0300000059 [20:45:45]line РНМ: 0000000000146237 [20:45:45]line Версия ККМ: v1.0 [20:45:45]line ФМ: 0000000000959282 [20:45:45]line ФД: 32430 [20:45:45]line ФПД: 236320533841075 [20:45:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T204546&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32430&fm=236320533841075&tin=02508201610067®Number=0000000000146237&sum=15100 [20:45:45]line 0 [20:45:45]OFD Sender: Processing packet 32430 [packets to send 104, broken 103] [20:45:45]ProducePacketName [20:45:45]name=ofd_packets/00032430 [20:45:45]OFD Sender: To server: pG, [20:45:45]CommunicateWithHost lk.salyk.kg:30040 [20:45:45]ConnectInit lk.salyk.kg [20:45:45]written 0, free lines is 4095 [20:45:45]Connected sock=10 [20:45:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 68 D5 1D 01 9A 8C 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 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 3D 00 00 00 F4 03 04 00 FA 9F B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AE 7E 00 00 35 04 06 00 D6 EE A9 79 04 B3 4E E4 A2 3E CB 03 85 29 [20:45:45]Write to MH i2c: 01 00 00 26 10 36 [20:45:45]Write i2c OK [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 07 00 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: 01 07 00 26 10 00 00 00 00 00 01 0D 4B [20:45:45]RasterBufferAndPrint [20:45:45]line [20:45:45]line [20:45:45]line [20:45:45]line [20:45:45]line [20:45:45]written 0, free lines is 3335 [20:45:45]MH_Cut [20:45:45]Write to MH i2c: D1 01 00 2D 10 01 0F [20:45:45]Write i2c OK [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: D1 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: D1 01 00 [20:45:45]MH_I2C_Read... [20:45:45]Read from MH i2c: D1 01 00 2D 10 00 0E [20:45:45]Write to MH i2c: 01 00 00 2E 10 3E [20:45:45]Write i2c OK [20:45:45]MH_I2C_Read... [20:45:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 3D 3C 47 00 71 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AE 7E 00 00 F4 03 04 00 9D 49 B3 67 B6 04 01 00 00 30 71 0B 95 2D 12 09 AF [20:45:46]CommunicateWithHost err = 0 [20:45:46]CheckOFDResponse [20:45:46]1017 (14) - 77093643461234 [20:45:46]1041 (16) - 0000000000959282 [20:45:46]1040 (4) - 32430 [20:45:46]1012 (4) - 17.02.2025 14:37 [20:45:46]1206 (1) - 0 [20:45:46]OFD Sender: Remove packet 32430 [20:45:46]ProducePacketName [20:45:46]name=ofd_packets/00032430 [20:45:46]NVStorageDeleteData [20:45:46]*** Cut start [20:45:46]*** Partial cut [20:45:46]*** CUTSNS_PIN = 1 [20:45:46]*** CUTSNS_PIN = 0 [20:45:46]OFD Sender: No OFD packet to send [20:45:46]*** Brake cut motor [20:45:47]Read from MH i2c: 01 [20:45:47]MH_I2C_Read... [20:45:47]*** Stop cut motor [20:45:47]*** Cut end [20:45:47]Read from MH i2c: 01 07 00 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: 01 07 00 2E 10 00 00 00 00 00 FF 0F 53 [20:45:47]process_action close_receipt done [20:45:47]requested_data is exist [20:45:47]produce_requested_data [20:45:47]requested_item fm.sn is exist - process it [20:45:47]wFMCommunicate request_size=4 [20:45:47]MH_SAM_APDU [20:45:47]CAPDU: 80 11 00 00 [20:45:47]Write to MH i2c: E2 08 00 2F 10 80 11 00 00 00 00 00 00 B9 [20:45:47]Write i2c OK [20:45:47]MH_I2C_Read... [20:45:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:45:47]Read from MH i2c: E2 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 17 00 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 17 00 2F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 0F [20:45:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:45:47]wFMCommunicate OK [20:45:47]requested_item fd.num is exist - process it [20:45:47]SAM_PROTO_GetFieldsCounters [20:45:47]wFMCommunicate request_size=4 [20:45:47]MH_SAM_APDU [20:45:47]CAPDU: 80 13 00 00 [20:45:47]Write to MH i2c: E2 08 00 30 10 80 13 00 00 00 00 00 00 BC [20:45:47]Write i2c OK [20:45:47]MH_I2C_Read... [20:45:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:45:47]Read from MH i2c: E2 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 62 00 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 62 00 30 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AE 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [20:45:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AE 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:45:47]wFMCommunicate OK [20:45:47]SAM_PROTO_GetFieldsCounters done [20:45:47]requested_item shift.num is exist - process it [20:45:47]requested_item shift.opened is exist - process it [20:45:47]req_shift_opened [20:45:47]FM_GetShiftState [20:45:47]SAM_PROTO_GetShiftState [20:45:47]wFMCommunicate request_size=4 [20:45:47]MH_SAM_APDU [20:45:47]CAPDU: 80 13 01 00 [20:45:47]Write to MH i2c: E2 08 00 31 10 80 13 01 00 00 00 00 00 BE [20:45:47]Write i2c OK [20:45:47]MH_I2C_Read... [20:45:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:45:47]Read from MH i2c: E2 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 0E 00 [20:45:47]MH_I2C_Read... [20:45:47]Read from MH i2c: E2 0E 00 31 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A4 [20:45:47]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:45:47]wFMCommunicate OK [20:45:47]SAM_PROTO_GetShiftState done [20:45:47]FM_GetShiftState done [20:45:47]req_shift_opened done [20:45:47]requested_item shift.open_date is exist - process it [20:45:47]req_shift_open_date [20:45:47]req_shift_open_date done [20:45:47]produce_requested_data done [20:45:47]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32430,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:45:47]process_action_free close_receipt [20:45:47]json_value_free [20:45:47]json_value_free done [20:45:47]process_json_proto returns [20:45:47]Send response to host [20:45:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32430,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:45:47]free response buf [20:45:47]execute_script done [20:45:47]execute_script returns [20:45:47]free content buf [20:45:47]Sock 7.Close socket [20:45:47]Sock 7.Thread stoped [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53:42]OFD Sender: No OFD packet to send [20:53:47]OFD Sender: No OFD packet to send [20:53:52]OFD Sender: No OFD packet to send [20:53:57]OFD Sender: No OFD packet to send [20:54:02]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]OFD Sender: No OFD packet to send [20:58:32]OFD Sender: No OFD packet to send [20:58:37]OFD Sender: No OFD packet to send [20:58:42]OFD Sender: No OFD packet to send [20:58:47]OFD Sender: No OFD packet to send [20:58:48]accept exits with 9 [20:58:48]New connection [20:58:48]New thread 3067411812 created [20:58:48]Thread 3067555172 joined [20:58:48]Waiting for new connection... [20:58:48] Sock 9.Parse request [20:58:48]Sock 9.Check first char [20:58:48]Sock 9.First char is OK [20:58:48]request: POST /json_proto HTTP/1.0 [20:58:48]Method: POST [20:58:48]URL: /json_proto [20:58:48]Method is POST - this is cgi request [20:58:48]url: /json_proto [20:58:48]query_string will be loaded in cgi processing [20:58:48]execute_cgi json_proto POST (null) [20:58:48]execute_cgi path=json_proto method=POST [20:58:48]POST find Content-Length [20:58:48]Host: 172.17.47.135:8080 [20:58:48]Content-Length: 976 [20:58:48]Content-Type: application/json [20:58:48] [20:58:48]POST finish read [20:58:48]Found Content-Length = 976 [20:58:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130673", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 2.000, "sum" : 128.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 222.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:48]execute_script... [20:58: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)130673", "tax_sys" : 0, "items" : [ { "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 2.000, "sum" : 128.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 222.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:48]POST & json_proto [20:58:48]process_json_proto [20:58:48]json parsed OK: [20:58:48]protocol is kg_v1.0 [20:58:48]action value=close_receipt [20:58:48]process_action close_receipt [20:58:48]cmd_close_receipt [20:58:48]MH_GetDate [20:58:48]Write to MH i2c: F0 00 00 32 10 31 [20:58:48]Write i2c OK [20:58:48]MH_I2C_Read... [20:58:48]Read from MH i2c: F0 [20:58:48]MH_I2C_Read... [20:58:48]Read from MH i2c: F0 09 00 [20:58:48]MH_I2C_Read... [20:58:48]Read from MH i2c: F0 09 00 32 10 00 0B A3 B3 67 19 D8 DE 66 37 [20:58:48]GetLastDocTimeStamp 1739825146 [20:58:48]current date 1739825931 [20:58:48]FM_GetShiftState [20:58:48]SAM_PROTO_GetShiftState [20:58:48]wFMCommunicate request_size=4 [20:58:48]MH_SAM_APDU [20:58:48]CAPDU: 80 13 01 00 [20:58:48]Write to MH i2c: E2 08 00 33 10 80 13 01 00 00 00 00 00 C0 [20:58:48]Write i2c OK [20:58:48]MH_I2C_Read... [20:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:48]Read from MH i2c: E2 [20:58:48]MH_I2C_Read... [20:58:48]Read from MH i2c: E2 0E 00 [20:58:48]MH_I2C_Read... [20:58:48]Read from MH i2c: E2 0E 00 33 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A6 [20:58:48]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:58:48]wFMCommunicate OK [20:58:48]SAM_PROTO_GetShiftState done [20:58:48]FM_GetShiftState done [20:58:48]opened in 1739750979 [20:58:48]opened+sec_in_day 1739837379 [20:58:48]quantity*price = 9400 [20:58:48]sum+1 = 9401 [20:58:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 2.000 * 64.00 = 128.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 222.00 НСП 1% : 1.96 НДС 12% : 23.57 Наличными: 222.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 62 17.02.2025 20:58 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32431 ФПД: 229335473050538 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T205851&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32431&fm=229335473050538&tin=02508201610067®Number=0000000000146237&sum=22200 0 [20:58:49]StoreToDocumentArchive [20:58:49]shift 382 fd 32431 [20:58:49]save to /storage/0382/doc_00032431 [20:58:49]save last doc name /storage/0382/doc_00032431 to /storage/kkm_last_doc_name [20:58:49]save OK [20:58:49]Clear old archive folders... [20:58:49]ProcessDocumentItem done err = 0, tmpTLVsize=417 [20:58:49]tlvbuf is 004A6C60 [20:58:49]SAM_PROTO_ClearQueue [20:58:49]wFMCommunicate request_size=4 [20:58:49]MH_SAM_APDU [20:58:49]CAPDU: 80 09 00 00 [20:58:49]Write to MH i2c: E2 08 00 40 10 80 09 00 00 00 00 00 00 C2 [20:58:49]Write i2c OK [20:58:49]MH_I2C_Read... [20:58:49]Read from MH i2c: E2 [20:58:49]MH_I2C_Read... [20:58:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:49]Read from MH i2c: E2 03 00 [20:58:49]MH_I2C_Read... [20:58:49]Read from MH i2c: E2 03 00 40 10 00 90 00 C4 [20:58:49]RAPDU: 90 00 [20:58:49]wFMCommunicate OK [20:58:49]SAM_PROTO_ClearQueue done [20:58:49]KKMCreateOFDPacket [20:58:49]OFDProtocolAddRootSTLVToBuf [20:58:49]FM_MakeSignedData [20:58:49]FM_MakeSignedData [20:58:49]SAM_PROTO_SignData [20:58:49]wFMCommunicate request_size=4 [20:58:49]MH_SAM_APDU [20:58:49]CAPDU: 80 0D 01 02 [20:58:49]Write to MH i2c: E2 08 00 41 10 80 0D 01 02 00 00 00 00 CA [20:58:49]Write i2c OK [20:58:49]MH_I2C_Read... [20:58:49]Read from MH i2c: E2 [20:58:49]MH_I2C_Read... [20:58:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:49]Read from MH i2c: E2 03 00 [20:58:49]MH_I2C_Read... [20:58:49]Read from MH i2c: E2 03 00 41 10 00 90 00 C5 [20:58:49]RAPDU: 90 00 [20:58:49]wFMCommunicate OK [20:58:49]wFMCommunicate request_size=255 [20:58:49]MH_SAM_APDU [20:58:49]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [20:58:49]Write to MH i2c: E2 02 01 42 10 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 B2 [20:58:49]Write i2c OK [20:58:49]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 [20:58:50]MH_I2C_Read... [20:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:50]Read from MH i2c: E2 03 00 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 03 00 42 10 00 90 00 C6 [20:58:50]RAPDU: 90 00 [20:58:50]wFMCommunicate OK [20:58:50]wFMCommunicate request_size=176 [20:58:50]MH_SAM_APDU [20:58:50]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 B8 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 09 00 00 00 00 07 04 06 00 B8 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 0B A3 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AF 7E 00 00 35 04 06 00 D0 94 53 67 D3 AA [20:58:50]Write to MH i2c: E2 B3 00 43 10 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 B8 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 09 00 00 00 00 07 04 06 00 B8 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 0B A3 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AF 7E 00 00 35 04 06 00 D0 94 53 67 D3 AA 00 00 94 [20:58:50]Write i2c OK [20:58:50]MH_I2C_Read... [20:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:50]Read from MH i2c: E2 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 03 00 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 03 00 43 10 00 90 00 C7 [20:58:50]RAPDU: 90 00 [20:58:50]wFMCommunicate OK [20:58:50]wFMCommunicate request_size=4 [20:58:50]MH_SAM_APDU [20:58:50]CAPDU: 80 0D 03 02 [20:58:50]Write to MH i2c: E2 08 00 44 10 80 0D 03 02 00 00 00 00 CF [20:58:50]Write i2c OK [20:58:50]MH_I2C_Read... [20:58:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:50]Read from MH i2c: E2 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 0B 00 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 0B 00 44 10 00 91 FA 9A 10 68 41 61 21 90 00 30 [20:58:50]RAPDU: 91 FA 9A 10 68 41 61 21 90 00 [20:58:50]wFMCommunicate OK [20:58:50]SAM_PROTO_SignData done [20:58:50]FM_MakeSignedData done [20:58:50]CreateOFDProtocolMessage [20:58:50]wFMCommunicate request_size=4 [20:58:50]MH_SAM_APDU [20:58:50]CAPDU: 80 11 00 00 [20:58:50]Write to MH i2c: E2 08 00 45 10 80 11 00 00 00 00 00 00 CF [20:58:50]Write i2c OK [20:58:50]MH_I2C_Read... [20:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:50]Read from MH i2c: E2 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 17 00 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: E2 17 00 45 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 25 [20:58:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:58:50]wFMCommunicate OK [20:58:50]CreateOFDProtocolMessage done [20:58:50]OFDSenderStorePacket 32431 [20:58:50]StoreOFDPacket docnum=32431 [20:58:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 B5 01 00 00 4D 4E AD 01 69 13 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 09 00 00 00 00 07 04 06 00 B8 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 0B A3 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AF 7E 00 00 35 04 06 00 D0 94 53 67 D3 AA 91 FA 9A 10 68 41 61 21 [20:58:50]CheckFolder [20:58:50]dirname=/storage/ofd_packets [20:58:50]CheckFolder done [20:58:50]ProducePacketName [20:58:50]name=ofd_packets/00032431 [20:58:50]NVStorageSaveData ofd_packets/00032431 [20:58:50]File name is /storage/ofd_packets/00032431 [20:58:50]Write 467 bytes [20:58:50]NVStorageSaveData done [20:58:50]OFDSenderStorePacket done [20:58:50]KKMCreateOFDPacket done [20:58:50]NVStorageSaveData kkm_last_timestamp [20:58:50]File name is /storage/kkm_last_timestamp [20:58:50]Write 4 bytes [20:58:50]NVStorageSaveData done [20:58:50]ExternCall_PrintAddStr [20:58:50]wPrintStart [20:58:50]Write to MH i2c: 01 00 00 46 10 56 [20:58:50]Write i2c OK [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: 01 [20:58:50]MH_I2C_Read... [20:58:50]OFD Sender: Processing packet 32431 [packets to send 104, broken 103] [20:58:50]ProducePacketName [20:58:50]name=ofd_packets/00032431 [20:58:50]OFD Sender: To server: pG, [20:58:50]CommunicateWithHost lk.salyk.kg:30040 [20:58:50]ConnectInit lk.salyk.kg [20:58:50]Read from MH i2c: 01 07 00 [20:58:50]MH_I2C_Read... [20:58:50]Read from MH i2c: 01 07 00 46 10 00 00 00 00 00 FF 0F 6B [20:58:50]RasterBufferAndPrint [20:58:50]line Счет N : (3)130673 [20:58:50]line ИНН: 02508201610067 [20:58:50]line Контрольно-Кассовый Чек [20:58:50]line ПРОДАЖА [20:58:50]line Товар: 4700000481965 [20:58:50]line Напиток энерг Nitro дикие ягоды 0.45 ж/б [20:58:50]line 1.000 * 94.00 [20:58:50]line = 94.00 [20:58:50]line НДС 12% НСП 1% [20:58:50]line > о реализуемом товаре [20:58:50]line Товар: 4607065001445 [20:58:50]line Шок батончик Snickers 50,5г [20:58:50]line 2.000 * 64.00 [20:58:50]line = 128.00 [20:58:50]line НДС 12% НСП 1% [20:58:50]line > о реализуемом товаре [20:58:50]line ИТОГО: 222.00 [20:58:50]line НСП 1% : 1.96 [20:58:50]line НДС 12% : 23.57 [20:58:50]line Наличными: 222.00 [20:58:50]line Безнал.: 0.00 [20:58:50]line Место: АЗС № 96 "Партнер Нефть" [20:58:50]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [20:58:50]line СНО: Общий режим [20:58:50]line Чек 62 17.02.2025 20:58 [20:58:50]line Смена: 382 ФФД: 1.0 [20:58:50]line ЗНМ: 0300000059 [20:58:50]line РНМ: 0000000000146237 [20:58:50]line Версия ККМ: v1.0 [20:58:50]line ФМ: 0000000000959282 [20:58:50]line ФД: 32431 [20:58:50]line ФПД: 229335473050538 [20:58:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T205851&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32431&fm=229335473050538&tin=02508201610067®Number=0000000000146237&sum=22200 [20:58:50]line 0 [20:58:50]written 0, free lines is 4095 [20:58:51]Connected sock=10 [20:58:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 B5 01 00 00 4D 4E AD 01 69 13 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 09 00 00 00 00 07 04 06 00 B8 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 0B A3 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 AF 7E 00 00 35 04 06 00 D0 94 53 67 D3 AA 91 FA 9A 10 68 41 61 21 [20:58:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 FA 58 47 00 F0 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 AF 7E 00 00 F4 03 04 00 AE 4C B3 67 B6 04 01 00 00 77 47 96 BA 1A 72 4A 3A [20:58:51]CommunicateWithHost err = 0 [20:58:51]CheckOFDResponse [20:58:51]1017 (14) - 77093643461234 [20:58:51]1041 (16) - 0000000000959282 [20:58:51]1040 (4) - 32431 [20:58:51]1012 (4) - 17.02.2025 14:50 [20:58:51]1206 (1) - 0 [20:58:51]OFD Sender: Remove packet 32431 [20:58:51]ProducePacketName [20:58:51]name=ofd_packets/00032431 [20:58:51]NVStorageDeleteData [20:58:51]Write to MH i2c: 01 00 00 75 10 85 [20:58:51]Write i2c OK [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: 01 [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: 01 07 00 [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: 01 07 00 75 10 00 00 00 00 00 C0 0C 58 [20:58:51]RasterBufferAndPrint [20:58:51]line [20:58:51]line [20:58:51]line [20:58:51]line [20:58:51]line [20:58:51]written 0, free lines is 3273 [20:58:51]MH_Cut [20:58:51]Write to MH i2c: D1 01 00 7C 10 01 5E [20:58:51]Write i2c OK [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: D1 [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: D1 01 00 [20:58:51]MH_I2C_Read... [20:58:51]Read from MH i2c: D1 01 00 7C 10 00 5D [20:58:51]Write to MH i2c: 01 00 00 7D 10 8D [20:58:51]Write i2c OK [20:58:51]MH_I2C_Read... [20:58:51]OFD Sender: No OFD packet to send [20:58:52]*** Cut start [20:58:52]*** Partial cut [20:58:52]*** CUTSNS_PIN = 1 [20:58:52]*** CUTSNS_PIN = 0 [20:58:52]*** Brake cut motor [20:58:52]Read from MH i2c: 01 *** Stop cut motor [20:58:52]*** Cut end [20:58:52] [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: 01 07 00 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: 01 07 00 7D 10 00 00 00 00 00 FF 0F A2 [20:58:52]process_action close_receipt done [20:58:52]requested_data is exist [20:58:52]produce_requested_data [20:58:52]requested_item fm.sn is exist - process it [20:58:52]wFMCommunicate request_size=4 [20:58:52]MH_SAM_APDU [20:58:52]CAPDU: 80 11 00 00 [20:58:52]Write to MH i2c: E2 08 00 7E 10 80 11 00 00 00 00 00 00 08 [20:58:52]Write i2c OK [20:58:52]MH_I2C_Read... [20:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:52]Read from MH i2c: E2 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 17 00 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 17 00 7E 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5E [20:58:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [20:58:52]wFMCommunicate OK [20:58:52]requested_item fd.num is exist - process it [20:58:52]SAM_PROTO_GetFieldsCounters [20:58:52]wFMCommunicate request_size=4 [20:58:52]MH_SAM_APDU [20:58:52]CAPDU: 80 13 00 00 [20:58:52]Write to MH i2c: E2 08 00 7F 10 80 13 00 00 00 00 00 00 0B [20:58:52]Write i2c OK [20:58:52]MH_I2C_Read... [20:58:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:52]Read from MH i2c: E2 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 62 00 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 62 00 7F 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AF 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 93 [20:58:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 AF 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:52]wFMCommunicate OK [20:58:52]SAM_PROTO_GetFieldsCounters done [20:58:52]requested_item shift.num is exist - process it [20:58:52]requested_item shift.opened is exist - process it [20:58:52]req_shift_opened [20:58:52]FM_GetShiftState [20:58:52]SAM_PROTO_GetShiftState [20:58:52]wFMCommunicate request_size=4 [20:58:52]MH_SAM_APDU [20:58:52]CAPDU: 80 13 01 00 [20:58:52]Write to MH i2c: E2 08 00 80 10 80 13 01 00 00 00 00 00 0D [20:58:52]Write i2c OK [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 [20:58:52]MH_I2C_Read... [20:58:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:52]Read from MH i2c: E2 0E 00 [20:58:52]MH_I2C_Read... [20:58:52]Read from MH i2c: E2 0E 00 80 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F3 [20:58:52]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [20:58:52]wFMCommunicate OK [20:58:52]SAM_PROTO_GetShiftState done [20:58:52]FM_GetShiftState done [20:58:52]req_shift_opened done [20:58:52]requested_item shift.open_date is exist - process it [20:58:52]req_shift_open_date [20:58:52]req_shift_open_date done [20:58:52]produce_requested_data done [20:58:52]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32431,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [20:58:52]process_action_free close_receipt [20:58:52]json_value_free [20:58:52]json_value_free done [20:58:52]process_json_proto returns [20:58:52]Send response to host [20:58:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32431,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [20:58:52]free response buf [20:58:52]execute_script done [20:58:52]execute_script returns [20:58:52]free content buf [20:58:52]Sock 9.Close socket [20:58:52]Sock 9.Thread stoped [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:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:28]accept exits with 7 [21:05:28]New connection [21:05:28]New thread 3067555172 created [21:05:28]Thread 3067411812 joined [21:05:28]Waiting for new connection... [21:05:28] Sock 7.Parse request [21:05:28]Sock 7.Check first char [21:05:28]Sock 7.First char is OK [21:05:28]request: POST /json_proto HTTP/1.0 [21:05:28]Method: POST [21:05:28]URL: /json_proto [21:05:28]Method is POST - this is cgi request [21:05:28]url: /json_proto [21:05:28]query_string will be loaded in cgi processing [21:05:28]execute_cgi json_proto POST (null) [21:05:28]execute_cgi path=json_proto method=POST [21:05:28]POST find Content-Length [21:05:28]Host: 172.17.47.135:8080 [21:05:28]Content-Length: 817 [21:05:28]Content-Type: application/json [21:05:28] [21:05:28]POST finish read [21:05:28]Found Content-Length = 817 [21:05:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543527", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:28]execute_script... [21:05:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543527", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:28]POST & json_proto [21:05:28]process_json_proto [21:05:28]json parsed OK: [21:05:28]protocol is kg_v1.0 [21:05:28]action value=close_receipt [21:05:28]process_action close_receipt [21:05:28]cmd_close_receipt [21:05:28]MH_GetDate [21:05:28]Write to MH i2c: F0 00 00 81 10 80 [21:05:28]Write i2c OK [21:05:28]MH_I2C_Read... [21:05:28]Read from MH i2c: F0 [21:05:28]MH_I2C_Read... [21:05:28]Read from MH i2c: F0 09 00 [21:05:28]MH_I2C_Read... [21:05:28]Read from MH i2c: F0 09 00 81 10 00 9B A4 B3 67 19 D8 DE 66 17 [21:05:28]GetLastDocTimeStamp 1739825931 [21:05:28]current date 1739826331 [21:05:28]FM_GetShiftState [21:05:28]SAM_PROTO_GetShiftState [21:05:28]wFMCommunicate request_size=4 [21:05:28]MH_SAM_APDU [21:05:28]CAPDU: 80 13 01 00 [21:05:28]Write to MH i2c: E2 08 00 82 10 80 13 01 00 00 00 00 00 0F [21:05:28]Write i2c OK [21:05:28]MH_I2C_Read... [21:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:28]Read from MH i2c: E2 [21:05:28]MH_I2C_Read... [21:05:28]Read from MH i2c: E2 0E 00 [21:05:28]MH_I2C_Read... [21:05:28]Read from MH i2c: E2 0E 00 82 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 F5 [21:05:28]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:05:28]wFMCommunicate OK [21:05:28]SAM_PROTO_GetShiftState done [21:05:28]FM_GetShiftState done [21:05:28]opened in 1739750979 [21:05:28]opened+sec_in_day 1739837379 [21:05:28]quantity*price = 50011 [21:05:28]sum+1 = 50013 [21:05:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.12 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 0.00 Безнал.: 500.12 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 63 17.02.2025 21:05 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32432 ФПД: 77631898498425 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T210531&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32432&fm=77631898498425&tin=02508201610067®Number=0000000000146237&sum=50012 [21:05:29]StoreToDocumentArchive [21:05:29]shift 382 fd 32432 [21:05:29]save to /storage/0382/doc_00032432 [21:05:29]save last doc name /storage/0382/doc_00032432 to /storage/kkm_last_doc_name [21:05:29]save OK [21:05:29]Clear old archive folders... [21:05:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:05:29]tlvbuf is 004A4030 [21:05:29]SAM_PROTO_ClearQueue [21:05:29]wFMCommunicate request_size=4 [21:05:29]MH_SAM_APDU [21:05:29]CAPDU: 80 09 00 00 [21:05:29]Write to MH i2c: E2 08 00 8F 10 80 09 00 00 00 00 00 00 11 [21:05:29]Write i2c OK [21:05:29]MH_I2C_Read... [21:05:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:05:29]Read from MH i2c: E2 [21:05:29]MH_I2C_Read... [21:05:29]Read from MH i2c: E2 03 00 [21:05:29]MH_I2C_Read... [21:05:29]Read from MH i2c: E2 03 00 8F 10 00 90 00 13 [21:05:29]RAPDU: 90 00 [21:05:29]wFMCommunicate OK [21:05:29]SAM_PROTO_ClearQueue done [21:05:29]KKMCreateOFDPacket [21:05:29]OFDProtocolAddRootSTLVToBuf [21:05:29]FM_MakeSignedData [21:05:29]FM_MakeSignedData [21:05:29]SAM_PROTO_SignData [21:05:29]wFMCommunicate request_size=4 [21:05:29]MH_SAM_APDU [21:05:29]CAPDU: 80 0D 01 02 [21:05:29]Write to MH i2c: E2 08 00 90 10 80 0D 01 02 00 00 00 00 19 [21:05:29]Write i2c OK [21:05:29]MH_I2C_Read... [21:05:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:05:29]Read from MH i2c: E2 [21:05:29]MH_I2C_Read... [21:05:29]Read from MH i2c: E2 03 00 [21:05:29]MH_I2C_Read... [21:05:29]Read from MH i2c: E2 03 00 90 10 00 90 00 14 [21:05:29]RAPDU: 90 00 [21:05:29]wFMCommunicate OK [21:05:29]wFMCommunicate request_size=255 [21:05:29]MH_SAM_APDU [21:05:29]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 9B A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B0 7E 00 00 35 04 06 00 46 [21:05:29]Write to MH i2c: E2 02 01 91 10 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 9B A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B0 7E 00 00 35 04 06 00 46 00 00 54 [21:05:29]Write i2c OK [21:05:29]MH_I2C_Read... [21:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:30]Read from MH i2c: E2 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 03 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 03 00 91 10 00 90 00 15 [21:05:30]RAPDU: 90 00 [21:05:30]wFMCommunicate OK [21:05:30]wFMCommunicate request_size=10 [21:05:30]MH_SAM_APDU [21:05:30]CAPDU: 80 0D 02 02 05 9B 15 BB B5 79 [21:05:30]Write to MH i2c: E2 0D 00 92 10 80 0D 02 02 05 00 9B 15 BB B5 79 00 00 BF [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:30]Read from MH i2c: E2 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 03 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 03 00 92 10 00 90 00 16 [21:05:30]RAPDU: 90 00 [21:05:30]wFMCommunicate OK [21:05:30]wFMCommunicate request_size=4 [21:05:30]MH_SAM_APDU [21:05:30]CAPDU: 80 0D 03 02 [21:05:30]Write to MH i2c: E2 08 00 93 10 80 0D 03 02 00 00 00 00 1E [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:05:30]Read from MH i2c: E2 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 0B 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 0B 00 93 10 00 20 97 C1 25 C2 4D 7C D2 90 00 19 [21:05:30]RAPDU: 20 97 C1 25 C2 4D 7C D2 90 00 [21:05:30]wFMCommunicate OK [21:05:30]SAM_PROTO_SignData done [21:05:30]FM_MakeSignedData done [21:05:30]CreateOFDProtocolMessage [21:05:30]wFMCommunicate request_size=4 [21:05:30]MH_SAM_APDU [21:05:30]CAPDU: 80 11 00 00 [21:05:30]Write to MH i2c: E2 08 00 94 10 80 11 00 00 00 00 00 00 1E [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:30]Read from MH i2c: E2 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 17 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: E2 17 00 94 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 74 [21:05:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:05:30]wFMCommunicate OK [21:05:30]CreateOFDProtocolMessage done [21:05:30]OFDSenderStorePacket 32432 [21:05:30]StoreOFDPacket docnum=32432 [21:05:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 06 8C 07 01 7A 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 9B A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B0 7E 00 00 35 04 06 00 46 9B 15 BB B5 79 20 97 C1 25 C2 4D 7C D2 [21:05:30]CheckFolder [21:05:30]dirname=/storage/ofd_packets [21:05:30]CheckFolder done [21:05:30]ProducePacketName [21:05:30]name=ofd_packets/00032432 [21:05:30]NVStorageSaveData ofd_packets/00032432 [21:05:30]File name is /storage/ofd_packets/00032432 [21:05:30]Write 301 bytes [21:05:30]NVStorageSaveData done [21:05:30]OFDSenderStorePacket done [21:05:30]KKMCreateOFDPacket done [21:05:30]NVStorageSaveData kkm_last_timestamp [21:05:30]File name is /storage/kkm_last_timestamp [21:05:30]Write 4 bytes [21:05:30]NVStorageSaveData done [21:05:30]ExternCall_PrintAddStr [21:05:30]wPrintStart [21:05:30]Write to MH i2c: 01 00 00 95 10 A5 [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 07 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 07 00 95 10 00 00 00 00 00 FF 0F BA [21:05:30]RasterBufferAndPrint [21:05:30]line Счет N : (1)6543527 [21:05:30]line ИНН: 02508201610067 [21:05:30]line Контрольно-Кассовый Чек [21:05:30]line ПРОДАЖА [21:05:30]line ТРК (МРК, ГНК) : 12 [21:05:30]line Товар: 2710124130 [21:05:30]line Аи-92-К-5 [21:05:30]line 7.790 * 64.20 [21:05:30]line = 500.12 [21:05:30]line НДС 12% НСП 1% [21:05:30]line > о реализуемом товаре [21:05:30]line ИТОГО: 500.12 [21:05:30]line НСП 1% : 4.43 [21:05:30]line НДС 12% : 53.11 [21:05:30]line Наличными: 0.00 [21:05:30]line Безнал.: 500.12 [21:05:30]line Место: АЗС № 96 "Партнер Нефть" [21:05:30]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:05:30]line СНО: Общий режим [21:05:30]line Чек 63 17.02.2025 21:05 [21:05:30]line Смена: 382 ФФД: 1.0 [21:05:30]line ЗНМ: 0300000059 [21:05:30]line РНМ: 0000000000146237 [21:05:30]line Версия ККМ: v1.0 [21:05:30]line Платежная система: Бакай Банк [21:05:30]line ФМ: 0000000000959282 [21:05:30]line ФД: 32432 [21:05:30]line ФПД: 77631898498425 [21:05:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T210531&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32432&fm=77631898498425&tin=02508201610067®Number=0000000000146237&sum=50012 [21:05:30]written 0, free lines is 4095 [21:05:30]OFD Sender: Processing packet 32432 [packets to send 104, broken 103] [21:05:30]ProducePacketName [21:05:30]name=ofd_packets/00032432 [21:05:30]OFD Sender: To server: pG, [21:05:30]CommunicateWithHost lk.salyk.kg:30040 [21:05:30]ConnectInit lk.salyk.kg [21:05:30]Connected sock=11 [21:05:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 06 8C 07 01 7A 25 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 9B A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B0 7E 00 00 35 04 06 00 46 9B 15 BB B5 79 20 97 C1 25 C2 4D 7C D2 [21:05:30]Write to MH i2c: 01 00 00 BF 10 CF [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 07 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: 01 07 00 BF 10 00 00 00 00 00 02 0D E5 [21:05:30]RasterBufferAndPrint [21:05:30]line [21:05:30]line [21:05:30]line [21:05:30]line [21:05:30]line [21:05:30]written 0, free lines is 3336 [21:05:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 99 01 47 00 1C 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B0 7E 00 00 F4 03 04 00 3D 4E B3 67 B6 04 01 00 00 84 31 72 B4 B3 97 C9 F1 [21:05:30]CommunicateWithHost err = 0 [21:05:30]CheckOFDResponse [21:05:30]1017 (14) - 77093643461234 [21:05:30]1041 (16) - 0000000000959282 [21:05:30]1040 (4) - 32432 [21:05:30]1012 (4) - 17.02.2025 14:57 [21:05:30]1206 (1) - 0 [21:05:30]OFD Sender: Remove packet 32432 [21:05:30]ProducePacketName [21:05:30]name=ofd_packets/00032432 [21:05:30]NVStorageDeleteData [21:05:30]MH_Cut [21:05:30]Write to MH i2c: D1 01 00 C6 10 01 A8 [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: D1 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: D1 01 00 [21:05:30]MH_I2C_Read... [21:05:30]Read from MH i2c: D1 01 00 C6 10 00 A7 [21:05:30]Write to MH i2c: 01 00 00 C7 10 D7 [21:05:30]Write i2c OK [21:05:30]MH_I2C_Read... [21:05:31]OFD Sender: No OFD packet to send [21:05:31]*** Cut start [21:05:31]*** Partial cut [21:05:31]*** CUTSNS_PIN = 1 [21:05:31]*** CUTSNS_PIN = 0 [21:05:31]*** Brake cut motor [21:05:31]Read from MH i2c: 01 [21:05:31]*** Stop cut motor [21:05:31]*** Cut end [21:05:31]MH_I2C_Read... [21:05:31]Read from MH i2c: 01 07 00 [21:05:31]MH_I2C_Read... [21:05:31]Read from MH i2c: 01 07 00 C7 10 00 00 00 00 00 FF 0F EC [21:05:31]process_action close_receipt done [21:05:31]requested_data is exist [21:05:31]produce_requested_data [21:05:31]requested_item fm.sn is exist - process it [21:05:31]wFMCommunicate request_size=4 [21:05:31]MH_SAM_APDU [21:05:31]CAPDU: 80 11 00 00 [21:05:31]Write to MH i2c: E2 08 00 C8 10 80 11 00 00 00 00 00 00 52 [21:05:31]Write i2c OK [21:05:31]MH_I2C_Read... [21:05:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:32]Read from MH i2c: E2 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 17 00 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 17 00 C8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A8 [21:05:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:05:32]wFMCommunicate OK [21:05:32]requested_item fd.num is exist - process it [21:05:32]SAM_PROTO_GetFieldsCounters [21:05:32]wFMCommunicate request_size=4 [21:05:32]MH_SAM_APDU [21:05:32]CAPDU: 80 13 00 00 [21:05:32]Write to MH i2c: E2 08 00 C9 10 80 13 00 00 00 00 00 00 55 [21:05:32]Write i2c OK [21:05:32]MH_I2C_Read... [21:05:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:05:32]Read from MH i2c: E2 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 62 00 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 62 00 C9 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B0 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 E1 [21:05:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B0 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:05:32]wFMCommunicate OK [21:05:32]SAM_PROTO_GetFieldsCounters done [21:05:32]requested_item shift.num is exist - process it [21:05:32]requested_item shift.opened is exist - process it [21:05:32]req_shift_opened [21:05:32]FM_GetShiftState [21:05:32]SAM_PROTO_GetShiftState [21:05:32]wFMCommunicate request_size=4 [21:05:32]MH_SAM_APDU [21:05:32]CAPDU: 80 13 01 00 [21:05:32]Write to MH i2c: E2 08 00 CA 10 80 13 01 00 00 00 00 00 57 [21:05:32]Write i2c OK [21:05:32]MH_I2C_Read... [21:05:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:32]Read from MH i2c: E2 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 0E 00 [21:05:32]MH_I2C_Read... [21:05:32]Read from MH i2c: E2 0E 00 CA 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 3D [21:05:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:05:32]wFMCommunicate OK [21:05:32]SAM_PROTO_GetShiftState done [21:05:32]FM_GetShiftState done [21:05:32]req_shift_opened done [21:05:32]requested_item shift.open_date is exist - process it [21:05:32]req_shift_open_date [21:05:32]req_shift_open_date done [21:05:32]produce_requested_data done [21:05:32]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32432,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:05:32]process_action_free close_receipt [21:05:32]json_value_free [21:05:32]json_value_free done [21:05:32]process_json_proto returns [21:05:32]Send response to host [21:05:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32432,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:05:32]free response buf [21:05:32]execute_script done [21:05:32]execute_script returns [21:05:32]free content buf [21:05:32]Sock 7.Close socket [21:05:32]Sock 7.Thread stoped [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:52]accept exits with 9 [21:06:52]New connection [21:06:52]New thread 3067411812 created [21:06:52]Thread 3067555172 joined [21:06:52]Waiting for new connection... [21:06:52] Sock 9.Parse request [21:06:52]Sock 9.Check first char [21:06:52]Sock 9.First char is OK [21:06:52]request: POST /json_proto HTTP/1.0 [21:06:52]Method: POST [21:06:52]URL: /json_proto [21:06:52]Method is POST - this is cgi request [21:06:52]url: /json_proto [21:06:52]query_string will be loaded in cgi processing [21:06:52]execute_cgi json_proto POST (null) [21:06:52]execute_cgi path=json_proto method=POST [21:06:52]POST find Content-Length [21:06:52]Host: 172.17.47.135:8080 [21:06:52]Content-Length: 1048 [21:06:52]Content-Type: application/json [21:06:52] [21:06:52]POST finish read [21:06:52]Found Content-Length = 1048 [21:06:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130674", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 334.00, "quantity" : 1.000, "sum" : 334.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" : 463.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:52]execute_script... [21:06:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130674", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 334.00, "quantity" : 1.000, "sum" : 334.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" : 463.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:52]POST & json_proto [21:06:52]process_json_proto [21:06:52]json parsed OK: [21:06:52]protocol is kg_v1.0 [21:06:52]action value=close_receipt [21:06:52]process_action close_receipt [21:06:52]cmd_close_receipt [21:06:52]MH_GetDate [21:06:52]Write to MH i2c: F0 00 00 CB 10 CA [21:06:52]Write i2c OK [21:06:52]MH_I2C_Read... [21:06:52]Read from MH i2c: F0 [21:06:52]MH_I2C_Read... [21:06:52]Read from MH i2c: F0 09 00 [21:06:52]MH_I2C_Read... [21:06:52]Read from MH i2c: F0 09 00 CB 10 00 EF A4 B3 67 19 D8 DE 66 B5 [21:06:52]GetLastDocTimeStamp 1739826331 [21:06:52]current date 1739826415 [21:06:52]FM_GetShiftState [21:06:52]SAM_PROTO_GetShiftState [21:06:52]wFMCommunicate request_size=4 [21:06:52]MH_SAM_APDU [21:06:52]CAPDU: 80 13 01 00 [21:06:52]Write to MH i2c: E2 08 00 CC 10 80 13 01 00 00 00 00 00 59 [21:06:52]Write i2c OK [21:06:52]MH_I2C_Read... [21:06:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:52]Read from MH i2c: E2 [21:06:52]MH_I2C_Read... [21:06:52]Read from MH i2c: E2 0E 00 [21:06:52]MH_I2C_Read... [21:06:52]Read from MH i2c: E2 0E 00 CC 10 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 3F [21:06:52]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:06:52]wFMCommunicate OK [21:06:52]SAM_PROTO_GetShiftState done [21:06:52]FM_GetShiftState done [21:06:52]opened in 1739750979 [21:06:52]opened+sec_in_day 1739837379 [21:06:52]quantity*price = 12900 [21:06:52]sum+1 = 12901 [21:06:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700001060169 Коньяк Бишкек 0,2л 1.000 * 334.00 = 334.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 463.00 НСП 1% : 4.10 НДС 12% : 49.17 Наличными: 0.00 Безнал.: 463.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 64 17.02.2025 21:06 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32433 ФПД: 131142400831354 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T210655&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32433&fm=131142400831354&tin=02508201610067®Number=0000000000146237&sum=46300 0 [21:06:53]StoreToDocumentArchive [21:06:53]shift 382 fd 32433 [21:06:53]save to /storage/0382/doc_00032433 [21:06:53]save last doc name /storage/0382/doc_00032433 to /storage/kkm_last_doc_name [21:06:53]save OK [21:06:53]Clear old archive folders... [21:06:53]ProcessDocumentItem done err = 0, tmpTLVsize=369 [21:06:53]tlvbuf is 004CF9C0 [21:06:53]SAM_PROTO_ClearQueue [21:06:53]wFMCommunicate request_size=4 [21:06:53]MH_SAM_APDU [21:06:53]CAPDU: 80 09 00 00 [21:06:53]Write to MH i2c: E2 08 00 D9 10 80 09 00 00 00 00 00 00 5B [21:06:53]Write i2c OK [21:06:53]MH_I2C_Read... [21:06:53]Read from MH i2c: E2 [21:06:53]MH_I2C_Read... [21:06:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:53]Read from MH i2c: E2 03 00 [21:06:53]MH_I2C_Read... [21:06:53]Read from MH i2c: E2 03 00 D9 10 00 90 00 5D [21:06:53]RAPDU: 90 00 [21:06:53]wFMCommunicate OK [21:06:53]SAM_PROTO_ClearQueue done [21:06:53]KKMCreateOFDPacket [21:06:53]OFDProtocolAddRootSTLVToBuf [21:06:53]FM_MakeSignedData [21:06:53]FM_MakeSignedData [21:06:53]SAM_PROTO_SignData [21:06:53]wFMCommunicate request_size=4 [21:06:53]MH_SAM_APDU [21:06:53]CAPDU: 80 0D 01 02 [21:06:53]Write to MH i2c: E2 08 00 DA 10 80 0D 01 02 00 00 00 00 63 [21:06:53]Write i2c OK [21:06:53]MH_I2C_Read... [21:06:53]Read from MH i2c: E2 [21:06:53]MH_I2C_Read... [21:06:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:53]Read from MH i2c: E2 03 00 [21:06:53]MH_I2C_Read... [21:06:53]Read from MH i2c: E2 03 00 DA 10 00 90 00 5E [21:06:53]RAPDU: 90 00 [21:06:53]wFMCommunicate OK [21:06:53]wFMCommunicate request_size=255 [21:06:53]MH_SAM_APDU [21:06:53]CAPDU: 80 0D 02 02 FA 03 00 71 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 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 82 00 00 00 00 13 04 06 00 78 82 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC B4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [21:06:53]Write to MH i2c: E2 02 01 DB 10 80 0D 02 02 FA 00 03 00 71 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 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 82 00 00 00 00 13 04 06 00 78 82 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC B4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 82 [21:06:53]Write i2c OK [21:06:53]MH_I2C_Read... [21:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:54]Read from MH i2c: E2 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 03 00 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 03 00 DB 10 00 90 00 5F [21:06:54]RAPDU: 90 00 [21:06:54]wFMCommunicate OK [21:06:54]wFMCommunicate request_size=128 [21:06:54]MH_SAM_APDU [21:06:54]CAPDU: 80 0D 02 02 7B F3 03 06 00 35 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC B4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EF A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B1 7E 00 00 35 04 06 00 77 45 F8 37 6F 7A [21:06:54]Write to MH i2c: E2 83 00 DC 10 80 0D 02 02 7B 00 F3 03 06 00 35 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC B4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EF A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B1 7E 00 00 35 04 06 00 77 45 F8 37 6F 7A 00 00 DA [21:06:54]Write i2c OK [21:06:54]MH_I2C_Read... [21:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:54]Read from MH i2c: E2 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 03 00 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 03 00 DC 10 00 90 00 60 [21:06:54]RAPDU: 90 00 [21:06:54]wFMCommunicate OK [21:06:54]wFMCommunicate request_size=4 [21:06:54]MH_SAM_APDU [21:06:54]CAPDU: 80 0D 03 02 [21:06:54]Write to MH i2c: E2 08 00 DD 10 80 0D 03 02 00 00 00 00 68 [21:06:54]Write i2c OK [21:06:54]MH_I2C_Read... [21:06:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:54]Read from MH i2c: E2 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 0B 00 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 0B 00 DD 10 00 80 76 80 77 A7 6F 79 4A 90 00 2F [21:06:54]RAPDU: 80 76 80 77 A7 6F 79 4A 90 00 [21:06:54]wFMCommunicate OK [21:06:54]SAM_PROTO_SignData done [21:06:54]FM_MakeSignedData done [21:06:54]CreateOFDProtocolMessage [21:06:54]wFMCommunicate request_size=4 [21:06:54]MH_SAM_APDU [21:06:54]CAPDU: 80 11 00 00 [21:06:54]Write to MH i2c: E2 08 00 DE 10 80 11 00 00 00 00 00 00 68 [21:06:54]Write i2c OK [21:06:54]MH_I2C_Read... [21:06:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:54]Read from MH i2c: E2 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 17 00 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: E2 17 00 DE 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BE [21:06:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:06:54]wFMCommunicate OK [21:06:54]CreateOFDProtocolMessage done [21:06:54]OFDSenderStorePacket 32433 [21:06:54]StoreOFDPacket docnum=32433 [21:06:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 85 01 00 00 4C 25 7D 01 99 61 5A 03 01 00 03 00 71 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 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 82 00 00 00 00 13 04 06 00 78 82 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC B4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC B4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EF A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B1 7E 00 00 35 04 06 00 77 45 F8 37 6F 7A 80 76 80 77 A7 6F 79 4A [21:06:54]CheckFolder [21:06:54]dirname=/storage/ofd_packets [21:06:54]CheckFolder done [21:06:54]ProducePacketName [21:06:54]name=ofd_packets/00032433 [21:06:54]NVStorageSaveData ofd_packets/00032433 [21:06:54]File name is /storage/ofd_packets/00032433 [21:06:54]Write 419 bytes [21:06:54]NVStorageSaveData done [21:06:54]OFDSenderStorePacket done [21:06:54]KKMCreateOFDPacket done [21:06:54]NVStorageSaveData kkm_last_timestamp [21:06:54]File name is /storage/kkm_last_timestamp [21:06:54]Write 4 bytes [21:06:54]NVStorageSaveData done [21:06:54]ExternCall_PrintAddStr [21:06:54]wPrintStart [21:06:54]Write to MH i2c: 01 00 00 DF 10 EF [21:06:54]Write i2c OK [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: 01 [21:06:54]MH_I2C_Read... [21:06:54]OFD Sender: Processing packet 32433 [packets to send 104, broken 103] [21:06:54]ProducePacketName [21:06:54]name=ofd_packets/00032433 [21:06:54]OFD Sender: To server: pG, [21:06:54]CommunicateWithHost lk.salyk.kg:30040 [21:06:54]ConnectInit lk.salyk.kg [21:06:54]Read from MH i2c: 01 07 00 [21:06:54]MH_I2C_Read... [21:06:54]Read from MH i2c: 01 07 00 DF 10 00 00 00 00 00 FF 0F 04 [21:06:54]RasterBufferAndPrint [21:06:54]line Счет N : (3)130674 [21:06:54]line ИНН: 02508201610067 [21:06:54]line Контрольно-Кассовый Чек [21:06:54]line ПРОДАЖА [21:06:54]line Товар: 4870001570071 [21:06:54]line Напиток Pepsi 1л [21:06:54]line 1.000 * 129.00 [21:06:54]line = 129.00 [21:06:54]line НДС 12% НСП 1% [21:06:54]line > о реализуемом товаре [21:06:54]line Товар: 4700001060169 [21:06:54]line Коньяк Бишкек 0,2л [21:06:54]line 1.000 * 334.00 [21:06:54]line = 334.00 [21:06:54]line НДС 12% НСП 1% [21:06:54]line > о реализуемом товаре [21:06:54]line ИТОГО: 463.00 [21:06:54]line НСП 1% : 4.10 [21:06:54]line НДС 12% : 49.17 [21:06:54]line Наличными: 0.00 [21:06:54]line Безнал.: 463.00 [21:06:54]line Место: АЗС № 96 "Партнер Нефть" [21:06:54]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:06:54]line СНО: Общий режим [21:06:54]line Чек 64 17.02.2025 21:06 [21:06:54]line Смена: 382 ФФД: 1.0 [21:06:54]line ЗНМ: 0300000059 [21:06:54]line РНМ: 0000000000146237 [21:06:54]line Версия ККМ: v1.0 [21:06:54]line Платежная система: Бакай Банк [21:06:54]line ФМ: 0000000000959282 [21:06:54]line ФД: 32433 [21:06:54]line ФПД: 131142400831354 [21:06:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T210655&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32433&fm=131142400831354&tin=02508201610067®Number=0000000000146237&sum=46300 [21:06:54]line 0 [21:06:54]written 0, free lines is 4095 [21:06:54]Connected sock=10 [21:06:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 85 01 00 00 4C 25 7D 01 99 61 5A 03 01 00 03 00 71 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 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 82 00 00 00 00 13 04 06 00 78 82 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC B4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC B4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EF A4 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B1 7E 00 00 35 04 06 00 77 45 F8 37 6F 7A 80 76 80 77 A7 6F 79 4A [21:06:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C2 30 47 00 3C 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 B1 7E 00 00 F4 03 04 00 92 4E B3 67 B6 04 01 00 00 A6 26 BA CB 4B 27 33 B2 [21:06:55]CommunicateWithHost err = 0 [21:06:55]CheckOFDResponse [21:06:55]1017 (14) - 77093643461234 [21:06:55]1041 (16) - 0000000000959282 [21:06:55]1040 (4) - 32433 [21:06:55]1012 (4) - 17.02.2025 14:58 [21:06:55]1206 (1) - 0 [21:06:55]OFD Sender: Remove packet 32433 [21:06:55]ProducePacketName [21:06:55]name=ofd_packets/00032433 [21:06:55]NVStorageDeleteData [21:06:55]Write to MH i2c: 01 00 00 0F 11 20 [21:06:55]Write i2c OK [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: 01 [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: 01 07 00 [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: 01 07 00 0F 11 00 00 00 00 00 AD 0C E0 [21:06:55]RasterBufferAndPrint [21:06:55]line [21:06:55]line [21:06:55]line [21:06:55]line [21:06:55]line [21:06:55]written 0, free lines is 3254 [21:06:55]MH_Cut [21:06:55]Write to MH i2c: D1 01 00 16 11 01 F9 [21:06:55]Write i2c OK [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: D1 [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: D1 01 00 [21:06:55]MH_I2C_Read... [21:06:55]Read from MH i2c: D1 01 00 16 11 00 F8 [21:06:55]Write to MH i2c: 01 00 00 17 11 28 [21:06:55]Write i2c OK [21:06:55]MH_I2C_Read... [21:06:55]OFD Sender: No OFD packet to send [21:06:56]*** Cut start [21:06:56]*** Partial cut [21:06:56]*** CUTSNS_PIN = 1 [21:06:56]*** CUTSNS_PIN = 0 [21:06:56]*** Brake cut motor [21:06:56]Read from MH i2c: 01 [21:06:56]MH_I2C_Read... [21:06:56]*** Stop cut motor [21:06:56]*** Cut end [21:06:56]Read from MH i2c: 01 07 00 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: 01 07 00 17 11 00 00 00 00 00 FF 0F 3D [21:06:56]process_action close_receipt done [21:06:56]requested_data is exist [21:06:56]produce_requested_data [21:06:56]requested_item fm.sn is exist - process it [21:06:56]wFMCommunicate request_size=4 [21:06:56]MH_SAM_APDU [21:06:56]CAPDU: 80 11 00 00 [21:06:56]Write to MH i2c: E2 08 00 18 11 80 11 00 00 00 00 00 00 A3 [21:06:56]Write i2c OK [21:06:56]MH_I2C_Read... [21:06:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:56]Read from MH i2c: E2 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 17 00 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 17 00 18 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F9 [21:06:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:06:56]wFMCommunicate OK [21:06:56]requested_item fd.num is exist - process it [21:06:56]SAM_PROTO_GetFieldsCounters [21:06:56]wFMCommunicate request_size=4 [21:06:56]MH_SAM_APDU [21:06:56]CAPDU: 80 13 00 00 [21:06:56]Write to MH i2c: E2 08 00 19 11 80 13 00 00 00 00 00 00 A6 [21:06:56]Write i2c OK [21:06:56]MH_I2C_Read... [21:06:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:56]Read from MH i2c: E2 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 62 00 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 62 00 19 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [21:06:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B1 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:06:56]wFMCommunicate OK [21:06:56]SAM_PROTO_GetFieldsCounters done [21:06:56]requested_item shift.num is exist - process it [21:06:56]requested_item shift.opened is exist - process it [21:06:56]req_shift_opened [21:06:56]FM_GetShiftState [21:06:56]SAM_PROTO_GetShiftState [21:06:56]wFMCommunicate request_size=4 [21:06:56]MH_SAM_APDU [21:06:56]CAPDU: 80 13 01 00 [21:06:56]Write to MH i2c: E2 08 00 1A 11 80 13 01 00 00 00 00 00 A8 [21:06:56]Write i2c OK [21:06:56]MH_I2C_Read... [21:06:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:56]Read from MH i2c: E2 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 0E 00 [21:06:56]MH_I2C_Read... [21:06:56]Read from MH i2c: E2 0E 00 1A 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 8E [21:06:56]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:06:56]wFMCommunicate OK [21:06:56]SAM_PROTO_GetShiftState done [21:06:56]FM_GetShiftState done [21:06:56]req_shift_opened done [21:06:56]requested_item shift.open_date is exist - process it [21:06:56]req_shift_open_date [21:06:56]req_shift_open_date done [21:06:56]produce_requested_data done [21:06:56]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32433,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:06:56]process_action_free close_receipt [21:06:56]json_value_free [21:06:56]json_value_free done [21:06:56]process_json_proto returns [21:06:56]Send response to host [21:06:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32433,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:06:56]free response buf [21:06:56]execute_script done [21:06:56]execute_script returns [21:06:56]free content buf [21:06:56]Sock 9.Close socket [21:06:56]Sock 9.Thread stoped [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:46]OFD Sender: No OFD packet to send [21:14:51]OFD Sender: No OFD packet to send [21:14:56]OFD Sender: No OFD packet to send [21:15:01]OFD Sender: No OFD packet to send [21:15:06]OFD Sender: No OFD packet to send [21:15:11]OFD Sender: No OFD packet to send [21:15:16]OFD Sender: No OFD packet to send [21:15:21]OFD Sender: No OFD packet to send [21:15:26]OFD Sender: No OFD packet to send [21:15:31]OFD Sender: No OFD packet to send [21:15:36]OFD Sender: No OFD packet to send [21:15:41]OFD Sender: No OFD packet to send [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:10]accept exits with 7 [21:20:10]New connection [21:20:10]New thread 3067555172 created [21:20:10]Thread 3067411812 joined [21:20:10]Waiting for new connection... [21:20:10] Sock 7.Parse request [21:20:10]Sock 7.Check first char [21:20:10]Sock 7.First char is OK [21:20:10]request: POST /json_proto HTTP/1.0 [21:20:10]Method: POST [21:20:10]URL: /json_proto [21:20:10]Method is POST - this is cgi request [21:20:10]url: /json_proto [21:20:10]query_string will be loaded in cgi processing [21:20:10]execute_cgi json_proto POST (null) [21:20:10]execute_cgi path=json_proto method=POST [21:20:10]POST find Content-Length [21:20:10]Host: 172.17.47.135:8080 [21:20:10]Content-Length: 799 [21:20:10]Content-Type: application/json [21:20:10] [21:20:10]POST finish read [21:20:10]Found Content-Length = 799 [21:20:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130675", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 169.00, "quantity" : 1.000, "sum" : 169.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" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:10]execute_script... [21:20:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130675", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 169.00, "quantity" : 1.000, "sum" : 169.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" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:10]POST & json_proto [21:20:10]process_json_proto [21:20:10]json parsed OK: [21:20:10]protocol is kg_v1.0 [21:20:10]action value=close_receipt [21:20:10]process_action close_receipt [21:20:10]cmd_close_receipt [21:20:10]MH_GetDate [21:20:10]Write to MH i2c: F0 00 00 1B 11 1B [21:20:10]Write i2c OK [21:20:10]MH_I2C_Read... [21:20:10]Read from MH i2c: F0 [21:20:10]MH_I2C_Read... [21:20:10]Read from MH i2c: F0 09 00 [21:20:10]MH_I2C_Read... [21:20:10]Read from MH i2c: F0 09 00 1B 11 00 0D A8 B3 67 19 D8 DE 66 28 [21:20:10]GetLastDocTimeStamp 1739826415 [21:20:10]current date 1739827213 [21:20:10]FM_GetShiftState [21:20:10]SAM_PROTO_GetShiftState [21:20:10]wFMCommunicate request_size=4 [21:20:10]MH_SAM_APDU [21:20:10]CAPDU: 80 13 01 00 [21:20:10]Write to MH i2c: E2 08 00 1C 11 80 13 01 00 00 00 00 00 AA [21:20:10]Write i2c OK [21:20:10]MH_I2C_Read... [21:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:10]Read from MH i2c: E2 [21:20:10]MH_I2C_Read... [21:20:10]Read from MH i2c: E2 0E 00 [21:20:10]MH_I2C_Read... [21:20:10]Read from MH i2c: E2 0E 00 1C 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 90 [21:20:10]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:20:10]wFMCommunicate OK [21:20:10]SAM_PROTO_GetShiftState done [21:20:10]FM_GetShiftState done [21:20:10]opened in 1739750979 [21:20:10]opened+sec_in_day 1739837379 [21:20:10]quantity*price = 16900 [21:20:10]sum+1 = 16901 [21:20:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 169.00 НСП 1% : 1.50 НДС 12% : 17.95 Наличными: 0.00 Безнал.: 169.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 65 17.02.2025 21:20 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32434 ФПД: 164436963271752 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212013&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32434&fm=164436963271752&tin=02508201610067®Number=0000000000146237&sum=16900 0 [21:20:11]StoreToDocumentArchive [21:20:11]shift 382 fd 32434 [21:20:11]save to /storage/0382/doc_00032434 [21:20:11]save last doc name /storage/0382/doc_00032434 to /storage/kkm_last_doc_name [21:20:11]save OK [21:20:11]Clear old archive folders... [21:20:11]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:20:11]tlvbuf is 004A3BE0 [21:20:11]SAM_PROTO_ClearQueue [21:20:11]wFMCommunicate request_size=4 [21:20:11]MH_SAM_APDU [21:20:11]CAPDU: 80 09 00 00 [21:20:11]Write to MH i2c: E2 08 00 29 11 80 09 00 00 00 00 00 00 AC [21:20:11]Write i2c OK [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 [21:20:11]MH_I2C_Read... [21:20:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:20:11]Read from MH i2c: E2 03 00 [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 03 00 29 11 00 90 00 AE [21:20:11]RAPDU: 90 00 [21:20:11]wFMCommunicate OK [21:20:11]SAM_PROTO_ClearQueue done [21:20:11]KKMCreateOFDPacket [21:20:11]OFDProtocolAddRootSTLVToBuf [21:20:11]FM_MakeSignedData [21:20:11]FM_MakeSignedData [21:20:11]SAM_PROTO_SignData [21:20:11]wFMCommunicate request_size=4 [21:20:11]MH_SAM_APDU [21:20:11]CAPDU: 80 0D 01 02 [21:20:11]Write to MH i2c: E2 08 00 2A 11 80 0D 01 02 00 00 00 00 B4 [21:20:11]Write i2c OK [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 [21:20:11]MH_I2C_Read... [21:20:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:20:11]Read from MH i2c: E2 03 00 [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 03 00 2A 11 00 90 00 AF [21:20:11]RAPDU: 90 00 [21:20:11]wFMCommunicate OK [21:20:11]wFMCommunicate request_size=255 [21:20:11]MH_SAM_APDU [21:20:11]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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 0D A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 [21:20:11]Write to MH i2c: E2 02 01 2B 11 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 0D A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 00 00 96 [21:20:11]Write i2c OK [21:20:11]MH_I2C_Read... [21:20:11]OFD Sender: No OFD packet to send [21:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:11]Read from MH i2c: E2 [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 03 00 [21:20:11]MH_I2C_Read... [21:20:11]Read from MH i2c: E2 03 00 2B 11 00 90 00 B0 [21:20:11]RAPDU: 90 00 [21:20:11]wFMCommunicate OK [21:20:11]wFMCommunicate request_size=33 [21:20:11]MH_SAM_APDU [21:20:11]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B2 7E 00 00 35 04 06 00 95 8D F6 C8 A4 48 [21:20:11]Write to MH i2c: E2 24 00 2C 11 80 0D 02 02 1C 00 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B2 7E 00 00 35 04 06 00 95 8D F6 C8 A4 48 00 00 45 [21:20:11]Write i2c OK [21:20:11]MH_I2C_Read... [21:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:12]Read from MH i2c: E2 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 03 00 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 03 00 2C 11 00 90 00 B1 [21:20:12]RAPDU: 90 00 [21:20:12]wFMCommunicate OK [21:20:12]wFMCommunicate request_size=4 [21:20:12]MH_SAM_APDU [21:20:12]CAPDU: 80 0D 03 02 [21:20:12]Write to MH i2c: E2 08 00 2D 11 80 0D 03 02 00 00 00 00 B9 [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:20:12]Read from MH i2c: E2 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 0B 00 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 0B 00 2D 11 00 C7 DF 4B 8B B9 63 49 6D 90 00 08 [21:20:12]RAPDU: C7 DF 4B 8B B9 63 49 6D 90 00 [21:20:12]wFMCommunicate OK [21:20:12]SAM_PROTO_SignData done [21:20:12]FM_MakeSignedData done [21:20:12]CreateOFDProtocolMessage [21:20:12]wFMCommunicate request_size=4 [21:20:12]MH_SAM_APDU [21:20:12]CAPDU: 80 11 00 00 [21:20:12]Write to MH i2c: E2 08 00 2E 11 80 11 00 00 00 00 00 00 B9 [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:12]Read from MH i2c: E2 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 17 00 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: E2 17 00 2E 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 0F [21:20:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:20:12]wFMCommunicate OK [21:20:12]CreateOFDProtocolMessage done [21:20:12]OFDSenderStorePacket 32434 [21:20:12]StoreOFDPacket docnum=32434 [21:20:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 26 01 00 00 B6 67 1E 01 52 C2 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 0D A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B2 7E 00 00 35 04 06 00 95 8D F6 C8 A4 48 C7 DF 4B 8B B9 63 49 6D [21:20:12]CheckFolder [21:20:12]dirname=/storage/ofd_packets [21:20:12]CheckFolder done [21:20:12]ProducePacketName [21:20:12]name=ofd_packets/00032434 [21:20:12]NVStorageSaveData ofd_packets/00032434 [21:20:12]File name is /storage/ofd_packets/00032434 [21:20:12]Write 324 bytes [21:20:12]NVStorageSaveData done [21:20:12]OFDSenderStorePacket done [21:20:12]KKMCreateOFDPacket done [21:20:12]NVStorageSaveData kkm_last_timestamp [21:20:12]File name is /storage/kkm_last_timestamp [21:20:12]Write 4 bytes [21:20:12]NVStorageSaveData done [21:20:12]ExternCall_PrintAddStr [21:20:12]wPrintStart [21:20:12]Write to MH i2c: 01 00 00 2F 11 40 [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 07 00 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 07 00 2F 11 00 00 00 00 00 FF 0F 55 [21:20:12]RasterBufferAndPrint [21:20:12]line Счет N : (3)130675 [21:20:12]line ИНН: 02508201610067 [21:20:12]line Контрольно-Кассовый Чек [21:20:12]line ПРОДАЖА [21:20:12]line Товар: 4640030091669 [21:20:12]line Сигареты ESSE Exchange S [21:20:12]line 1.000 * 169.00 [21:20:12]line = 169.00 [21:20:12]line НДС 12% НСП 1% [21:20:12]line > о реализуемом товаре [21:20:12]line ИТОГО: 169.00 [21:20:12]line НСП 1% : 1.50 [21:20:12]line НДС 12% : 17.95 [21:20:12]line Наличными: 0.00 [21:20:12]line Безнал.: 169.00 [21:20:12]line Место: АЗС № 96 "Партнер Нефть" [21:20:12]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:20:12]line СНО: Общий режим [21:20:12]line Чек 65 17.02.2025 21:20 [21:20:12]line Смена: 382 ФФД: 1.0 [21:20:12]line ЗНМ: 0300000059 [21:20:12]line РНМ: 0000000000146237 [21:20:12]line Версия ККМ: v1.0 [21:20:12]line Платежная система: Бакай Банк [21:20:12]line ФМ: 0000000000959282 [21:20:12]line ФД: 32434 [21:20:12]line ФПД: 164436963271752 [21:20:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212013&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32434&fm=164436963271752&tin=02508201610067®Number=0000000000146237&sum=16900 [21:20:12]line 0 [21:20:12]OFD Sender: Processing packet 32434 [packets to send 104, broken 103] [21:20:12]ProducePacketName [21:20:12]name=ofd_packets/00032434 [21:20:12]OFD Sender: To server: pG, [21:20:12]CommunicateWithHost lk.salyk.kg:30040 [21:20:12]ConnectInit lk.salyk.kg [21:20:12]written 0, free lines is 4095 [21:20:12]Connected sock=9 [21:20:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 26 01 00 00 B6 67 1E 01 52 C2 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 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 0D A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B2 7E 00 00 35 04 06 00 95 8D F6 C8 A4 48 C7 DF 4B 8B B9 63 49 6D [21:20:12]Write to MH i2c: 01 00 00 59 11 6A [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 07 00 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: 01 07 00 59 11 00 00 00 00 00 F5 0C 72 [21:20:12]RasterBufferAndPrint [21:20:12]line [21:20:12]line [21:20:12]line [21:20:12]line [21:20:12]line [21:20:12]written 0, free lines is 3323 [21:20:12]MH_Cut [21:20:12]Write to MH i2c: D1 01 00 60 11 01 43 [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: D1 [21:20:12]MH_I2C_Read... [21:20:12]Read from MH i2c: D1 01 00 [21:20:12]MH_I2C_Read... [21:20:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 7C 28 47 00 2B D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B2 7E 00 00 F4 03 04 00 B0 51 B3 67 B6 04 01 00 00 60 77 62 27 71 73 1F 3D [21:20:12]CommunicateWithHost err = 0 [21:20:12]CheckOFDResponse [21:20:12]1017 (14) - 77093643461234 [21:20:12]1041 (16) - 0000000000959282 [21:20:12]1040 (4) - 32434 [21:20:12]1012 (4) - 17.02.2025 15:11 [21:20:12]1206 (1) - 0 [21:20:12]OFD Sender: Remove packet 32434 [21:20:12]ProducePacketName [21:20:12]name=ofd_packets/00032434 [21:20:12]NVStorageDeleteData [21:20:12]Read from MH i2c: D1 01 00 60 11 00 42 [21:20:12]Write to MH i2c: 01 00 00 61 11 72 [21:20:12]Write i2c OK [21:20:12]MH_I2C_Read... [21:20:13]OFD Sender: No OFD packet to send [21:20:13]*** Cut start [21:20:13]*** Partial cut [21:20:13]*** CUTSNS_PIN = 1 [21:20:13]*** CUTSNS_PIN = 0 [21:20:13]*** Brake cut motor [21:20:14]Read from MH i2c: 01 [21:20:14]MH_I2C_Read... [21:20:14]*** Stop cut motor [21:20:14]*** Cut end [21:20:14]Read from MH i2c: 01 07 00 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: 01 07 00 61 11 00 00 00 00 00 FF 0F 87 [21:20:14]process_action close_receipt done [21:20:14]requested_data is exist [21:20:14]produce_requested_data [21:20:14]requested_item fm.sn is exist - process it [21:20:14]wFMCommunicate request_size=4 [21:20:14]MH_SAM_APDU [21:20:14]CAPDU: 80 11 00 00 [21:20:14]Write to MH i2c: E2 08 00 62 11 80 11 00 00 00 00 00 00 ED [21:20:14]Write i2c OK [21:20:14]MH_I2C_Read... [21:20:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:14]Read from MH i2c: E2 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 17 00 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 17 00 62 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 43 [21:20:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:20:14]wFMCommunicate OK [21:20:14]requested_item fd.num is exist - process it [21:20:14]SAM_PROTO_GetFieldsCounters [21:20:14]wFMCommunicate request_size=4 [21:20:14]MH_SAM_APDU [21:20:14]CAPDU: 80 13 00 00 [21:20:14]Write to MH i2c: E2 08 00 63 11 80 13 00 00 00 00 00 00 F0 [21:20:14]Write i2c OK [21:20:14]MH_I2C_Read... [21:20:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:20:14]Read from MH i2c: E2 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 62 00 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 62 00 63 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B2 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [21:20:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B2 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:20:14]wFMCommunicate OK [21:20:14]SAM_PROTO_GetFieldsCounters done [21:20:14]requested_item shift.num is exist - process it [21:20:14]requested_item shift.opened is exist - process it [21:20:14]req_shift_opened [21:20:14]FM_GetShiftState [21:20:14]SAM_PROTO_GetShiftState [21:20:14]wFMCommunicate request_size=4 [21:20:14]MH_SAM_APDU [21:20:14]CAPDU: 80 13 01 00 [21:20:14]Write to MH i2c: E2 08 00 64 11 80 13 01 00 00 00 00 00 F2 [21:20:14]Write i2c OK [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 [21:20:14]MH_I2C_Read... [21:20:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:14]Read from MH i2c: E2 0E 00 [21:20:14]MH_I2C_Read... [21:20:14]Read from MH i2c: E2 0E 00 64 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 D8 [21:20:14]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:20:14]wFMCommunicate OK [21:20:14]SAM_PROTO_GetShiftState done [21:20:14]FM_GetShiftState done [21:20:14]req_shift_opened done [21:20:14]requested_item shift.open_date is exist - process it [21:20:14]req_shift_open_date [21:20:14]req_shift_open_date done [21:20:14]produce_requested_data done [21:20:14]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32434,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:20:14]process_action_free close_receipt [21:20:14]json_value_free [21:20:14]json_value_free done [21:20:14]process_json_proto returns [21:20:14]Send response to host [21:20:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32434,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:20:14]free response buf [21:20:14]execute_script done [21:20:14]execute_script returns [21:20:14]free content buf [21:20:14]Sock 7.Close socket [21:20:14]Sock 7.Thread stoped [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:50]accept exits with 10 [21:23:50]New connection [21:23:50]New thread 3067411812 created [21:23:50]Thread 3067555172 joined [21:23:50]Waiting for new connection... [21:23:50] Sock 10.Parse request [21:23:50]Sock 10.Check first char [21:23:50]Sock 10.First char is OK [21:23:50]request: POST /json_proto HTTP/1.0 [21:23:50]Method: POST [21:23:50]URL: /json_proto [21:23:50]Method is POST - this is cgi request [21:23:50]url: /json_proto [21:23:50]query_string will be loaded in cgi processing [21:23:50]execute_cgi json_proto POST (null) [21:23:50]execute_cgi path=json_proto method=POST [21:23:50]POST find Content-Length [21:23:50]Host: 172.17.47.135:8080 [21:23:50]Content-Length: 631 [21:23:50]Content-Type: application/json [21:23:50] [21:23:50]POST finish read [21:23:50]Found Content-Length = 631 [21:23:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130676", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:50]execute_script... [21:23:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130676", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:23:50]POST & json_proto [21:23:50]process_json_proto [21:23:50]json parsed OK: [21:23:50]protocol is kg_v1.0 [21:23:50]action value=close_receipt [21:23:50]process_action close_receipt [21:23:50]cmd_close_receipt [21:23:50]MH_GetDate [21:23:50]Write to MH i2c: F0 00 00 65 11 65 [21:23:50]Write i2c OK [21:23:50]MH_I2C_Read... [21:23:50]Read from MH i2c: F0 [21:23:50]MH_I2C_Read... [21:23:50]Read from MH i2c: F0 09 00 [21:23:50]MH_I2C_Read... [21:23:50]Read from MH i2c: F0 09 00 65 11 00 E9 A8 B3 67 19 D8 DE 66 4E [21:23:50]GetLastDocTimeStamp 1739827213 [21:23:50]current date 1739827433 [21:23:50]FM_GetShiftState [21:23:50]SAM_PROTO_GetShiftState [21:23:50]wFMCommunicate request_size=4 [21:23:50]MH_SAM_APDU [21:23:50]CAPDU: 80 13 01 00 [21:23:50]Write to MH i2c: E2 08 00 66 11 80 13 01 00 00 00 00 00 F4 [21:23:50]Write i2c OK [21:23:50]MH_I2C_Read... [21:23:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:50]Read from MH i2c: E2 [21:23:50]MH_I2C_Read... [21:23:50]Read from MH i2c: E2 0E 00 [21:23:50]MH_I2C_Read... [21:23:50]Read from MH i2c: E2 0E 00 66 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DA [21:23:50]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:23:50]wFMCommunicate OK [21:23:50]SAM_PROTO_GetShiftState done [21:23:50]FM_GetShiftState done [21:23:50]opened in 1739750979 [21:23:50]opened+sec_in_day 1739837379 [21:23:50]quantity*price = 4900 [21:23:50]sum+1 = 4901 [21:23:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 66 17.02.2025 21:23 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32435 ФПД: 142097571084918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212353&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32435&fm=142097571084918&tin=02508201610067®Number=0000000000146237&sum=4900 0 [21:23:51]StoreToDocumentArchive [21:23:51]shift 382 fd 32435 [21:23:51]save to /storage/0382/doc_00032435 [21:23:51]save last doc name /storage/0382/doc_00032435 to /storage/kkm_last_doc_name [21:23:51]save OK [21:23:51]Clear old archive folders... [21:23:51]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:23:51]tlvbuf is 004A7030 [21:23:51]SAM_PROTO_ClearQueue [21:23:51]wFMCommunicate request_size=4 [21:23:51]MH_SAM_APDU [21:23:51]CAPDU: 80 09 00 00 [21:23:51]Write to MH i2c: E2 08 00 73 11 80 09 00 00 00 00 00 00 F6 [21:23:51]Write i2c OK [21:23:51]MH_I2C_Read... [21:23:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:23:51]Read from MH i2c: E2 [21:23:51]MH_I2C_Read... [21:23:51]Read from MH i2c: E2 03 00 [21:23:51]MH_I2C_Read... [21:23:51]Read from MH i2c: E2 03 00 73 11 00 90 00 F8 [21:23:51]RAPDU: 90 00 [21:23:51]wFMCommunicate OK [21:23:51]SAM_PROTO_ClearQueue done [21:23:51]KKMCreateOFDPacket [21:23:51]OFDProtocolAddRootSTLVToBuf [21:23:51]FM_MakeSignedData [21:23:51]FM_MakeSignedData [21:23:51]SAM_PROTO_SignData [21:23:51]wFMCommunicate request_size=4 [21:23:51]MH_SAM_APDU [21:23:51]CAPDU: 80 0D 01 02 [21:23:51]Write to MH i2c: E2 08 00 74 11 80 0D 01 02 00 00 00 00 FE [21:23:51]Write i2c OK [21:23:51]MH_I2C_Read... [21:23:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:23:51]Read from MH i2c: E2 [21:23:51]MH_I2C_Read... [21:23:51]Read from MH i2c: E2 03 00 [21:23:51]MH_I2C_Read... [21:23:51]Read from MH i2c: E2 03 00 74 11 00 90 00 F9 [21:23:51]RAPDU: 90 00 [21:23:51]wFMCommunicate OK [21:23:51]wFMCommunicate request_size=255 [21:23:51]MH_SAM_APDU [21:23:51]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E9 A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 [21:23:51]Write to MH i2c: E2 02 01 75 11 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E9 A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 00 00 10 [21:23:51]Write i2c OK [21:23:51]MH_I2C_Read... [21:23:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:52]Read from MH i2c: E2 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 03 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 03 00 75 11 00 90 00 FA [21:23:52]RAPDU: 90 00 [21:23:52]wFMCommunicate OK [21:23:52]wFMCommunicate request_size=33 [21:23:52]MH_SAM_APDU [21:23:52]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B3 7E 00 00 35 04 06 00 81 3C AB 3F 7A 76 [21:23:52]Write to MH i2c: E2 24 00 76 11 80 0D 02 02 1C 00 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B3 7E 00 00 35 04 06 00 81 3C AB 3F 7A 76 00 00 5B [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:52]Read from MH i2c: E2 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 03 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 03 00 76 11 00 90 00 FB [21:23:52]RAPDU: 90 00 [21:23:52]wFMCommunicate OK [21:23:52]wFMCommunicate request_size=4 [21:23:52]MH_SAM_APDU [21:23:52]CAPDU: 80 0D 03 02 [21:23:52]Write to MH i2c: E2 08 00 77 11 80 0D 03 02 00 00 00 00 03 [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:23:52]Read from MH i2c: E2 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 0B 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 0B 00 77 11 00 E0 D9 70 D4 CA 9C 58 48 90 00 07 [21:23:52]RAPDU: E0 D9 70 D4 CA 9C 58 48 90 00 [21:23:52]wFMCommunicate OK [21:23:52]SAM_PROTO_SignData done [21:23:52]FM_MakeSignedData done [21:23:52]CreateOFDProtocolMessage [21:23:52]wFMCommunicate request_size=4 [21:23:52]MH_SAM_APDU [21:23:52]CAPDU: 80 11 00 00 [21:23:52]Write to MH i2c: E2 08 00 78 11 80 11 00 00 00 00 00 00 03 [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:52]Read from MH i2c: E2 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 17 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: E2 17 00 78 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 59 [21:23:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:23:52]wFMCommunicate OK [21:23:52]CreateOFDProtocolMessage done [21:23:52]OFDSenderStorePacket 32435 [21:23:52]StoreOFDPacket docnum=32435 [21:23:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 26 01 00 00 56 5A 1E 01 87 D8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E9 A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B3 7E 00 00 35 04 06 00 81 3C AB 3F 7A 76 E0 D9 70 D4 CA 9C 58 48 [21:23:52]CheckFolder [21:23:52]dirname=/storage/ofd_packets [21:23:52]CheckFolder done [21:23:52]ProducePacketName [21:23:52]name=ofd_packets/00032435 [21:23:52]NVStorageSaveData ofd_packets/00032435 [21:23:52]File name is /storage/ofd_packets/00032435 [21:23:52]Write 324 bytes [21:23:52]NVStorageSaveData done [21:23:52]OFDSenderStorePacket done [21:23:52]KKMCreateOFDPacket done [21:23:52]NVStorageSaveData kkm_last_timestamp [21:23:52]File name is /storage/kkm_last_timestamp [21:23:52]Write 4 bytes [21:23:52]NVStorageSaveData done [21:23:52]ExternCall_PrintAddStr [21:23:52]wPrintStart [21:23:52]Write to MH i2c: 01 00 00 79 11 8A [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 07 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 07 00 79 11 00 00 00 00 00 FF 0F 9F [21:23:52]RasterBufferAndPrint [21:23:52]line Счет N : (3)130676 [21:23:52]line ИНН: 02508201610067 [21:23:52]line Контрольно-Кассовый Чек [21:23:52]line ПРОДАЖА [21:23:52]line Товар: 50173822 [21:23:52]line Р/ж Orbit б/сах мята 13,6г [21:23:52]line 1.000 * 49.00 [21:23:52]line = 49.00 [21:23:52]line НДС 12% НСП 1% [21:23:52]line > о реализуемом товаре [21:23:52]line ИТОГО: 49.00 [21:23:52]line НСП 1% : 0.43 [21:23:52]line НДС 12% : 5.20 [21:23:52]line Наличными: 49.00 [21:23:52]line Безнал.: 0.00 [21:23:52]line Место: АЗС № 96 "Партнер Нефть" [21:23:52]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:23:52]line СНО: Общий режим [21:23:52]line Чек 66 17.02.2025 21:23 [21:23:52]line Смена: 382 ФФД: 1.0 [21:23:52]line ЗНМ: 0300000059 [21:23:52]line РНМ: 0000000000146237 [21:23:52]line Версия ККМ: v1.0 [21:23:52]line ФМ: 0000000000959282 [21:23:52]line ФД: 32435 [21:23:52]line ФПД: 142097571084918 [21:23:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212353&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32435&fm=142097571084918&tin=02508201610067®Number=0000000000146237&sum=4900 [21:23:52]line 0 [21:23:52]written 0, free lines is 4095 [21:23:52]OFD Sender: Processing packet 32435 [packets to send 104, broken 103] [21:23:52]ProducePacketName [21:23:52]name=ofd_packets/00032435 [21:23:52]OFD Sender: To server: pG, [21:23:52]CommunicateWithHost lk.salyk.kg:30040 [21:23:52]ConnectInit lk.salyk.kg [21:23:52]Connected sock=9 [21:23:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 26 01 00 00 56 5A 1E 01 87 D8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 E9 A8 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B3 7E 00 00 35 04 06 00 81 3C AB 3F 7A 76 E0 D9 70 D4 CA 9C 58 48 [21:23:52]Write to MH i2c: 01 00 00 A1 11 B2 [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 07 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: 01 07 00 A1 11 00 00 00 00 00 10 0D D6 [21:23:52]RasterBufferAndPrint [21:23:52]line [21:23:52]line [21:23:52]line [21:23:52]line [21:23:52]line [21:23:52]written 0, free lines is 3353 [21:23:52]MH_Cut [21:23:52]Write to MH i2c: D1 01 00 A8 11 01 8B [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: D1 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: D1 01 00 [21:23:52]MH_I2C_Read... [21:23:52]Read from MH i2c: D1 01 00 A8 11 00 8A [21:23:52]Write to MH i2c: 01 00 00 A9 11 BA [21:23:52]Write i2c OK [21:23:52]MH_I2C_Read... [21:23:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 34 27 47 00 AB 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B3 7E 00 00 F4 03 04 00 8C 52 B3 67 B6 04 01 00 00 47 6F 2A A1 97 93 83 5C [21:23:52]CommunicateWithHost err = 0 [21:23:52]CheckOFDResponse [21:23:52]1017 (14) - 77093643461234 [21:23:52]1041 (16) - 0000000000959282 [21:23:52]1040 (4) - 32435 [21:23:52]1012 (4) - 17.02.2025 15:15 [21:23:52]1206 (1) - 0 [21:23:52]OFD Sender: Remove packet 32435 [21:23:52]ProducePacketName [21:23:52]name=ofd_packets/00032435 [21:23:52]NVStorageDeleteData [21:23:53]OFD Sender: No OFD packet to send [21:23:53]*** Cut start [21:23:53]*** Partial cut [21:23:53]*** CUTSNS_PIN = 1 [21:23:53]*** CUTSNS_PIN = 0 [21:23:53]*** Brake cut motor [21:23:53]Read from MH i2c: 01 [21:23:53]MH_I2C_Read... [21:23:53]*** Stop cut motor [21:23:53]*** Cut end [21:23:53]Read from MH i2c: 01 07 00 [21:23:53]MH_I2C_Read... [21:23:53]Read from MH i2c: 01 07 00 A9 11 00 00 00 00 00 FF 0F CF [21:23:53]process_action close_receipt done [21:23:53]requested_data is exist [21:23:53]produce_requested_data [21:23:53]requested_item fm.sn is exist - process it [21:23:53]wFMCommunicate request_size=4 [21:23:53]MH_SAM_APDU [21:23:53]CAPDU: 80 11 00 00 [21:23:53]Write to MH i2c: E2 08 00 AA 11 80 11 00 00 00 00 00 00 35 [21:23:53]Write i2c OK [21:23:53]MH_I2C_Read... [21:23:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:53]Read from MH i2c: E2 [21:23:53]MH_I2C_Read... [21:23:53]Read from MH i2c: E2 17 00 [21:23:53]MH_I2C_Read... [21:23:53]Read from MH i2c: E2 17 00 AA 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8B [21:23:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:23:53]wFMCommunicate OK [21:23:53]requested_item fd.num is exist - process it [21:23:53]SAM_PROTO_GetFieldsCounters [21:23:53]wFMCommunicate request_size=4 [21:23:53]MH_SAM_APDU [21:23:53]CAPDU: 80 13 00 00 [21:23:53]Write to MH i2c: E2 08 00 AB 11 80 13 00 00 00 00 00 00 38 [21:23:53]Write i2c OK [21:23:53]MH_I2C_Read... [21:23:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:23:54]Read from MH i2c: E2 [21:23:54]MH_I2C_Read... [21:23:54]Read from MH i2c: E2 62 00 [21:23:54]MH_I2C_Read... [21:23:54]Read from MH i2c: E2 62 00 AB 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B3 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [21:23:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B3 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:23:54]wFMCommunicate OK [21:23:54]SAM_PROTO_GetFieldsCounters done [21:23:54]requested_item shift.num is exist - process it [21:23:54]requested_item shift.opened is exist - process it [21:23:54]req_shift_opened [21:23:54]FM_GetShiftState [21:23:54]SAM_PROTO_GetShiftState [21:23:54]wFMCommunicate request_size=4 [21:23:54]MH_SAM_APDU [21:23:54]CAPDU: 80 13 01 00 [21:23:54]Write to MH i2c: E2 08 00 AC 11 80 13 01 00 00 00 00 00 3A [21:23:54]Write i2c OK [21:23:54]MH_I2C_Read... [21:23:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:54]Read from MH i2c: E2 [21:23:54]MH_I2C_Read... [21:23:54]Read from MH i2c: E2 0E 00 [21:23:54]MH_I2C_Read... [21:23:54]Read from MH i2c: E2 0E 00 AC 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 20 [21:23:54]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:23:54]wFMCommunicate OK [21:23:54]SAM_PROTO_GetShiftState done [21:23:54]FM_GetShiftState done [21:23:54]req_shift_opened done [21:23:54]requested_item shift.open_date is exist - process it [21:23:54]req_shift_open_date [21:23:54]req_shift_open_date done [21:23:54]produce_requested_data done [21:23:54]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32435,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:23:54]process_action_free close_receipt [21:23:54]json_value_free [21:23:54]json_value_free done [21:23:54]process_json_proto returns [21:23:54]Send response to host [21:23:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32435,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:23:54]free response buf [21:23:54]execute_script done [21:23:54]execute_script returns [21:23:54]free content buf [21:23:54]Sock 10.Close socket [21:23:54]Sock 10.Thread stoped [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:36]accept exits with 7 [21:25:36]New connection [21:25:36]New thread 3067555172 created [21:25:36]Thread 3067411812 joined [21:25:36]Waiting for new connection... [21:25:36] Sock 7.Parse request [21:25:36]Sock 7.Check first char [21:25:36]Sock 7.First char is OK [21:25:36]request: POST /json_proto HTTP/1.0 [21:25:36]Method: POST [21:25:36]URL: /json_proto [21:25:36]Method is POST - this is cgi request [21:25:36]url: /json_proto [21:25:36]query_string will be loaded in cgi processing [21:25:36]execute_cgi json_proto POST (null) [21:25:36]execute_cgi path=json_proto method=POST [21:25:36]POST find Content-Length [21:25:36]Host: 172.17.47.135:8080 [21:25:36]Content-Length: 687 [21:25:36]Content-Type: application/json [21:25:36] [21:25:36]POST finish read [21:25:36]Found Content-Length = 687 [21:25:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130677", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:36]execute_script... [21:25: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)130677", "tax_sys" : 0, "items" : [ { "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\u043B", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 54.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:36]POST & json_proto [21:25:36]process_json_proto [21:25:36]json parsed OK: [21:25:36]protocol is kg_v1.0 [21:25:36]action value=close_receipt [21:25:36]process_action close_receipt [21:25:36]cmd_close_receipt [21:25:36]MH_GetDate [21:25:36]Write to MH i2c: F0 00 00 AD 11 AD [21:25:36]Write i2c OK [21:25:36]MH_I2C_Read... [21:25:36]Read from MH i2c: F0 [21:25:36]MH_I2C_Read... [21:25:36]Read from MH i2c: F0 09 00 [21:25:36]MH_I2C_Read... [21:25:36]Read from MH i2c: F0 09 00 AD 11 00 53 A9 B3 67 19 D8 DE 66 01 [21:25:36]GetLastDocTimeStamp 1739827433 [21:25:36]current date 1739827539 [21:25:36]FM_GetShiftState [21:25:36]SAM_PROTO_GetShiftState [21:25:36]wFMCommunicate request_size=4 [21:25:36]MH_SAM_APDU [21:25:36]CAPDU: 80 13 01 00 [21:25:36]Write to MH i2c: E2 08 00 AE 11 80 13 01 00 00 00 00 00 3C [21:25:36]Write i2c OK [21:25:36]MH_I2C_Read... [21:25:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:36]Read from MH i2c: E2 [21:25:36]MH_I2C_Read... [21:25:36]Read from MH i2c: E2 0E 00 [21:25:36]MH_I2C_Read... [21:25:36]Read from MH i2c: E2 0E 00 AE 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 22 [21:25:36]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:25:36]wFMCommunicate OK [21:25:36]SAM_PROTO_GetShiftState done [21:25:36]FM_GetShiftState done [21:25:36]opened in 1739750979 [21:25:36]opened+sec_in_day 1739837379 [21:25:36]quantity*price = 5400 [21:25:36]sum+1 = 5401 [21:25:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 54.00 НСП 1% : 0.48 НДС 12% : 5.73 Наличными: 54.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 67 17.02.2025 21:25 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32436 ФПД: 216051403916069 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212539&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32436&fm=216051403916069&tin=02508201610067®Number=0000000000146237&sum=5400 0 [21:25:37]StoreToDocumentArchive [21:25:37]shift 382 fd 32436 [21:25:37]save to /storage/0382/doc_00032436 [21:25:37]save last doc name /storage/0382/doc_00032436 to /storage/kkm_last_doc_name [21:25:37]save OK [21:25:37]Clear old archive folders... [21:25:37]ProcessDocumentItem done err = 0, tmpTLVsize=298 [21:25:37]tlvbuf is 004C3990 [21:25:37]SAM_PROTO_ClearQueue [21:25:37]wFMCommunicate request_size=4 [21:25:37]MH_SAM_APDU [21:25:37]CAPDU: 80 09 00 00 [21:25:37]Write to MH i2c: E2 08 00 BB 11 80 09 00 00 00 00 00 00 3E [21:25:37]Write i2c OK [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 [21:25:37]MH_I2C_Read... [21:25:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:25:37]Read from MH i2c: E2 03 00 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 BB 11 00 90 00 40 [21:25:37]RAPDU: 90 00 [21:25:37]wFMCommunicate OK [21:25:37]SAM_PROTO_ClearQueue done [21:25:37]KKMCreateOFDPacket [21:25:37]OFDProtocolAddRootSTLVToBuf [21:25:37]FM_MakeSignedData [21:25:37]FM_MakeSignedData [21:25:37]SAM_PROTO_SignData [21:25:37]wFMCommunicate request_size=4 [21:25:37]MH_SAM_APDU [21:25:37]CAPDU: 80 0D 01 02 [21:25:37]Write to MH i2c: E2 08 00 BC 11 80 0D 01 02 00 00 00 00 46 [21:25:37]Write i2c OK [21:25:37]MH_I2C_Read... [21:25:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:25:37]Read from MH i2c: E2 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 BC 11 00 90 00 41 [21:25:37]RAPDU: 90 00 [21:25:37]wFMCommunicate OK [21:25:37]wFMCommunicate request_size=255 [21:25:37]MH_SAM_APDU [21:25:37]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 53 A9 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [21:25:37]Write to MH i2c: E2 02 01 BD 11 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 53 A9 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 94 [21:25:37]Write i2c OK [21:25:37]MH_I2C_Read... [21:25:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:37]Read from MH i2c: E2 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 BD 11 00 90 00 42 [21:25:37]RAPDU: 90 00 [21:25:37]wFMCommunicate OK [21:25:37]wFMCommunicate request_size=57 [21:25:37]MH_SAM_APDU [21:25:37]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B4 7E 00 00 35 04 06 00 C4 7F 63 2F 03 25 [21:25:37]Write to MH i2c: E2 3C 00 BE 11 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B4 7E 00 00 35 04 06 00 C4 7F 63 2F 03 25 00 00 36 [21:25:37]Write i2c OK [21:25:37]MH_I2C_Read... [21:25:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:37]Read from MH i2c: E2 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 [21:25:37]MH_I2C_Read... [21:25:37]Read from MH i2c: E2 03 00 BE 11 00 90 00 43 [21:25:37]RAPDU: 90 00 [21:25:37]wFMCommunicate OK [21:25:37]wFMCommunicate request_size=4 [21:25:37]MH_SAM_APDU [21:25:37]CAPDU: 80 0D 03 02 [21:25:37]Write to MH i2c: E2 08 00 BF 11 80 0D 03 02 00 00 00 00 4B [21:25:37]Write i2c OK [21:25:37]MH_I2C_Read... [21:25:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:25:38]Read from MH i2c: E2 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: E2 0B 00 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: E2 0B 00 BF 11 00 5D 22 F8 9E 74 71 70 87 90 00 3D [21:25:38]RAPDU: 5D 22 F8 9E 74 71 70 87 90 00 [21:25:38]wFMCommunicate OK [21:25:38]SAM_PROTO_SignData done [21:25:38]FM_MakeSignedData done [21:25:38]CreateOFDProtocolMessage [21:25:38]wFMCommunicate request_size=4 [21:25:38]MH_SAM_APDU [21:25:38]CAPDU: 80 11 00 00 [21:25:38]Write to MH i2c: E2 08 00 C0 11 80 11 00 00 00 00 00 00 4B [21:25:38]Write i2c OK [21:25:38]MH_I2C_Read... [21:25:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:38]Read from MH i2c: E2 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: E2 17 00 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: E2 17 00 C0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A1 [21:25:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:25:38]wFMCommunicate OK [21:25:38]CreateOFDProtocolMessage done [21:25:38]OFDSenderStorePacket 32436 [21:25:38]StoreOFDPacket docnum=32436 [21:25:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 3E 01 00 00 27 99 36 01 A1 59 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 53 A9 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B4 7E 00 00 35 04 06 00 C4 7F 63 2F 03 25 5D 22 F8 9E 74 71 70 87 [21:25:38]CheckFolder [21:25:38]dirname=/storage/ofd_packets [21:25:38]CheckFolder done [21:25:38]ProducePacketName [21:25:38]name=ofd_packets/00032436 [21:25:38]NVStorageSaveData ofd_packets/00032436 [21:25:38]File name is /storage/ofd_packets/00032436 [21:25:38]Write 348 bytes [21:25:38]NVStorageSaveData done [21:25:38]OFDSenderStorePacket done [21:25:38]KKMCreateOFDPacket done [21:25:38]NVStorageSaveData kkm_last_timestamp [21:25:38]File name is /storage/kkm_last_timestamp [21:25:38]Write 4 bytes [21:25:38]NVStorageSaveData done [21:25:38]ExternCall_PrintAddStr [21:25:38]wPrintStart [21:25:38]Write to MH i2c: 01 00 00 C1 11 D2 [21:25:38]Write i2c OK [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 07 00 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 07 00 C1 11 00 00 00 00 00 FF 0F E7 [21:25:38]RasterBufferAndPrint [21:25:38]line Счет N : (3)130677 [21:25:38]line ИНН: 02508201610067 [21:25:38]line Контрольно-Кассовый Чек [21:25:38]line ПРОДАЖА [21:25:38]line Товар: 4700003010032 [21:25:38]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [21:25:38]line 1.000 * 54.00 [21:25:38]line = 54.00 [21:25:38]line НДС 12% НСП 1% [21:25:38]line > о реализуемом товаре [21:25:38]line ИТОГО: 54.00 [21:25:38]line НСП 1% : 0.48 [21:25:38]line НДС 12% : 5.73 [21:25:38]line Наличными: 54.00 [21:25:38]line Безнал.: 0.00 [21:25:38]line Место: АЗС № 96 "Партнер Нефть" [21:25:38]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:25:38]line СНО: Общий режим [21:25:38]line Чек 67 17.02.2025 21:25 [21:25:38]line Смена: 382 ФФД: 1.0 [21:25:38]line ЗНМ: 0300000059 [21:25:38]line РНМ: 0000000000146237 [21:25:38]line Версия ККМ: v1.0 [21:25:38]line ФМ: 0000000000959282 [21:25:38]line ФД: 32436 [21:25:38]line ФПД: 216051403916069 [21:25:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T212539&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32436&fm=216051403916069&tin=02508201610067®Number=0000000000146237&sum=5400 [21:25:38]line 0 [21:25:38]OFD Sender: Processing packet 32436 [packets to send 104, broken 103] [21:25:38]ProducePacketName [21:25:38]name=ofd_packets/00032436 [21:25:38]OFD Sender: To server: pG, [21:25:38]CommunicateWithHost lk.salyk.kg:30040 [21:25:38]ConnectInit lk.salyk.kg [21:25:38]written 0, free lines is 4095 [21:25:38]Connected sock=10 [21:25:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 3E 01 00 00 27 99 36 01 A1 59 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 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 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 02 00 00 00 00 07 04 06 00 18 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 53 A9 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B4 7E 00 00 35 04 06 00 C4 7F 63 2F 03 25 5D 22 F8 9E 74 71 70 87 [21:25:38]Write to MH i2c: 01 00 00 EA 11 FB [21:25:38]Write i2c OK [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 07 00 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: 01 07 00 EA 11 00 00 00 00 00 0A 0D 19 [21:25:38]RasterBufferAndPrint [21:25:38]line [21:25:38]line [21:25:38]line [21:25:38]line [21:25:38]line [21:25:38]written 0, free lines is 3347 [21:25:38]MH_Cut [21:25:38]Write to MH i2c: D1 01 00 F1 11 01 D4 [21:25:38]Write i2c OK [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: D1 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: D1 01 00 [21:25:38]MH_I2C_Read... [21:25:38]Read from MH i2c: D1 01 00 F1 11 00 D3 [21:25:38]Write to MH i2c: 01 00 00 F2 11 03 [21:25:38]Write i2c OK [21:25:38]MH_I2C_Read... [21:25:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 5C 4C 47 00 53 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B4 7E 00 00 F4 03 04 00 F6 52 B3 67 B6 04 01 00 00 AD 72 AC 48 26 A9 09 A2 [21:25:39]CommunicateWithHost err = 0 [21:25:39]CheckOFDResponse [21:25:39]1017 (14) - 77093643461234 [21:25:39]1041 (16) - 0000000000959282 [21:25:39]1040 (4) - 32436 [21:25:39]1012 (4) - 17.02.2025 15:17 [21:25:39]1206 (1) - 0 [21:25:39]OFD Sender: Remove packet 32436 [21:25:39]ProducePacketName [21:25:39]name=ofd_packets/00032436 [21:25:39]NVStorageDeleteData [21:25:39]*** Cut start [21:25:39]*** Partial cut [21:25:39]*** CUTSNS_PIN = 1 [21:25:39]*** CUTSNS_PIN = 0 [21:25:39]OFD Sender: No OFD packet to send [21:25:39]*** Brake cut motor [21:25:40]Read from MH i2c: 01 [21:25:40]MH_I2C_Read... [21:25:40]*** Stop cut motor [21:25:40]*** Cut end [21:25:40]Read from MH i2c: 01 07 00 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: 01 07 00 F2 11 00 00 00 00 00 FF 0F 18 [21:25:40]process_action close_receipt done [21:25:40]requested_data is exist [21:25:40]produce_requested_data [21:25:40]requested_item fm.sn is exist - process it [21:25:40]wFMCommunicate request_size=4 [21:25:40]MH_SAM_APDU [21:25:40]CAPDU: 80 11 00 00 [21:25:40]Write to MH i2c: E2 08 00 F3 11 80 11 00 00 00 00 00 00 7E [21:25:40]Write i2c OK [21:25:40]MH_I2C_Read... [21:25:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:40]Read from MH i2c: E2 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 17 00 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 17 00 F3 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D4 [21:25:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:25:40]wFMCommunicate OK [21:25:40]requested_item fd.num is exist - process it [21:25:40]SAM_PROTO_GetFieldsCounters [21:25:40]wFMCommunicate request_size=4 [21:25:40]MH_SAM_APDU [21:25:40]CAPDU: 80 13 00 00 [21:25:40]Write to MH i2c: E2 08 00 F4 11 80 13 00 00 00 00 00 00 81 [21:25:40]Write i2c OK [21:25:40]MH_I2C_Read... [21:25:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:25:40]Read from MH i2c: E2 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 62 00 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 62 00 F4 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B4 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [21:25:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B4 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:25:40]wFMCommunicate OK [21:25:40]SAM_PROTO_GetFieldsCounters done [21:25:40]requested_item shift.num is exist - process it [21:25:40]requested_item shift.opened is exist - process it [21:25:40]req_shift_opened [21:25:40]FM_GetShiftState [21:25:40]SAM_PROTO_GetShiftState [21:25:40]wFMCommunicate request_size=4 [21:25:40]MH_SAM_APDU [21:25:40]CAPDU: 80 13 01 00 [21:25:40]Write to MH i2c: E2 08 00 F5 11 80 13 01 00 00 00 00 00 83 [21:25:40]Write i2c OK [21:25:40]MH_I2C_Read... [21:25:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:40]Read from MH i2c: E2 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 0E 00 [21:25:40]MH_I2C_Read... [21:25:40]Read from MH i2c: E2 0E 00 F5 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 69 [21:25:40]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:25:40]wFMCommunicate OK [21:25:40]SAM_PROTO_GetShiftState done [21:25:40]FM_GetShiftState done [21:25:40]req_shift_opened done [21:25:40]requested_item shift.open_date is exist - process it [21:25:40]req_shift_open_date [21:25:40]req_shift_open_date done [21:25:40]produce_requested_data done [21:25:40]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32436,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:25:40]process_action_free close_receipt [21:25:40]json_value_free [21:25:40]json_value_free done [21:25:40]process_json_proto returns [21:25:40]Send response to host [21:25:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32436,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:25:40]free response buf [21:25:40]execute_script done [21:25:40]execute_script returns [21:25:40]free content buf [21:25:40]Sock 7.Close socket [21:25:40]Sock 7.Thread stoped [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:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:12]accept exits with 9 [21:37:12]New connection [21:37:12]New thread 3067411812 created [21:37:12]Thread 3067555172 joined [21:37:12]Waiting for new connection... [21:37:12] Sock 9.Parse request [21:37:12]Sock 9.Check first char [21:37:12]Sock 9.First char is OK [21:37:12]request: POST /json_proto HTTP/1.0 [21:37:12]Method: POST [21:37:12]URL: /json_proto [21:37:12]Method is POST - this is cgi request [21:37:12]url: /json_proto [21:37:12]query_string will be loaded in cgi processing [21:37:12]execute_cgi json_proto POST (null) [21:37:12]execute_cgi path=json_proto method=POST [21:37:12]POST find Content-Length [21:37:12]Host: 172.17.47.135:8080 [21:37:12]Content-Length: 824 [21:37:12]Content-Type: application/json [21:37:12] [21:37:12]POST finish read [21:37:12]Found Content-Length = 824 [21:37:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130678", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 2.000, "sum" : 98.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" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:12]execute_script... [21:37:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130678", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 2.000, "sum" : 98.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" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:37:12]POST & json_proto [21:37:12]process_json_proto [21:37:12]json parsed OK: [21:37:12]protocol is kg_v1.0 [21:37:12]action value=close_receipt [21:37:12]process_action close_receipt [21:37:12]cmd_close_receipt [21:37:12]MH_GetDate [21:37:12]Write to MH i2c: F0 00 00 F6 11 F6 [21:37:12]Write i2c OK [21:37:12]MH_I2C_Read... [21:37:12]Read from MH i2c: F0 [21:37:12]MH_I2C_Read... [21:37:12]Read from MH i2c: F0 09 00 [21:37:12]MH_I2C_Read... [21:37:12]Read from MH i2c: F0 09 00 F6 11 00 0B AC B3 67 19 D8 DE 66 05 [21:37:12]GetLastDocTimeStamp 1739827539 [21:37:12]current date 1739828235 [21:37:12]FM_GetShiftState [21:37:12]SAM_PROTO_GetShiftState [21:37:12]wFMCommunicate request_size=4 [21:37:12]MH_SAM_APDU [21:37:12]CAPDU: 80 13 01 00 [21:37:12]Write to MH i2c: E2 08 00 F7 11 80 13 01 00 00 00 00 00 85 [21:37:12]Write i2c OK [21:37:12]MH_I2C_Read... [21:37:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:12]Read from MH i2c: E2 [21:37:12]MH_I2C_Read... [21:37:12]Read from MH i2c: E2 0E 00 [21:37:12]MH_I2C_Read... [21:37:12]Read from MH i2c: E2 0E 00 F7 11 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 6B [21:37:12]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:37:12]wFMCommunicate OK [21:37:12]SAM_PROTO_GetShiftState done [21:37:12]FM_GetShiftState done [21:37:12]opened in 1739750979 [21:37:12]opened+sec_in_day 1739837379 [21:37:12]quantity*price = 9800 [21:37:12]sum+1 = 9801 [21:37:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 0.00 Безнал.: 98.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 68 17.02.2025 21:37 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32437 ФПД: 250603178590140 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T213715&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32437&fm=250603178590140&tin=02508201610067®Number=0000000000146237&sum=9800 0 [21:37:13]StoreToDocumentArchive [21:37:13]shift 382 fd 32437 [21:37:13]save to /storage/0382/doc_00032437 [21:37:13]save last doc name /storage/0382/doc_00032437 to /storage/kkm_last_doc_name [21:37:13]save OK [21:37:13]Clear old archive folders... [21:37:13]ProcessDocumentItem done err = 0, tmpTLVsize=278 [21:37:13]tlvbuf is 004C3700 [21:37:13]SAM_PROTO_ClearQueue [21:37:13]wFMCommunicate request_size=4 [21:37:13]MH_SAM_APDU [21:37:13]CAPDU: 80 09 00 00 [21:37:13]Write to MH i2c: E2 08 00 04 12 80 09 00 00 00 00 00 00 88 [21:37:13]Write i2c OK [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 [21:37:13]MH_I2C_Read... [21:37:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:37:13]Read from MH i2c: E2 03 00 [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 03 00 04 12 00 90 00 8A [21:37:13]RAPDU: 90 00 [21:37:13]wFMCommunicate OK [21:37:13]SAM_PROTO_ClearQueue done [21:37:13]KKMCreateOFDPacket [21:37:13]OFDProtocolAddRootSTLVToBuf [21:37:13]FM_MakeSignedData [21:37:13]FM_MakeSignedData [21:37:13]SAM_PROTO_SignData [21:37:13]wFMCommunicate request_size=4 [21:37:13]MH_SAM_APDU [21:37:13]CAPDU: 80 0D 01 02 [21:37:13]Write to MH i2c: E2 08 00 05 12 80 0D 01 02 00 00 00 00 90 [21:37:13]Write i2c OK [21:37:13]MH_I2C_Read... [21:37:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:37:13]Read from MH i2c: E2 [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 03 00 [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 03 00 05 12 00 90 00 8B [21:37:13]RAPDU: 90 00 [21:37:13]wFMCommunicate OK [21:37:13]wFMCommunicate request_size=255 [21:37:13]MH_SAM_APDU [21:37:13]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0B AC B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 [21:37:13]Write to MH i2c: E2 02 01 06 12 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0B AC B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 00 00 6E [21:37:13]Write i2c OK [21:37:13]MH_I2C_Read... [21:37:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:13]Read from MH i2c: E2 [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 03 00 [21:37:13]MH_I2C_Read... [21:37:13]Read from MH i2c: E2 03 00 06 12 00 90 00 8C [21:37:13]RAPDU: 90 00 [21:37:13]wFMCommunicate OK [21:37:13]wFMCommunicate request_size=37 [21:37:13]MH_SAM_APDU [21:37:13]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B5 7E 00 00 35 04 06 00 E3 EC 19 70 7F BC [21:37:13]Write to MH i2c: E2 28 00 07 12 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B5 7E 00 00 35 04 06 00 E3 EC 19 70 7F BC 00 00 B3 [21:37:13]Write i2c OK [21:37:13]MH_I2C_Read... [21:37:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:37:14]Read from MH i2c: E2 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 03 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 03 00 07 12 00 90 00 8D [21:37:14]RAPDU: 90 00 [21:37:14]wFMCommunicate OK [21:37:14]wFMCommunicate request_size=4 [21:37:14]MH_SAM_APDU [21:37:14]CAPDU: 80 0D 03 02 [21:37:14]Write to MH i2c: E2 08 00 08 12 80 0D 03 02 00 00 00 00 95 [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:37:14]Read from MH i2c: E2 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 0B 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 0B 00 08 12 00 68 92 4D 3D 9F 57 0C 88 90 00 A4 [21:37:14]RAPDU: 68 92 4D 3D 9F 57 0C 88 90 00 [21:37:14]wFMCommunicate OK [21:37:14]SAM_PROTO_SignData done [21:37:14]FM_MakeSignedData done [21:37:14]CreateOFDProtocolMessage [21:37:14]wFMCommunicate request_size=4 [21:37:14]MH_SAM_APDU [21:37:14]CAPDU: 80 11 00 00 [21:37:14]Write to MH i2c: E2 08 00 09 12 80 11 00 00 00 00 00 00 95 [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:14]Read from MH i2c: E2 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 17 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: E2 17 00 09 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 EB [21:37:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:37:14]wFMCommunicate OK [21:37:14]CreateOFDProtocolMessage done [21:37:14]OFDSenderStorePacket 32437 [21:37:14]StoreOFDPacket docnum=32437 [21:37:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 6D 4F 22 01 51 7D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0B AC B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B5 7E 00 00 35 04 06 00 E3 EC 19 70 7F BC 68 92 4D 3D 9F 57 0C 88 [21:37:14]CheckFolder [21:37:14]dirname=/storage/ofd_packets [21:37:14]CheckFolder done [21:37:14]ProducePacketName [21:37:14]name=ofd_packets/00032437 [21:37:14]NVStorageSaveData ofd_packets/00032437 [21:37:14]File name is /storage/ofd_packets/00032437 [21:37:14]Write 328 bytes [21:37:14]NVStorageSaveData done [21:37:14]OFDSenderStorePacket done [21:37:14]KKMCreateOFDPacket done [21:37:14]NVStorageSaveData kkm_last_timestamp [21:37:14]File name is /storage/kkm_last_timestamp [21:37:14]Write 4 bytes [21:37:14]NVStorageSaveData done [21:37:14]ExternCall_PrintAddStr [21:37:14]wPrintStart [21:37:14]Write to MH i2c: 01 00 00 0A 12 1C [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 07 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 07 00 0A 12 00 00 00 00 00 FF 0F 31 [21:37:14]RasterBufferAndPrint [21:37:14]line Счет N : (3)130678 [21:37:14]line ИНН: 02508201610067 [21:37:14]line Контрольно-Кассовый Чек [21:37:14]line ПРОДАЖА [21:37:14]line Товар: 4700000310036 [21:37:14]line Вода Жалалабат 27 0,5л [21:37:14]line 2.000 * 49.00 [21:37:14]line = 98.00 [21:37:14]line НДС 12% НСП 1% [21:37:14]line > о реализуемом товаре [21:37:14]line ИТОГО: 98.00 [21:37:14]line НСП 1% : 0.87 [21:37:14]line НДС 12% : 10.41 [21:37:14]line Наличными: 0.00 [21:37:14]line Безнал.: 98.00 [21:37:14]line Место: АЗС № 96 "Партнер Нефть" [21:37:14]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:37:14]line СНО: Общий режим [21:37:14]line Чек 68 17.02.2025 21:37 [21:37:14]line Смена: 382 ФФД: 1.0 [21:37:14]line ЗНМ: 0300000059 [21:37:14]line РНМ: 0000000000146237 [21:37:14]line Версия ККМ: v1.0 [21:37:14]line Платежная система: Бакай Банк [21:37:14]line ФМ: 0000000000959282 [21:37:14]line ФД: 32437 [21:37:14]line ФПД: 250603178590140 [21:37:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T213715&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32437&fm=250603178590140&tin=02508201610067®Number=0000000000146237&sum=9800 [21:37:14]OFD Sender: Processing packet 32437 [packets to send 104, broken 103] [21:37:14]ProducePacketName [21:37:14]name=ofd_packets/00032437 [21:37:14]OFD Sender: To server: pG, [21:37:14]CommunicateWithHost lk.salyk.kg:30040 [21:37:14]ConnectInit lk.salyk.kg [21:37:14]line 0 [21:37:14]written 0, free lines is 4095 [21:37:14]Connected sock=10 [21:37:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 6D 4F 22 01 51 7D 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0B AC B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B5 7E 00 00 35 04 06 00 E3 EC 19 70 7F BC 68 92 4D 3D 9F 57 0C 88 [21:37:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C7 CF 47 00 86 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B5 7E 00 00 F4 03 04 00 AE 55 B3 67 B6 04 01 00 00 64 A6 F0 F7 11 8E B3 BC [21:37:14]CommunicateWithHost err = 0 [21:37:14]CheckOFDResponse [21:37:14]1017 (14) - 77093643461234 [21:37:14]1041 (16) - 0000000000959282 [21:37:14]1040 (4) - 32437 [21:37:14]1012 (4) - 17.02.2025 15:28 [21:37:14]1206 (1) - 0 [21:37:14]OFD Sender: Remove packet 32437 [21:37:14]ProducePacketName [21:37:14]name=ofd_packets/00032437 [21:37:14]NVStorageDeleteData [21:37:14]Write to MH i2c: 01 00 00 34 12 46 [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 07 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: 01 07 00 34 12 00 00 00 00 00 13 0D 6D [21:37:14]RasterBufferAndPrint [21:37:14]line [21:37:14]line [21:37:14]line [21:37:14]line [21:37:14]line [21:37:14]written 0, free lines is 3353 [21:37:14]MH_Cut [21:37:14]Write to MH i2c: D1 01 00 3B 12 01 1F [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: D1 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: D1 01 00 [21:37:14]MH_I2C_Read... [21:37:14]Read from MH i2c: D1 01 00 3B 12 00 1E [21:37:14]Write to MH i2c: 01 00 00 3C 12 4E [21:37:14]Write i2c OK [21:37:14]MH_I2C_Read... [21:37:15]OFD Sender: No OFD packet to send [21:37:15]*** Cut start [21:37:15]*** Partial cut [21:37:15]*** CUTSNS_PIN = 1 [21:37:15]*** CUTSNS_PIN = 0 [21:37:15]*** Brake cut motor [21:37:16]Read from MH i2c: 01 [21:37:16]MH_I2C_Read... [21:37:16]*** Stop cut motor [21:37:16]*** Cut end [21:37:16]Read from MH i2c: 01 07 00 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: 01 07 00 3C 12 00 00 00 00 00 FF 0F 63 [21:37:16]process_action close_receipt done [21:37:16]requested_data is exist [21:37:16]produce_requested_data [21:37:16]requested_item fm.sn is exist - process it [21:37:16]wFMCommunicate request_size=4 [21:37:16]MH_SAM_APDU [21:37:16]CAPDU: 80 11 00 00 [21:37:16]Write to MH i2c: E2 08 00 3D 12 80 11 00 00 00 00 00 00 C9 [21:37:16]Write i2c OK [21:37:16]MH_I2C_Read... [21:37:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:37:16]Read from MH i2c: E2 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 17 00 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 17 00 3D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1F [21:37:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:37:16]wFMCommunicate OK [21:37:16]requested_item fd.num is exist - process it [21:37:16]SAM_PROTO_GetFieldsCounters [21:37:16]wFMCommunicate request_size=4 [21:37:16]MH_SAM_APDU [21:37:16]CAPDU: 80 13 00 00 [21:37:16]Write to MH i2c: E2 08 00 3E 12 80 13 00 00 00 00 00 00 CC [21:37:16]Write i2c OK [21:37:16]MH_I2C_Read... [21:37:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:37:16]Read from MH i2c: E2 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 62 00 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 62 00 3E 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B5 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [21:37:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B5 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:37:16]wFMCommunicate OK [21:37:16]SAM_PROTO_GetFieldsCounters done [21:37:16]requested_item shift.num is exist - process it [21:37:16]requested_item shift.opened is exist - process it [21:37:16]req_shift_opened [21:37:16]FM_GetShiftState [21:37:16]SAM_PROTO_GetShiftState [21:37:16]wFMCommunicate request_size=4 [21:37:16]MH_SAM_APDU [21:37:16]CAPDU: 80 13 01 00 [21:37:16]Write to MH i2c: E2 08 00 3F 12 80 13 01 00 00 00 00 00 CE [21:37:16]Write i2c OK [21:37:16]MH_I2C_Read... [21:37:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:37:16]Read from MH i2c: E2 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 0E 00 [21:37:16]MH_I2C_Read... [21:37:16]Read from MH i2c: E2 0E 00 3F 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B4 [21:37:16]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:37:16]wFMCommunicate OK [21:37:16]SAM_PROTO_GetShiftState done [21:37:16]FM_GetShiftState done [21:37:16]req_shift_opened done [21:37:16]requested_item shift.open_date is exist - process it [21:37:16]req_shift_open_date [21:37:16]req_shift_open_date done [21:37:16]produce_requested_data done [21:37:16]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32437,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:37:16]process_action_free close_receipt [21:37:16]json_value_free [21:37:16]json_value_free done [21:37:16]process_json_proto returns [21:37:16]Send response to host [21:37:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32437,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:37:16]free response buf [21:37:16]execute_script done [21:37:16]execute_script returns [21:37:16]free content buf [21:37:16]Sock 9.Close socket [21:37:16]Sock 9.Thread stoped [21:37:20]OFD Sender: No OFD packet to send [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:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]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:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:15]accept exits with 7 [21:55:15]New connection [21:55:15]New thread 3067555172 created [21:55:15]Thread 3067411812 joined [21:55:15]Waiting for new connection... [21:55:15] Sock 7.Parse request [21:55:15]Sock 7.Check first char [21:55:15]Sock 7.First char is OK [21:55:15]request: POST /json_proto HTTP/1.0 [21:55:15]Method: POST [21:55:15]URL: /json_proto [21:55:15]Method is POST - this is cgi request [21:55:15]url: /json_proto [21:55:15]query_string will be loaded in cgi processing [21:55:15]execute_cgi json_proto POST (null) [21:55:15]execute_cgi path=json_proto method=POST [21:55:15]POST find Content-Length [21:55:15]Host: 172.17.47.135:8080 [21:55:15]Content-Length: 707 [21:55:15]Content-Type: application/json [21:55:15] [21:55:15]POST finish read [21:55:15]Found Content-Length = 707 [21:55:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130679", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:15]execute_script... [21:55:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130679", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:15]POST & json_proto [21:55:15]process_json_proto [21:55:15]json parsed OK: [21:55:15]protocol is kg_v1.0 [21:55:15]action value=close_receipt [21:55:15]process_action close_receipt [21:55:15]cmd_close_receipt [21:55:15]MH_GetDate [21:55:15]Write to MH i2c: F0 00 00 40 12 41 [21:55:15]Write i2c OK [21:55:15]MH_I2C_Read... [21:55:15]Read from MH i2c: F0 [21:55:15]MH_I2C_Read... [21:55:15]Read from MH i2c: F0 09 00 [21:55:15]MH_I2C_Read... [21:55:15]Read from MH i2c: F0 09 00 40 12 00 46 B0 B3 67 19 D8 DE 66 8F [21:55:15]GetLastDocTimeStamp 1739828235 [21:55:15]current date 1739829318 [21:55:15]FM_GetShiftState [21:55:15]SAM_PROTO_GetShiftState [21:55:15]wFMCommunicate request_size=4 [21:55:15]MH_SAM_APDU [21:55:15]CAPDU: 80 13 01 00 [21:55:15]Write to MH i2c: E2 08 00 41 12 80 13 01 00 00 00 00 00 D0 [21:55:15]Write i2c OK [21:55:15]MH_I2C_Read... [21:55:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:15]Read from MH i2c: E2 [21:55:15]MH_I2C_Read... [21:55:15]Read from MH i2c: E2 0E 00 [21:55:15]MH_I2C_Read... [21:55:15]Read from MH i2c: E2 0E 00 41 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 B6 [21:55:15]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:55:15]wFMCommunicate OK [21:55:15]SAM_PROTO_GetShiftState done [21:55:15]FM_GetShiftState done [21:55:15]opened in 1739750979 [21:55:15]opened+sec_in_day 1739837379 [21:55:15]quantity*price = 9400 [21:55:15]sum+1 = 9401 [21:55:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 94.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 69 17.02.2025 21:55 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32438 ФПД: 252446295115373 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T215518&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32438&fm=252446295115373&tin=02508201610067®Number=0000000000146237&sum=9400 0 [21:55:16]StoreToDocumentArchive [21:55:16]shift 382 fd 32438 [21:55:16]save to /storage/0382/doc_00032438 [21:55:16]save last doc name /storage/0382/doc_00032438 to /storage/kkm_last_doc_name [21:55:16]save OK [21:55:16]Clear old archive folders... [21:55:16]ProcessDocumentItem done err = 0, tmpTLVsize=302 [21:55:16]tlvbuf is 004C3510 [21:55:16]SAM_PROTO_ClearQueue [21:55:16]wFMCommunicate request_size=4 [21:55:16]MH_SAM_APDU [21:55:16]CAPDU: 80 09 00 00 [21:55:16]Write to MH i2c: E2 08 00 4E 12 80 09 00 00 00 00 00 00 D2 [21:55:16]Write i2c OK [21:55:16]MH_I2C_Read... [21:55:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:16]Read from MH i2c: E2 [21:55:16]MH_I2C_Read... [21:55:16]Read from MH i2c: E2 03 00 [21:55:16]MH_I2C_Read... [21:55:16]Read from MH i2c: E2 03 00 4E 12 00 90 00 D4 [21:55:16]RAPDU: 90 00 [21:55:16]wFMCommunicate OK [21:55:16]SAM_PROTO_ClearQueue done [21:55:16]KKMCreateOFDPacket [21:55:16]OFDProtocolAddRootSTLVToBuf [21:55:16]FM_MakeSignedData [21:55:16]FM_MakeSignedData [21:55:16]SAM_PROTO_SignData [21:55:16]wFMCommunicate request_size=4 [21:55:16]MH_SAM_APDU [21:55:16]CAPDU: 80 0D 01 02 [21:55:16]Write to MH i2c: E2 08 00 4F 12 80 0D 01 02 00 00 00 00 DA [21:55:16]Write i2c OK [21:55:16]MH_I2C_Read... [21:55:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:16]Read from MH i2c: E2 [21:55:16]MH_I2C_Read... [21:55:16]Read from MH i2c: E2 03 00 [21:55:16]MH_I2C_Read... [21:55:16]Read from MH i2c: E2 03 00 4F 12 00 90 00 D5 [21:55:16]RAPDU: 90 00 [21:55:16]wFMCommunicate OK [21:55:16]wFMCommunicate request_size=255 [21:55:16]MH_SAM_APDU [21:55:16]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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 46 B0 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 [21:55:16]Write to MH i2c: E2 02 01 50 12 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 46 B0 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 00 00 A8 [21:55:16]Write i2c OK [21:55:16]MH_I2C_Read... [21:55:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:17]Read from MH i2c: E2 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 03 00 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 03 00 50 12 00 90 00 D6 [21:55:17]RAPDU: 90 00 [21:55:17]wFMCommunicate OK [21:55:17]wFMCommunicate request_size=61 [21:55:17]MH_SAM_APDU [21:55:17]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B6 7E 00 00 35 04 06 00 E5 99 3B BE C6 6D [21:55:17]Write to MH i2c: E2 40 00 51 12 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B6 7E 00 00 35 04 06 00 E5 99 3B BE C6 6D 00 00 F1 [21:55:17]Write i2c OK [21:55:17]MH_I2C_Read... [21:55:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:17]Read from MH i2c: E2 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 03 00 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 03 00 51 12 00 90 00 D7 [21:55:17]RAPDU: 90 00 [21:55:17]wFMCommunicate OK [21:55:17]wFMCommunicate request_size=4 [21:55:17]MH_SAM_APDU [21:55:17]CAPDU: 80 0D 03 02 [21:55:17]Write to MH i2c: E2 08 00 52 12 80 0D 03 02 00 00 00 00 DF [21:55:17]Write i2c OK [21:55:17]MH_I2C_Read... [21:55:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:17]Read from MH i2c: E2 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 0B 00 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 0B 00 52 12 00 26 74 B0 81 58 E6 4D 99 90 00 CF [21:55:17]RAPDU: 26 74 B0 81 58 E6 4D 99 90 00 [21:55:17]wFMCommunicate OK [21:55:17]SAM_PROTO_SignData done [21:55:17]FM_MakeSignedData done [21:55:17]CreateOFDProtocolMessage [21:55:17]wFMCommunicate request_size=4 [21:55:17]MH_SAM_APDU [21:55:17]CAPDU: 80 11 00 00 [21:55:17]Write to MH i2c: E2 08 00 53 12 80 11 00 00 00 00 00 00 DF [21:55:17]Write i2c OK [21:55:17]MH_I2C_Read... [21:55:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:17]Read from MH i2c: E2 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 17 00 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: E2 17 00 53 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 35 [21:55:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:55:17]wFMCommunicate OK [21:55:17]CreateOFDProtocolMessage done [21:55:17]OFDSenderStorePacket 32438 [21:55:17]StoreOFDPacket docnum=32438 [21:55:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 EA 7B 3A 01 E4 46 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 46 B0 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B6 7E 00 00 35 04 06 00 E5 99 3B BE C6 6D 26 74 B0 81 58 E6 4D 99 [21:55:17]CheckFolder [21:55:17]dirname=/storage/ofd_packets [21:55:17]CheckFolder done [21:55:17]ProducePacketName [21:55:17]name=ofd_packets/00032438 [21:55:17]NVStorageSaveData ofd_packets/00032438 [21:55:17]File name is /storage/ofd_packets/00032438 [21:55:17]Write 352 bytes [21:55:17]NVStorageSaveData done [21:55:17]OFDSenderStorePacket done [21:55:17]KKMCreateOFDPacket done [21:55:17]NVStorageSaveData kkm_last_timestamp [21:55:17]File name is /storage/kkm_last_timestamp [21:55:17]Write 4 bytes [21:55:17]NVStorageSaveData done [21:55:17]ExternCall_PrintAddStr [21:55:17]wPrintStart [21:55:17]Write to MH i2c: 01 00 00 54 12 66 [21:55:17]Write i2c OK [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: 01 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: 01 07 00 [21:55:17]MH_I2C_Read... [21:55:17]Read from MH i2c: 01 07 00 54 12 00 00 00 00 00 FF 0F 7B [21:55:17]RasterBufferAndPrint [21:55:17]line Счет N : (3)130679 [21:55:17]line ИНН: 02508201610067 [21:55:17]line Контрольно-Кассовый Чек [21:55:17]line ПРОДАЖА [21:55:17]line Товар: 4700000480050 [21:55:17]line Напиток энергетический Nitro 0.45 ж/б [21:55:17]line 1.000 * 94.00 [21:55:17]line = 94.00 [21:55:17]line НДС 12% НСП 1% [21:55:17]line > о реализуемом товаре [21:55:17]line ИТОГО: 94.00 [21:55:17]line НСП 1% : 0.83 [21:55:17]line НДС 12% : 9.98 [21:55:17]line Наличными: 94.00 [21:55:17]line Безнал.: 0.00 [21:55:17]line Место: АЗС № 96 "Партнер Нефть" [21:55:17]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [21:55:17]line СНО: Общий режим [21:55:17]line Чек 69 17.02.2025 21:55 [21:55:17]line Смена: 382 ФФД: 1.0 [21:55:17]line ЗНМ: 0300000059 [21:55:17]line РНМ: 0000000000146237 [21:55:17]line Версия ККМ: v1.0 [21:55:17]line ФМ: 0000000000959282 [21:55:17]line ФД: 32438 [21:55:17]line ФПД: 252446295115373 [21:55:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T215518&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32438&fm=252446295115373&tin=02508201610067®Number=0000000000146237&sum=9400 [21:55:17]line 0 [21:55:17]OFD Sender: Processing packet 32438 [packets to send 104, broken 103] [21:55:17]ProducePacketName [21:55:17]name=ofd_packets/00032438 [21:55:17]OFD Sender: To server: pG, [21:55:17]CommunicateWithHost lk.salyk.kg:30040 [21:55:17]ConnectInit lk.salyk.kg [21:55:17]written 0, free lines is 4095 [21:55:17]Connected sock=10 [21:55:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 EA 7B 3A 01 E4 46 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 46 B0 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B6 7E 00 00 35 04 06 00 E5 99 3B BE C6 6D 26 74 B0 81 58 E6 4D 99 [21:55:18]Write to MH i2c: 01 00 00 7D 12 8F [21:55:18]Write i2c OK [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: 01 [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: 01 07 00 [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: 01 07 00 7D 12 00 00 00 00 00 01 0D A4 [21:55:18]RasterBufferAndPrint [21:55:18]line [21:55:18]line [21:55:18]line [21:55:18]line [21:55:18]line [21:55:18]written 0, free lines is 3335 [21:55:18]MH_Cut [21:55:18]Write to MH i2c: D1 01 00 84 12 01 68 [21:55:18]Write i2c OK [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: D1 [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: D1 01 00 [21:55:18]MH_I2C_Read... [21:55:18]Read from MH i2c: D1 01 00 84 12 00 67 [21:55:18]Write to MH i2c: 01 00 00 85 12 97 [21:55:18]Write i2c OK [21:55:18]MH_I2C_Read... [21:55:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C9 EC 47 00 2A 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B6 7E 00 00 F4 03 04 00 E9 59 B3 67 B6 04 01 00 00 AB 50 C2 41 64 2C A2 A7 [21:55:18]CommunicateWithHost err = 0 [21:55:18]CheckOFDResponse [21:55:18]1017 (14) - 77093643461234 [21:55:18]1041 (16) - 0000000000959282 [21:55:18]1040 (4) - 32438 [21:55:18]1012 (4) - 17.02.2025 15:46 [21:55:18]1206 (1) - 0 [21:55:18]OFD Sender: Remove packet 32438 [21:55:18]ProducePacketName [21:55:18]name=ofd_packets/00032438 [21:55:18]NVStorageDeleteData [21:55:18]OFD Sender: No OFD packet to send [21:55:18]*** Cut start [21:55:18]*** Partial cut [21:55:18]*** CUTSNS_PIN = 1 [21:55:18]*** CUTSNS_PIN = 0 [21:55:18]*** Brake cut motor [21:55:19]*** Stop cut motor [21:55:19]*** Cut end [21:55:19]Read from MH i2c: 01 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: 01 07 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: 01 07 00 85 12 00 00 00 00 00 FF 0F AC [21:55:19]process_action close_receipt done [21:55:19]requested_data is exist [21:55:19]produce_requested_data [21:55:19]requested_item fm.sn is exist - process it [21:55:19]wFMCommunicate request_size=4 [21:55:19]MH_SAM_APDU [21:55:19]CAPDU: 80 11 00 00 [21:55:19]Write to MH i2c: E2 08 00 86 12 80 11 00 00 00 00 00 00 12 [21:55:19]Write i2c OK [21:55:19]MH_I2C_Read... [21:55:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:19]Read from MH i2c: E2 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 17 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 17 00 86 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 68 [21:55:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [21:55:19]wFMCommunicate OK [21:55:19]requested_item fd.num is exist - process it [21:55:19]SAM_PROTO_GetFieldsCounters [21:55:19]wFMCommunicate request_size=4 [21:55:19]MH_SAM_APDU [21:55:19]CAPDU: 80 13 00 00 [21:55:19]Write to MH i2c: E2 08 00 87 12 80 13 00 00 00 00 00 00 15 [21:55:19]Write i2c OK [21:55:19]MH_I2C_Read... [21:55:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:19]Read from MH i2c: E2 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 62 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 62 00 87 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B6 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [21:55:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B6 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:55:19]wFMCommunicate OK [21:55:19]SAM_PROTO_GetFieldsCounters done [21:55:19]requested_item shift.num is exist - process it [21:55:19]requested_item shift.opened is exist - process it [21:55:19]req_shift_opened [21:55:19]FM_GetShiftState [21:55:19]SAM_PROTO_GetShiftState [21:55:19]wFMCommunicate request_size=4 [21:55:19]MH_SAM_APDU [21:55:19]CAPDU: 80 13 01 00 [21:55:19]Write to MH i2c: E2 08 00 88 12 80 13 01 00 00 00 00 00 17 [21:55:19]Write i2c OK [21:55:19]MH_I2C_Read... [21:55:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:19]Read from MH i2c: E2 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 0E 00 [21:55:19]MH_I2C_Read... [21:55:19]Read from MH i2c: E2 0E 00 88 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FD [21:55:19]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [21:55:19]wFMCommunicate OK [21:55:19]SAM_PROTO_GetShiftState done [21:55:19]FM_GetShiftState done [21:55:19]req_shift_opened done [21:55:19]requested_item shift.open_date is exist - process it [21:55:19]req_shift_open_date [21:55:19]req_shift_open_date done [21:55:19]produce_requested_data done [21:55:19]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32438,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [21:55:19]process_action_free close_receipt [21:55:19]json_value_free [21:55:19]json_value_free done [21:55:19]process_json_proto returns [21:55:19]Send response to host [21:55:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32438,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [21:55:19]free response buf [21:55:19]execute_script done [21:55:19]execute_script returns [21:55:19]free content buf [21:55:19]Sock 7.Close socket [21:55:19]Sock 7.Thread stoped [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:28]OFD Sender: No OFD packet to send [21:56:33]OFD Sender: No OFD packet to send [21:56:38]OFD Sender: No OFD packet to send [21:56:43]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:20]accept exits with 9 [22:05:20]New connection [22:05:20]New thread 3067411812 created [22:05:20]Thread 3067555172 joined [22:05:20]Waiting for new connection... [22:05:20] Sock 9.Parse request [22:05:20]Sock 9.Check first char [22:05:20]Sock 9.First char is OK [22:05:20]request: POST /json_proto HTTP/1.0 [22:05:20]Method: POST [22:05:20]URL: /json_proto [22:05:20]Method is POST - this is cgi request [22:05:20]url: /json_proto [22:05:20]query_string will be loaded in cgi processing [22:05:20]execute_cgi json_proto POST (null) [22:05:20]execute_cgi path=json_proto method=POST [22:05:20]POST find Content-Length [22:05:20]Host: 172.17.47.135:8080 [22:05:20]Content-Length: 829 [22:05:20]Content-Type: application/json [22:05:20] [22:05:20]POST finish read [22:05:20]Found Content-Length = 829 [22:05:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130680", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:20]execute_script... [22:05:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130680", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:20]POST & json_proto [22:05:20]process_json_proto [22:05:20]json parsed OK: [22:05:20]protocol is kg_v1.0 [22:05:20]action value=close_receipt [22:05:20]process_action close_receipt [22:05:20]cmd_close_receipt [22:05:20]MH_GetDate [22:05:20]Write to MH i2c: F0 00 00 89 12 8A [22:05:20]Write i2c OK [22:05:20]MH_I2C_Read... [22:05:20]Read from MH i2c: F0 [22:05:20]MH_I2C_Read... [22:05:20]Read from MH i2c: F0 09 00 [22:05:20]MH_I2C_Read... [22:05:20]Read from MH i2c: F0 09 00 89 12 00 A3 B2 B3 67 19 D8 DE 66 37 [22:05:20]GetLastDocTimeStamp 1739829318 [22:05:20]current date 1739829923 [22:05:20]FM_GetShiftState [22:05:20]SAM_PROTO_GetShiftState [22:05:20]wFMCommunicate request_size=4 [22:05:20]MH_SAM_APDU [22:05:20]CAPDU: 80 13 01 00 [22:05:20]Write to MH i2c: E2 08 00 8A 12 80 13 01 00 00 00 00 00 19 [22:05:20]Write i2c OK [22:05:20]MH_I2C_Read... [22:05:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:20]Read from MH i2c: E2 [22:05:20]MH_I2C_Read... [22:05:20]Read from MH i2c: E2 0E 00 [22:05:20]MH_I2C_Read... [22:05:20]Read from MH i2c: E2 0E 00 8A 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 FF [22:05:20]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:05:20]wFMCommunicate OK [22:05:20]SAM_PROTO_GetShiftState done [22:05:20]FM_GetShiftState done [22:05:20]opened in 1739750979 [22:05:20]opened+sec_in_day 1739837379 [22:05:20]quantity*price = 12900 [22:05:20]sum+1 = 12901 [22:05:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 0.00 Безнал.: 129.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 70 17.02.2025 22:05 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32439 ФПД: 202233012742713 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T220523&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32439&fm=202233012742713&tin=02508201610067®Number=0000000000146237&sum=12900 0 [22:05:21]StoreToDocumentArchive [22:05:21]shift 382 fd 32439 [22:05:21]save to /storage/0382/doc_00032439 [22:05:21]save last doc name /storage/0382/doc_00032439 to /storage/kkm_last_doc_name [22:05:21]save OK [22:05:21]Clear old archive folders... [22:05:21]ProcessDocumentItem done err = 0, tmpTLVsize=284 [22:05:21]tlvbuf is 004DECB0 [22:05:21]SAM_PROTO_ClearQueue [22:05:21]wFMCommunicate request_size=4 [22:05:21]MH_SAM_APDU [22:05:21]CAPDU: 80 09 00 00 [22:05:21]Write to MH i2c: E2 08 00 97 12 80 09 00 00 00 00 00 00 1B [22:05:21]Write i2c OK [22:05:21]MH_I2C_Read... [22:05:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:05:21]Read from MH i2c: E2 [22:05:21]MH_I2C_Read... [22:05:21]Read from MH i2c: E2 03 00 [22:05:21]MH_I2C_Read... [22:05:21]Read from MH i2c: E2 03 00 97 12 00 90 00 1D [22:05:21]RAPDU: 90 00 [22:05:21]wFMCommunicate OK [22:05:21]SAM_PROTO_ClearQueue done [22:05:21]KKMCreateOFDPacket [22:05:21]OFDProtocolAddRootSTLVToBuf [22:05:21]FM_MakeSignedData [22:05:21]FM_MakeSignedData [22:05:21]SAM_PROTO_SignData [22:05:21]wFMCommunicate request_size=4 [22:05:21]MH_SAM_APDU [22:05:21]CAPDU: 80 0D 01 02 [22:05:21]Write to MH i2c: E2 08 00 98 12 80 0D 01 02 00 00 00 00 23 [22:05:21]Write i2c OK [22:05:21]MH_I2C_Read... [22:05:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:05:21]Read from MH i2c: E2 [22:05:21]MH_I2C_Read... [22:05:21]Read from MH i2c: E2 03 00 [22:05:21]MH_I2C_Read... [22:05:21]Read from MH i2c: E2 03 00 98 12 00 90 00 1E [22:05:21]RAPDU: 90 00 [22:05:21]wFMCommunicate OK [22:05:21]wFMCommunicate request_size=255 [22:05:21]MH_SAM_APDU [22:05:21]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 A3 B2 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 [22:05:21]Write to MH i2c: E2 02 01 99 12 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 A3 B2 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 00 00 6D [22:05:21]Write i2c OK [22:05:21]MH_I2C_Read... [22:05:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:22]Read from MH i2c: E2 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 03 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 03 00 99 12 00 90 00 1F [22:05:22]RAPDU: 90 00 [22:05:22]wFMCommunicate OK [22:05:22]wFMCommunicate request_size=43 [22:05:22]MH_SAM_APDU [22:05:22]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B7 7E 00 00 35 04 06 00 B7 EE 0A E2 EA 39 [22:05:22]Write to MH i2c: E2 2E 00 9A 12 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B7 7E 00 00 35 04 06 00 B7 EE 0A E2 EA 39 00 00 FA [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:22]Read from MH i2c: E2 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 03 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 03 00 9A 12 00 90 00 20 [22:05:22]RAPDU: 90 00 [22:05:22]wFMCommunicate OK [22:05:22]wFMCommunicate request_size=4 [22:05:22]MH_SAM_APDU [22:05:22]CAPDU: 80 0D 03 02 [22:05:22]Write to MH i2c: E2 08 00 9B 12 80 0D 03 02 00 00 00 00 28 [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:05:22]Read from MH i2c: E2 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 0B 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 0B 00 9B 12 00 6E 86 62 0C 8C 92 2E 45 90 00 1C [22:05:22]RAPDU: 6E 86 62 0C 8C 92 2E 45 90 00 [22:05:22]wFMCommunicate OK [22:05:22]SAM_PROTO_SignData done [22:05:22]FM_MakeSignedData done [22:05:22]CreateOFDProtocolMessage [22:05:22]wFMCommunicate request_size=4 [22:05:22]MH_SAM_APDU [22:05:22]CAPDU: 80 11 00 00 [22:05:22]Write to MH i2c: E2 08 00 9C 12 80 11 00 00 00 00 00 00 28 [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:22]Read from MH i2c: E2 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 17 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: E2 17 00 9C 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7E [22:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:05:22]wFMCommunicate OK [22:05:22]CreateOFDProtocolMessage done [22:05:22]OFDSenderStorePacket 32439 [22:05:22]StoreOFDPacket docnum=32439 [22:05:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 30 01 00 00 71 CB 28 01 94 15 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 A3 B2 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B7 7E 00 00 35 04 06 00 B7 EE 0A E2 EA 39 6E 86 62 0C 8C 92 2E 45 [22:05:22]CheckFolder [22:05:22]dirname=/storage/ofd_packets [22:05:22]CheckFolder done [22:05:22]ProducePacketName [22:05:22]name=ofd_packets/00032439 [22:05:22]NVStorageSaveData ofd_packets/00032439 [22:05:22]File name is /storage/ofd_packets/00032439 [22:05:22]Write 334 bytes [22:05:22]NVStorageSaveData done [22:05:22]OFDSenderStorePacket done [22:05:22]KKMCreateOFDPacket done [22:05:22]NVStorageSaveData kkm_last_timestamp [22:05:22]File name is /storage/kkm_last_timestamp [22:05:22]Write 4 bytes [22:05:22]NVStorageSaveData done [22:05:22]ExternCall_PrintAddStr [22:05:22]wPrintStart [22:05:22]Write to MH i2c: 01 00 00 9D 12 AF [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 07 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 07 00 9D 12 00 00 00 00 00 FF 0F C4 [22:05:22]RasterBufferAndPrint [22:05:22]line Счет N : (3)130680 [22:05:22]line ИНН: 02508201610067 [22:05:22]line Контрольно-Кассовый Чек [22:05:22]line ПРОДАЖА [22:05:22]line Товар: 2000036190018 [22:05:22]line Кофе Американо XL(GABB TRADE) [22:05:22]line 1.000 * 129.00 [22:05:22]line = 129.00 [22:05:22]line НДС 12% НСП 1% [22:05:22]line > о реализуемом товаре [22:05:22]line ИТОГО: 129.00 [22:05:22]line НСП 1% : 1.14 [22:05:22]line НДС 12% : 13.70 [22:05:22]line Наличными: 0.00 [22:05:22]line Безнал.: 129.00 [22:05:22]line Место: АЗС № 96 "Партнер Нефть" [22:05:22]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [22:05:22]line СНО: Общий режим [22:05:22]line Чек 70 17.02.2025 22:05 [22:05:22]line Смена: 382 ФФД: 1.0 [22:05:22]line ЗНМ: 0300000059 [22:05:22]line РНМ: 0000000000146237 [22:05:22]line Версия ККМ: v1.0 [22:05:22]line Платежная система: Бакай Банк [22:05:22]line ФМ: 0000000000959282 [22:05:22]line ФД: 32439 [22:05:22]line ФПД: 202233012742713 [22:05:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T220523&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32439&fm=202233012742713&tin=02508201610067®Number=0000000000146237&sum=12900 [22:05:22]line 0 [22:05:22]OFD Sender: Processing packet 32439 [packets to send 104, broken 103] [22:05:22]ProducePacketName [22:05:22]name=ofd_packets/00032439 [22:05:22]OFD Sender: To server: pG, [22:05:22]CommunicateWithHost lk.salyk.kg:30040 [22:05:22]ConnectInit lk.salyk.kg [22:05:22]written 0, free lines is 4095 [22:05:22]Connected sock=10 [22:05:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 30 01 00 00 71 CB 28 01 94 15 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 A3 B2 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B7 7E 00 00 35 04 06 00 B7 EE 0A E2 EA 39 6E 86 62 0C 8C 92 2E 45 [22:05:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 3E 8E 47 00 78 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B7 7E 00 00 F4 03 04 00 46 5C B3 67 B6 04 01 00 00 8A A9 05 BC E9 0F 04 83 [22:05:22]CommunicateWithHost err = 0 [22:05:22]CheckOFDResponse [22:05:22]1017 (14) - 77093643461234 [22:05:22]1041 (16) - 0000000000959282 [22:05:22]1040 (4) - 32439 [22:05:22]1012 (4) - 17.02.2025 15:56 [22:05:22]1206 (1) - 0 [22:05:22]OFD Sender: Remove packet 32439 [22:05:22]ProducePacketName [22:05:22]name=ofd_packets/00032439 [22:05:22]NVStorageDeleteData [22:05:22]Write to MH i2c: 01 00 00 C8 12 DA [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 07 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: 01 07 00 C8 12 00 00 00 00 00 F2 0C DF [22:05:22]RasterBufferAndPrint [22:05:22]line [22:05:22]line [22:05:22]line [22:05:22]line [22:05:22]line [22:05:22]written 0, free lines is 3322 [22:05:22]MH_Cut [22:05:22]Write to MH i2c: D1 01 00 CF 12 01 B3 [22:05:22]Write i2c OK [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: D1 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: D1 01 00 [22:05:22]MH_I2C_Read... [22:05:22]Read from MH i2c: D1 01 00 CF 12 00 B2 [22:05:23]Write to MH i2c: 01 00 00 D0 12 E2 [22:05:23]Write i2c OK [22:05:23]MH_I2C_Read... [22:05:23]OFD Sender: No OFD packet to send [22:05:23]*** Cut start [22:05:23]*** Partial cut [22:05:23]*** CUTSNS_PIN = 1 [22:05:23]*** CUTSNS_PIN = 0 [22:05:23]*** Brake cut motor [22:05:24]Read from MH i2c: 01 [22:05:24]MH_I2C_Read... [22:05:24]*** Stop cut motor [22:05:24]*** Cut end [22:05:24]Read from MH i2c: 01 07 00 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: 01 07 00 D0 12 00 00 00 00 00 FF 0F F7 [22:05:24]process_action close_receipt done [22:05:24]requested_data is exist [22:05:24]produce_requested_data [22:05:24]requested_item fm.sn is exist - process it [22:05:24]wFMCommunicate request_size=4 [22:05:24]MH_SAM_APDU [22:05:24]CAPDU: 80 11 00 00 [22:05:24]Write to MH i2c: E2 08 00 D1 12 80 11 00 00 00 00 00 00 5D [22:05:24]Write i2c OK [22:05:24]MH_I2C_Read... [22:05:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:24]Read from MH i2c: E2 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 17 00 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 17 00 D1 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B3 [22:05:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:05:24]wFMCommunicate OK [22:05:24]requested_item fd.num is exist - process it [22:05:24]SAM_PROTO_GetFieldsCounters [22:05:24]wFMCommunicate request_size=4 [22:05:24]MH_SAM_APDU [22:05:24]CAPDU: 80 13 00 00 [22:05:24]Write to MH i2c: E2 08 00 D2 12 80 13 00 00 00 00 00 00 60 [22:05:24]Write i2c OK [22:05:24]MH_I2C_Read... [22:05:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:05:24]Read from MH i2c: E2 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 62 00 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 62 00 D2 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B7 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [22:05:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B7 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:05:24]wFMCommunicate OK [22:05:24]SAM_PROTO_GetFieldsCounters done [22:05:24]requested_item shift.num is exist - process it [22:05:24]requested_item shift.opened is exist - process it [22:05:24]req_shift_opened [22:05:24]FM_GetShiftState [22:05:24]SAM_PROTO_GetShiftState [22:05:24]wFMCommunicate request_size=4 [22:05:24]MH_SAM_APDU [22:05:24]CAPDU: 80 13 01 00 [22:05:24]Write to MH i2c: E2 08 00 D3 12 80 13 01 00 00 00 00 00 62 [22:05:24]Write i2c OK [22:05:24]MH_I2C_Read... [22:05:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:24]Read from MH i2c: E2 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 0E 00 [22:05:24]MH_I2C_Read... [22:05:24]Read from MH i2c: E2 0E 00 D3 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 48 [22:05:24]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:05:24]wFMCommunicate OK [22:05:24]SAM_PROTO_GetShiftState done [22:05:24]FM_GetShiftState done [22:05:24]req_shift_opened done [22:05:24]requested_item shift.open_date is exist - process it [22:05:24]req_shift_open_date [22:05:24]req_shift_open_date done [22:05:24]produce_requested_data done [22:05:24]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32439,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [22:05:24]process_action_free close_receipt [22:05:24]json_value_free [22:05:24]json_value_free done [22:05:24]process_json_proto returns [22:05:24]Send response to host [22:05:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32439,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [22:05:24]free response buf [22:05:24]execute_script done [22:05:24]execute_script returns [22:05:24]free content buf [22:05:24]Sock 9.Close socket [22:05:24]Sock 9.Thread stoped [22:05:28]OFD Sender: No OFD packet to send [22:05:33]OFD Sender: No OFD packet to send [22:05:38]OFD Sender: No OFD packet to send [22:05:43]OFD Sender: No OFD packet to send [22:05:48]OFD Sender: No OFD packet to send [22:05:53]OFD Sender: No OFD packet to send [22:05:58]OFD Sender: No OFD packet to send [22:06:03]OFD Sender: No OFD packet to send [22:06:08]OFD Sender: No OFD packet to send [22:06:13]OFD Sender: No OFD packet to send [22:06:18]OFD Sender: No OFD packet to send [22:06:23]OFD Sender: No OFD packet to send [22:06:28]OFD Sender: No OFD packet to send [22:06:33]OFD Sender: No OFD packet to send [22:06:38]OFD Sender: No OFD packet to send [22:06:43]OFD Sender: No OFD packet to send [22:06:48]OFD Sender: No OFD packet to send [22:06:53]OFD Sender: No OFD packet to send [22:06:58]OFD Sender: No OFD packet to send [22:07:03]OFD Sender: No OFD packet to send [22:07:08]OFD Sender: No OFD packet to send [22:07:13]OFD Sender: No OFD packet to send [22:07:18]OFD Sender: No OFD packet to send [22:07:23]OFD Sender: No OFD packet to send [22:07:28]OFD Sender: No OFD packet to send [22:07:33]OFD Sender: No OFD packet to send [22:07:38]OFD Sender: No OFD packet to send [22:07:43]OFD Sender: No OFD packet to send [22:07:48]OFD Sender: No OFD packet to send [22:07:53]OFD Sender: No OFD packet to send [22:07:58]OFD Sender: No OFD packet to send [22:08:03]OFD Sender: No OFD packet to send [22:08:08]OFD Sender: No OFD packet to send [22:08:13]OFD Sender: No OFD packet to send [22:08:18]OFD Sender: No OFD packet to send [22:08:23]OFD Sender: No OFD packet to send [22:08:28]OFD Sender: No OFD packet to send [22:08:33]OFD Sender: No OFD packet to send [22:08:38]OFD Sender: No OFD packet to send [22:08:43]OFD Sender: No OFD packet to send [22:08:48]OFD Sender: No OFD packet to send [22:08:53]OFD Sender: No OFD packet to send [22:08:58]OFD Sender: No OFD packet to send [22:09:03]OFD Sender: No OFD packet to send [22:09:08]OFD Sender: No OFD packet to send [22:09:13]OFD Sender: No OFD packet to send [22:09:18]OFD Sender: No OFD packet to send [22:09:23]OFD Sender: No OFD packet to send [22:09:28]OFD Sender: No OFD packet to send [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:53]OFD Sender: No OFD packet to send [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:48]OFD Sender: No OFD packet to send [22:12:53]OFD Sender: No OFD packet to send [22:12:58]OFD Sender: No OFD packet to send [22:13:03]OFD Sender: No OFD packet to send [22:13:08]OFD Sender: No OFD packet to send [22:13:13]OFD Sender: No OFD packet to send [22:13:18]OFD Sender: No OFD packet to send [22:13:23]OFD Sender: No OFD packet to send [22:13:28]OFD Sender: No OFD packet to send [22:13:33]OFD Sender: No OFD packet to send [22:13:38]OFD Sender: No OFD packet to send [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:53]accept exits with 7 [22:17:53]New connection [22:17:53]New thread 3067555172 created [22:17:53]Thread 3067411812 joined [22:17:53]Waiting for new connection... [22:17:53] Sock 7.Parse request [22:17:53]Sock 7.Check first char [22:17:53]Sock 7.First char is OK [22:17:53]request: POST /json_proto HTTP/1.0 [22:17:53]Method: POST [22:17:53]URL: /json_proto [22:17:53]Method is POST - this is cgi request [22:17:53]url: /json_proto [22:17:53]query_string will be loaded in cgi processing [22:17:53]execute_cgi json_proto POST (null) [22:17:53]execute_cgi path=json_proto method=POST [22:17:53]POST find Content-Length [22:17:53]Host: 172.17.47.135:8080 [22:17:53]Content-Length: 817 [22:17:53]Content-Type: application/json [22:17:53] [22:17:53]POST finish read [22:17:53]Found Content-Length = 817 [22:17:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.550, "sum" : 420.51, "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" : 420.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:53]execute_script... [22:17:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6543552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.550, "sum" : 420.51, "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" : 420.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:53]POST & json_proto [22:17:53]process_json_proto [22:17:53]json parsed OK: [22:17:53]protocol is kg_v1.0 [22:17:53]action value=close_receipt [22:17:53]process_action close_receipt [22:17:53]cmd_close_receipt [22:17:53]MH_GetDate [22:17:53]Write to MH i2c: F0 00 00 D4 12 D5 [22:17:53]Write i2c OK [22:17:53]MH_I2C_Read... [22:17:53]Read from MH i2c: F0 [22:17:53]MH_I2C_Read... [22:17:53]Read from MH i2c: F0 09 00 [22:17:53]MH_I2C_Read... [22:17:53]Read from MH i2c: F0 09 00 D4 12 00 94 B5 B3 67 19 D8 DE 66 76 [22:17:53]GetLastDocTimeStamp 1739829923 [22:17:53]current date 1739830676 [22:17:53]FM_GetShiftState [22:17:53]SAM_PROTO_GetShiftState [22:17:53]wFMCommunicate request_size=4 [22:17:53]MH_SAM_APDU [22:17:53]CAPDU: 80 13 01 00 [22:17:53]Write to MH i2c: E2 08 00 D5 12 80 13 01 00 00 00 00 00 64 [22:17:53]Write i2c OK [22:17:53]MH_I2C_Read... [22:17:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:53]Read from MH i2c: E2 [22:17:53]MH_I2C_Read... [22:17:53]Read from MH i2c: E2 0E 00 [22:17:53]MH_I2C_Read... [22:17:53]Read from MH i2c: E2 0E 00 D5 12 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 4A [22:17:53]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:17:53]wFMCommunicate OK [22:17:53]SAM_PROTO_GetShiftState done [22:17:53]FM_GetShiftState done [22:17:53]opened in 1739750979 [22:17:53]opened+sec_in_day 1739837379 [22:17:53]quantity*price = 42051 [22:17:53]sum+1 = 42052 [22:17:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 420.51 НСП 1% : 3.72 НДС 12% : 44.66 Наличными: 0.00 Безнал.: 420.51 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 71 17.02.2025 22:17 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32440 ФПД: 125150895033550 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T221756&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32440&fm=125150895033550&tin=02508201610067®Number=0000000000146237&sum=42051 [22:17:54]StoreToDocumentArchive [22:17:54]shift 382 fd 32440 [22:17:54]save to /storage/0382/doc_00032440 [22:17:54]save last doc name /storage/0382/doc_00032440 to /storage/kkm_last_doc_name [22:17:54]save OK [22:17:54]Clear old archive folders... [22:17:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:17:54]tlvbuf is 004A6AB0 [22:17:54]SAM_PROTO_ClearQueue [22:17:54]wFMCommunicate request_size=4 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 09 00 00 [22:17:54]Write to MH i2c: E2 08 00 E2 12 80 09 00 00 00 00 00 00 66 [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:17:54]Read from MH i2c: E2 03 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 E2 12 00 90 00 68 [22:17:54]RAPDU: 90 00 [22:17:54]wFMCommunicate OK [22:17:54]SAM_PROTO_ClearQueue done [22:17:54]KKMCreateOFDPacket [22:17:54]OFDProtocolAddRootSTLVToBuf [22:17:54]FM_MakeSignedData [22:17:54]FM_MakeSignedData [22:17:54]SAM_PROTO_SignData [22:17:54]wFMCommunicate request_size=4 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 0D 01 02 [22:17:54]Write to MH i2c: E2 08 00 E3 12 80 0D 01 02 00 00 00 00 6E [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 E3 12 00 90 00 69 [22:17:54]RAPDU: 90 00 [22:17:54]wFMCommunicate OK [22:17:54]wFMCommunicate request_size=255 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 96 19 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 43 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 94 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B8 7E 00 00 35 04 06 00 71 [22:17:54]Write to MH i2c: E2 02 01 E4 12 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 96 19 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 43 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 94 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B8 7E 00 00 35 04 06 00 71 00 00 D2 [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 E4 12 00 90 00 6A [22:17:54]RAPDU: 90 00 [22:17:54]wFMCommunicate OK [22:17:54]wFMCommunicate request_size=10 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 0D 02 02 05 D2 F6 A4 4C CE [22:17:54]Write to MH i2c: E2 0D 00 E5 12 80 0D 02 02 05 00 D2 F6 A4 4C CE 00 00 01 [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 03 00 E5 12 00 90 00 6B [22:17:54]RAPDU: 90 00 [22:17:54]wFMCommunicate OK [22:17:54]wFMCommunicate request_size=4 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 0D 03 02 [22:17:54]Write to MH i2c: E2 08 00 E6 12 80 0D 03 02 00 00 00 00 73 [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 0B 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 0B 00 E6 12 00 F8 C5 41 BE DC 62 06 0C 90 00 80 [22:17:54]RAPDU: F8 C5 41 BE DC 62 06 0C 90 00 [22:17:54]wFMCommunicate OK [22:17:54]SAM_PROTO_SignData done [22:17:54]FM_MakeSignedData done [22:17:54]CreateOFDProtocolMessage [22:17:54]wFMCommunicate request_size=4 [22:17:54]MH_SAM_APDU [22:17:54]CAPDU: 80 11 00 00 [22:17:54]Write to MH i2c: E2 08 00 E7 12 80 11 00 00 00 00 00 00 73 [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:54]Read from MH i2c: E2 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 17 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: E2 17 00 E7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C9 [22:17:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:17:54]wFMCommunicate OK [22:17:54]CreateOFDProtocolMessage done [22:17:54]OFDSenderStorePacket 32440 [22:17:54]StoreOFDPacket docnum=32440 [22:17:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 C9 07 07 01 93 83 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 96 19 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 43 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 94 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B8 7E 00 00 35 04 06 00 71 D2 F6 A4 4C CE F8 C5 41 BE DC 62 06 0C [22:17:54]CheckFolder [22:17:54]dirname=/storage/ofd_packets [22:17:54]CheckFolder done [22:17:54]ProducePacketName [22:17:54]name=ofd_packets/00032440 [22:17:54]NVStorageSaveData ofd_packets/00032440 [22:17:54]File name is /storage/ofd_packets/00032440 [22:17:54]Write 301 bytes [22:17:54]NVStorageSaveData done [22:17:54]OFDSenderStorePacket done [22:17:54]KKMCreateOFDPacket done [22:17:54]NVStorageSaveData kkm_last_timestamp [22:17:54]File name is /storage/kkm_last_timestamp [22:17:54]Write 4 bytes [22:17:54]NVStorageSaveData done [22:17:54]ExternCall_PrintAddStr [22:17:54]wPrintStart [22:17:54]Write to MH i2c: 01 00 00 E8 12 FA [22:17:54]Write i2c OK [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: 01 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: 01 07 00 [22:17:54]MH_I2C_Read... [22:17:54]Read from MH i2c: 01 07 00 E8 12 00 00 00 00 00 FF 0F 0F [22:17:54]RasterBufferAndPrint [22:17:54]line Счет N : (1)6543552 [22:17:54]line ИНН: 02508201610067 [22:17:54]line Контрольно-Кассовый Чек [22:17:54]line ПРОДАЖА [22:17:54]line ТРК (МРК, ГНК) : 22 [22:17:54]line Товар: 2710124130 [22:17:54]line Аи-92-К-5 [22:17:54]line 6.550 * 64.20 [22:17:54]line = 420.51 [22:17:54]line НДС 12% НСП 1% [22:17:54]line > о реализуемом товаре [22:17:54]line ИТОГО: 420.51 [22:17:54]line НСП 1% : 3.72 [22:17:54]line НДС 12% : 44.66 [22:17:54]line Наличными: 0.00 [22:17:54]line Безнал.: 420.51 [22:17:54]line Место: АЗС № 96 "Партнер Нефть" [22:17:54]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [22:17:54]line СНО: Общий режим [22:17:54]line Чек 71 17.02.2025 22:17 [22:17:54]line Смена: 382 ФФД: 1.0 [22:17:54]line ЗНМ: 0300000059 [22:17:54]line РНМ: 0000000000146237 [22:17:54]line Версия ККМ: v1.0 [22:17:54]line Платежная система: Бакай Банк [22:17:54]line ФМ: 0000000000959282 [22:17:54]line ФД: 32440 [22:17:54]line ФПД: 125150895033550 [22:17:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T221756&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32440&fm=125150895033550&tin=02508201610067®Number=0000000000146237&sum=42051 [22:17:55]OFD Sender: Processing packet 32440 [packets to send 104, broken 103] [22:17:55]ProducePacketName [22:17:55]name=ofd_packets/00032440 [22:17:55]OFD Sender: To server: pG, [22:17:55]CommunicateWithHost lk.salyk.kg:30040 [22:17:55]ConnectInit lk.salyk.kg [22:17:55]written 0, free lines is 4095 [22:17:55]Connected sock=10 [22:17:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 C9 07 07 01 93 83 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 96 19 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 43 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 43 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 43 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 94 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B8 7E 00 00 35 04 06 00 71 D2 F6 A4 4C CE F8 C5 41 BE DC 62 06 0C [22:17:55]Write to MH i2c: 01 00 00 12 13 25 [22:17:55]Write i2c OK [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: 01 [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: 01 07 00 [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: 01 07 00 12 13 00 00 00 00 00 FC 0C 34 [22:17:55]RasterBufferAndPrint [22:17:55]line [22:17:55]line [22:17:55]line [22:17:55]line [22:17:55]line [22:17:55]written 0, free lines is 3330 [22:17:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 DE F1 47 00 DC 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B8 7E 00 00 F4 03 04 00 37 5F B3 67 B6 04 01 00 00 A5 B6 E8 68 C0 47 7F 3A [22:17:55]CommunicateWithHost err = 0 [22:17:55]CheckOFDResponse [22:17:55]1017 (14) - 77093643461234 [22:17:55]1041 (16) - 0000000000959282 [22:17:55]1040 (4) - 32440 [22:17:55]1012 (4) - 17.02.2025 16:09 [22:17:55]1206 (1) - 0 [22:17:55]OFD Sender: Remove packet 32440 [22:17:55]ProducePacketName [22:17:55]name=ofd_packets/00032440 [22:17:55]NVStorageDeleteData [22:17:55]MH_Cut [22:17:55]Write to MH i2c: D1 01 00 19 13 01 FE [22:17:55]Write i2c OK [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: D1 [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: D1 01 00 [22:17:55]MH_I2C_Read... [22:17:55]Read from MH i2c: D1 01 00 19 13 00 FD [22:17:55]Write to MH i2c: 01 00 00 1A 13 2D [22:17:55]Write i2c OK [22:17:55]MH_I2C_Read... [22:17:56]OFD Sender: No OFD packet to send [22:17:56]*** Cut start [22:17:56]*** Partial cut [22:17:56]*** CUTSNS_PIN = 1 [22:17:56]*** CUTSNS_PIN = 0 [22:17:56]*** Brake cut motor [22:17:57]Read from MH i2c: 01 [22:17:57]MH_I2C_Read... [22:17:57]*** Stop cut motor [22:17:57]*** Cut end [22:17:57]Read from MH i2c: 01 07 00 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: 01 07 00 1A 13 00 00 00 00 00 FF 0F 42 [22:17:57]process_action close_receipt done [22:17:57]requested_data is exist [22:17:57]produce_requested_data [22:17:57]requested_item fm.sn is exist - process it [22:17:57]wFMCommunicate request_size=4 [22:17:57]MH_SAM_APDU [22:17:57]CAPDU: 80 11 00 00 [22:17:57]Write to MH i2c: E2 08 00 1B 13 80 11 00 00 00 00 00 00 A8 [22:17:57]Write i2c OK [22:17:57]MH_I2C_Read... [22:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:57]Read from MH i2c: E2 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 17 00 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 17 00 1B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FE [22:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:17:57]wFMCommunicate OK [22:17:57]requested_item fd.num is exist - process it [22:17:57]SAM_PROTO_GetFieldsCounters [22:17:57]wFMCommunicate request_size=4 [22:17:57]MH_SAM_APDU [22:17:57]CAPDU: 80 13 00 00 [22:17:57]Write to MH i2c: E2 08 00 1C 13 80 13 00 00 00 00 00 00 AB [22:17:57]Write i2c OK [22:17:57]MH_I2C_Read... [22:17:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:17:57]Read from MH i2c: E2 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 62 00 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 62 00 1C 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B8 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [22:17:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B8 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:17:57]wFMCommunicate OK [22:17:57]SAM_PROTO_GetFieldsCounters done [22:17:57]requested_item shift.num is exist - process it [22:17:57]requested_item shift.opened is exist - process it [22:17:57]req_shift_opened [22:17:57]FM_GetShiftState [22:17:57]SAM_PROTO_GetShiftState [22:17:57]wFMCommunicate request_size=4 [22:17:57]MH_SAM_APDU [22:17:57]CAPDU: 80 13 01 00 [22:17:57]Write to MH i2c: E2 08 00 1D 13 80 13 01 00 00 00 00 00 AD [22:17:57]Write i2c OK [22:17:57]MH_I2C_Read... [22:17:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:57]Read from MH i2c: E2 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 0E 00 [22:17:57]MH_I2C_Read... [22:17:57]Read from MH i2c: E2 0E 00 1D 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 93 [22:17:57]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:17:57]wFMCommunicate OK [22:17:57]SAM_PROTO_GetShiftState done [22:17:57]FM_GetShiftState done [22:17:57]req_shift_opened done [22:17:57]requested_item shift.open_date is exist - process it [22:17:57]req_shift_open_date [22:17:57]req_shift_open_date done [22:17:57]produce_requested_data done [22:17:57]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32440,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [22:17:57]process_action_free close_receipt [22:17:57]json_value_free [22:17:57]json_value_free done [22:17:57]process_json_proto returns [22:17:57]Send response to host [22:17:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32440,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [22:17:57]free response buf [22:17:57]execute_script done [22:17:57]execute_script returns [22:17:57]free content buf [22:17:57]Sock 7.Close socket [22:17:57]Sock 7.Thread stoped [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:28]accept exits with 9 [22:19:28]New connection [22:19:28]New thread 3067411812 created [22:19:28]Thread 3067555172 joined [22:19:28]Waiting for new connection... [22:19:28] Sock 9.Parse request [22:19:28]Sock 9.Check first char [22:19:28]Sock 9.First char is OK [22:19:28]request: POST /json_proto HTTP/1.0 [22:19:28]Method: POST [22:19:28]URL: /json_proto [22:19:28]Method is POST - this is cgi request [22:19:28]url: /json_proto [22:19:28]query_string will be loaded in cgi processing [22:19:28]execute_cgi json_proto POST (null) [22:19:28]execute_cgi path=json_proto method=POST [22:19:28]POST find Content-Length [22:19:28]Host: 172.17.47.135:8080 [22:19:28]Content-Length: 642 [22:19:28]Content-Type: application/json [22:19:28] [22:19:28]POST finish read [22:19:28]Found Content-Length = 642 [22:19:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130681", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:19:28]execute_script... [22:19:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130681", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:19:28]POST & json_proto [22:19:28]process_json_proto [22:19:28]json parsed OK: [22:19:28]protocol is kg_v1.0 [22:19:28]action value=close_receipt [22:19:28]process_action close_receipt [22:19:28]cmd_close_receipt [22:19:28]MH_GetDate [22:19:28]Write to MH i2c: F0 00 00 1E 13 20 [22:19:28]Write i2c OK [22:19:28]MH_I2C_Read... [22:19:28]Read from MH i2c: F0 [22:19:28]MH_I2C_Read... [22:19:28]Read from MH i2c: F0 09 00 [22:19:28]MH_I2C_Read... [22:19:28]Read from MH i2c: F0 09 00 1E 13 00 F3 B5 B3 67 19 D8 DE 66 20 [22:19:28]GetLastDocTimeStamp 1739830676 [22:19:28]current date 1739830771 [22:19:28]FM_GetShiftState [22:19:28]SAM_PROTO_GetShiftState [22:19:28]wFMCommunicate request_size=4 [22:19:28]MH_SAM_APDU [22:19:28]CAPDU: 80 13 01 00 [22:19:28]Write to MH i2c: E2 08 00 1F 13 80 13 01 00 00 00 00 00 AF [22:19:28]Write i2c OK [22:19:28]MH_I2C_Read... [22:19:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:28]Read from MH i2c: E2 [22:19:28]MH_I2C_Read... [22:19:28]Read from MH i2c: E2 0E 00 [22:19:28]MH_I2C_Read... [22:19:28]Read from MH i2c: E2 0E 00 1F 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 95 [22:19:28]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:19:28]wFMCommunicate OK [22:19:28]SAM_PROTO_GetShiftState done [22:19:28]FM_GetShiftState done [22:19:28]opened in 1739750979 [22:19:28]opened+sec_in_day 1739837379 [22:19:28]quantity*price = 6400 [22:19:28]sum+1 = 6401 [22:19:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 64.00 НСП 1% : 0.57 НДС 12% : 6.80 Наличными: 64.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 72 17.02.2025 22:19 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32441 ФПД: 123680340675063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T221931&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32441&fm=123680340675063&tin=02508201610067®Number=0000000000146237&sum=6400 0 [22:19:29]StoreToDocumentArchive [22:19:29]shift 382 fd 32441 [22:19:29]save to /storage/0382/doc_00032441 [22:19:29]save last doc name /storage/0382/doc_00032441 to /storage/kkm_last_doc_name [22:19:29]save OK [22:19:29]Clear old archive folders... [22:19:29]ProcessDocumentItem done err = 0, tmpTLVsize=281 [22:19:29]tlvbuf is 004E3100 [22:19:29]SAM_PROTO_ClearQueue [22:19:29]wFMCommunicate request_size=4 [22:19:29]MH_SAM_APDU [22:19:29]CAPDU: 80 09 00 00 [22:19:29]Write to MH i2c: E2 08 00 2C 13 80 09 00 00 00 00 00 00 B1 [22:19:29]Write i2c OK [22:19:29]MH_I2C_Read... [22:19:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:19:29]Read from MH i2c: E2 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 2C 13 00 90 00 B3 [22:19:29]RAPDU: 90 00 [22:19:29]wFMCommunicate OK [22:19:29]SAM_PROTO_ClearQueue done [22:19:29]KKMCreateOFDPacket [22:19:29]OFDProtocolAddRootSTLVToBuf [22:19:29]FM_MakeSignedData [22:19:29]FM_MakeSignedData [22:19:29]SAM_PROTO_SignData [22:19:29]wFMCommunicate request_size=4 [22:19:29]MH_SAM_APDU [22:19:29]CAPDU: 80 0D 01 02 [22:19:29]Write to MH i2c: E2 08 00 2D 13 80 0D 01 02 00 00 00 00 B9 [22:19:29]Write i2c OK [22:19:29]MH_I2C_Read... [22:19:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:19:29]Read from MH i2c: E2 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 2D 13 00 90 00 B4 [22:19:29]RAPDU: 90 00 [22:19:29]wFMCommunicate OK [22:19:29]wFMCommunicate request_size=255 [22:19:29]MH_SAM_APDU [22:19:29]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 48 00 00 00 F4 03 04 00 F3 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 [22:19:29]Write to MH i2c: E2 02 01 2E 13 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 48 00 00 00 F4 03 04 00 F3 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 00 E0 [22:19:29]Write i2c OK [22:19:29]MH_I2C_Read... [22:19:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:29]Read from MH i2c: E2 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 2E 13 00 90 00 B5 [22:19:29]RAPDU: 90 00 [22:19:29]wFMCommunicate OK [22:19:29]wFMCommunicate request_size=40 [22:19:29]MH_SAM_APDU [22:19:29]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B9 7E 00 00 35 04 06 00 70 7C 92 C5 89 F7 [22:19:29]Write to MH i2c: E2 2B 00 2F 13 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B9 7E 00 00 35 04 06 00 70 7C 92 C5 89 F7 00 00 76 [22:19:29]Write i2c OK [22:19:29]MH_I2C_Read... [22:19:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:29]Read from MH i2c: E2 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 [22:19:29]MH_I2C_Read... [22:19:29]Read from MH i2c: E2 03 00 2F 13 00 90 00 B6 [22:19:29]RAPDU: 90 00 [22:19:29]wFMCommunicate OK [22:19:29]wFMCommunicate request_size=4 [22:19:29]MH_SAM_APDU [22:19:29]CAPDU: 80 0D 03 02 [22:19:29]Write to MH i2c: E2 08 00 30 13 80 0D 03 02 00 00 00 00 BE [22:19:29]Write i2c OK [22:19:29]MH_I2C_Read... [22:19:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:19:30]Read from MH i2c: E2 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: E2 0B 00 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: E2 0B 00 30 13 00 49 1E A3 B8 86 22 78 1F 90 00 C0 [22:19:30]RAPDU: 49 1E A3 B8 86 22 78 1F 90 00 [22:19:30]wFMCommunicate OK [22:19:30]SAM_PROTO_SignData done [22:19:30]FM_MakeSignedData done [22:19:30]CreateOFDProtocolMessage [22:19:30]wFMCommunicate request_size=4 [22:19:30]MH_SAM_APDU [22:19:30]CAPDU: 80 11 00 00 [22:19:30]Write to MH i2c: E2 08 00 31 13 80 11 00 00 00 00 00 00 BE [22:19:30]Write i2c OK [22:19:30]MH_I2C_Read... [22:19:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:30]Read from MH i2c: E2 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: E2 17 00 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: E2 17 00 31 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 14 [22:19:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:19:30]wFMCommunicate OK [22:19:30]CreateOFDProtocolMessage done [22:19:30]OFDSenderStorePacket 32441 [22:19:30]StoreOFDPacket docnum=32441 [22:19:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2D 01 00 00 E1 FB 25 01 71 94 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 48 00 00 00 F4 03 04 00 F3 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B9 7E 00 00 35 04 06 00 70 7C 92 C5 89 F7 49 1E A3 B8 86 22 78 1F [22:19:30]CheckFolder [22:19:30]dirname=/storage/ofd_packets [22:19:30]CheckFolder done [22:19:30]ProducePacketName [22:19:30]name=ofd_packets/00032441 [22:19:30]NVStorageSaveData ofd_packets/00032441 [22:19:30]File name is /storage/ofd_packets/00032441 [22:19:30]Write 331 bytes [22:19:30]NVStorageSaveData done [22:19:30]OFDSenderStorePacket done [22:19:30]KKMCreateOFDPacket done [22:19:30]NVStorageSaveData kkm_last_timestamp [22:19:30]File name is /storage/kkm_last_timestamp [22:19:30]Write 4 bytes [22:19:30]NVStorageSaveData done [22:19:30]ExternCall_PrintAddStr [22:19:30]wPrintStart [22:19:30]Write to MH i2c: 01 00 00 32 13 45 [22:19:30]OFD Sender: Processing packet 32441 [packets to send 104, broken 103] [22:19:30]ProducePacketName [22:19:30]name=ofd_packets/00032441 [22:19:30]OFD Sender: To server: pG, [22:19:30]CommunicateWithHost lk.salyk.kg:30040 [22:19:30]ConnectInit lk.salyk.kg [22:19:30]Write i2c OK [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 07 00 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 07 00 32 13 00 00 00 00 00 FF 0F 5A [22:19:30]RasterBufferAndPrint [22:19:30]line Счет N : (3)130681 [22:19:30]line ИНН: 02508201610067 [22:19:30]line Контрольно-Кассовый Чек [22:19:30]line ПРОДАЖА [22:19:30]line Товар: 4607065001445 [22:19:30]line Шок батончик Snickers 50,5г [22:19:30]line 1.000 * 64.00 [22:19:30]line = 64.00 [22:19:30]line НДС 12% НСП 1% [22:19:30]line > о реализуемом товаре [22:19:30]line ИТОГО: 64.00 [22:19:30]line НСП 1% : 0.57 [22:19:30]line НДС 12% : 6.80 [22:19:30]line Наличными: 64.00 [22:19:30]line Безнал.: 0.00 [22:19:30]line Место: АЗС № 96 "Партнер Нефть" [22:19:30]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [22:19:30]line СНО: Общий режим [22:19:30]line Чек 72 17.02.2025 22:19 [22:19:30]line Смена: 382 ФФД: 1.0 [22:19:30]line ЗНМ: 0300000059 [22:19:30]line РНМ: 0000000000146237 [22:19:30]line Версия ККМ: v1.0 [22:19:30]line ФМ: 0000000000959282 [22:19:30]line ФД: 32441 [22:19:30]line ФПД: 123680340675063 [22:19:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T221931&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32441&fm=123680340675063&tin=02508201610067®Number=0000000000146237&sum=6400 [22:19:30]line 0 [22:19:30]written 0, free lines is 4095 [22:19:30]Connected sock=10 [22:19:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2D 01 00 00 E1 FB 25 01 71 94 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 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 A8 02 00 00 00 00 07 04 06 00 00 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 48 00 00 00 F4 03 04 00 F3 B5 B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B9 7E 00 00 35 04 06 00 70 7C 92 C5 89 F7 49 1E A3 B8 86 22 78 1F [22:19:30]Write to MH i2c: 01 00 00 5A 13 6D [22:19:30]Write i2c OK [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 07 00 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: 01 07 00 5A 13 00 00 00 00 00 13 0D 94 [22:19:30]RasterBufferAndPrint [22:19:30]line [22:19:30]line [22:19:30]line [22:19:30]line [22:19:30]line [22:19:30]written 0, free lines is 3353 [22:19:30]MH_Cut [22:19:30]Write to MH i2c: D1 01 00 61 13 01 46 [22:19:30]Write i2c OK [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: D1 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: D1 01 00 [22:19:30]MH_I2C_Read... [22:19:30]Read from MH i2c: D1 01 00 61 13 00 45 [22:19:30]Write to MH i2c: 01 00 00 62 13 75 [22:19:30]Write i2c OK [22:19:30]MH_I2C_Read... [22:19:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 9E 87 47 00 FF A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 B9 7E 00 00 F4 03 04 00 96 5F B3 67 B6 04 01 00 00 AA 60 C6 9A DB 2A 0C 3A [22:19:30]CommunicateWithHost err = 0 [22:19:30]CheckOFDResponse [22:19:30]1017 (14) - 77093643461234 [22:19:30]1041 (16) - 0000000000959282 [22:19:30]1040 (4) - 32441 [22:19:30]1012 (4) - 17.02.2025 16:11 [22:19:30]1206 (1) - 0 [22:19:30]OFD Sender: Remove packet 32441 [22:19:30]ProducePacketName [22:19:30]name=ofd_packets/00032441 [22:19:30]NVStorageDeleteData [22:19:31]OFD Sender: No OFD packet to send [22:19:31]*** Cut start [22:19:31]*** Partial cut [22:19:31]*** CUTSNS_PIN = 1 [22:19:31]*** CUTSNS_PIN = 0 [22:19:31]*** Brake cut motor [22:19:32]Read from MH i2c: 01 [22:19:32]MH_I2C_Read... [22:19:32]*** Stop cut motor [22:19:32]*** Cut end [22:19:32]Read from MH i2c: 01 07 00 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: 01 07 00 62 13 00 00 00 00 00 FF 0F 8A [22:19:32]process_action close_receipt done [22:19:32]requested_data is exist [22:19:32]produce_requested_data [22:19:32]requested_item fm.sn is exist - process it [22:19:32]wFMCommunicate request_size=4 [22:19:32]MH_SAM_APDU [22:19:32]CAPDU: 80 11 00 00 [22:19:32]Write to MH i2c: E2 08 00 63 13 80 11 00 00 00 00 00 00 F0 [22:19:32]Write i2c OK [22:19:32]MH_I2C_Read... [22:19:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:32]Read from MH i2c: E2 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 17 00 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 17 00 63 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 46 [22:19:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [22:19:32]wFMCommunicate OK [22:19:32]requested_item fd.num is exist - process it [22:19:32]SAM_PROTO_GetFieldsCounters [22:19:32]wFMCommunicate request_size=4 [22:19:32]MH_SAM_APDU [22:19:32]CAPDU: 80 13 00 00 [22:19:32]Write to MH i2c: E2 08 00 64 13 80 13 00 00 00 00 00 00 F3 [22:19:32]Write i2c OK [22:19:32]MH_I2C_Read... [22:19:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:19:32]Read from MH i2c: E2 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 62 00 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 62 00 64 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B9 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [22:19:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 B9 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:19:32]wFMCommunicate OK [22:19:32]SAM_PROTO_GetFieldsCounters done [22:19:32]requested_item shift.num is exist - process it [22:19:32]requested_item shift.opened is exist - process it [22:19:32]req_shift_opened [22:19:32]FM_GetShiftState [22:19:32]SAM_PROTO_GetShiftState [22:19:32]wFMCommunicate request_size=4 [22:19:32]MH_SAM_APDU [22:19:32]CAPDU: 80 13 01 00 [22:19:32]Write to MH i2c: E2 08 00 65 13 80 13 01 00 00 00 00 00 F5 [22:19:32]Write i2c OK [22:19:32]MH_I2C_Read... [22:19:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:32]Read from MH i2c: E2 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 0E 00 [22:19:32]MH_I2C_Read... [22:19:32]Read from MH i2c: E2 0E 00 65 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DB [22:19:32]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [22:19:32]wFMCommunicate OK [22:19:32]SAM_PROTO_GetShiftState done [22:19:32]FM_GetShiftState done [22:19:32]req_shift_opened done [22:19:32]requested_item shift.open_date is exist - process it [22:19:32]req_shift_open_date [22:19:32]req_shift_open_date done [22:19:32]produce_requested_data done [22:19:32]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32441,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [22:19:32]process_action_free close_receipt [22:19:32]json_value_free [22:19:32]json_value_free done [22:19:32]process_json_proto returns [22:19:32]Send response to host [22:19:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32441,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [22:19:32]free response buf [22:19:32]execute_script done [22:19:32]execute_script returns [22:19:32]free content buf [22:19:32]Sock 9.Close socket [22:19:32]Sock 9.Thread stoped [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [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:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23: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:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:06]accept exits with 7 [23:49:06]New connection [23:49:06]New thread 3067555172 created [23:49:06]Thread 3067411812 joined [23:49:06]Waiting for new connection... [23:49:06] Sock 7.Parse request [23:49:06]Sock 7.Check first char [23:49:06]Sock 7.First char is OK [23:49:06]request: POST /json_proto HTTP/1.0 [23:49:06]Method: POST [23:49:06]URL: /json_proto [23:49:06]Method is POST - this is cgi request [23:49:06]url: /json_proto [23:49:06]query_string will be loaded in cgi processing [23:49:06]execute_cgi json_proto POST (null) [23:49:06]execute_cgi path=json_proto method=POST [23:49:06]POST find Content-Length [23:49:06]Host: 172.17.47.135:8080 [23:49:06]Content-Length: 884 [23:49:06]Content-Type: application/json [23:49:06] [23:49:06]POST finish read [23:49:06]Found Content-Length = 884 [23:49:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130682", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.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" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:06]execute_script... [23:49: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)130682", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.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" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:49:06]POST & json_proto [23:49:06]process_json_proto [23:49:06]json parsed OK: [23:49:06]protocol is kg_v1.0 [23:49:06]action value=close_receipt [23:49:06]process_action close_receipt [23:49:06]cmd_close_receipt [23:49:06]MH_GetDate [23:49:06]Write to MH i2c: F0 00 00 66 13 68 [23:49:06]Write i2c OK [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: F0 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: F0 09 00 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: F0 09 00 66 13 00 F6 CA B3 67 19 D8 DE 66 80 [23:49:06]GetLastDocTimeStamp 1739830771 [23:49:06]current date 1739836150 [23:49:06]FM_GetShiftState [23:49:06]SAM_PROTO_GetShiftState [23:49:06]wFMCommunicate request_size=4 [23:49:06]MH_SAM_APDU [23:49:06]CAPDU: 80 13 01 00 [23:49:06]Write to MH i2c: E2 08 00 67 13 80 13 01 00 00 00 00 00 F7 [23:49:06]Write i2c OK [23:49:06]MH_I2C_Read... [23:49:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:06]Read from MH i2c: E2 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: E2 0E 00 [23:49:06]MH_I2C_Read... [23:49:06]Read from MH i2c: E2 0E 00 67 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 DD [23:49:06]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:49:06]wFMCommunicate OK [23:49:06]SAM_PROTO_GetShiftState done [23:49:06]FM_GetShiftState done [23:49:06]opened in 1739750979 [23:49:06]opened+sec_in_day 1739837379 [23:49:06]quantity*price = 9400 [23:49:06]sum+1 = 9401 [23:49:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 0.00 Безнал.: 94.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 73 17.02.2025 23:49 Смена: 382 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32442 ФПД: 150594568586205 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T234910&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32442&fm=150594568586205&tin=02508201610067®Number=0000000000146237&sum=9400 0 [23:49:07]StoreToDocumentArchive [23:49:07]shift 382 fd 32442 [23:49:07]save to /storage/0382/doc_00032442 [23:49:07]save last doc name /storage/0382/doc_00032442 to /storage/kkm_last_doc_name [23:49:07]save OK [23:49:07]Clear old archive folders... [23:49:07]ProcessDocumentItem done err = 0, tmpTLVsize=302 [23:49:07]tlvbuf is 004DF200 [23:49:07]SAM_PROTO_ClearQueue [23:49:07]wFMCommunicate request_size=4 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 09 00 00 [23:49:07]Write to MH i2c: E2 08 00 74 13 80 09 00 00 00 00 00 00 F9 [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:49:07]Read from MH i2c: E2 03 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 74 13 00 90 00 FB [23:49:07]RAPDU: 90 00 [23:49:07]wFMCommunicate OK [23:49:07]SAM_PROTO_ClearQueue done [23:49:07]KKMCreateOFDPacket [23:49:07]OFDProtocolAddRootSTLVToBuf [23:49:07]FM_MakeSignedData [23:49:07]FM_MakeSignedData [23:49:07]SAM_PROTO_SignData [23:49:07]wFMCommunicate request_size=4 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 0D 01 02 [23:49:07]Write to MH i2c: E2 08 00 75 13 80 0D 01 02 00 00 00 00 01 [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 75 13 00 90 00 FC [23:49:07]RAPDU: 90 00 [23:49:07]wFMCommunicate OK [23:49:07]wFMCommunicate request_size=255 [23:49:07]MH_SAM_APDU [23:49:07]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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F6 CA B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 [23:49:07]Write to MH i2c: E2 02 01 76 13 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F6 CA B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 00 00 9D [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 76 13 00 90 00 FD [23:49:07]RAPDU: 90 00 [23:49:07]wFMCommunicate OK [23:49:07]wFMCommunicate request_size=61 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BA 7E 00 00 35 04 06 00 88 F7 07 C4 03 DD [23:49:07]Write to MH i2c: E2 40 00 77 13 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BA 7E 00 00 35 04 06 00 88 F7 07 C4 03 DD 00 00 9C [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 03 00 77 13 00 90 00 FE [23:49:07]RAPDU: 90 00 [23:49:07]wFMCommunicate OK [23:49:07]wFMCommunicate request_size=4 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 0D 03 02 [23:49:07]Write to MH i2c: E2 08 00 78 13 80 0D 03 02 00 00 00 00 06 [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 0B 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 0B 00 78 13 00 8F 41 EC 86 38 5A 81 5B 90 00 B7 [23:49:07]RAPDU: 8F 41 EC 86 38 5A 81 5B 90 00 [23:49:07]wFMCommunicate OK [23:49:07]SAM_PROTO_SignData done [23:49:07]FM_MakeSignedData done [23:49:07]CreateOFDProtocolMessage [23:49:07]wFMCommunicate request_size=4 [23:49:07]MH_SAM_APDU [23:49:07]CAPDU: 80 11 00 00 [23:49:07]Write to MH i2c: E2 08 00 79 13 80 11 00 00 00 00 00 00 06 [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:49:07]Read from MH i2c: E2 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 17 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: E2 17 00 79 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5C [23:49:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:49:07]wFMCommunicate OK [23:49:07]CreateOFDProtocolMessage done [23:49:07]OFDSenderStorePacket 32442 [23:49:07]StoreOFDPacket docnum=32442 [23:49:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 40 78 3A 01 4A D0 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F6 CA B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BA 7E 00 00 35 04 06 00 88 F7 07 C4 03 DD 8F 41 EC 86 38 5A 81 5B [23:49:07]CheckFolder [23:49:07]dirname=/storage/ofd_packets [23:49:07]CheckFolder done [23:49:07]ProducePacketName [23:49:07]name=ofd_packets/00032442 [23:49:07]NVStorageSaveData ofd_packets/00032442 [23:49:07]File name is /storage/ofd_packets/00032442 [23:49:07]Write 352 bytes [23:49:07]NVStorageSaveData done [23:49:07]OFDSenderStorePacket done [23:49:07]KKMCreateOFDPacket done [23:49:07]NVStorageSaveData kkm_last_timestamp [23:49:07]File name is /storage/kkm_last_timestamp [23:49:07]Write 4 bytes [23:49:07]NVStorageSaveData done [23:49:07]ExternCall_PrintAddStr [23:49:07]wPrintStart [23:49:07]Write to MH i2c: 01 00 00 7A 13 8D [23:49:07]Write i2c OK [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: 01 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: 01 07 00 [23:49:07]MH_I2C_Read... [23:49:07]Read from MH i2c: 01 07 00 7A 13 00 00 00 00 00 FF 0F A2 [23:49:07]RasterBufferAndPrint [23:49:07]line Счет N : (3)130682 [23:49:07]line ИНН: 02508201610067 [23:49:07]line Контрольно-Кассовый Чек [23:49:07]line ПРОДАЖА [23:49:07]line Товар: 4700000480050 [23:49:07]line Напиток энергетический Nitro 0.45 ж/б [23:49:07]line 1.000 * 94.00 [23:49:07]line = 94.00 [23:49:07]line НДС 12% НСП 1% [23:49:07]line > о реализуемом товаре [23:49:07]line ИТОГО: 94.00 [23:49:07]line НСП 1% : 0.83 [23:49:07]line НДС 12% : 9.98 [23:49:07]line Наличными: 0.00 [23:49:07]line Безнал.: 94.00 [23:49:07]line Место: АЗС № 96 "Партнер Нефть" [23:49:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [23:49:07]line СНО: Общий режим [23:49:07]line Чек 73 17.02.2025 23:49 [23:49:07]line Смена: 382 ФФД: 1.0 [23:49:07]line ЗНМ: 0300000059 [23:49:07]line РНМ: 0000000000146237 [23:49:07]line Версия ККМ: v1.0 [23:49:07]line Платежная система: Бакай Банк [23:49:07]line ФМ: 0000000000959282 [23:49:07]line ФД: 32442 [23:49:07]line ФПД: 150594568586205 [23:49:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250217T234910&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32442&fm=150594568586205&tin=02508201610067®Number=0000000000146237&sum=9400 [23:49:08]line 0 [23:49:08]OFD Sender: Processing packet 32442 [packets to send 104, broken 103] [23:49:08]ProducePacketName [23:49:08]name=ofd_packets/00032442 [23:49:08]OFD Sender: To server: pG, [23:49:08]CommunicateWithHost lk.salyk.kg:30040 [23:49:08]ConnectInit lk.salyk.kg [23:49:08]written 0, free lines is 4095 [23:49:08]Connected sock=10 [23:49:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 40 78 3A 01 4A D0 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 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 F6 CA B3 67 0E 04 04 00 7E 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BA 7E 00 00 35 04 06 00 88 F7 07 C4 03 DD 8F 41 EC 86 38 5A 81 5B [23:49:08]Write to MH i2c: 01 00 00 A5 13 B8 [23:49:08]Write i2c OK [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: 01 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: 01 07 00 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: 01 07 00 A5 13 00 00 00 00 00 DA 0C A5 [23:49:08]RasterBufferAndPrint [23:49:08]line [23:49:08]line [23:49:08]line [23:49:08]line [23:49:08]line [23:49:08]written 0, free lines is 3297 [23:49:08]MH_Cut [23:49:08]Write to MH i2c: D1 01 00 AC 13 01 91 [23:49:08]Write i2c OK [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: D1 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: D1 01 00 [23:49:08]MH_I2C_Read... [23:49:08]Read from MH i2c: D1 01 00 AC 13 00 90 [23:49:08]Write to MH i2c: 01 00 00 AD 13 C0 [23:49:08]Write i2c OK [23:49:08]MH_I2C_Read... [23:49:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 1F 06 47 00 A3 90 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 BA 7E 00 00 F4 03 04 00 98 74 B3 67 B6 04 01 00 00 81 59 83 7D 06 9B D7 EF [23:49:08]CommunicateWithHost err = 0 [23:49:08]CheckOFDResponse [23:49:08]1017 (14) - 77093643461234 [23:49:08]1041 (16) - 0000000000959282 [23:49:08]1040 (4) - 32442 [23:49:08]1012 (4) - 17.02.2025 17:40 [23:49:08]1206 (1) - 0 [23:49:08]OFD Sender: Remove packet 32442 [23:49:08]ProducePacketName [23:49:08]name=ofd_packets/00032442 [23:49:08]NVStorageDeleteData [23:49:09]OFD Sender: No OFD packet to send [23:49:09]*** Cut start [23:49:09]*** Partial cut [23:49:09]*** CUTSNS_PIN = 1 [23:49:09]*** CUTSNS_PIN = 0 [23:49:09]*** Brake cut motor [23:49:10]Read from MH i2c: 01 [23:49:10]MH_I2C_Read... [23:49:10]*** Stop cut motor [23:49:10]*** Cut end [23:49:10]Read from MH i2c: 01 07 00 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: 01 07 00 AD 13 00 00 00 00 00 FF 0F D5 [23:49:10]process_action close_receipt done [23:49:10]requested_data is exist [23:49:10]produce_requested_data [23:49:10]requested_item fm.sn is exist - process it [23:49:10]wFMCommunicate request_size=4 [23:49:10]MH_SAM_APDU [23:49:10]CAPDU: 80 11 00 00 [23:49:10]Write to MH i2c: E2 08 00 AE 13 80 11 00 00 00 00 00 00 3B [23:49:10]Write i2c OK [23:49:10]MH_I2C_Read... [23:49:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:49:10]Read from MH i2c: E2 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 17 00 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 17 00 AE 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 91 [23:49:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:49:10]wFMCommunicate OK [23:49:10]requested_item fd.num is exist - process it [23:49:10]SAM_PROTO_GetFieldsCounters [23:49:10]wFMCommunicate request_size=4 [23:49:10]MH_SAM_APDU [23:49:10]CAPDU: 80 13 00 00 [23:49:10]Write to MH i2c: E2 08 00 AF 13 80 13 00 00 00 00 00 00 3E [23:49:10]Write i2c OK [23:49:10]MH_I2C_Read... [23:49:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:49:10]Read from MH i2c: E2 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 62 00 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 62 00 AF 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [23:49:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:49:10]wFMCommunicate OK [23:49:10]SAM_PROTO_GetFieldsCounters done [23:49:10]requested_item shift.num is exist - process it [23:49:10]requested_item shift.opened is exist - process it [23:49:10]req_shift_opened [23:49:10]FM_GetShiftState [23:49:10]SAM_PROTO_GetShiftState [23:49:10]wFMCommunicate request_size=4 [23:49:10]MH_SAM_APDU [23:49:10]CAPDU: 80 13 01 00 [23:49:10]Write to MH i2c: E2 08 00 B0 13 80 13 01 00 00 00 00 00 40 [23:49:10]Write i2c OK [23:49:10]MH_I2C_Read... [23:49:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:49:10]Read from MH i2c: E2 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 0E 00 [23:49:10]MH_I2C_Read... [23:49:10]Read from MH i2c: E2 0E 00 B0 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 26 [23:49:10]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:49:10]wFMCommunicate OK [23:49:10]SAM_PROTO_GetShiftState done [23:49:10]FM_GetShiftState done [23:49:10]req_shift_opened done [23:49:10]requested_item shift.open_date is exist - process it [23:49:10]req_shift_open_date [23:49:10]req_shift_open_date done [23:49:10]produce_requested_data done [23:49:10]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [23:49:10]process_action_free close_receipt [23:49:10]json_value_free [23:49:10]json_value_free done [23:49:10]process_json_proto returns [23:49:10]Send response to host [23:49:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [23:49:10]free response buf [23:49:10]execute_script done [23:49:10]execute_script returns [23:49:10]free content buf [23:49:10]Sock 7.Close socket [23:49:10]Sock 7.Thread stoped [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:44]OFD Sender: No OFD packet to send [23:54:49]OFD Sender: No OFD packet to send [23:54:54]OFD Sender: No OFD packet to send [23:54:59]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:09]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:47]accept exits with 9 [23:58:47]New connection [23:58:47]New thread 3067411812 created [23:58:47]Thread 3067555172 joined [23:58:47]Waiting for new connection... [23:58:47] Sock 9.Parse request [23:58:47]Sock 9.Check first char [23:58:47]Sock 9.First char is OK [23:58:47]request: POST /json_proto HTTP/1.0 [23:58:47]Method: POST [23:58:47]URL: /json_proto [23:58:47]Method is POST - this is cgi request [23:58:47]url: /json_proto [23:58:47]query_string will be loaded in cgi processing [23:58:47]execute_cgi json_proto POST (null) [23:58:47]execute_cgi path=json_proto method=POST [23:58:47]POST find Content-Length [23:58:47]Host: 172.17.47.135:8080 [23:58:47]Content-Length: 215 [23:58:47]Content-Type: application/json [23:58:47] [23:58:47]POST finish read [23:58:47]Found Content-Length = 215 [23:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:47]execute_script... [23:58:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:47]POST & json_proto [23:58:47]process_json_proto [23:58:47]json parsed OK: [23:58:47]protocol is kg_v1.0 [23:58:47]action value=get_value [23:58:47]process_action get_value [23:58:47]cmd_get_value [23:58:47]process_action get_value done [23:58:47]requested_data is exist [23:58:47]produce_requested_data [23:58:47]requested_item kkm.sn is exist - process it [23:58:47]requested_item kkm.ver is exist - process it [23:58:47]requested_item fm.sn is exist - process it [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 11 00 00 [23:58:47]Write to MH i2c: E2 08 00 B1 13 80 11 00 00 00 00 00 00 3E [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 17 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 17 00 B1 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 94 [23:58:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:58:47]wFMCommunicate OK [23:58:47]requested_item fd.num is exist - process it [23:58:47]SAM_PROTO_GetFieldsCounters [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 13 00 00 [23:58:47]Write to MH i2c: E2 08 00 B2 13 80 13 00 00 00 00 00 00 41 [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 62 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 62 00 B2 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [23:58:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:47]wFMCommunicate OK [23:58:47]SAM_PROTO_GetFieldsCounters done [23:58:47]requested_item shift.num is exist - process it [23:58:47]requested_item shift.opened is exist - process it [23:58:47]req_shift_opened [23:58:47]FM_GetShiftState [23:58:47]SAM_PROTO_GetShiftState [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 13 01 00 [23:58:47]Write to MH i2c: E2 08 00 B3 13 80 13 01 00 00 00 00 00 43 [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 0E 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 0E 00 B3 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 29 [23:58:47]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:58:47]wFMCommunicate OK [23:58:47]SAM_PROTO_GetShiftState done [23:58:47]FM_GetShiftState done [23:58:47]req_shift_opened done [23:58:47]requested_item shift.open_date is exist - process it [23:58:47]req_shift_open_date [23:58:47]req_shift_open_date done [23:58:47]produce_requested_data done [23:58:47]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [23:58:47]process_action_free get_value [23:58:47]json_value_free [23:58:47]json_value_free done [23:58:47]process_json_proto returns [23:58:47]Send response to host [23:58:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [23:58:47]free response buf [23:58:47]execute_script done [23:58:47]execute_script returns [23:58:47]free content buf [23:58:47]Sock 9.Close socket [23:58:47]Sock 9.Thread stoped [23:58:47]accept exits with 7 [23:58:47]New connection [23:58:47]New thread 3067555172 created [23:58:47]Thread 3067411812 joined [23:58:47]Waiting for new connection... [23:58:47] Sock 7.Parse request [23:58:47]Sock 7.Check first char [23:58:47]Sock 7.First char is OK [23:58:47]request: POST /json_proto HTTP/1.0 [23:58:47]Method: POST [23:58:47]URL: /json_proto [23:58:47]Method is POST - this is cgi request [23:58:47]url: /json_proto [23:58:47]query_string will be loaded in cgi processing [23:58:47]execute_cgi json_proto POST (null) [23:58:47]execute_cgi path=json_proto method=POST [23:58:47]POST find Content-Length [23:58:47]Host: 172.17.47.135:8080 [23:58:47]Content-Length: 331 [23:58:47]Content-Type: application/json [23:58:47] [23:58:47]POST finish read [23:58:47]Found Content-Length = 331 [23:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:47]execute_script... [23:58: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" ] } } [23:58:48]POST & json_proto [23:58:48]process_json_proto [23:58:48]json parsed OK: [23:58:48]protocol is kg_v1.0 [23:58:48]action value=get_value [23:58:48]process_action get_value [23:58:48]cmd_get_value [23:58:48]process_action get_value done [23:58:48]requested_data is exist [23:58:48]produce_requested_data [23:58:48]requested_item fm.sale.total is exist - process it [23:58:48]SAM_PROTO_GetFMData [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 13 03 00 [23:58:48]Write to MH i2c: E2 08 00 B4 13 80 13 03 00 00 00 00 00 46 [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 B4 13 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 7D [23:58:48]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:58:48]wFMCommunicate OK [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 17 00 00 [23:58:48]Write to MH i2c: E2 08 00 B5 13 80 17 00 00 00 00 00 00 48 [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 B5 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 C3 [23:58:48]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:58:48]wFMCommunicate OK [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 17 00 00 [23:58:48]Write to MH i2c: E2 08 00 B6 13 80 17 00 00 00 00 00 00 49 [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 B6 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 5E [23:58:49]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:58:49]wFMCommunicate OK [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 17 00 00 [23:58:49]Write to MH i2c: E2 08 00 B7 13 80 17 00 00 00 00 00 00 4A [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 B7 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C2 [23:58:49]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:58:49]wFMCommunicate OK [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 17 00 00 [23:58:49]Write to MH i2c: E2 08 00 B8 13 80 17 00 00 00 00 00 00 4B [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 E1 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 E1 00 B8 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 39 [23:58:49]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:49]wFMCommunicate OK [23:58:49]SAM_PROTO_GetFMData done [23:58:49]requested_item fm.sale_refund.total is exist - process it [23:58:49]requested_item fm.buy.total is exist - process it [23:58:49]requested_item shift.sale.total is exist - process it [23:58:49]SAM_PROTO_GetShiftData [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 13 02 00 [23:58:49]Write to MH i2c: E2 08 00 B9 13 80 13 02 00 00 00 00 00 4A [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]OFD Sender: No OFD packet to send [23:58:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 B9 13 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 66 [23:58:50]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 BA 13 80 17 00 00 00 00 00 00 4D [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 BA 13 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 50 [23:58:50]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 BB 13 80 17 00 00 00 00 00 00 4E [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 BB 13 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 F0 [23:58:50]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 BC 13 80 17 00 00 00 00 00 00 4F [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 BC 13 00 03 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 90 00 D8 [23:58:50]RAPDU: 03 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 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 BD 13 80 17 00 00 00 00 00 00 50 [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 D5 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 D5 00 BD 13 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 31 [23:58:51]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:51]wFMCommunicate OK [23:58:51]SAM_PROTO_GetShiftData done [23:58:51]requested_item shift.sale.total_cash is exist - process it [23:58:51]requested_item shift.sale_refund.total is exist - process it [23:58:51]requested_item shift.sale_refund.total_cash is exist - process it [23:58:51]requested_item shift.buy.total is exist - process it [23:58:51]requested_item shift.buy.total_cash is exist - process it [23:58:51]produce_requested_data done [23:58:51]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:58:51]process_action_free get_value [23:58:51]json_value_free [23:58:51]json_value_free done [23:58:51]process_json_proto returns [23:58:51]Send response to host [23:58:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:58:51]free response buf [23:58:51]execute_script done [23:58:51]execute_script returns [23:58:51]free content buf [23:58:51]Sock 7.Close socket [23:58:51]Sock 7.Thread stoped [23:58:51]accept exits with 9 [23:58:51]New connection [23:58:51]New thread 3067411812 created [23:58:51]Thread 3067555172 joined [23:58:51]Waiting for new connection... [23:58:51] Sock 9.Parse request [23:58:51]Sock 9.Check first char [23:58:51]Sock 9.First char is OK [23:58:51]request: POST /json_proto HTTP/1.0 [23:58:51]Method: POST [23:58:51]URL: /json_proto [23:58:51]Method is POST - this is cgi request [23:58:51]url: /json_proto [23:58:51]query_string will be loaded in cgi processing [23:58:51]execute_cgi json_proto POST (null) [23:58:51]execute_cgi path=json_proto method=POST [23:58:51]POST find Content-Length [23:58:51]Host: 172.17.47.135:8080 [23:58:51]Content-Length: 331 [23:58:51]Content-Type: application/json [23:58:51] [23:58:51]POST finish read [23:58:51]Found Content-Length = 331 [23:58:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:51]execute_script... [23:58:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:51]POST & json_proto [23:58:51]process_json_proto [23:58:51]json parsed OK: [23:58:51]protocol is kg_v1.0 [23:58:51]action value=get_value [23:58:51]process_action get_value [23:58:51]cmd_get_value [23:58:51]process_action get_value done [23:58:51]requested_data is exist [23:58:51]produce_requested_data [23:58:51]requested_item fm.sale.total is exist - process it [23:58:51]SAM_PROTO_GetFMData [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 13 03 00 [23:58:51]Write to MH i2c: E2 08 00 BE 13 80 13 03 00 00 00 00 00 50 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 BE 13 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 87 [23:58:51]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:58:51]wFMCommunicate OK [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 17 00 00 [23:58:51]Write to MH i2c: E2 08 00 BF 13 80 17 00 00 00 00 00 00 52 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:52]Read from MH i2c: E2 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 BF 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 CD [23:58:52]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:58:52]wFMCommunicate OK [23:58:52]wFMCommunicate request_size=4 [23:58:52]MH_SAM_APDU [23:58:52]CAPDU: 80 17 00 00 [23:58:52]Write to MH i2c: E2 08 00 C0 13 80 17 00 00 00 00 00 00 53 [23:58:52]Write i2c OK [23:58:52]MH_I2C_Read... [23:58:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:52]Read from MH i2c: E2 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 C0 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 68 [23:58:52]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:58:52]wFMCommunicate OK [23:58:52]wFMCommunicate request_size=4 [23:58:52]MH_SAM_APDU [23:58:52]CAPDU: 80 17 00 00 [23:58:52]Write to MH i2c: E2 08 00 C1 13 80 17 00 00 00 00 00 00 54 [23:58:52]Write i2c OK [23:58:52]MH_I2C_Read... [23:58:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:52]Read from MH i2c: E2 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 C1 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 CC [23:58:52]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:58:52]wFMCommunicate OK [23:58:52]wFMCommunicate request_size=4 [23:58:52]MH_SAM_APDU [23:58:52]CAPDU: 80 17 00 00 [23:58:52]Write to MH i2c: E2 08 00 C2 13 80 17 00 00 00 00 00 00 55 [23:58:52]Write i2c OK [23:58:52]MH_I2C_Read... [23:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:53]Read from MH i2c: E2 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 E1 00 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 E1 00 C2 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 43 [23:58:53]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:53]wFMCommunicate OK [23:58:53]SAM_PROTO_GetFMData done [23:58:53]requested_item fm.sale_refund.total is exist - process it [23:58:53]requested_item fm.buy.total is exist - process it [23:58:53]requested_item shift.sale.total is exist - process it [23:58:53]SAM_PROTO_GetShiftData [23:58:53]wFMCommunicate request_size=4 [23:58:53]MH_SAM_APDU [23:58:53]CAPDU: 80 13 02 00 [23:58:53]Write to MH i2c: E2 08 00 C3 13 80 13 02 00 00 00 00 00 54 [23:58:53]Write i2c OK [23:58:53]MH_I2C_Read... [23:58:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:53]Read from MH i2c: E2 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 C3 13 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 70 [23:58:53]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:58:53]wFMCommunicate OK [23:58:53]wFMCommunicate request_size=4 [23:58:53]MH_SAM_APDU [23:58:53]CAPDU: 80 17 00 00 [23:58:53]Write to MH i2c: E2 08 00 C4 13 80 17 00 00 00 00 00 00 57 [23:58:53]Write i2c OK [23:58:53]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 C4 13 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 5A [23:58:54]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:58:54]wFMCommunicate OK [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 17 00 00 [23:58:54]Write to MH i2c: E2 08 00 C5 13 80 17 00 00 00 00 00 00 58 [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 C5 13 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 FA [23:58:54]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:58:54]wFMCommunicate OK [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 17 00 00 [23:58:54]Write to MH i2c: E2 08 00 C6 13 80 17 00 00 00 00 00 00 59 [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 C6 13 00 03 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 90 00 E2 [23:58:54]RAPDU: 03 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 90 00 [23:58:55]wFMCommunicate OK [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 17 00 00 [23:58:55]Write to MH i2c: E2 08 00 C7 13 80 17 00 00 00 00 00 00 5A [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]OFD Sender: No OFD packet to send [23:58:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 D5 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 D5 00 C7 13 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3B [23:58:55]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:55]wFMCommunicate OK [23:58:55]SAM_PROTO_GetShiftData done [23:58:55]requested_item shift.sale.total_cash is exist - process it [23:58:55]requested_item shift.sale_refund.total is exist - process it [23:58:55]requested_item shift.sale_refund.total_cash is exist - process it [23:58:55]requested_item shift.buy.total is exist - process it [23:58:55]requested_item shift.buy.total_cash is exist - process it [23:58:55]produce_requested_data done [23:58:55]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:58:55]process_action_free get_value [23:58:55]json_value_free [23:58:55]json_value_free done [23:58:55]process_json_proto returns [23:58:55]Send response to host [23:58:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:58:55]free response buf [23:58:55]execute_script done [23:58:55]execute_script returns [23:58:55]free content buf [23:58:55]Sock 9.Close socket [23:58:55]Sock 9.Thread stoped [23:58:55]accept exits with 7 [23:58:55]New connection [23:58:55]New thread 3067555172 created [23:58:55]Thread 3067411812 joined [23:58:55]Waiting for new connection... [23:58:55] Sock 7.Parse request [23:58:55]Sock 7.Check first char [23:58:55]Sock 7.First char is OK [23:58:55]request: POST /json_proto HTTP/1.0 [23:58:55]Method: POST [23:58:55]URL: /json_proto [23:58:55]Method is POST - this is cgi request [23:58:55]url: /json_proto [23:58:55]query_string will be loaded in cgi processing [23:58:55]execute_cgi json_proto POST (null) [23:58:55]execute_cgi path=json_proto method=POST [23:58:55]POST find Content-Length [23:58:55]Host: 172.17.47.135:8080 [23:58:55]Content-Length: 256 [23:58:55]Content-Type: application/json [23:58:55] [23:58:55]POST finish read [23:58:55]Found Content-Length = 256 [23:58:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:55]execute_script... [23:58:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:55]POST & json_proto [23:58:55]process_json_proto [23:58:55]json parsed OK: [23:58:55]protocol is kg_v1.0 [23:58:55]action value=x_report [23:58:55]process_action x_report [23:58:55]cmd_x_report [23:58:55]MH_GetDate [23:58:55]Write to MH i2c: F0 00 00 C8 13 CA [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 09 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 09 00 C8 13 00 43 CD B3 67 19 D8 DE 66 32 [23:58:55]GetLastDocTimeStamp 1739836150 [23:58:55]current date 1739836739 [23:58:55]FM_GetShiftState [23:58:55]SAM_PROTO_GetShiftState [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 13 01 00 [23:58:55]Write to MH i2c: E2 08 00 C9 13 80 13 01 00 00 00 00 00 59 [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 0E 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 0E 00 C9 13 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 3F [23:58:55]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:58:55]wFMCommunicate OK [23:58:55]SAM_PROTO_GetShiftState done [23:58:55]FM_GetShiftState done [23:58:55]KKMCreateXReportDocument [23:58:55]Load OK [23:58:55]Malloc new data [23:58:55]MH_GetDate [23:58:55]Write to MH i2c: F0 00 00 CA 13 CC [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 09 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: F0 09 00 CA 13 00 43 CD B3 67 19 D8 DE 66 34 [23:58:55]Malloc new data [23:58:55]Malloc new data [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 11 00 00 [23:58:55]Write to MH i2c: E2 08 00 CB 13 80 11 00 00 00 00 00 00 58 [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 17 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 17 00 CB 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 AE [23:58:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:58:55]wFMCommunicate OK [23:58:55]SAM_PROTO_GetFieldsCounters [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 13 00 00 [23:58:55]Write to MH i2c: E2 08 00 CC 13 80 13 00 00 00 00 00 00 5B [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 62 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 62 00 CC 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [23:58:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:55]wFMCommunicate OK [23:58:55]SAM_PROTO_GetFieldsCounters done [23:58:55]Malloc new data [23:58:55]Malloc new data [23:58:55]Malloc new data [23:58:55]KKMCreateXReportDocument OK [23:58:55]KKMSetXReportData OK [23:58:55]KKMPrepareXReportFMData [23:58:55]SAM_PROTO_GetShiftData [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 13 02 00 [23:58:55]Write to MH i2c: E2 08 00 CD 13 80 13 02 00 00 00 00 00 5E [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:56]Read from MH i2c: E2 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 CD 13 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 7A [23:58:56]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:58:56]wFMCommunicate OK [23:58:56]wFMCommunicate request_size=4 [23:58:56]MH_SAM_APDU [23:58:56]CAPDU: 80 17 00 00 [23:58:56]Write to MH i2c: E2 08 00 CE 13 80 17 00 00 00 00 00 00 61 [23:58:56]Write i2c OK [23:58:56]MH_I2C_Read... [23:58:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:56]Read from MH i2c: E2 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 CE 13 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 64 [23:58:56]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:58:56]wFMCommunicate OK [23:58:56]wFMCommunicate request_size=4 [23:58:56]MH_SAM_APDU [23:58:56]CAPDU: 80 17 00 00 [23:58:56]Write to MH i2c: E2 08 00 CF 13 80 17 00 00 00 00 00 00 62 [23:58:56]Write i2c OK [23:58:56]MH_I2C_Read... [23:58:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:57]Read from MH i2c: E2 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 FD 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 FD 00 CF 13 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 04 [23:58:57]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:58:57]wFMCommunicate OK [23:58:57]wFMCommunicate request_size=4 [23:58:57]MH_SAM_APDU [23:58:57]CAPDU: 80 17 00 00 [23:58:57]Write to MH i2c: E2 08 00 D0 13 80 17 00 00 00 00 00 00 63 [23:58:57]Write i2c OK [23:58:57]MH_I2C_Read... [23:58:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:57]Read from MH i2c: E2 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 FD 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 FD 00 D0 13 00 03 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 90 00 EC [23:58:57]RAPDU: 03 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 90 00 [23:58:57]wFMCommunicate OK [23:58:57]wFMCommunicate request_size=4 [23:58:57]MH_SAM_APDU [23:58:57]CAPDU: 80 17 00 00 [23:58:57]Write to MH i2c: E2 08 00 D1 13 80 17 00 00 00 00 00 00 64 [23:58:57]Write i2c OK [23:58:57]MH_I2C_Read... [23:58:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:58:57]Read from MH i2c: E2 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 D5 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 D5 00 D1 13 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [23:58:57]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:58]wFMCommunicate OK [23:58:58]SAM_PROTO_GetShiftData done [23:58:58]1194 (1204) - счетчики итогов смены [23:58:58] 1134 (4) - 73 - количество чеков со всеми признаками расчетов [23:58:58] 1129 (155) - счетчики операций «приход» [23:58:58] 1135 (4) - 71 - количество чеков по признаку расчетов [23:58:58] 1201 (3) - 20514.24 - общая итоговая сумма в чеках [23:58:58] 1136 (3) - 11059.00 - итоговая сумма в чеках наличными [23:58:58] 1138 (3) - 9455.24 - итоговая сумма в чеках безналичными [23:58:58] 1024 (122) - суммы налогов [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 0% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1006 (12) - суммы НДС [23:58:58] 1010 (1) - 12% - код ставки НДС [23:58:58] 1011 (3) - 2178.55 - сумма НДС по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (11) - суммы НСП [23:58:58] 1014 (1) - 1% - код ставки НСП [23:58:58] 1015 (2) - 181.56 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 2% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 3% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 5% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1130 (151) - счетчики операций «возврат прихода» [23:58:58] 1135 (4) - 2 - количество чеков по признаку расчетов [23:58:58] 1201 (3) - 4272.00 - общая итоговая сумма в чеках [23:58:58] 1136 (3) - 4272.00 - итоговая сумма в чеках наличными [23:58:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:58] 1024 (121) - суммы налогов [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 0% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1006 (11) - суммы НДС [23:58:58] 1010 (1) - 12% - код ставки НДС [23:58:58] 1011 (2) - 453.67 - сумма НДС по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (11) - суммы НСП [23:58:58] 1014 (1) - 1% - код ставки НСП [23:58:58] 1015 (2) - 37.80 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 2% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 3% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 5% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1131 (141) - счетчики операций «расход» [23:58:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:58] 1024 (117) - суммы налогов [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 0% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 12% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 2% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 3% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 5% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1132 (141) - счетчики операций «возврат расхода» [23:58:58] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:58] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:58] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:58] 1024 (117) - суммы налогов [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 0% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1006 (9) - суммы НДС [23:58:58] 1010 (1) - 12% - код ставки НДС [23:58:58] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 2% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 3% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 5% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 0,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1007 (9) - суммы НСП [23:58:58] 1014 (1) - 1,50% - код ставки НСП [23:58:58] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:58] 1133 (588) - - счетчики коррекции - не используются [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1194 (04AA) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1134 (046E) [23:58:58]Malloc new data [23:58:58]Processing tag 1129 (0469) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1135 (046F) [23:58:58]Malloc new data [23:58:58]Processing tag 1201 (04B1) [23:58:58]Malloc new data [23:58:58]Processing tag 1136 (0470) [23:58:58]Malloc new data [23:58:58]Processing tag 1138 (0472) [23:58:58]Malloc new data [23:58:58]Processing tag 1024 (0400) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1130 (046A) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1135 (046F) [23:58:58]Malloc new data [23:58:58]Processing tag 1201 (04B1) [23:58:58]Malloc new data [23:58:58]Processing tag 1136 (0470) [23:58:58]Malloc new data [23:58:58]Processing tag 1138 (0472) [23:58:58]Malloc new data [23:58:58]Processing tag 1024 (0400) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1131 (046B) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1135 (046F) [23:58:58]Malloc new data [23:58:58]Processing tag 1201 (04B1) [23:58:58]Malloc new data [23:58:58]Processing tag 1136 (0470) [23:58:58]Malloc new data [23:58:58]Processing tag 1138 (0472) [23:58:58]Malloc new data [23:58:58]Processing tag 1024 (0400) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]SetTLVBufToDocument err=0 [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1132 (046C) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1135 (046F) [23:58:59]Malloc new data [23:58:59]Processing tag 1201 (04B1) [23:58:59]Malloc new data [23:58:59]Processing tag 1136 (0470) [23:58:59]Malloc new data [23:58:59]Processing tag 1138 (0472) [23:58:59]Malloc new data [23:58:59]Processing tag 1024 (0400) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1006 (03EE) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1010 (03F2) [23:58:59]Malloc new data [23:58:59]Processing tag 1011 (03F3) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1006 (03EE) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1010 (03F2) [23:58:59]Malloc new data [23:58:59]Processing tag 1011 (03F3) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1007 (03EF) [23:58:59]Load OK [23:58:59]SetTLVBufToDocument [23:58:59]Processing tag 1014 (03F6) [23:58:59]Malloc new data [23:58:59]Processing tag 1015 (03F7) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]SetTLVBufToDocument err=0 [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Processing tag 1133 (046D) [23:58:59]Malloc new data [23:58:59]SetTLVBufToDocument err=0 [23:58:59]SetTLVBufToDocument err=0 [23:58:59]Malloc new data [23:58:59]SAM_PROTO_GetFMData [23:58:59]wFMCommunicate request_size=4 [23:58:59]MH_SAM_APDU [23:58:59]CAPDU: 80 13 03 00 [23:58:59]Write to MH i2c: E2 08 00 D2 13 80 13 03 00 00 00 00 00 64 [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:59]Read from MH i2c: E2 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 D2 13 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 9B [23:58:59]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:58:59]wFMCommunicate OK [23:58:59]wFMCommunicate request_size=4 [23:58:59]MH_SAM_APDU [23:58:59]CAPDU: 80 17 00 00 [23:58:59]Write to MH i2c: E2 08 00 D3 13 80 17 00 00 00 00 00 00 66 [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 FD 00 [23:59:00]MH_I2C_Read... [23:59:00]OFD Sender: No OFD packet to send [23:59:00]Read from MH i2c: E2 FD 00 D3 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 E1 [23:59:00]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 17 00 00 [23:59:00]Write to MH i2c: E2 08 00 D4 13 80 17 00 00 00 00 00 00 67 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 FD 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 FD 00 D4 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 7C [23:59:00]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:01]wFMCommunicate OK [23:59:01]wFMCommunicate request_size=4 [23:59:01]MH_SAM_APDU [23:59:01]CAPDU: 80 17 00 00 [23:59:01]Write to MH i2c: E2 08 00 D5 13 80 17 00 00 00 00 00 00 68 [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:01]Read from MH i2c: E2 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 FD 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 FD 00 D5 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 E0 [23:59:01]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:01]wFMCommunicate OK [23:59:01]wFMCommunicate request_size=4 [23:59:01]MH_SAM_APDU [23:59:01]CAPDU: 80 17 00 00 [23:59:01]Write to MH i2c: E2 08 00 D6 13 80 17 00 00 00 00 00 00 69 [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:01]Read from MH i2c: E2 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 E1 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: E2 E1 00 D6 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 57 [23:59:01]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:02]wFMCommunicate OK [23:59:02]SAM_PROTO_GetFMData done [23:59:02]FM_GetFMData:85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:02]oper:6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:02]total:27 73 AD 57 [23:59:02]Malloc new data [23:59:02]oper:6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A 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 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:02]total:54 57 2A 02 [23:59:02]Malloc new data [23:59:02]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:02]total: [23:59:02]Malloc new data [23:59:02]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:03]total: [23:59:03]Malloc new data [23:59:03]KKMPrepareXReportFMData err=0 [23:59:03]Х отчет ИНН: 02508201610067 Кассир: Рахманов У. 17.02.2025 23:58 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 73 ИТОГИ ПРИХОД Чеков: 71 Общий итог: 20514.24 Итого наличными: 11059.00 Итого безнал.: 9455.24 НДС 0% : 0.00 НДС 12% : 2178.55 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 181.56 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 4272.00 Итого наличными: 4272.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 453.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 37.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 6787.00 НС Приход: 14709849.99 НС Возвр.Прихода: 363293.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [23:59:03]StoreToDocumentArchive [23:59:03]MH_GetDate [23:59:03]Write to MH i2c: F0 00 00 D7 13 D9 [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 09 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: F0 09 00 D7 13 00 4A CD B3 67 19 D8 DE 66 48 [23:59:03]shift 266 fd 1739836746 [23:59:03]Create dir for shift 0266 [23:59:03]save to /storage/0266/doc_1739836746 [23:59:03]save last doc name /storage/0266/doc_1739836746 to /storage/kkm_last_doc_name [23:59:03]save OK [23:59:03]Clear old archive folders... [23:59:03]NVStorageSaveData kkm_last_timestamp [23:59:03]File name is /storage/kkm_last_timestamp [23:59:03]Write 4 bytes [23:59:03]NVStorageSaveData done [23:59:03]ExternCall_PrintAddStr [23:59:03]wPrintStart [23:59:03]Write to MH i2c: 01 00 00 D8 13 EB [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 07 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 07 00 D8 13 00 00 00 00 00 FF 0F 00 [23:59:03]RasterBufferAndPrint [23:59:03]line Х отчет [23:59:03]line ИНН: 02508201610067 [23:59:03]line Кассир: Рахманов У. [23:59:03]line 17.02.2025 23:58 [23:59:03]line Смена: 266 [23:59:03]line РНМ: 0000000000146237 [23:59:03]line ЗНМ: 0300000059 [23:59:03]line СНО: Общий режим [23:59:03]line Всего чеков: 73 [23:59:03]line ИТОГИ ПРИХОД [23:59:03]line Чеков: 71 [23:59:03]line Общий итог: 20514.24 [23:59:03]line Итого наличными: 11059.00 [23:59:03]line Итого безнал.: 9455.24 [23:59:03]line НДС 0% : 0.00 [23:59:03]line НДС 12% : 2178.55 [23:59:03]line НСП 0% : 0.00 [23:59:03]line НСП 1,50% : 0.00 [23:59:03]line НСП 0,50% : 0.00 [23:59:03]line НСП 5% : 0.00 [23:59:03]line НСП 3% : 0.00 [23:59:03]line НСП 2% : 0.00 [23:59:03]line НСП 1% : 181.56 [23:59:03]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:03]line Чеков: 2 [23:59:03]line Общий итог: 4272.00 [23:59:03]line Итого наличными: 4272.00 [23:59:03]line Итого безнал.: 0.00 [23:59:03]line НДС 0% : 0.00 [23:59:03]line НДС 12% : 453.67 [23:59:03]line НСП 0% : 0.00 [23:59:03]line НСП 1,50% : 0.00 [23:59:03]line НСП 0,50% : 0.00 [23:59:03]line НСП 5% : 0.00 [23:59:03]line НСП 3% : 0.00 [23:59:03]line НСП 2% : 0.00 [23:59:03]line НСП 1% : 37.80 [23:59:03]line ИТОГИ РАСХОД [23:59:03]line Чеков: 0 [23:59:03]line Общий итог: 0.00 [23:59:03]line Итого наличными: 0.00 [23:59:03]line Итого безнал.: 0.00 [23:59:03]line НДС 0% : 0.00 [23:59:03]line НДС 12% : 0.00 [23:59:03]line НСП 0% : 0.00 [23:59:03]line НСП 1,50% : 0.00 [23:59:03]line НСП 0,50% : 0.00 [23:59:03]line НСП 5% : 0.00 [23:59:03]line НСП 3% : 0.00 [23:59:03]line НСП 2% : 0.00 [23:59:03]line НСП 1% : 0.00 [23:59:03]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:03]line Чеков: 0 [23:59:03]line Общий итог: 0.00 [23:59:03]line Итого наличными: 0.00 [23:59:03]line Итого безнал.: 0.00 [23:59:03]line НДС 0% : 0.00 [23:59:03]line НДС 12% : 0.00 [23:59:03]line НСП 0% : 0.00 [23:59:03]line НСП 1,50% : 0.00 [23:59:03]line НСП 0,50% : 0.00 [23:59:03]line НСП 5% : 0.00 [23:59:03]line НСП 3% : 0.00 [23:59:03]line НСП 2% : 0.00 [23:59:03]line НСП 1% : 0.00 [23:59:03]line Сумма внесений: 0.00 [23:59:03]line Сумма выплат: 0.00 [23:59:03]line Нал. в кассе: 6787.00 [23:59:03]line НС Приход: 14709849.99 [23:59:03]line НС Возвр.Прихода: 363293.00 [23:59:03]line НС Расход: 0.00 [23:59:03]line НС Возвр.Расхода: 0.00 [23:59:03]line ФМ: 0000000000959282 [23:59:03]written 0, free lines is 4095 [23:59:03]Write to MH i2c: 01 00 00 23 14 37 [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 07 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: 01 07 00 23 14 00 00 00 00 00 1E 0B 67 [23:59:03]RasterBufferAndPrint [23:59:03]line [23:59:03]line [23:59:03]line [23:59:03]line [23:59:03]line [23:59:03]written 0, free lines is 2885 [23:59:03]MH_Cut [23:59:03]Write to MH i2c: D1 01 00 2A 14 01 10 [23:59:03]Write i2c OK [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: D1 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: D1 01 00 [23:59:03]MH_I2C_Read... [23:59:04]Read from MH i2c: D1 01 00 2A 14 00 0F [23:59:04]Write to MH i2c: 01 00 00 2B 14 3F [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** Cut start [23:59:04]*** Partial cut [23:59:04]*** CUTSNS_PIN = 1 [23:59:04]*** CUTSNS_PIN = 0 [23:59:05]OFD Sender: No OFD packet to send [23:59:05]*** Brake cut motor [23:59:05]Read from MH i2c: 01 [23:59:05]MH_I2C_Read... [23:59:05]*** Stop cut motor [23:59:05]*** Cut end [23:59:05]Read from MH i2c: 01 07 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: 01 07 00 2B 14 00 00 00 00 00 FF 0F 54 [23:59:05]process_action x_report done [23:59:05]requested_data is exist [23:59:05]produce_requested_data [23:59:05]requested_item fd.num is exist - process it [23:59:05]SAM_PROTO_GetFieldsCounters [23:59:05]wFMCommunicate request_size=4 [23:59:05]MH_SAM_APDU [23:59:05]CAPDU: 80 13 00 00 [23:59:05]Write to MH i2c: E2 08 00 2C 14 80 13 00 00 00 00 00 00 BC [23:59:05]Write i2c OK [23:59:05]MH_I2C_Read... [23:59:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:05]Read from MH i2c: E2 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: E2 62 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: E2 62 00 2C 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [23:59:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:05]wFMCommunicate OK [23:59:05]SAM_PROTO_GetFieldsCounters done [23:59:05]requested_item shift.num is exist - process it [23:59:05]requested_item shift.opened is exist - process it [23:59:05]req_shift_opened [23:59:05]FM_GetShiftState [23:59:05]SAM_PROTO_GetShiftState [23:59:05]wFMCommunicate request_size=4 [23:59:05]MH_SAM_APDU [23:59:05]CAPDU: 80 13 01 00 [23:59:05]Write to MH i2c: E2 08 00 2D 14 80 13 01 00 00 00 00 00 BE [23:59:05]Write i2c OK [23:59:05]MH_I2C_Read... [23:59:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:05]Read from MH i2c: E2 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: E2 0E 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: E2 0E 00 2D 14 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A4 [23:59:05]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:59:05]wFMCommunicate OK [23:59:05]SAM_PROTO_GetShiftState done [23:59:05]FM_GetShiftState done [23:59:05]req_shift_opened done [23:59:05]requested_item shift.open_date is exist - process it [23:59:05]req_shift_open_date [23:59:05]req_shift_open_date done [23:59:05]produce_requested_data done [23:59:05]produce_requested_data return {"fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [23:59:05]process_action_free x_report [23:59:05]json_value_free [23:59:05]json_value_free done [23:59:05]process_json_proto returns [23:59:05]Send response to host [23:59:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [23:59:05]free response buf [23:59:05]execute_script done [23:59:05]execute_script returns [23:59:05]free content buf [23:59:05]Sock 7.Close socket [23:59:05]Sock 7.Thread stoped [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:38]accept exits with 9 [23:59:38]New connection [23:59:38]New thread 3067411812 created [23:59:38]Thread 3067555172 joined [23:59:38]Waiting for new connection... [23:59:38] Sock 9.Parse request [23:59:38]Sock 9.Check first char [23:59:38]Sock 9.First char is OK [23:59:38]request: POST /json_proto HTTP/1.0 [23:59:38]Method: POST [23:59:38]URL: /json_proto [23:59:38]Method is POST - this is cgi request [23:59:38]url: /json_proto [23:59:38]query_string will be loaded in cgi processing [23:59:38]execute_cgi json_proto POST (null) [23:59:38]execute_cgi path=json_proto method=POST [23:59:38]POST find Content-Length [23:59:38]Host: 172.17.47.135:8080 [23:59:38]Content-Length: 215 [23:59:38]Content-Type: application/json [23:59:38] [23:59:38]POST finish read [23:59:38]Found Content-Length = 215 [23:59:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:38]execute_script... [23:59:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:38]POST & json_proto [23:59:38]process_json_proto [23:59:38]json parsed OK: [23:59:38]protocol is kg_v1.0 [23:59:38]action value=get_value [23:59:38]process_action get_value [23:59:38]cmd_get_value [23:59:38]process_action get_value done [23:59:38]requested_data is exist [23:59:38]produce_requested_data [23:59:38]requested_item kkm.sn is exist - process it [23:59:38]requested_item kkm.ver is exist - process it [23:59:38]requested_item fm.sn is exist - process it [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 11 00 00 [23:59:38]Write to MH i2c: E2 08 00 2E 14 80 11 00 00 00 00 00 00 BC [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 17 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 17 00 2E 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 12 [23:59:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:59:38]wFMCommunicate OK [23:59:38]requested_item fd.num is exist - process it [23:59:38]SAM_PROTO_GetFieldsCounters [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 13 00 00 [23:59:38]Write to MH i2c: E2 08 00 2F 14 80 13 00 00 00 00 00 00 BF [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 62 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 62 00 2F 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [23:59:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BA 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:38]wFMCommunicate OK [23:59:38]SAM_PROTO_GetFieldsCounters done [23:59:38]requested_item shift.num is exist - process it [23:59:38]requested_item shift.opened is exist - process it [23:59:38]req_shift_opened [23:59:38]FM_GetShiftState [23:59:38]SAM_PROTO_GetShiftState [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 13 01 00 [23:59:38]Write to MH i2c: E2 08 00 30 14 80 13 01 00 00 00 00 00 C1 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 0E 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 0E 00 30 14 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 A7 [23:59:38]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:59:38]wFMCommunicate OK [23:59:38]SAM_PROTO_GetShiftState done [23:59:38]FM_GetShiftState done [23:59:38]req_shift_opened done [23:59:38]requested_item shift.open_date is exist - process it [23:59:38]req_shift_open_date [23:59:38]req_shift_open_date done [23:59:38]produce_requested_data done [23:59:38]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979} [23:59:38]process_action_free get_value [23:59:38]json_value_free [23:59:38]json_value_free done [23:59:38]process_json_proto returns [23:59:38]Send response to host [23:59:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32442,"shift.num":382,"shift.opened":1,"shift.open_date":1739750979}}} [23:59:38]free response buf [23:59:38]execute_script done [23:59:38]execute_script returns [23:59:38]free content buf [23:59:38]Sock 9.Close socket [23:59:38]Sock 9.Thread stoped [23:59:38]accept exits with 7 [23:59:38]New connection [23:59:38]New thread 3067555172 created [23:59:38]Thread 3067411812 joined [23:59:38]Waiting for new connection... [23:59:38] Sock 7.Parse request [23:59:38]Sock 7.Check first char [23:59:38]Sock 7.First char is OK [23:59:38]request: POST /json_proto HTTP/1.0 [23:59:38]Method: POST [23:59:38]URL: /json_proto [23:59:38]Method is POST - this is cgi request [23:59:38]url: /json_proto [23:59:38]query_string will be loaded in cgi processing [23:59:38]execute_cgi json_proto POST (null) [23:59:38]execute_cgi path=json_proto method=POST [23:59:38]POST find Content-Length [23:59:38]Host: 172.17.47.135:8080 [23:59:38]Content-Length: 331 [23:59:38]Content-Type: application/json [23:59:38] [23:59:38]POST finish read [23:59:38]Found Content-Length = 331 [23:59:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:38]execute_script... [23:59:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:38]POST & json_proto [23:59:38]process_json_proto [23:59:38]json parsed OK: [23:59:38]protocol is kg_v1.0 [23:59:38]action value=get_value [23:59:38]process_action get_value [23:59:38]cmd_get_value [23:59:38]process_action get_value done [23:59:38]requested_data is exist [23:59:38]produce_requested_data [23:59:38]requested_item fm.sale.total is exist - process it [23:59:38]SAM_PROTO_GetFMData [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 13 03 00 [23:59:38]Write to MH i2c: E2 08 00 31 14 80 13 03 00 00 00 00 00 C4 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 31 14 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 FB [23:59:39]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 32 14 80 17 00 00 00 00 00 00 C6 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 32 14 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 41 [23:59:39]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 33 14 80 17 00 00 00 00 00 00 C7 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 33 14 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 DC [23:59:39]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 34 14 80 17 00 00 00 00 00 00 C8 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 34 14 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 40 [23:59:39]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 35 14 80 17 00 00 00 00 00 00 C9 [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 E1 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 E1 00 35 14 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [23:59:40]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:40]wFMCommunicate OK [23:59:40]SAM_PROTO_GetFMData done [23:59:40]requested_item fm.sale_refund.total is exist - process it [23:59:40]requested_item fm.buy.total is exist - process it [23:59:40]requested_item shift.sale.total is exist - process it [23:59:40]SAM_PROTO_GetShiftData [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 13 02 00 [23:59:40]Write to MH i2c: E2 08 00 36 14 80 13 02 00 00 00 00 00 C8 [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]OFD Sender: No OFD packet to send [23:59:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 36 14 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 E4 [23:59:40]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 17 00 00 [23:59:40]Write to MH i2c: E2 08 00 37 14 80 17 00 00 00 00 00 00 CB [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 37 14 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 CE [23:59:41]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 17 00 00 [23:59:41]Write to MH i2c: E2 08 00 38 14 80 17 00 00 00 00 00 00 CC [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 38 14 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 6E [23:59:41]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 17 00 00 [23:59:41]Write to MH i2c: E2 08 00 39 14 80 17 00 00 00 00 00 00 CD [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 39 14 00 03 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 90 00 56 [23:59:41]RAPDU: 03 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 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 17 00 00 [23:59:41]Write to MH i2c: E2 08 00 3A 14 80 17 00 00 00 00 00 00 CE [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 D5 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 D5 00 3A 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AF [23:59:42]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:42]wFMCommunicate OK [23:59:42]SAM_PROTO_GetShiftData done [23:59:42]requested_item shift.sale.total_cash is exist - process it [23:59:42]requested_item shift.sale_refund.total is exist - process it [23:59:42]requested_item shift.sale_refund.total_cash is exist - process it [23:59:42]requested_item shift.buy.total is exist - process it [23:59:42]requested_item shift.buy.total_cash is exist - process it [23:59:42]produce_requested_data done [23:59:42]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:42]process_action_free get_value [23:59:42]json_value_free [23:59:42]json_value_free done [23:59:42]process_json_proto returns [23:59:42]Send response to host [23:59:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:42]free response buf [23:59:42]execute_script done [23:59:42]execute_script returns [23:59:42]free content buf [23:59:42]Sock 7.Close socket [23:59:42]Sock 7.Thread stoped [23:59:42]accept exits with 9 [23:59:42]New connection [23:59:42]New thread 3067411812 created [23:59:42]Thread 3067555172 joined [23:59:42]Waiting for new connection... [23:59:42] Sock 9.Parse request [23:59:42]Sock 9.Check first char [23:59:42]Sock 9.First char is OK [23:59:42]request: POST /json_proto HTTP/1.0 [23:59:42]Method: POST [23:59:42]URL: /json_proto [23:59:42]Method is POST - this is cgi request [23:59:42]url: /json_proto [23:59:42]query_string will be loaded in cgi processing [23:59:42]execute_cgi json_proto POST (null) [23:59:42]execute_cgi path=json_proto method=POST [23:59:42]POST find Content-Length [23:59:42]Host: 172.17.47.135:8080 [23:59:42]Content-Length: 331 [23:59:42]Content-Type: application/json [23:59:42] [23:59:42]POST finish read [23:59:42]Found Content-Length = 331 [23:59:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:42]execute_script... [23:59:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:42]POST & json_proto [23:59:42]process_json_proto [23:59:42]json parsed OK: [23:59:42]protocol is kg_v1.0 [23:59:42]action value=get_value [23:59:42]process_action get_value [23:59:42]cmd_get_value [23:59:42]process_action get_value done [23:59:42]requested_data is exist [23:59:42]produce_requested_data [23:59:42]requested_item fm.sale.total is exist - process it [23:59:42]SAM_PROTO_GetFMData [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 13 03 00 [23:59:42]Write to MH i2c: E2 08 00 3B 14 80 13 03 00 00 00 00 00 CE [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 3B 14 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 05 [23:59:42]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 3C 14 80 17 00 00 00 00 00 00 D0 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 3C 14 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 4B [23:59:43]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 17 00 00 [23:59:43]Write to MH i2c: E2 08 00 3D 14 80 17 00 00 00 00 00 00 D1 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 3D 14 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E6 [23:59:43]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 17 00 00 [23:59:43]Write to MH i2c: E2 08 00 3E 14 80 17 00 00 00 00 00 00 D2 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 3E 14 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 4A [23:59:44]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:44]wFMCommunicate OK [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 17 00 00 [23:59:44]Write to MH i2c: E2 08 00 3F 14 80 17 00 00 00 00 00 00 D3 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 E1 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 E1 00 3F 14 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C1 [23:59:44]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:44]wFMCommunicate OK [23:59:44]SAM_PROTO_GetFMData done [23:59:44]requested_item fm.sale_refund.total is exist - process it [23:59:44]requested_item fm.buy.total is exist - process it [23:59:44]requested_item shift.sale.total is exist - process it [23:59:44]SAM_PROTO_GetShiftData [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 13 02 00 [23:59:44]Write to MH i2c: E2 08 00 40 14 80 13 02 00 00 00 00 00 D2 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 40 14 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 EE [23:59:45]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [23:59:45]wFMCommunicate OK [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 17 00 00 [23:59:45]Write to MH i2c: E2 08 00 41 14 80 17 00 00 00 00 00 00 D5 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]OFD Sender: No OFD packet to send [23:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 41 14 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 D8 [23:59:45]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [23:59:45]wFMCommunicate OK [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 17 00 00 [23:59:45]Write to MH i2c: E2 08 00 42 14 80 17 00 00 00 00 00 00 D6 [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 42 14 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 78 [23:59:46]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 17 00 00 [23:59:46]Write to MH i2c: E2 08 00 43 14 80 17 00 00 00 00 00 00 D7 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 FD 00 43 14 00 03 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 90 00 60 [23:59:46]RAPDU: 03 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 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 17 00 00 [23:59:46]Write to MH i2c: E2 08 00 44 14 80 17 00 00 00 00 00 00 D8 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 D5 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 D5 00 44 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B9 [23:59:47]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_GetShiftData done [23:59:47]requested_item shift.sale.total_cash is exist - process it [23:59:47]requested_item shift.sale_refund.total is exist - process it [23:59:47]requested_item shift.sale_refund.total_cash is exist - process it [23:59:47]requested_item shift.buy.total is exist - process it [23:59:47]requested_item shift.buy.total_cash is exist - process it [23:59:47]produce_requested_data done [23:59:47]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:47]process_action_free get_value [23:59:47]json_value_free [23:59:47]json_value_free done [23:59:47]process_json_proto returns [23:59:47]Send response to host [23:59:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:47]free response buf [23:59:47]execute_script done [23:59:47]execute_script returns [23:59:47]free content buf [23:59:47]Sock 9.Close socket [23:59:47]Sock 9.Thread stoped [23:59:47]accept exits with 7 [23:59:47]New connection [23:59:47]New thread 3067555172 created [23:59:47]Thread 3067411812 joined [23:59:47]Waiting for new connection... [23:59:47] Sock 7.Parse request [23:59:47]Sock 7.Check first char [23:59:47]Sock 7.First char is OK [23:59:47]request: POST /json_proto HTTP/1.0 [23:59:47]Method: POST [23:59:47]URL: /json_proto [23:59:47]Method is POST - this is cgi request [23:59:47]url: /json_proto [23:59:47]query_string will be loaded in cgi processing [23:59:47]execute_cgi json_proto POST (null) [23:59:47]execute_cgi path=json_proto method=POST [23:59:47]POST find Content-Length [23:59:47]Host: 172.17.47.135:8080 [23:59:47]Content-Length: 259 [23:59:47]Content-Type: application/json [23:59:47] [23:59:47]POST finish read [23:59:47]Found Content-Length = 259 [23:59:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:47]execute_script... [23:59:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0420\u0430\u0445\u043C\u0430\u043D\u043E\u0432 \u0423." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:47]POST & json_proto [23:59:47]process_json_proto [23:59:47]json parsed OK: [23:59:47]protocol is kg_v1.0 [23:59:47]action value=close_shift [23:59:47]process_action close_shift [23:59:47]cmd_close_shift [23:59:47]MH_GetDate [23:59:47]Write to MH i2c: F0 00 00 45 14 48 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 45 14 00 77 CD B3 67 19 D8 DE 66 E4 [23:59:47]GetLastDocTimeStamp 1739836739 [23:59:47]current date 1739836791 [23:59:47]FM_GetShiftState [23:59:47]SAM_PROTO_GetShiftState [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 01 00 [23:59:47]Write to MH i2c: E2 08 00 46 14 80 13 01 00 00 00 00 00 D7 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 0E 00 46 14 00 09 00 01 43 7E B2 67 00 00 00 00 90 00 BD [23:59:47]RAPDU: 09 00 01 43 7E B2 67 00 00 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_GetShiftState done [23:59:47]FM_GetShiftState done [23:59:47]KKMCreateCloseShiftDocument [23:59:47]Load OK [23:59:47]Malloc new data [23:59:47]MH_GetDate [23:59:47]Write to MH i2c: F0 00 00 47 14 4A [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: F0 09 00 47 14 00 77 CD B3 67 19 D8 DE 66 E6 [23:59:47]Malloc new data [23:59:47]Malloc new data [23:59:47]Malloc new data [23:59:47]Malloc new data [23:59:47]KKMCreateCloseShiftDocument OK [23:59:47]KKMSetCloseShiftData OK [23:59:47]ProcessDocumentItem done err = 0, tmpTLVsize=70 [23:59:47]tlvbuf is 005F0AF0 [23:59:47]KKMLoadAndSignCloseShiftData [23:59:47]SAM_PROTO_ProcessDocument [23:59:47]wFMCommunicate request_size=9 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 01 00 04 05 00 46 00 [23:59:47]Write to MH i2c: E2 0C 00 48 14 80 15 01 00 04 00 05 00 46 00 00 00 2E [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 48 14 00 90 00 D0 [23:59:47]RAPDU: 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=23 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:59:47]Write to MH i2c: E2 1A 00 49 14 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 D2 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 49 14 00 90 00 D1 [23:59:47]RAPDU: 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=29 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 02 00 18 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E [23:59:47]Write to MH i2c: E2 20 00 4A 14 80 15 02 00 18 00 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E 00 00 D2 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 4A 14 00 90 00 D2 [23:59:47]RAPDU: 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=13 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 02 00 08 F4 03 04 00 77 CD B3 67 [23:59:47]Write to MH i2c: E2 10 00 4B 14 80 15 02 00 08 00 F4 03 04 00 77 CD B3 67 00 00 48 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 4B 14 00 90 00 D3 [23:59:47]RAPDU: 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=25 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 [23:59:47]Write to MH i2c: E2 1C 00 4C 14 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 00 00 40 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 03 00 4C 14 00 90 00 D4 [23:59:47]RAPDU: 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 15 03 00 [23:59:47]Write to MH i2c: E2 08 00 4D 14 80 15 03 00 00 00 00 00 E2 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 4D 14 00 FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 90 00 A6 [23:59:48]RAPDU: FB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_ProcessDocument answer len = 1275 [23:59:48]SAM_PROTO_ProcessDocument remain to read = 1027 [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 4E 14 80 17 00 00 00 00 00 00 E2 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 4E 14 00 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 90 00 54 [23:59:48]RAPDU: 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:49]SAM_PROTO_ProcessDocument remain to read = 777 [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 4F 14 80 17 00 00 00 00 00 00 E3 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 4F 14 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 90 00 45 [23:59:49]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:49]SAM_PROTO_ProcessDocument remain to read = 527 [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 50 14 80 17 00 00 00 00 00 00 E4 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 50 14 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F7 [23:59:50]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:50]wFMCommunicate OK [23:59:50]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:50]SAM_PROTO_ProcessDocument remain to read = 277 [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 51 14 80 17 00 00 00 00 00 00 E5 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]OFD Sender: No OFD packet to send [23:59:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 51 14 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 24 [23:59:50]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [23:59:50]wFMCommunicate OK [23:59:50]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:50]SAM_PROTO_ProcessDocument remain to read = 27 [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 52 14 80 17 00 00 00 00 00 00 E6 [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 27! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 1E 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 1E 00 52 14 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 73 09 DE B0 D4 08 90 00 09 [23:59:50]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 73 09 DE B0 D4 08 90 00 [23:59:50]wFMCommunicate OK [23:59:50]SAM_PROTO_ProcessDocument received (without SW) 27 bytes [23:59:50]SAM_PROTO_ProcessDocument done [23:59:50]1209 (1) - 1.0 - номер версии ФФД [23:59:50]1041 (16) - 0000000000959282 - номер ФМ [23:59:50]1040 (4) - 32443 - номер ФД [23:59:50]1038 (4) - 382 - номер смены [23:59:50]1118 (4) - 73 - количество кассовых чеков за смену [23:59:50]1111 (4) - 75 - общее количество ФД за смену [23:59:50]1194 (1204) - счетчики итогов смены [23:59:50] 1134 (4) - 73 - количество чеков со всеми признаками расчетов [23:59:50] 1129 (155) - счетчики операций «приход» [23:59:50] 1135 (4) - 71 - количество чеков по признаку расчетов [23:59:50] 1201 (3) - 20514.24 - общая итоговая сумма в чеках [23:59:50] 1136 (3) - 11059.00 - итоговая сумма в чеках наличными [23:59:50] 1138 (3) - 9455.24 - итоговая сумма в чеках безналичными [23:59:50] 1024 (122) - суммы налогов [23:59:50] 1006 (9) - суммы НДС [23:59:50] 1010 (1) - 0% - код ставки НДС [23:59:50] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:50] 1006 (12) - суммы НДС [23:59:50] 1010 (1) - 12% - код ставки НДС [23:59:50] 1011 (3) - 2178.55 - сумма НДС по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (11) - суммы НСП [23:59:50] 1014 (1) - 1% - код ставки НСП [23:59:50] 1015 (2) - 181.56 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 2% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 3% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 5% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1130 (151) - счетчики операций «возврат прихода» [23:59:50] 1135 (4) - 2 - количество чеков по признаку расчетов [23:59:50] 1201 (3) - 4272.00 - общая итоговая сумма в чеках [23:59:50] 1136 (3) - 4272.00 - итоговая сумма в чеках наличными [23:59:50] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:50] 1024 (121) - суммы налогов [23:59:50] 1006 (9) - суммы НДС [23:59:50] 1010 (1) - 0% - код ставки НДС [23:59:50] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:50] 1006 (11) - суммы НДС [23:59:50] 1010 (1) - 12% - код ставки НДС [23:59:50] 1011 (2) - 453.67 - сумма НДС по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (11) - суммы НСП [23:59:50] 1014 (1) - 1% - код ставки НСП [23:59:50] 1015 (2) - 37.80 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 2% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 3% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 5% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1,50% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1131 (141) - счетчики операций «расход» [23:59:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:51] 1024 (117) - суммы налогов [23:59:51] 1006 (9) - суммы НДС [23:59:51] 1010 (1) - 0% - код ставки НДС [23:59:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:51] 1006 (9) - суммы НДС [23:59:51] 1010 (1) - 12% - код ставки НДС [23:59:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 0% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 1% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 2% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 3% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 5% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 0,50% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 1,50% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1132 (141) - счетчики операций «возврат расхода» [23:59:51] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:51] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:51] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:51] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:51] 1024 (117) - суммы налогов [23:59:51] 1006 (9) - суммы НДС [23:59:51] 1010 (1) - 0% - код ставки НДС [23:59:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:51] 1006 (9) - суммы НДС [23:59:51] 1010 (1) - 12% - код ставки НДС [23:59:51] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 0% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 1% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 2% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 3% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 5% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 0,50% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1007 (9) - суммы НСП [23:59:51] 1014 (1) - 1,50% - код ставки НСП [23:59:51] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:51] 1133 (588) - - счетчики коррекции - не используются [23:59:51]1077 (6) - 126486228030472 - ФПД [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1209 (04B9) [23:59:51]Malloc new data [23:59:51]Processing tag 1041 (0411) [23:59:51]Processing tag 1040 (0410) [23:59:51]Malloc new data [23:59:51]Processing tag 1038 (040E) [23:59:51]Malloc new data [23:59:51]Processing tag 1118 (045E) [23:59:51]Malloc new data [23:59:51]Processing tag 1111 (0457) [23:59:51]Malloc new data [23:59:51]Processing tag 1194 (04AA) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1134 (046E) [23:59:51]Malloc new data [23:59:51]Processing tag 1129 (0469) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1135 (046F) [23:59:51]Malloc new data [23:59:51]Processing tag 1201 (04B1) [23:59:51]Malloc new data [23:59:51]Processing tag 1136 (0470) [23:59:51]Malloc new data [23:59:51]Processing tag 1138 (0472) [23:59:51]Malloc new data [23:59:51]Processing tag 1024 (0400) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1130 (046A) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1135 (046F) [23:59:51]Malloc new data [23:59:51]Processing tag 1201 (04B1) [23:59:51]Malloc new data [23:59:51]Processing tag 1136 (0470) [23:59:51]Malloc new data [23:59:51]Processing tag 1138 (0472) [23:59:51]Malloc new data [23:59:51]Processing tag 1024 (0400) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1131 (046B) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1135 (046F) [23:59:51]Malloc new data [23:59:51]Processing tag 1201 (04B1) [23:59:51]Malloc new data [23:59:51]Processing tag 1136 (0470) [23:59:51]Malloc new data [23:59:51]Processing tag 1138 (0472) [23:59:51]Malloc new data [23:59:51]Processing tag 1024 (0400) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1132 (046C) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1135 (046F) [23:59:51]Malloc new data [23:59:51]Processing tag 1201 (04B1) [23:59:51]Malloc new data [23:59:51]Processing tag 1136 (0470) [23:59:51]Malloc new data [23:59:51]Processing tag 1138 (0472) [23:59:51]Malloc new data [23:59:51]Processing tag 1024 (0400) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1006 (03EE) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1010 (03F2) [23:59:51]Malloc new data [23:59:51]Processing tag 1011 (03F3) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1133 (046D) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1077 (0435) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:52]Malloc new data [23:59:52]SAM_PROTO_GetFMData [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 13 03 00 [23:59:52]Write to MH i2c: E2 08 00 53 14 80 13 03 00 00 00 00 00 E6 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 53 14 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 1D [23:59:52]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 54 14 80 17 00 00 00 00 00 00 E8 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 54 14 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 63 [23:59:53]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 55 14 80 17 00 00 00 00 00 00 E9 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 55 14 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 FE [23:59:53]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 17 00 00 [23:59:54]Write to MH i2c: E2 08 00 56 14 80 17 00 00 00 00 00 00 EA [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 56 14 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 62 [23:59:54]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 17 00 00 [23:59:54]Write to MH i2c: E2 08 00 57 14 80 17 00 00 00 00 00 00 EB [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 E1 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 E1 00 57 14 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D9 [23:59:55]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:55]wFMCommunicate OK [23:59:55]SAM_PROTO_GetFMData done [23:59:55]Malloc new data [23:59:55]Malloc new data [23:59:55]Malloc new data [23:59:55]Malloc new data [23:59:55]KKMLoadAndSignCloseShiftData err=0 [23:59:55]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Рахманов У. 17.02.2025 23:59 Смена: 382 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Чеков за смену: 73 ФД за смену: 75 Всего чеков: 73 ИТОГИ ПРИХОД Чеков: 71 Общий итог: 20514.24 Итого наличными: 11059.00 Итого безнал.: 9455.24 НДС 0% : 0.00 НДС 12% : 2178.55 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 181.56 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 4272.00 Итого наличными: 4272.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 453.67 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 37.80 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 6787.00 НС Приход: 14709849.99 НС Возвр.Прихода: 363293.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 32443 ФМ: 0000000000959282 ФПД: 126486228030472 [23:59:55]StoreToDocumentArchive [23:59:55]shift 382 fd 32443 [23:59:55]save to /storage/0382/doc_00032443 [23:59:55]save last doc name /storage/0382/doc_00032443 to /storage/kkm_last_doc_name [23:59:55]save OK [23:59:55]Clear old archive folders... [23:59:55]Remove dir /storage/0266 [23:59:55]opendir ok [23:59:55]file . [23:59:55]file .. [23:59:55]file doc_1739836746 [23:59:55]remove file /storage/0266/doc_1739836746 [23:59:55]remove dir /storage/0266 [23:59:55]NVStorageSaveData kkm_registers [23:59:55]File name is /storage/kkm_registers [23:59:55]Write 24 bytes [23:59:55]NVStorageSaveData done [23:59:55]NVStorageSaveData kkm_registers [23:59:55]File name is /storage/kkm_registers [23:59:55]Write 24 bytes [23:59:55]NVStorageSaveData done [23:59:55]ProcessDocumentItem done err = 0, tmpTLVsize=1384 [23:59:55]tlvbuf is B6FE8760 [23:59:55]SAM_PROTO_ClearQueue [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 09 00 00 [23:59:55]Write to MH i2c: E2 08 00 58 14 80 09 00 00 00 00 00 00 DE [23:59:55]OFD Sender: No OFD packet to send [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 58 14 00 90 00 E0 [23:59:55]RAPDU: 90 00 [23:59:55]wFMCommunicate OK [23:59:55]SAM_PROTO_ClearQueue done [23:59:55]KKMCreateOFDPacket [23:59:55]OFDProtocolAddRootSTLVToBuf [23:59:55]FM_MakeSignedData [23:59:55]FM_MakeSignedData [23:59:55]SAM_PROTO_SignData [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 0D 01 02 [23:59:55]Write to MH i2c: E2 08 00 59 14 80 0D 01 02 00 00 00 00 E6 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 59 14 00 90 00 E1 [23:59:55]RAPDU: 90 00 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=255 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 0D 02 02 FA 05 00 68 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E F4 03 04 00 77 CD B3 67 0E 04 04 00 7E 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 DB 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 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 FF 52 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 [23:59:55]Write to MH i2c: E2 02 01 5A 14 80 0D 02 02 FA 00 05 00 68 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E F4 03 04 00 77 CD B3 67 0E 04 04 00 7E 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 DB 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 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 FF 52 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EE [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 5A 14 00 90 00 E2 [23:59:56]RAPDU: 90 00 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=255 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 0D 02 02 FA 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 EC 46 6A 04 9F 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 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 C4 0E 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 [23:59:56]Write to MH i2c: E2 02 01 5B 14 80 0D 02 02 FA 00 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 EC 46 6A 04 9F 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 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 C4 0E 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 00 00 E9 [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 5B 14 00 90 00 E3 [23:59:56]RAPDU: 90 00 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=255 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 0D 02 02 FA 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 [23:59:57]Write to MH i2c: E2 02 01 5C 14 80 0D 02 02 FA 00 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 00 00 B0 [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 5C 14 00 90 00 E4 [23:59:57]RAPDU: 90 00 [23:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=255 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 0D 02 02 FA 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 [23:59:57]Write to MH i2c: E2 02 01 5D 14 80 0D 02 02 FA 00 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 00 00 AD [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 03 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 03 00 5D 14 00 90 00 E5 [23:59:58]RAPDU: 90 00 [23:59:58]wFMCommunicate OK [23:59:58]wFMCommunicate request_size=255 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 0D 02 02 FA 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 [23:59:58]Write to MH i2c: E2 02 01 5E 14 80 0D 02 02 FA 00 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 00 00 85 [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 03 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 03 00 5E 14 00 90 00 E6 [23:59:58]RAPDU: 90 00 [23:59:58]wFMCommunicate OK [23:59:58]wFMCommunicate request_size=143 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 0D 02 02 8A F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 73 09 DE B0 D4 08 [23:59:59]Write to MH i2c: E2 92 00 5F 14 80 0D 02 02 8A 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 73 09 DE B0 D4 08 00 00 4A [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 03 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 03 00 5F 14 00 90 00 E7 [23:59:59]RAPDU: 90 00 [23:59:59]wFMCommunicate OK [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 0D 03 02 [23:59:59]Write to MH i2c: E2 08 00 60 14 80 0D 03 02 00 00 00 00 EF [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 0B 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 0B 00 60 14 00 03 7E 32 0B D3 E4 A0 31 90 00 36 [23:59:59]RAPDU: 03 7E 32 0B D3 E4 A0 31 90 00 [23:59:59]wFMCommunicate OK [23:59:59]SAM_PROTO_SignData done [23:59:59]FM_MakeSignedData done [23:59:59]CreateOFDProtocolMessage [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 11 00 00 [23:59:59]Write to MH i2c: E2 08 00 61 14 80 11 00 00 00 00 00 00 EF [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 17 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 17 00 61 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 45 [23:59:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [23:59:59]wFMCommunicate OK [23:59:59]CreateOFDProtocolMessage done [23:59:59]OFDSenderStorePacket 32443 [23:59:59]StoreOFDPacket docnum=32443 [23:59:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 7C 05 00 00 27 EC 74 05 8D 47 5A 05 01 00 05 00 68 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E F4 03 04 00 77 CD B3 67 0E 04 04 00 7E 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 DB 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 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 FF 52 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 6A 04 9F 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 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 C4 0E 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 BB 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 73 09 DE B0 D4 08 03 7E 32 0B D3 E4 A0 31 [23:59:59]CheckFolder [23:59:59]dirname=/storage/ofd_packets [23:59:59]CheckFolder done [23:59:59]ProducePacketName [23:59:59]name=ofd_packets/00032443 [23:59:59]NVStorageSaveData ofd_packets/00032443 [23:59:59]File name is /storage/ofd_packets/00032443 [23:59:59]Write 1434 bytes [23:59:59]NVStorageSaveData done [23:59:59]OFDSenderStorePacket done [23:59:59]KKMCreateOFDPacket done [23:59:59]NVStorageSaveData kkm_last_timestamp [23:59:59]File name is /storage/kkm_last_timestamp [23:59:59]Write 4 bytes [23:59:59]NVStorageSaveData done [23:59:59]ExternCall_PrintAddStr [23:59:59]wPrintStart [23:59:59]Write to MH i2c: 01 00 00 62 14 76 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: 01 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: 01 07 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: 01 07 00 62 14 00 00 00 00 00 FF 0F 8B [23:59:59]RasterBufferAndPrint [23:59:59]line Отчет о закрытии смены [23:59:59]line ФФД: 1.0 [23:59:59]line ИНН: 02508201610067 [23:59:59]line Кассир: Рахманов У. [23:59:59]line 17.02.2025 23:59 [23:59:59]line Смена: 382 [23:59:59]line РНМ: 0000000000146237 [23:59:59]line ЗНМ: 0300000059 [23:59:59]line СНО: Общий режим [23:59:59]line Чеков за смену: 73 [23:59:59]line ФД за смену: 75 [23:59:59]line Всего чеков: 73 [23:59:59]line ИТОГИ ПРИХОД [23:59:59]line Чеков: 71 [23:59:59]line Общий итог: 20514.24 [23:59:59]line Итого наличными: 11059.00 [23:59:59]line Итого безнал.: 9455.24 [23:59:59]line НДС 0% : 0.00 [23:59:59]line НДС 12% : 2178.55 [23:59:59]line НСП 0% : 0.00 [23:59:59]line НСП 1,50% : 0.00 [23:59:59]line НСП 0,50% : 0.00 [23:59:59]line НСП 5% : 0.00 [23:59:59]line НСП 3% : 0.00 [23:59:59]line НСП 2% : 0.00 [23:59:59]line НСП 1% : 181.56 [23:59:59]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:59]line Чеков: 2 [23:59:59]line Общий итог: 4272.00 [23:59:59]line Итого наличными: 4272.00 [23:59:59]line Итого безнал.: 0.00 [23:59:59]line НДС 0% : 0.00 [23:59:59]line НДС 12% : 453.67 [23:59:59]line НСП 0% : 0.00 [23:59:59]line НСП 1,50% : 0.00 [23:59:59]line НСП 0,50% : 0.00 [23:59:59]line НСП 5% : 0.00 [23:59:59]line НСП 3% : 0.00 [23:59:59]line НСП 2% : 0.00 [23:59:59]line НСП 1% : 37.80 [23:59:59]line ИТОГИ РАСХОД [23:59:59]line Чеков: 0 [23:59:59]line Общий итог: 0.00 [23:59:59]line Итого наличными: 0.00 [23:59:59]line Итого безнал.: 0.00 [23:59:59]line НДС 0% : 0.00 [23:59:59]line НДС 12% : 0.00 [23:59:59]line НСП 0% : 0.00 [23:59:59]line НСП 1,50% : 0.00 [23:59:59]line НСП 0,50% : 0.00 [23:59:59]line НСП 5% : 0.00 [23:59:59]line НСП 3% : 0.00 [23:59:59]line НСП 2% : 0.00 [23:59:59]line НСП 1% : 0.00 [23:59:59]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:59]line Чеков: 0 [23:59:59]line Общий итог: 0.00 [23:59:59]line Итого наличными: 0.00 [23:59:59]line Итого безнал.: 0.00 [23:59:59]line НДС 0% : 0.00 [23:59:59]line НДС 12% : 0.00 [23:59:59]line НСП 0% : 0.00 [23:59:59]line НСП 1,50% : 0.00 [23:59:59]line НСП 0,50% : 0.00 [23:59:59]line НСП 5% : 0.00 [23:59:59]line НСП 3% : 0.00 [23:59:59]line НСП 2% : 0.00 [23:59:59]line НСП 1% : 0.00 [23:59:59]line Сумма внесений: 0.00 [23:59:59]line Сумма выплат: 0.00 [23:59:59]line Нал. в кассе: 6787.00 [23:59:59]line НС Приход: 14709849.99 [23:59:59]line НС Возвр.Прихода: 363293.00 [23:59:59]line НС Расход: 0.00 [23:59:59]line НС Возвр.Расхода: 0.00 [23:59:59]line ФД: 32443 [23:59:59]line ФМ: 0000000000959282 [23:59:59]line ФПД: 126486228030472 [23:59:59]OFD Sender: Processing packet 32443 [packets to send 104, broken 103] [23:59:59]ProducePacketName [23:59:59]name=ofd_packets/00032443 [23:59:59]OFD Sender: To server: pG, [23:59:59]CommunicateWithHost lk.salyk.kg:30040 [23:59:59]ConnectInit lk.salyk.kg [23:59:59]written 0, free lines is 4095 [00:00:00]Connected sock=10 [00:00:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 7C 05 00 00 27 EC 74 05 8D 47 5A 05 01 00 05 00 68 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 14 00 D0 A0 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 20 D0 A3 2E F4 03 04 00 77 CD B3 67 0E 04 04 00 7E 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 DB 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 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 FF 52 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 6A 04 9F 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 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 C4 0E 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 Write to MH i2c: 00 01 F7 03 01 00 00 6C 04 99 00 6F 01 04 04 00 00 00 00 00 B1 04 01 00 00 00 00 B2 14 C6 [00:00:00]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: 01 [00:00:01]MH_I2C_Read... [00:00:01]70 04 01 00 00 72 04 01 00 00 00 04 7E Read from MH i2c: 00 01 EE 07 03 00 0A [00:00:01]00 MH_I2C_Read... [00:00:01]F2 03 Read from MH i2c: 01 01 00 07 00 00 F3 B2 03 14 01 00 00 00 00 00 00 EE 00 03 15 0A 0C 00 EE F2 [00:00:01]03 RasterBufferAndPrint [00:00:01]01 line [00:00:01]00 line [00:00:01]01 line [00:00:01]F3 line [00:00:01]03 line [00:00:01]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 written 0, free lines is 3270 [00:00:01]00 00 00 MH_Cut [00:00:01]79 Write to MH i2c: 04 D1 8D 01 00 6F 04 04 00 00 00 00 B9 00 14 00 01 B1 9F 04 [00:00:01]00 00 70 04 00 00 72 04 00 Write i2c OK [00:00:01]00 MH_I2C_Read... [00:00:01]00 04 75 00 EE 03 09 00 F2 03 Read from MH i2c: 01 D1 00 [00:00:01]00 MH_I2C_Read... [00:00:01]F3 03 00 00 EE 03 09 Read from MH i2c: 00 D1 F2 01 03 00 01 [00:00:01]00 MH_I2C_Read... [00:00:01]01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 Read from MH i2c: 00 D1 EF 01 03 00 09 B9 00 14 F6 00 03 9E 01 [00:00:01]00 Write to MH i2c: 01 01 F7 00 03 00 00 BA 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 14 03 CE 09 [00:00:01]00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 Write i2c OK [00:00:01]EF MH_I2C_Read... [00:00:01]03 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 *** Cut start [00:00:01]F3 03 *** Partial cut [00:00:01]00 *** CUTSNS_PIN = 1 [00:00:01]00 EF 03 *** CUTSNS_PIN = 0 [00:00:01]09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 73 09 DE B0 D4 08 03 7E 32 0B D3 E4 A0 31 [00:00:02]*** Brake cut motor [00:00:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 56 B9 47 00 2F 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 35 39 32 38 32 10 *** Stop cut motor [00:00:02]04 *** Cut end [00:00:02]04 00 BB 7E 00 00 F4 03 04 00 25 77 B3 67 B6 04 01 00 00 AE 57 B6 6E 08 7B E5 B5 [00:00:02]CommunicateWithHost err = 0 [00:00:02]CheckOFDResponse [00:00:02]1017 (14) - 77093643461234 [00:00:02]1041 (16) - 0000000000959282 [00:00:02]1040 (4) - 32443 [00:00:02]1012 (4) - 17.02.2025 17:51 [00:00:02]1206 (1) - 0 [00:00:02]OFD Sender: Remove packet 32443 [00:00:02]ProducePacketName [00:00:02]name=ofd_packets/00032443 [00:00:02]NVStorageDeleteData [00:00:02]Read from MH i2c: 01 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 BA 14 00 00 00 00 00 FF 0F E3 [00:00:02]process_action close_shift done [00:00:02]requested_data is exist [00:00:02]produce_requested_data [00:00:02]requested_item fd.num is exist - process it [00:00:02]SAM_PROTO_GetFieldsCounters [00:00:02]wFMCommunicate request_size=4 [00:00:02]MH_SAM_APDU [00:00:02]CAPDU: 80 13 00 00 [00:00:02]Write to MH i2c: E2 08 00 BB 14 80 13 00 00 00 00 00 00 4B [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:02]Read from MH i2c: E2 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: E2 62 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: E2 62 00 BB 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [00:00:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:02]wFMCommunicate OK [00:00:02]SAM_PROTO_GetFieldsCounters done [00:00:02]requested_item shift.num is exist - process it [00:00:02]requested_item shift.opened is exist - process it [00:00:02]req_shift_opened [00:00:02]FM_GetShiftState [00:00:02]SAM_PROTO_GetShiftState [00:00:02]wFMCommunicate request_size=4 [00:00:02]MH_SAM_APDU [00:00:02]CAPDU: 80 13 01 00 [00:00:02]Write to MH i2c: E2 08 00 BC 14 80 13 01 00 00 00 00 00 4D [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:02]Read from MH i2c: E2 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: E2 0E 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: E2 0E 00 BC 14 00 09 00 00 00 00 00 00 00 00 00 00 90 00 58 [00:00:02]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:02]wFMCommunicate OK [00:00:02]SAM_PROTO_GetShiftState done [00:00:02]FM_GetShiftState done [00:00:02]req_shift_opened done [00:00:02]requested_item shift.open_date is exist - process it [00:00:02]req_shift_open_date [00:00:02]FM_GetShiftState [00:00:02]SAM_PROTO_GetShiftState [00:00:02]wFMCommunicate request_size=4 [00:00:02]MH_SAM_APDU [00:00:02]CAPDU: 80 13 01 00 [00:00:02]Write to MH i2c: E2 08 00 BD 14 80 13 01 00 00 00 00 00 4E [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]OFD Sender: No OFD packet to send [00:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:03]Read from MH i2c: E2 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 0E 00 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 0E 00 BD 14 00 09 00 00 00 00 00 00 00 00 00 00 90 00 59 [00:00:03]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:03]wFMCommunicate OK [00:00:03]SAM_PROTO_GetShiftState done [00:00:03]FM_GetShiftState done [00:00:03]req_shift_open_date done [00:00:03]produce_requested_data done [00:00:03]produce_requested_data return {"fd.num":32443,"shift.num":382,"shift.opened":0,"shift.open_date":0} [00:00:03]process_action_free close_shift [00:00:03]json_value_free [00:00:03]json_value_free done [00:00:03]process_json_proto returns [00:00:03]Send response to host [00:00:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32443,"shift.num":382,"shift.opened":0,"shift.open_date":0}}} [00:00:03]free response buf [00:00:03]execute_script done [00:00:03]execute_script returns [00:00:03]free content buf [00:00:03]Sock 7.Close socket [00:00:03]Sock 7.Thread stoped [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:18]OFD Sender: No OFD packet to send [00:08:23]OFD Sender: No OFD packet to send [00:08:28]OFD Sender: No OFD packet to send [00:08:33]OFD Sender: No OFD packet to send [00:08:38]OFD Sender: No OFD packet to send [00:08:43]OFD Sender: No OFD packet to send [00:08:48]OFD Sender: No OFD packet to send [00:08:53]OFD Sender: No OFD packet to send [00:08:58]OFD Sender: No OFD packet to send [00:09:03]OFD Sender: No OFD packet to send [00:09:08]OFD Sender: No OFD packet to send [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:38]OFD Sender: No OFD packet to send [00:09:43]OFD Sender: No OFD packet to send [00:09:48]OFD Sender: No OFD packet to send [00:09:53]OFD Sender: No OFD packet to send [00:09:58]OFD Sender: No OFD packet to send [00:10:03]OFD Sender: No OFD packet to send [00:10:08]OFD Sender: No OFD packet to send [00:10:13]OFD Sender: No OFD packet to send [00:10:18]OFD Sender: No OFD packet to send [00:10:23]OFD Sender: No OFD packet to send [00:10:28]OFD Sender: No OFD packet to send [00:10:33]OFD Sender: No OFD packet to send [00:10:38]OFD Sender: No OFD packet to send [00:10:43]OFD Sender: No OFD packet to send [00:10:48]OFD Sender: No OFD packet to send [00:10:53]OFD Sender: No OFD packet to send [00:10:58]OFD Sender: No OFD packet to send [00:11:03]OFD Sender: No OFD packet to send [00:11:08]OFD Sender: No OFD packet to send [00:11:13]OFD Sender: No OFD packet to send [00:11:18]OFD Sender: No OFD packet to send [00:11:23]OFD Sender: No OFD packet to send [00:11:28]OFD Sender: No OFD packet to send [00:11:33]OFD Sender: No OFD packet to send [00:11:38]OFD Sender: No OFD packet to send [00:11:43]OFD Sender: No OFD packet to send [00:11:48]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:12:03]OFD Sender: No OFD packet to send [00:12:08]OFD Sender: No OFD packet to send [00:12:13]OFD Sender: No OFD packet to send [00:12:18]OFD Sender: No OFD packet to send [00:12:23]OFD Sender: No OFD packet to send [00:12:28]OFD Sender: No OFD packet to send [00:12:33]OFD Sender: No OFD packet to send [00:12:38]OFD Sender: No OFD packet to send [00:12:43]OFD Sender: No OFD packet to send [00:12:48]OFD Sender: No OFD packet to send [00:12:53]OFD Sender: No OFD packet to send [00:12:58]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:43]OFD Sender: No OFD packet to send [00:14:46]accept exits with 9 [00:14:46]New connection [00:14:46]New thread 3067411812 created [00:14:46]Thread 3067555172 joined [00:14:46]Waiting for new connection... [00:14:46] Sock 9.Parse request [00:14:46]Sock 9.Check first char [00:14:46]Sock 9.First char is OK [00:14:46]request: POST /json_proto HTTP/1.0 [00:14:46]Method: POST [00:14:46]URL: /json_proto [00:14:46]Method is POST - this is cgi request [00:14:46]url: /json_proto [00:14:46]query_string will be loaded in cgi processing [00:14:46]execute_cgi json_proto POST (null) [00:14:46]execute_cgi path=json_proto method=POST [00:14:46]POST find Content-Length [00:14:46]Host: 172.17.47.135:8080 [00:14:46]Content-Length: 215 [00:14:46]Content-Type: application/json [00:14:46] [00:14:46]POST finish read [00:14:46]Found Content-Length = 215 [00:14:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:46]execute_script... [00:14:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:46]POST & json_proto [00:14:46]process_json_proto [00:14:46]json parsed OK: [00:14:46]protocol is kg_v1.0 [00:14:46]action value=get_value [00:14:46]process_action get_value [00:14:46]cmd_get_value [00:14:46]process_action get_value done [00:14:46]requested_data is exist [00:14:46]produce_requested_data [00:14:46]requested_item kkm.sn is exist - process it [00:14:46]requested_item kkm.ver is exist - process it [00:14:46]requested_item fm.sn is exist - process it [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 11 00 00 [00:14:46]Write to MH i2c: E2 08 00 BE 14 80 11 00 00 00 00 00 00 4C [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 BE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A2 [00:14:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [00:14:46]wFMCommunicate OK [00:14:46]requested_item fd.num is exist - process it [00:14:46]SAM_PROTO_GetFieldsCounters [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 13 00 00 [00:14:46]Write to MH i2c: E2 08 00 BF 14 80 13 00 00 00 00 00 00 4F [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 62 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 62 00 BF 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [00:14:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BB 7E 00 00 0E 04 04 00 7E 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_GetFieldsCounters done [00:14:46]requested_item shift.num is exist - process it [00:14:46]requested_item shift.opened is exist - process it [00:14:46]req_shift_opened [00:14:46]FM_GetShiftState [00:14:46]SAM_PROTO_GetShiftState [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 13 01 00 [00:14:46]Write to MH i2c: E2 08 00 C0 14 80 13 01 00 00 00 00 00 51 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0E 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0E 00 C0 14 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5C [00:14:46]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_GetShiftState done [00:14:46]FM_GetShiftState done [00:14:46]req_shift_opened done [00:14:46]requested_item shift.open_date is exist - process it [00:14:46]req_shift_open_date [00:14:46]FM_GetShiftState [00:14:46]SAM_PROTO_GetShiftState [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 13 01 00 [00:14:46]Write to MH i2c: E2 08 00 C1 14 80 13 01 00 00 00 00 00 52 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0E 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0E 00 C1 14 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5D [00:14:46]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_GetShiftState done [00:14:46]FM_GetShiftState done [00:14:46]req_shift_open_date done [00:14:46]produce_requested_data done [00:14:46]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32443,"shift.num":382,"shift.opened":0,"shift.open_date":0} [00:14:46]process_action_free get_value [00:14:46]json_value_free [00:14:46]json_value_free done [00:14:46]process_json_proto returns [00:14:46]Send response to host [00:14:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32443,"shift.num":382,"shift.opened":0,"shift.open_date":0}}} [00:14:46]free response buf [00:14:46]execute_script done [00:14:46]execute_script returns [00:14:46]free content buf [00:14:46]Sock 9.Close socket [00:14:46]Sock 9.Thread stoped [00:14:46]accept exits with 7 [00:14:46]New connection [00:14:46]New thread 3067555172 created [00:14:46]Thread 3067411812 joined [00:14:46]Waiting for new connection... [00:14:46] Sock 7.Parse request [00:14:46]Sock 7.Check first char [00:14:46]Sock 7.First char is OK [00:14:46]request: POST /json_proto HTTP/1.0 [00:14:46]Method: POST [00:14:46]URL: /json_proto [00:14:46]Method is POST - this is cgi request [00:14:46]url: /json_proto [00:14:46]query_string will be loaded in cgi processing [00:14:46]execute_cgi json_proto POST (null) [00:14:46]execute_cgi path=json_proto method=POST [00:14:46]POST find Content-Length [00:14:46]Host: 172.17.47.135:8080 [00:14:46]Content-Length: 331 [00:14:46]Content-Type: application/json [00:14:46] [00:14:46]POST finish read [00:14:46]Found Content-Length = 331 [00:14:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:46]execute_script... [00:14:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:47]POST & json_proto [00:14:47]process_json_proto [00:14:47]json parsed OK: [00:14:47]protocol is kg_v1.0 [00:14:47]action value=get_value [00:14:47]process_action get_value [00:14:47]cmd_get_value [00:14:47]process_action get_value done [00:14:47]requested_data is exist [00:14:47]produce_requested_data [00:14:47]requested_item fm.sale.total is exist - process it [00:14:47]SAM_PROTO_GetFMData [00:14:47]wFMCommunicate request_size=4 [00:14:47]MH_SAM_APDU [00:14:47]CAPDU: 80 13 03 00 [00:14:47]Write to MH i2c: E2 08 00 C2 14 80 13 03 00 00 00 00 00 55 [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:47]Read from MH i2c: E2 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: E2 FD 00 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: E2 FD 00 C2 14 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 8C [00:14:47]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [00:14:47]wFMCommunicate OK [00:14:47]wFMCommunicate request_size=4 [00:14:47]MH_SAM_APDU [00:14:47]CAPDU: 80 17 00 00 [00:14:47]Write to MH i2c: E2 08 00 C3 14 80 17 00 00 00 00 00 00 57 [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:47]Read from MH i2c: E2 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: E2 FD 00 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: E2 FD 00 C3 14 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 D2 [00:14:47]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:14:47]wFMCommunicate OK [00:14:47]wFMCommunicate request_size=4 [00:14:47]MH_SAM_APDU [00:14:47]CAPDU: 80 17 00 00 [00:14:47]Write to MH i2c: E2 08 00 C4 14 80 17 00 00 00 00 00 00 58 [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 C4 14 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 6D [00:14:48]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:14:48]wFMCommunicate OK [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 17 00 00 [00:14:48]Write to MH i2c: E2 08 00 C5 14 80 17 00 00 00 00 00 00 59 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 C5 14 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D1 [00:14:48]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:48]wFMCommunicate OK [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 17 00 00 [00:14:48]Write to MH i2c: E2 08 00 C6 14 80 17 00 00 00 00 00 00 5A [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 E1 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 E1 00 C6 14 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 48 [00:14:48]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:48]wFMCommunicate OK [00:14:48]SAM_PROTO_GetFMData done [00:14:48]requested_item fm.sale_refund.total is exist - process it [00:14:48]requested_item fm.buy.total is exist - process it [00:14:48]requested_item shift.sale.total is exist - process it [00:14:48]SAM_PROTO_GetShiftData [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 13 02 00 [00:14:48]Write to MH i2c: E2 08 00 C7 14 80 13 02 00 00 00 00 00 59 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:49]OFD Sender: No OFD packet to send [00:14:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 C7 14 00 B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 75 [00:14:49]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 60 4D 1F 70 04 03 00 EC DF 10 72 04 03 00 74 6D 0E 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FF 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 02 00 00 00 B1 04 03 00 C0 84 06 70 04 03 00 C0 84 06 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 37 B1 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write to MH i2c: E2 08 00 C8 14 80 17 00 00 00 00 00 00 5C [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 C8 14 00 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 5F [00:14:49]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 C4 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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write to MH i2c: E2 08 00 C9 14 80 17 00 00 00 00 00 00 5D [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 C9 14 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 FF [00:14:49]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write to MH i2c: E2 08 00 CA 14 80 17 00 00 00 00 00 00 5E [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 CA 14 00 03 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 90 00 E7 [00:14:50]RAPDU: 03 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 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 17 00 00 [00:14:50]Write to MH i2c: E2 08 00 CB 14 80 17 00 00 00 00 00 00 5F [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 D5 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 D5 00 CB 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 40 [00:14:50]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:50]wFMCommunicate OK [00:14:50]SAM_PROTO_GetShiftData done [00:14:50]requested_item shift.sale.total_cash is exist - process it [00:14:50]requested_item shift.sale_refund.total is exist - process it [00:14:50]requested_item shift.sale_refund.total_cash is exist - process it [00:14:50]requested_item shift.buy.total is exist - process it [00:14:50]requested_item shift.buy.total_cash is exist - process it [00:14:50]produce_requested_data done [00:14:50]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:50]process_action_free get_value [00:14:50]json_value_free [00:14:50]json_value_free done [00:14:50]process_json_proto returns [00:14:50]Send response to host [00:14:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.00,"fm.buy.total":0.00,"shift.sale.total":20514.24,"shift.sale.total_cash":11059.00,"shift.sale_refund.total":4272.00,"shift.sale_refund.total_cash":4272.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:50]free response buf [00:14:50]execute_script done [00:14:50]execute_script returns [00:14:50]free content buf [00:14:50]Sock 7.Close socket [00:14:50]Sock 7.Thread stoped [00:14:50]accept exits with 9 [00:14:50]New connection [00:14:50]New thread 3067411812 created [00:14:50]Thread 3067555172 joined [00:14:50]Waiting for new connection... [00:14:50] Sock 9.Parse request [00:14:50]Sock 9.Check first char [00:14:50]Sock 9.First char is OK [00:14:50]request: POST /json_proto HTTP/1.0 [00:14:50]Method: POST [00:14:50]URL: /json_proto [00:14:50]Method is POST - this is cgi request [00:14:50]url: /json_proto [00:14:50]query_string will be loaded in cgi processing [00:14:50]execute_cgi json_proto POST (null) [00:14:50]execute_cgi path=json_proto method=POST [00:14:50]POST find Content-Length [00:14:50]Host: 172.17.47.135:8080 [00:14:50]Content-Length: 277 [00:14:50]Content-Type: application/json [00:14:50] [00:14:50]POST finish read [00:14:50]Found Content-Length = 277 [00:14:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:50]execute_script... [00:14:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:50]POST & json_proto [00:14:50]process_json_proto [00:14:50]json parsed OK: [00:14:50]protocol is kg_v1.0 [00:14:50]action value=open_shift [00:14:50]process_action open_shift [00:14:50]cmd_open_shift [00:14:50]MH_GetDate [00:14:50]Write to MH i2c: F0 00 00 CC 14 CF [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 09 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 09 00 CC 14 00 FE D0 B3 67 19 D8 DE 66 F5 [00:14:50]GetLastDocTimeStamp 1739836791 [00:14:50]current date 1739837694 [00:14:50]FM_GetShiftState [00:14:50]SAM_PROTO_GetShiftState [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 13 01 00 [00:14:50]Write to MH i2c: E2 08 00 CD 14 80 13 01 00 00 00 00 00 5E [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 0E 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 0E 00 CD 14 00 09 00 00 00 00 00 00 00 00 00 00 90 00 69 [00:14:50]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:50]wFMCommunicate OK [00:14:50]SAM_PROTO_GetShiftState done [00:14:50]FM_GetShiftState done [00:14:50]KKMCreateOpenShiftDocument [00:14:50]Load OK [00:14:50]Malloc new data [00:14:50]MH_GetDate [00:14:50]Write to MH i2c: F0 00 00 CE 14 D1 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 09 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: F0 09 00 CE 14 00 FE D0 B3 67 19 D8 DE 66 F7 [00:14:50]Malloc new data [00:14:50]KKMCreateOpenShiftDocument OK [00:14:50]KKMSetOpenShiftData OK [00:14:50]ProcessDocumentItem done err = 0, tmpTLVsize=194 [00:14:50]tlvbuf is 006119B0 [00:14:50]KKMLoadAndSignOpenShiftData [00:14:50]SAM_PROTO_ProcessDocument [00:14:50]wFMCommunicate request_size=9 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 15 01 00 04 02 00 C2 00 [00:14:50]Write to MH i2c: E2 0C 00 CF 14 80 15 01 00 04 00 02 00 C2 00 00 00 2E [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 CF 14 00 90 00 57 [00:14:50]RAPDU: 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=23 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:14:50]Write to MH i2c: E2 1A 00 D0 14 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 59 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 D0 14 00 90 00 58 [00:14:50]RAPDU: 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=36 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E [00:14:50]Write to MH i2c: E2 27 00 D1 14 80 15 02 00 1F 00 FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E 00 00 37 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 03 00 D1 14 00 90 00 59 [00:14:50]RAPDU: 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=77 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 15 02 00 48 F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 [00:14:50]Write to MH i2c: E2 50 00 D2 14 80 15 02 00 48 00 F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 00 00 D2 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 D2 14 00 90 00 5A [00:14:51]RAPDU: 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=50 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:14:51]Write to MH i2c: E2 35 00 D3 14 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 E5 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 D3 14 00 90 00 5B [00:14:51]RAPDU: 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=13 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 15 02 00 08 F4 03 04 00 FE D0 B3 67 [00:14:51]Write to MH i2c: E2 10 00 D4 14 80 15 02 00 08 00 F4 03 04 00 FE D0 B3 67 00 00 5B [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 D4 14 00 90 00 5C [00:14:51]RAPDU: 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=25 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 [00:14:51]Write to MH i2c: E2 1C 00 D5 14 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 00 00 C9 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 03 00 D5 14 00 90 00 5D [00:14:51]RAPDU: 90 00 [00:14:51]wFMCommunicate OK [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 15 03 00 [00:14:51]Write to MH i2c: E2 08 00 D6 14 80 15 03 00 00 00 00 00 6B [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 38 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 38 00 D6 14 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BC 7E 00 00 0E 04 04 00 7F 01 00 00 35 04 06 00 07 EF E0 16 C2 7B 90 00 1D [00:14:51]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BC 7E 00 00 0E 04 04 00 7F 01 00 00 35 04 06 00 07 EF E0 16 C2 7B 90 00 [00:14:51]wFMCommunicate OK [00:14:51]SAM_PROTO_ProcessDocument answer len = 51 [00:14:51]SAM_PROTO_ProcessDocument done [00:14:51]SetTLVBufToDocument [00:14:51]Processing tag 1209 (04B9) [00:14:51]Malloc new data [00:14:51]Processing tag 1041 (0411) [00:14:51]Processing tag 1040 (0410) [00:14:51]Malloc new data [00:14:51]Processing tag 1038 (040E) [00:14:51]Malloc new data [00:14:51]Processing tag 1077 (0435) [00:14:51]Malloc new data [00:14:51]SetTLVBufToDocument err=0 [00:14:51]KKMLoadAndSignOpenShiftData store KKM data [00:14:51]KKMLoadAndSignOpenShiftData err=0 [00:14:51]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Арзыбек уулу А. Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 Место: АЗС № 96 "Партнер Нефть" 18.02.2025 00:14 Смена: 383 РНМ: 0000000000146237 ЗНМ: 0300000059 ФД: 32444 ФМ: 0000000000959282 ФПД: 8726838166139 [00:14:51]StoreToDocumentArchive [00:14:51]shift 383 fd 32444 [00:14:51]Create dir for shift 0383 [00:14:51]save to /storage/0383/doc_00032444 [00:14:51]save last doc name /storage/0383/doc_00032444 to /storage/kkm_last_doc_name [00:14:51]save OK [00:14:51]Clear old archive folders... [00:14:51]Remove dir /storage/0382 [00:14:51]opendir ok [00:14:51]file . [00:14:51]file .. [00:14:51]file doc_00032369 [00:14:51]remove file /storage/0382/doc_00032369 [00:14:51]file doc_00032370 [00:14:51]remove file /storage/0382/doc_00032370 [00:14:51]file doc_00032371 [00:14:51]remove file /storage/0382/doc_00032371 [00:14:51]file doc_00032372 [00:14:51]remove file /storage/0382/doc_00032372 [00:14:51]file doc_00032373 [00:14:51]remove file /storage/0382/doc_00032373 [00:14:51]file doc_00032374 [00:14:51]remove file /storage/0382/doc_00032374 [00:14:51]file doc_00032375 [00:14:51]remove file /storage/0382/doc_00032375 [00:14:51]file doc_00032376 [00:14:51]remove file /storage/0382/doc_00032376 [00:14:51]file doc_00032377 [00:14:51]remove file /storage/0382/doc_00032377 [00:14:51]file doc_00032378 [00:14:51]remove file /storage/0382/doc_00032378 [00:14:51]file doc_00032379 [00:14:51]remove file /storage/0382/doc_00032379 [00:14:51]file doc_00032380 [00:14:51]remove file /storage/0382/doc_00032380 [00:14:51]file doc_00032381 [00:14:51]remove file /storage/0382/doc_00032381 [00:14:51]file doc_00032382 [00:14:51]remove file /storage/0382/doc_00032382 [00:14:51]file doc_00032383 [00:14:51]remove file /storage/0382/doc_00032383 [00:14:51]file doc_00032384 [00:14:51]remove file /storage/0382/doc_00032384 [00:14:51]file doc_00032385 [00:14:51]remove file /storage/0382/doc_00032385 [00:14:51]file doc_00032386 [00:14:51]remove file /storage/0382/doc_00032386 [00:14:51]file doc_00032387 [00:14:51]remove file /storage/0382/doc_00032387 [00:14:51]file doc_00032388 [00:14:51]remove file /storage/0382/doc_00032388 [00:14:51]file doc_00032389 [00:14:51]remove file /storage/0382/doc_00032389 [00:14:51]file doc_00032390 [00:14:51]remove file /storage/0382/doc_00032390 [00:14:51]file doc_00032391 [00:14:51]remove file /storage/0382/doc_00032391 [00:14:51]file doc_00032392 [00:14:51]remove file /storage/0382/doc_00032392 [00:14:51]file doc_00032393 [00:14:51]remove file /storage/0382/doc_00032393 [00:14:51]file doc_00032394 [00:14:51]remove file /storage/0382/doc_00032394 [00:14:51]file doc_00032395 [00:14:51]remove file /storage/0382/doc_00032395 [00:14:51]file doc_00032396 [00:14:51]remove file /storage/0382/doc_00032396 [00:14:51]file doc_00032397 [00:14:51]remove file /storage/0382/doc_00032397 [00:14:51]file doc_00032398 [00:14:51]remove file /storage/0382/doc_00032398 [00:14:51]file doc_00032399 [00:14:51]remove file /storage/0382/doc_00032399 [00:14:51]file doc_00032400 [00:14:51]remove file /storage/0382/doc_00032400 [00:14:51]file doc_00032401 [00:14:51]remove file /storage/0382/doc_00032401 [00:14:51]file doc_00032402 [00:14:51]remove file /storage/0382/doc_00032402 [00:14:51]file doc_00032403 [00:14:51]remove file /storage/0382/doc_00032403 [00:14:51]file doc_00032404 [00:14:51]remove file /storage/0382/doc_00032404 [00:14:51]file doc_00032405 [00:14:51]remove file /storage/0382/doc_00032405 [00:14:51]file doc_00032406 [00:14:51]remove file /storage/0382/doc_00032406 [00:14:51]file doc_00032407 [00:14:51]remove file /storage/0382/doc_00032407 [00:14:51]file doc_00032408 [00:14:51]remove file /storage/0382/doc_00032408 [00:14:51]file doc_00032409 [00:14:51]remove file /storage/0382/doc_00032409 [00:14:51]file doc_00032410 [00:14:51]remove file /storage/0382/doc_00032410 [00:14:51]file doc_00032411 [00:14:51]remove file /storage/0382/doc_00032411 [00:14:51]file doc_00032412 [00:14:51]remove file /storage/0382/doc_00032412 [00:14:51]file doc_00032413 [00:14:51]remove file /storage/0382/doc_00032413 [00:14:51]file doc_00032414 [00:14:51]remove file /storage/0382/doc_00032414 [00:14:51]file doc_00032415 [00:14:51]remove file /storage/0382/doc_00032415 [00:14:51]file doc_00032416 [00:14:51]remove file /storage/0382/doc_00032416 [00:14:51]file doc_00032417 [00:14:51]remove file /storage/0382/doc_00032417 [00:14:51]file doc_00032418 [00:14:51]remove file /storage/0382/doc_00032418 [00:14:51]file doc_00032419 [00:14:51]remove file /storage/0382/doc_00032419 [00:14:51]file doc_00032420 [00:14:51]remove file /storage/0382/doc_00032420 [00:14:51]file doc_00032421 [00:14:51]remove file /storage/0382/doc_00032421 [00:14:51]file doc_00032422 [00:14:51]remove file /storage/0382/doc_00032422 [00:14:51]file doc_00032423 [00:14:51]remove file /storage/0382/doc_00032423 [00:14:51]file doc_00032424 [00:14:51]remove file /storage/0382/doc_00032424 [00:14:51]file doc_00032425 [00:14:51]remove file /storage/0382/doc_00032425 [00:14:51]file doc_00032426 [00:14:51]remove file /storage/0382/doc_00032426 [00:14:51]file doc_00032427 [00:14:51]remove file /storage/0382/doc_00032427 [00:14:51]file doc_00032428 [00:14:51]remove file /storage/0382/doc_00032428 [00:14:51]file doc_00032429 [00:14:51]remove file /storage/0382/doc_00032429 [00:14:51]file doc_00032430 [00:14:51]remove file /storage/0382/doc_00032430 [00:14:51]file doc_00032431 [00:14:51]remove file /storage/0382/doc_00032431 [00:14:51]file doc_00032432 [00:14:51]remove file /storage/0382/doc_00032432 [00:14:51]file doc_00032433 [00:14:51]remove file /storage/0382/doc_00032433 [00:14:51]file doc_00032434 [00:14:51]remove file /storage/0382/doc_00032434 [00:14:51]file doc_00032435 [00:14:51]remove file /storage/0382/doc_00032435 [00:14:51]file doc_00032436 [00:14:51]remove file /storage/0382/doc_00032436 [00:14:51]file doc_00032437 [00:14:51]remove file /storage/0382/doc_00032437 [00:14:51]file doc_00032438 [00:14:51]remove file /storage/0382/doc_00032438 [00:14:51]file doc_00032439 [00:14:51]remove file /storage/0382/doc_00032439 [00:14:51]file doc_00032440 [00:14:51]remove file /storage/0382/doc_00032440 [00:14:51]file doc_00032441 [00:14:51]remove file /storage/0382/doc_00032441 [00:14:51]file doc_00032442 [00:14:51]remove file /storage/0382/doc_00032442 [00:14:51]file doc_00032443 [00:14:51]remove file /storage/0382/doc_00032443 [00:14:51]remove dir /storage/0382 [00:14:51]ProcessDocumentItem done err = 0, tmpTLVsize=245 [00:14:51]tlvbuf is 004D8100 [00:14:51]SAM_PROTO_ClearQueue [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 09 00 00 [00:14:51]Write to MH i2c: E2 08 00 D7 14 80 09 00 00 00 00 00 00 5D [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 D7 14 00 90 00 5F [00:14:52]RAPDU: 90 00 [00:14:52]wFMCommunicate OK [00:14:52]SAM_PROTO_ClearQueue done [00:14:52]KKMCreateOFDPacket [00:14:52]OFDProtocolAddRootSTLVToBuf [00:14:52]FM_MakeSignedData [00:14:52]FM_MakeSignedData [00:14:52]SAM_PROTO_SignData [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 0D 01 02 [00:14:52]Write to MH i2c: E2 08 00 D8 14 80 0D 01 02 00 00 00 00 65 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 D8 14 00 90 00 60 [00:14:52]RAPDU: 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=254 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 0D 02 02 F9 02 00 F5 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 FE D0 B3 67 0E 04 04 00 7F 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 07 EF E0 16 C2 7B [00:14:52]Write to MH i2c: E2 01 01 D9 14 80 0D 02 02 F9 00 02 00 F5 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 FE D0 B3 67 0E 04 04 00 7F 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 07 EF E0 16 C2 7B 00 00 28 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 03 00 D9 14 00 90 00 61 [00:14:52]RAPDU: 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 0D 03 02 [00:14:52]Write to MH i2c: E2 08 00 DA 14 80 0D 03 02 00 00 00 00 69 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 0B 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 0B 00 DA 14 00 E7 D1 03 F4 B3 DB 20 FB 90 00 C2 [00:14:52]RAPDU: E7 D1 03 F4 B3 DB 20 FB 90 00 [00:14:52]wFMCommunicate OK [00:14:52]SAM_PROTO_SignData done [00:14:52]FM_MakeSignedData done [00:14:52]CreateOFDProtocolMessage [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 11 00 00 [00:14:52]Write to MH i2c: E2 08 00 DB 14 80 11 00 00 00 00 00 00 69 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 17 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 17 00 DB 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BF [00:14:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [00:14:52]wFMCommunicate OK [00:14:52]CreateOFDProtocolMessage done [00:14:52]OFDSenderStorePacket 32444 [00:14:52]StoreOFDPacket docnum=32444 [00:14:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 09 01 00 00 91 63 01 01 FC 37 5A 02 01 00 02 00 F5 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 FE D0 B3 67 0E 04 04 00 7F 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 07 EF E0 16 C2 7B E7 D1 03 F4 B3 DB 20 FB [00:14:52]CheckFolder [00:14:52]dirname=/storage/ofd_packets [00:14:52]CheckFolder done [00:14:52]ProducePacketName [00:14:52]name=ofd_packets/00032444 [00:14:52]NVStorageSaveData ofd_packets/00032444 [00:14:52]File name is /storage/ofd_packets/00032444 [00:14:52]Write 295 bytes [00:14:52]NVStorageSaveData done [00:14:52]OFDSenderStorePacket done [00:14:52]KKMCreateOFDPacket done [00:14:52]NVStorageSaveData kkm_last_timestamp [00:14:52]File name is /storage/kkm_last_timestamp [00:14:52]Write 4 bytes [00:14:52]NVStorageSaveData done [00:14:52]ExternCall_PrintAddStr [00:14:52]wPrintStart [00:14:52]Write to MH i2c: 01 00 00 DC 14 F0 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: 01 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: 01 07 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: 01 07 00 DC 14 00 00 00 00 00 FF 0F 05 [00:14:52]RasterBufferAndPrint [00:14:52]line Отчет об открытии смены [00:14:52]line ФФД: 1.0 [00:14:52]line ИНН: 02508201610067 [00:14:52]line Кассир: Арзыбек уулу А. [00:14:52]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [00:14:52]line Место: АЗС № 96 "Партнер Нефть" [00:14:52]line 18.02.2025 00:14 [00:14:52]line Смена: 383 [00:14:52]line РНМ: 0000000000146237 [00:14:52]line ЗНМ: 0300000059 [00:14:52]line ФД: 32444 [00:14:52]line ФМ: 0000000000959282 [00:14:52]line ФПД: 8726838166139 [00:14:52]written 0, free lines is 4095 [00:14:52]OFD Sender: Processing packet 32444 [packets to send 104, broken 103] [00:14:52]ProducePacketName [00:14:52]name=ofd_packets/00032444 [00:14:52]OFD Sender: To server: pG, [00:14:52]CommunicateWithHost lk.salyk.kg:30040 [00:14:52]ConnectInit lk.salyk.kg [00:14:52]Write to MH i2c: 01 00 00 EE 14 02 [00:14:52]Connected sock=10 [00:14:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 09 01 00 00 91 63 01 01 FC 37 5A 02 01 00 02 00 F5 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 90 D1 80 D0 B7 D1 8B D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 90 2E F1 03 44 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 9A D0 BE D0 BA D1 83 D0 BC 2D D0 91 D0 B8 D0 B9 20 36 37 2F 33 20 2C 20 34 30 2E 35 31 36 33 33 30 2C 37 32 2E 37 33 31 37 37 31 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 39 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 FE D0 B3 67 0E 04 04 00 7F 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 35 04 06 00 07 EF E0 16 C2 7B E7 D1 03 F4 B3 DB 20 FB [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: 01 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: 01 07 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: 01 07 00 EE 14 00 00 00 00 00 5E 0E 75 [00:14:53]RasterBufferAndPrint [00:14:53]line [00:14:53]line [00:14:53]line [00:14:53]line [00:14:53]line [00:14:53]written 0, free lines is 3945 [00:14:53]MH_Cut [00:14:53]Write to MH i2c: D1 01 00 F5 14 01 DB [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: D1 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: D1 01 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: D1 01 00 F5 14 00 DA [00:14:53]Write to MH i2c: 01 00 00 F6 14 0A [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8E 4F 47 00 CF 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 35 39 32 38 32 10 04 04 00 BC 7E 00 00 F4 03 04 00 A0 7A B3 67 B6 04 01 00 00 44 C1 6C B5 45 3C 76 FB [00:14:53]CommunicateWithHost err = 0 [00:14:53]CheckOFDResponse [00:14:53]1017 (14) - 77093643461234 [00:14:53]1041 (16) - 0000000000959282 [00:14:53]1040 (4) - 32444 [00:14:53]1012 (4) - 17.02.2025 18:06 [00:14:53]1206 (1) - 0 [00:14:53]OFD Sender: Remove packet 32444 [00:14:53]ProducePacketName [00:14:53]name=ofd_packets/00032444 [00:14:53]NVStorageDeleteData [00:14:53]*** Cut start [00:14:53]*** Partial cut [00:14:53]*** CUTSNS_PIN = 1 [00:14:53]*** CUTSNS_PIN = 0 [00:14:53]*** Brake cut motor [00:14:53]OFD Sender: No OFD packet to send [00:14:53]Read from MH i2c: 01 [00:14:53]MH_I2C_Read... [00:14:53]*** Stop cut motor [00:14:53]*** Cut end [00:14:53]Read from MH i2c: 01 07 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: 01 07 00 F6 14 00 00 00 00 00 FF 0F 1F [00:14:53]process_action open_shift done [00:14:53]requested_data is exist [00:14:53]produce_requested_data [00:14:53]requested_item fd.num is exist - process it [00:14:53]SAM_PROTO_GetFieldsCounters [00:14:53]wFMCommunicate request_size=4 [00:14:53]MH_SAM_APDU [00:14:53]CAPDU: 80 13 00 00 [00:14:53]Write to MH i2c: E2 08 00 F7 14 80 13 00 00 00 00 00 00 87 [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 62 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 62 00 F7 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [00:14:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BC 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetFieldsCounters done [00:14:54]requested_item shift.num is exist - process it [00:14:54]requested_item shift.opened is exist - process it [00:14:54]req_shift_opened [00:14:54]FM_GetShiftState [00:14:54]SAM_PROTO_GetShiftState [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 01 00 [00:14:54]Write to MH i2c: E2 08 00 F8 14 80 13 01 00 00 00 00 00 89 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 F8 14 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 7D [00:14:54]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetShiftState done [00:14:54]FM_GetShiftState done [00:14:54]req_shift_opened done [00:14:54]requested_item shift.open_date is exist - process it [00:14:54]req_shift_open_date [00:14:54]req_shift_open_date done [00:14:54]produce_requested_data done [00:14:54]produce_requested_data return {"fd.num":32444,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694} [00:14:54]process_action_free open_shift [00:14:54]json_value_free [00:14:54]json_value_free done [00:14:54]process_json_proto returns [00:14:54]Send response to host [00:14:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32444,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694}}} [00:14:54]free response buf [00:14:54]execute_script done [00:14:54]execute_script returns [00:14:54]free content buf [00:14:54]Sock 9.Close socket [00:14:54]Sock 9.Thread stoped [00:14:54]accept exits with 7 [00:14:54]New connection [00:14:54]New thread 3067555172 created [00:14:54]Thread 3067411812 joined [00:14:54]Waiting for new connection... [00:14:54] Sock 7.Parse request [00:14:54]Sock 7.Check first char [00:14:54]Sock 7.First char is OK [00:14:54]request: POST /json_proto HTTP/1.0 [00:14:54]Method: POST [00:14:54]URL: /json_proto [00:14:54]Method is POST - this is cgi request [00:14:54]url: /json_proto [00:14:54]query_string will be loaded in cgi processing [00:14:54]execute_cgi json_proto POST (null) [00:14:54]execute_cgi path=json_proto method=POST [00:14:54]POST find Content-Length [00:14:54]Host: 172.17.47.135:8080 [00:14:54]Content-Length: 331 [00:14:54]Content-Type: application/json [00:14:54] [00:14:54]POST finish read [00:14:54]Found Content-Length = 331 [00:14:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:54]execute_script... [00:14:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:54]POST & json_proto [00:14:54]process_json_proto [00:14:54]json parsed OK: [00:14:54]protocol is kg_v1.0 [00:14:54]action value=get_value [00:14:54]process_action get_value [00:14:54]cmd_get_value [00:14:54]process_action get_value done [00:14:54]requested_data is exist [00:14:54]produce_requested_data [00:14:54]requested_item fm.sale.total is exist - process it [00:14:54]SAM_PROTO_GetFMData [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 03 00 [00:14:54]Write to MH i2c: E2 08 00 F9 14 80 13 03 00 00 00 00 00 8C [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 F9 14 00 C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 C3 [00:14:54]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 BD 7B 00 00 69 04 A0 00 6F 04 04 00 35 7A 00 00 B1 04 04 00 27 73 AD 57 70 04 04 00 B1 FC EC 27 72 04 04 00 76 76 C0 2F 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 2E CE 4F 09 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 AA 9C C6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 88 01 00 00 B1 04 04 00 54 57 2A 02 70 04 04 00 A8 9F 0B 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4C E0 3A EF 03 09 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 17 00 00 [00:14:54]Write to MH i2c: E2 08 00 FA 14 80 17 00 00 00 00 00 00 8E [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 FA 14 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 09 [00:14:55]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 DA E7 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=4 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 17 00 00 [00:14:55]Write to MH i2c: E2 08 00 FB 14 80 17 00 00 00 00 00 00 8F [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 FB 14 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 A4 [00:14:55]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=4 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 17 00 00 [00:14:55]Write to MH i2c: E2 08 00 FC 14 80 17 00 00 00 00 00 00 90 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 FC 14 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 08 [00:14:56]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 17 00 00 [00:14:56]Write to MH i2c: E2 08 00 FD 14 80 17 00 00 00 00 00 00 91 [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 E1 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 E1 00 FD 14 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [00:14:56]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:56]wFMCommunicate OK [00:14:56]SAM_PROTO_GetFMData done [00:14:56]requested_item fm.sale_refund.total is exist - process it [00:14:56]requested_item fm.buy.total is exist - process it [00:14:56]requested_item shift.sale.total is exist - process it [00:14:56]SAM_PROTO_GetShiftData [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 13 02 00 [00:14:56]Write to MH i2c: E2 08 00 FE 14 80 13 02 00 00 00 00 00 90 [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 FE 14 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 03 [00:14:57]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:14:57]wFMCommunicate OK [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 17 00 00 [00:14:57]Write to MH i2c: E2 08 00 FF 14 80 17 00 00 00 00 00 00 93 [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 FF 14 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 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 9B [00:14: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 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:14:57]wFMCommunicate OK [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 17 00 00 [00:14:57]Write to MH i2c: E2 08 00 00 15 80 17 00 00 00 00 00 00 95 [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 [00:14:57]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 00 15 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 67 [00:14:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 01 15 80 17 00 00 00 00 00 00 96 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 01 15 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 08 [00:14:58]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 02 15 80 17 00 00 00 00 00 00 97 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 BD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 BD 00 02 15 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 7D [00:14:58]RAPDU: 00 00 EF OFD Sender: No OFD packet to send [00:14:58]03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:59]wFMCommunicate OK [00:14:59]SAM_PROTO_GetShiftData done [00:14:59]requested_item shift.sale.total_cash is exist - process it [00:14:59]requested_item shift.sale_refund.total is exist - process it [00:14:59]requested_item shift.sale_refund.total_cash is exist - process it [00:14:59]requested_item shift.buy.total is exist - process it [00:14:59]requested_item shift.buy.total_cash is exist - process it [00:14:59]produce_requested_data done [00:14:59]produce_requested_data return {"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.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:14:59]process_action_free get_value [00:14:59]json_value_free [00:14:59]json_value_free done [00:14:59]process_json_proto returns [00:14:59]Send response to host [00:14:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14709849.99,"fm.sale_refund.total":363293.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:14:59]free response buf [00:14:59]execute_script done [00:14:59]execute_script returns [00:14:59]free content buf [00:14:59]Sock 7.Close socket [00:14:59]Sock 7.Thread stoped [00:15:03]OFD Sender: No OFD packet to send [00:15:08]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:14]OFD Sender: No OFD packet to send [00:18:19]OFD Sender: No OFD packet to send [00:18:24]OFD Sender: No OFD packet to send [00:18:29]OFD Sender: No OFD packet to send [00:18:34]OFD Sender: No OFD packet to send [00:18:39]OFD Sender: No OFD packet to send [00:18:44]OFD Sender: No OFD packet to send [00:18:49]OFD Sender: No OFD packet to send [00:18:54]OFD Sender: No OFD packet to send [00:18:59]OFD Sender: No OFD packet to send [00:19:04]OFD Sender: No OFD packet to send [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:10]OFD Sender: No OFD packet to send [00:40:15]OFD Sender: No OFD packet to send [00:40:20]OFD Sender: No OFD packet to send [00:40:25]OFD Sender: No OFD packet to send [00:40:30]OFD Sender: No OFD packet to send [00:40:35]OFD Sender: No OFD packet to send [00:40:40]OFD Sender: No OFD packet to send [00:40:45]OFD Sender: No OFD packet to send [00:40:50]OFD Sender: No OFD packet to send [00:40:55]OFD Sender: No OFD packet to send [00:41:00]OFD Sender: No OFD packet to send [00:41:05]OFD Sender: No OFD packet to send [00:41:10]OFD Sender: No OFD packet to send [00:41:15]OFD Sender: No OFD packet to send [00:41:20]OFD Sender: No OFD packet to send [00:41:25]OFD Sender: No OFD packet to send [00:41:30]OFD Sender: No OFD packet to send [00:41:35]OFD Sender: No OFD packet to send [00:41:40]OFD Sender: No OFD packet to send [00:41:45]OFD Sender: No OFD packet to send [00:41:50]OFD Sender: No OFD packet to send [00:41:55]OFD Sender: No OFD packet to send [00:42:00]OFD Sender: No OFD packet to send [00:42:05]OFD Sender: No OFD packet to send [00:42:10]OFD Sender: No OFD packet to send [00:42:15]OFD Sender: No OFD packet to send [00:42:20]OFD Sender: No OFD packet to send [00:42:25]OFD Sender: No OFD packet to send [00:42:30]OFD Sender: No OFD packet to send [00:42:35]OFD Sender: No OFD packet to send [00:42:40]OFD Sender: No OFD packet to send [00:42:45]OFD Sender: No OFD packet to send [00:42:50]OFD Sender: No OFD packet to send [00:42:55]OFD Sender: No OFD packet to send [00:43:00]OFD Sender: No OFD packet to send [00:43:05]OFD Sender: No OFD packet to send [00:43:10]OFD Sender: No OFD packet to send [00:43:15]OFD Sender: No OFD packet to send [00:43:20]OFD Sender: No OFD packet to send [00:43:25]OFD Sender: No OFD packet to send [00:43:30]OFD Sender: No OFD packet to send [00:43:35]OFD Sender: No OFD packet to send [00:43:40]OFD Sender: No OFD packet to send [00:43:45]OFD Sender: No OFD packet to send [00:43:50]OFD Sender: No OFD packet to send [00:43:55]OFD Sender: No OFD packet to send [00:44:00]OFD Sender: No OFD packet to send [00:44:05]OFD Sender: No OFD packet to send [00:44:10]OFD Sender: No OFD packet to send [00:44:15]OFD Sender: No OFD packet to send [00:44:20]OFD Sender: No OFD packet to send [00:44:25]OFD Sender: No OFD packet to send [00:44:30]OFD Sender: No OFD packet to send [00:44:35]OFD Sender: No OFD packet to send [00:44:40]OFD Sender: No OFD packet to send [00:44:45]OFD Sender: No OFD packet to send [00:44:50]OFD Sender: No OFD packet to send [00:44:55]OFD Sender: No OFD packet to send [00:45:00]OFD Sender: No OFD packet to send [00:45:05]OFD Sender: No OFD packet to send [00:45:10]OFD Sender: No OFD packet to send [00:45:15]OFD Sender: No OFD packet to send [00:45:20]OFD Sender: No OFD packet to send [00:45:25]OFD Sender: No OFD packet to send [00:45:30]OFD Sender: No OFD packet to send [00:45:35]OFD Sender: No OFD packet to send [00:45:40]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:23]accept exits with 9 [00:48:23]New connection [00:48:23]New thread 3067411812 created [00:48:23]Thread 3067555172 joined [00:48:23]Waiting for new connection... [00:48:23] Sock 9.Parse request [00:48:23]Sock 9.Check first char [00:48:23]Sock 9.First char is OK [00:48:23]request: POST /json_proto HTTP/1.0 [00:48:23]Method: POST [00:48:23]URL: /json_proto [00:48:23]Method is POST - this is cgi request [00:48:23]url: /json_proto [00:48:23]query_string will be loaded in cgi processing [00:48:23]execute_cgi json_proto POST (null) [00:48:23]execute_cgi path=json_proto method=POST [00:48:23]POST find Content-Length [00:48:23]Host: 172.17.47.135:8080 [00:48:23]Content-Length: 668 [00:48:23]Content-Type: application/json [00:48:23] [00:48:23]POST finish read [00:48:23]Found Content-Length = 668 [00:48:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130684", "tax_sys" : 0, "items" : [ { "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 24.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:48:23]execute_script... [00:48: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)130684", "tax_sys" : 0, "items" : [ { "code": "4607010740191", "name": "\u0421\u0443\u0445 \u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 \u0441\u0430\u043B\u044F\u043C\u0438 40\u0433", "price" : 24.00, "quantity" : 1.000, "sum" : 24.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 24.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:48:23]POST & json_proto [00:48:23]process_json_proto [00:48:23]json parsed OK: [00:48:23]protocol is kg_v1.0 [00:48:23]action value=close_receipt [00:48:23]process_action close_receipt [00:48:23]cmd_close_receipt [00:48:23]MH_GetDate [00:48:23]Write to MH i2c: F0 00 00 03 15 07 [00:48:23]Write i2c OK [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: F0 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: F0 09 00 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: F0 09 00 03 15 00 DB D8 B3 67 19 D8 DE 66 12 [00:48:23]GetLastDocTimeStamp 1739837694 [00:48:23]current date 1739839707 [00:48:23]FM_GetShiftState [00:48:23]SAM_PROTO_GetShiftState [00:48:23]wFMCommunicate request_size=4 [00:48:23]MH_SAM_APDU [00:48:23]CAPDU: 80 13 01 00 [00:48:23]Write to MH i2c: E2 08 00 04 15 80 13 01 00 00 00 00 00 96 [00:48:23]Write i2c OK [00:48:23]MH_I2C_Read... [00:48:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:23]Read from MH i2c: E2 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: E2 0E 00 [00:48:23]MH_I2C_Read... [00:48:23]Read from MH i2c: E2 0E 00 04 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 8A [00:48:23]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [00:48:23]wFMCommunicate OK [00:48:23]SAM_PROTO_GetShiftState done [00:48:23]FM_GetShiftState done [00:48:23]opened in 1739837694 [00:48:23]opened+sec_in_day 1739924094 [00:48:23]quantity*price = 2400 [00:48:23]sum+1 = 2401 [00:48:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 24.00 НСП 1% : 0.21 НДС 12% : 2.55 Наличными: 24.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 1 18.02.2025 00:48 Смена: 383 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32445 ФПД: 90620384763787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T004827&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32445&fm=90620384763787&tin=02508201610067®Number=0000000000146237&sum=2400 0 [00:48:24]StoreToDocumentArchive [00:48:24]shift 383 fd 32445 [00:48:24]save to /storage/0383/doc_00032445 [00:48:24]save last doc name /storage/0383/doc_00032445 to /storage/kkm_last_doc_name [00:48:24]save OK [00:48:24]Clear old archive folders... [00:48:24]ProcessDocumentItem done err = 0, tmpTLVsize=283 [00:48:24]tlvbuf is 004C3DB0 [00:48:24]SAM_PROTO_ClearQueue [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 09 00 00 [00:48:24]Write to MH i2c: E2 08 00 11 15 80 09 00 00 00 00 00 00 98 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:48:24]Read from MH i2c: E2 03 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 11 15 00 90 00 9A [00:48:24]RAPDU: 90 00 [00:48:24]wFMCommunicate OK [00:48:24]SAM_PROTO_ClearQueue done [00:48:24]KKMCreateOFDPacket [00:48:24]OFDProtocolAddRootSTLVToBuf [00:48:24]FM_MakeSignedData [00:48:24]FM_MakeSignedData [00:48:24]SAM_PROTO_SignData [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 0D 01 02 [00:48:24]Write to MH i2c: E2 08 00 12 15 80 0D 01 02 00 00 00 00 A0 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:48:24]Read from MH i2c: E2 03 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 12 15 00 90 00 9B [00:48:24]RAPDU: 90 00 [00:48:24]wFMCommunicate OK [00:48:24]wFMCommunicate request_size=255 [00:48:24]MH_SAM_APDU [00:48:24]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 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 00 00 00 00 00 07 04 06 00 60 09 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DB D8 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 [00:48:24]Write to MH i2c: E2 02 01 13 15 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 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 00 00 00 00 00 07 04 06 00 60 09 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DB D8 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 00 00 87 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 13 15 00 90 00 9C [00:48:24]RAPDU: 90 00 [00:48:24]wFMCommunicate OK [00:48:24]wFMCommunicate request_size=42 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BD 7E 00 00 35 04 06 00 52 6B 33 D7 DF 8B [00:48:24]Write to MH i2c: E2 2D 00 14 15 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BD 7E 00 00 35 04 06 00 52 6B 33 D7 DF 8B 00 00 E7 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 03 00 14 15 00 90 00 9D [00:48:24]RAPDU: 90 00 [00:48:24]wFMCommunicate OK [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 0D 03 02 [00:48:24]Write to MH i2c: E2 08 00 15 15 80 0D 03 02 00 00 00 00 A5 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 0B 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 0B 00 15 15 00 0A C0 E1 15 94 EE 72 44 90 00 9E [00:48:24]RAPDU: 0A C0 E1 15 94 EE 72 44 90 00 [00:48:24]wFMCommunicate OK [00:48:24]SAM_PROTO_SignData done [00:48:24]FM_MakeSignedData done [00:48:24]CreateOFDProtocolMessage [00:48:24]wFMCommunicate request_size=4 [00:48:24]MH_SAM_APDU [00:48:24]CAPDU: 80 11 00 00 [00:48:24]Write to MH i2c: E2 08 00 16 15 80 11 00 00 00 00 00 00 A5 [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:24]Read from MH i2c: E2 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 17 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: E2 17 00 16 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FB [00:48:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [00:48:24]wFMCommunicate OK [00:48:24]CreateOFDProtocolMessage done [00:48:24]OFDSenderStorePacket 32445 [00:48:24]StoreOFDPacket docnum=32445 [00:48:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2F 01 00 00 28 C3 27 01 5C E8 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 00 00 00 00 00 07 04 06 00 60 09 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DB D8 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BD 7E 00 00 35 04 06 00 52 6B 33 D7 DF 8B 0A C0 E1 15 94 EE 72 44 [00:48:24]CheckFolder [00:48:24]dirname=/storage/ofd_packets [00:48:24]CheckFolder done [00:48:24]ProducePacketName [00:48:24]name=ofd_packets/00032445 [00:48:24]NVStorageSaveData ofd_packets/00032445 [00:48:24]File name is /storage/ofd_packets/00032445 [00:48:24]Write 333 bytes [00:48:24]NVStorageSaveData done [00:48:24]OFDSenderStorePacket done [00:48:24]KKMCreateOFDPacket done [00:48:24]NVStorageSaveData kkm_last_timestamp [00:48:24]File name is /storage/kkm_last_timestamp [00:48:24]Write 4 bytes [00:48:24]NVStorageSaveData done [00:48:24]ExternCall_PrintAddStr [00:48:24]wPrintStart [00:48:24]Write to MH i2c: 01 00 00 17 15 2C [00:48:24]Write i2c OK [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: 01 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: 01 07 00 [00:48:24]MH_I2C_Read... [00:48:24]Read from MH i2c: 01 07 00 17 15 00 00 00 00 00 FF 0F 41 [00:48:24]RasterBufferAndPrint [00:48:24]line Счет N : (3)130684 [00:48:24]line ИНН: 02508201610067 [00:48:24]line Контрольно-Кассовый Чек [00:48:24]line ПРОДАЖА [00:48:24]line Товар: 4607010740191 [00:48:24]line Сух Кириешки салями 40г [00:48:24]line 1.000 * 24.00 [00:48:24]line = 24.00 [00:48:24]line НДС 12% НСП 1% [00:48:24]line > о реализуемом товаре [00:48:24]line ИТОГО: 24.00 [00:48:24]line НСП 1% : 0.21 [00:48:24]line НДС 12% : 2.55 [00:48:24]line Наличными: 24.00 [00:48:24]line Безнал.: 0.00 [00:48:24]line Место: АЗС № 96 "Партнер Нефть" [00:48:24]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [00:48:24]line СНО: Общий режим [00:48:24]line Чек 1 18.02.2025 00:48 [00:48:24]line Смена: 383 ФФД: 1.0 [00:48:24]line ЗНМ: 0300000059 [00:48:24]line РНМ: 0000000000146237 [00:48:24]line Версия ККМ: v1.0 [00:48:24]line ФМ: 0000000000959282 [00:48:24]line ФД: 32445 [00:48:24]line ФПД: 90620384763787 [00:48:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T004827&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32445&fm=90620384763787&tin=02508201610067®Number=0000000000146237&sum=2400 [00:48:25]line 0 [00:48:25]OFD Sender: Processing packet 32445 [packets to send 104, broken 103] [00:48:25]ProducePacketName [00:48:25]name=ofd_packets/00032445 [00:48:25]OFD Sender: To server: pG, [00:48:25]CommunicateWithHost lk.salyk.kg:30040 [00:48:25]ConnectInit lk.salyk.kg [00:48:25]written 0, free lines is 4095 [00:48:25]Write to MH i2c: 01 00 00 3F 15 54 [00:48:25]Write i2c OK [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: 01 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: 01 07 00 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: 01 07 00 3F 15 00 00 00 00 00 01 0D 69 [00:48:25]RasterBufferAndPrint [00:48:25]line [00:48:25]line [00:48:25]line [00:48:25]line [00:48:25]line [00:48:25]written 0, free lines is 3335 [00:48:25]MH_Cut [00:48:25]Write to MH i2c: D1 01 00 46 15 01 2D [00:48:25]Write i2c OK [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: D1 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: D1 01 00 [00:48:25]MH_I2C_Read... [00:48:25]Read from MH i2c: D1 01 00 46 15 00 2C [00:48:25]Write to MH i2c: 01 00 00 47 15 5C [00:48:25]Write i2c OK [00:48:25]MH_I2C_Read... [00:48:26]*** Cut start [00:48:26]*** Partial cut [00:48:26]*** CUTSNS_PIN = 1 [00:48:26]*** CUTSNS_PIN = 0 [00:48:26]*** Brake cut motor [00:48:26]Read from MH i2c: 01 [00:48:26]MH_I2C_Read... [00:48:26]*** Stop cut motor [00:48:26]*** Cut end [00:48:26]Read from MH i2c: 01 07 00 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: 01 07 00 47 15 00 00 00 00 00 FF 0F 71 [00:48:26]process_action close_receipt done [00:48:26]requested_data is exist [00:48:26]produce_requested_data [00:48:26]requested_item fm.sn is exist - process it [00:48:26]wFMCommunicate request_size=4 [00:48:26]MH_SAM_APDU [00:48:26]CAPDU: 80 11 00 00 [00:48:26]Write to MH i2c: E2 08 00 48 15 80 11 00 00 00 00 00 00 D7 [00:48:26]Write i2c OK [00:48:26]MH_I2C_Read... [00:48:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:26]Read from MH i2c: E2 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 17 00 [00:48:26]MH_I2C_Read... [00:48:26]Read from MH i2c: E2 17 00 48 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2D [00:48:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [00:48:26]wFMCommunicate OK [00:48:26]requested_item fd.num is exist - process it [00:48:26]SAM_PROTO_GetFieldsCounters [00:48:26]wFMCommunicate request_size=4 [00:48:26]MH_SAM_APDU [00:48:26]CAPDU: 80 13 00 00 [00:48:26]Write to MH i2c: E2 08 00 49 15 80 13 00 00 00 00 00 00 DA [00:48:26]Write i2c OK [00:48:26]MH_I2C_Read... [00:48:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:48:27]Read from MH i2c: E2 [00:48:27]MH_I2C_Read... [00:48:27]Read from MH i2c: E2 62 00 [00:48:27]MH_I2C_Read... [00:48:27]Read from MH i2c: E2 62 00 49 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BD 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [00:48:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BD 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:48:27]wFMCommunicate OK [00:48:27]SAM_PROTO_GetFieldsCounters done [00:48:27]requested_item shift.num is exist - process it [00:48:27]requested_item shift.opened is exist - process it [00:48:27]req_shift_opened [00:48:27]FM_GetShiftState [00:48:27]SAM_PROTO_GetShiftState [00:48:27]wFMCommunicate request_size=4 [00:48:27]MH_SAM_APDU [00:48:27]CAPDU: 80 13 01 00 [00:48:27]Write to MH i2c: E2 08 00 4A 15 80 13 01 00 00 00 00 00 DC [00:48:27]Write i2c OK [00:48:27]MH_I2C_Read... [00:48:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:27]Read from MH i2c: E2 [00:48:27]MH_I2C_Read... [00:48:27]Read from MH i2c: E2 0E 00 [00:48:27]MH_I2C_Read... [00:48:27]Read from MH i2c: E2 0E 00 4A 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 D0 [00:48:27]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [00:48:27]wFMCommunicate OK [00:48:27]SAM_PROTO_GetShiftState done [00:48:27]FM_GetShiftState done [00:48:27]req_shift_opened done [00:48:27]requested_item shift.open_date is exist - process it [00:48:27]req_shift_open_date [00:48:27]req_shift_open_date done [00:48:27]produce_requested_data done [00:48:27]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32445,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694} [00:48:27]process_action_free close_receipt [00:48:27]json_value_free [00:48:27]json_value_free done [00:48:27]process_json_proto returns [00:48:27]Send response to host [00:48:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32445,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694}}} [00:48:27]free response buf [00:48:27]execute_script done [00:48:27]execute_script returns [00:48:27]free content buf [00:48:27]Sock 9.Close socket [00:48:27]Sock 9.Thread stoped [00:50:39]ConnectInit Can't connect to host [00:50:39]CommunicateWithHost connect error [00:50:39]CommunicateWithHost err = -1 [00:50:39]OFD Sender: Server communicate error [00:50:44]OFD Sender: Processing packet 32445 [packets to send 104, broken 103] [00:50:44]ProducePacketName [00:50:44]name=ofd_packets/00032445 [00:50:44]OFD Sender: To server: pG, [00:50:44]CommunicateWithHost lk.salyk.kg:30040 [00:50:44]ConnectInit lk.salyk.kg [00:50:44]Connected sock=9 [00:50:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2F 01 00 00 28 C3 27 01 5C E8 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 31 39 31 06 04 29 00 D0 A1 D1 83 D1 85 20 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 D1 81 D0 B0 D0 BB D1 8F D0 BC D0 B8 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 09 00 00 00 00 13 04 06 00 60 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FF 00 00 00 00 00 07 04 06 00 60 09 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DB D8 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BD 7E 00 00 35 04 06 00 52 6B 33 D7 DF 8B 0A C0 E1 15 94 EE 72 44 [00:50:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 12 2A 47 00 21 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BD 7E 00 00 F4 03 04 00 08 83 B3 67 B6 04 01 00 00 38 35 76 81 A7 58 2A EC [00:50:44]CommunicateWithHost err = 0 [00:50:44]CheckOFDResponse [00:50:44]1017 (14) - 77093643461234 [00:50:44]1041 (16) - 0000000000959282 [00:50:44]1040 (4) - 32445 [00:50:44]1012 (4) - 17.02.2025 18:42 [00:50:44]1206 (1) - 0 [00:50:44]OFD Sender: Remove packet 32445 [00:50:44]ProducePacketName [00:50:44]name=ofd_packets/00032445 [00:50:44]NVStorageDeleteData [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]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:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:23]accept exits with 7 [01:04:23]New connection [01:04:23]New thread 3067555172 created [01:04:23]Thread 3067411812 joined [01:04:23]Waiting for new connection... [01:04:23] Sock 7.Parse request [01:04:23]Sock 7.Check first char [01:04:23]Sock 7.First char is OK [01:04:23]request: POST /json_proto HTTP/1.0 [01:04:23]Method: POST [01:04:23]URL: /json_proto [01:04:23]Method is POST - this is cgi request [01:04:23]url: /json_proto [01:04:23]query_string will be loaded in cgi processing [01:04:23]execute_cgi json_proto POST (null) [01:04:23]execute_cgi path=json_proto method=POST [01:04:23]POST find Content-Length [01:04:23]Host: 172.17.47.135:8080 [01:04:23]Content-Length: 620 [01:04:23]Content-Type: application/json [01:04:23] [01:04:23]POST finish read [01:04:23]Found Content-Length = 620 [01:04:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130685", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 146.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:04:23]execute_script... [01:04: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)130685", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 146.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:04:23]POST & json_proto [01:04:23]process_json_proto [01:04:23]json parsed OK: [01:04:23]protocol is kg_v1.0 [01:04:23]action value=close_receipt [01:04:23]process_action close_receipt [01:04:23]cmd_close_receipt [01:04:23]MH_GetDate [01:04:23]Write to MH i2c: F0 00 00 4B 15 4F [01:04:23]Write i2c OK [01:04:23]MH_I2C_Read... [01:04:23]Read from MH i2c: F0 [01:04:23]MH_I2C_Read... [01:04:23]Read from MH i2c: F0 09 00 [01:04:23]MH_I2C_Read... [01:04:23]Read from MH i2c: F0 09 00 4B 15 00 9B DC B3 67 19 D8 DE 66 1E [01:04:23]GetLastDocTimeStamp 1739839707 [01:04:23]current date 1739840667 [01:04:23]FM_GetShiftState [01:04:23]SAM_PROTO_GetShiftState [01:04:23]wFMCommunicate request_size=4 [01:04:23]MH_SAM_APDU [01:04:23]CAPDU: 80 13 01 00 [01:04:23]Write to MH i2c: E2 08 00 4C 15 80 13 01 00 00 00 00 00 DE [01:04:23]Write i2c OK [01:04:23]MH_I2C_Read... [01:04:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:04:23]Read from MH i2c: E2 [01:04:23]MH_I2C_Read... [01:04:23]Read from MH i2c: E2 0E 00 [01:04:23]MH_I2C_Read... [01:04:23]Read from MH i2c: E2 0E 00 4C 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 D2 [01:04:23]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [01:04:23]wFMCommunicate OK [01:04:23]SAM_PROTO_GetShiftState done [01:04:23]FM_GetShiftState done [01:04:23]opened in 1739837694 [01:04:23]opened+sec_in_day 1739924094 [01:04:23]quantity*price = 14600 [01:04:23]sum+1 = 14601 [01:04:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 146.00 НСП 1% : 1.29 НДС 12% : 15.50 Наличными: 146.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 2 18.02.2025 01:04 Смена: 383 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32446 ФПД: 87325793933100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T010427&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32446&fm=87325793933100&tin=02508201610067®Number=0000000000146237&sum=14600 0 [01:04:24]StoreToDocumentArchive [01:04:24]shift 383 fd 32446 [01:04:24]save to /storage/0383/doc_00032446 [01:04:24]save last doc name /storage/0383/doc_00032446 to /storage/kkm_last_doc_name [01:04:24]save OK [01:04:24]Clear old archive folders... [01:04:24]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:04:24]tlvbuf is 004C3B40 [01:04:24]SAM_PROTO_ClearQueue [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 09 00 00 [01:04:24]Write to MH i2c: E2 08 00 59 15 80 09 00 00 00 00 00 00 E0 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:04:24]Read from MH i2c: E2 03 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 59 15 00 90 00 E2 [01:04:24]RAPDU: 90 00 [01:04:24]wFMCommunicate OK [01:04:24]SAM_PROTO_ClearQueue done [01:04:24]KKMCreateOFDPacket [01:04:24]OFDProtocolAddRootSTLVToBuf [01:04:24]FM_MakeSignedData [01:04:24]FM_MakeSignedData [01:04:24]SAM_PROTO_SignData [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 0D 01 02 [01:04:24]Write to MH i2c: E2 08 00 5A 15 80 0D 01 02 00 00 00 00 E8 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 5A 15 00 90 00 E3 [01:04:24]RAPDU: 90 00 [01:04:24]wFMCommunicate OK [01:04:24]wFMCommunicate request_size=255 [01:04:24]MH_SAM_APDU [01:04:24]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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 08 39 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 9B DC B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 [01:04:24]Write to MH i2c: E2 02 01 5B 15 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 08 39 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 9B DC B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 00 00 77 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 5B 15 00 90 00 E4 [01:04:24]RAPDU: 90 00 [01:04:24]wFMCommunicate OK [01:04:24]wFMCommunicate request_size=31 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 32 38 32 10 04 04 00 BE 7E 00 00 35 04 06 00 4F 6C 1E ED 57 2C [01:04:24]Write to MH i2c: E2 22 00 5C 15 80 0D 02 02 1A 00 30 30 39 35 39 32 38 32 10 04 04 00 BE 7E 00 00 35 04 06 00 4F 6C 1E ED 57 2C 00 00 9E [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 03 00 5C 15 00 90 00 E5 [01:04:24]RAPDU: 90 00 [01:04:24]wFMCommunicate OK [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 0D 03 02 [01:04:24]Write to MH i2c: E2 08 00 5D 15 80 0D 03 02 00 00 00 00 ED [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 0B 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 0B 00 5D 15 00 06 53 7D 20 A3 32 A3 6C 90 00 C8 [01:04:24]RAPDU: 06 53 7D 20 A3 32 A3 6C 90 00 [01:04:24]wFMCommunicate OK [01:04:24]SAM_PROTO_SignData done [01:04:24]FM_MakeSignedData done [01:04:24]CreateOFDProtocolMessage [01:04:24]wFMCommunicate request_size=4 [01:04:24]MH_SAM_APDU [01:04:24]CAPDU: 80 11 00 00 [01:04:24]Write to MH i2c: E2 08 00 5E 15 80 11 00 00 00 00 00 00 ED [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:04:24]Read from MH i2c: E2 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 17 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: E2 17 00 5E 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 43 [01:04:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [01:04:24]wFMCommunicate OK [01:04:24]CreateOFDProtocolMessage done [01:04:24]OFDSenderStorePacket 32446 [01:04:24]StoreOFDPacket docnum=32446 [01:04:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 E3 50 1C 01 7B BE 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 08 39 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 9B DC B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BE 7E 00 00 35 04 06 00 4F 6C 1E ED 57 2C 06 53 7D 20 A3 32 A3 6C [01:04:24]CheckFolder [01:04:24]dirname=/storage/ofd_packets [01:04:24]CheckFolder done [01:04:24]ProducePacketName [01:04:24]name=ofd_packets/00032446 [01:04:24]NVStorageSaveData ofd_packets/00032446 [01:04:24]File name is /storage/ofd_packets/00032446 [01:04:24]Write 322 bytes [01:04:24]NVStorageSaveData done [01:04:24]OFDSenderStorePacket done [01:04:24]KKMCreateOFDPacket done [01:04:24]NVStorageSaveData kkm_last_timestamp [01:04:24]File name is /storage/kkm_last_timestamp [01:04:24]Write 4 bytes [01:04:24]NVStorageSaveData done [01:04:24]OFD Sender: Processing packet 32446 [packets to send 104, broken 103] [01:04:24]ProducePacketName [01:04:24]name=ofd_packets/00032446 [01:04:24]OFD Sender: To server: pG, [01:04:24]CommunicateWithHost lk.salyk.kg:30040 [01:04:24]ConnectInit lk.salyk.kg [01:04:24]ExternCall_PrintAddStr [01:04:24]wPrintStart [01:04:24]Write to MH i2c: 01 00 00 5F 15 74 [01:04:24]Write i2c OK [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: 01 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: 01 07 00 [01:04:24]MH_I2C_Read... [01:04:24]Read from MH i2c: 01 07 00 5F 15 00 00 00 00 00 FF 0F 89 [01:04:24]RasterBufferAndPrint [01:04:24]line Счет N : (3)130685 [01:04:24]line ИНН: 02508201610067 [01:04:24]line Контрольно-Кассовый Чек [01:04:24]line ПРОДАЖА [01:04:24]line Товар: 48745000 [01:04:24]line Сигареты Winston Purple Mix [01:04:24]line 1.000 * 146.00 [01:04:24]line = 146.00 [01:04:24]line НДС 12% НСП 1% [01:04:24]line > о реализуемом товаре [01:04:24]line ИТОГО: 146.00 [01:04:24]line НСП 1% : 1.29 [01:04:24]line НДС 12% : 15.50 [01:04:24]line Наличными: 146.00 [01:04:24]line Безнал.: 0.00 [01:04:24]line Место: АЗС № 96 "Партнер Нефть" [01:04:24]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [01:04:24]line СНО: Общий режим [01:04:24]line Чек 2 18.02.2025 01:04 [01:04:24]line Смена: 383 ФФД: 1.0 [01:04:24]line ЗНМ: 0300000059 [01:04:24]line РНМ: 0000000000146237 [01:04:24]line Версия ККМ: v1.0 [01:04:25]line ФМ: 0000000000959282 [01:04:25]line ФД: 32446 [01:04:25]line ФПД: 87325793933100 [01:04:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T010427&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32446&fm=87325793933100&tin=02508201610067®Number=0000000000146237&sum=14600 [01:04:25]line 0 [01:04:25]Connected sock=11 [01:04:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 E3 50 1C 01 7B BE 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 08 39 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 9B DC B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BE 7E 00 00 35 04 06 00 4F 6C 1E ED 57 2C 06 53 7D 20 A3 32 A3 6C [01:04:25]written 0, free lines is 4095 [01:04:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 FB 2E 47 00 A4 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BE 7E 00 00 F4 03 04 00 3D 86 B3 67 B6 04 01 00 00 58 60 27 B5 BC 10 08 00 [01:04:25]CommunicateWithHost err = 0 [01:04:25]CheckOFDResponse [01:04:25]1017 (14) - 77093643461234 [01:04:25]1041 (16) - 0000000000959282 [01:04:25]1040 (4) - 32446 [01:04:25]1012 (4) - 17.02.2025 18:55 [01:04:25]1206 (1) - 0 [01:04:25]OFD Sender: Remove packet 32446 [01:04:25]ProducePacketName [01:04:25]name=ofd_packets/00032446 [01:04:25]NVStorageDeleteData [01:04:25]Write to MH i2c: 01 00 00 87 15 9C [01:04:25]Write i2c OK [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: 01 [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: 01 07 00 [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: 01 07 00 87 15 00 00 00 00 00 FD 0C AC [01:04:25]RasterBufferAndPrint [01:04:25]line [01:04:25]line [01:04:25]line [01:04:25]line [01:04:25]line [01:04:25]written 0, free lines is 3331 [01:04:25]MH_Cut [01:04:25]Write to MH i2c: D1 01 00 8E 15 01 75 [01:04:25]Write i2c OK [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: D1 [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: D1 01 00 [01:04:25]MH_I2C_Read... [01:04:25]Read from MH i2c: D1 01 00 8E 15 00 74 [01:04:25]Write to MH i2c: 01 00 00 8F 15 A4 [01:04:25]Write i2c OK [01:04:25]MH_I2C_Read... [01:04:26]OFD Sender: No OFD packet to send [01:04:26]*** Cut start [01:04:26]*** Partial cut [01:04:26]*** CUTSNS_PIN = 1 [01:04:26]*** CUTSNS_PIN = 0 [01:04:26]*** Brake cut motor [01:04:27]Read from MH i2c: 01 [01:04:27]MH_I2C_Read... [01:04:27]*** Stop cut motor [01:04:27]*** Cut end [01:04:27]Read from MH i2c: 01 07 00 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: 01 07 00 8F 15 00 00 00 00 00 FF 0F B9 [01:04:27]process_action close_receipt done [01:04:27]requested_data is exist [01:04:27]produce_requested_data [01:04:27]requested_item fm.sn is exist - process it [01:04:27]wFMCommunicate request_size=4 [01:04:27]MH_SAM_APDU [01:04:27]CAPDU: 80 11 00 00 [01:04:27]Write to MH i2c: E2 08 00 90 15 80 11 00 00 00 00 00 00 1F [01:04:27]Write i2c OK [01:04:27]MH_I2C_Read... [01:04:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:04:27]Read from MH i2c: E2 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 17 00 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 17 00 90 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 75 [01:04:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [01:04:27]wFMCommunicate OK [01:04:27]requested_item fd.num is exist - process it [01:04:27]SAM_PROTO_GetFieldsCounters [01:04:27]wFMCommunicate request_size=4 [01:04:27]MH_SAM_APDU [01:04:27]CAPDU: 80 13 00 00 [01:04:27]Write to MH i2c: E2 08 00 91 15 80 13 00 00 00 00 00 00 22 [01:04:27]Write i2c OK [01:04:27]MH_I2C_Read... [01:04:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:04:27]Read from MH i2c: E2 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 62 00 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 62 00 91 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BE 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 06 [01:04:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BE 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:04:27]wFMCommunicate OK [01:04:27]SAM_PROTO_GetFieldsCounters done [01:04:27]requested_item shift.num is exist - process it [01:04:27]requested_item shift.opened is exist - process it [01:04:27]req_shift_opened [01:04:27]FM_GetShiftState [01:04:27]SAM_PROTO_GetShiftState [01:04:27]wFMCommunicate request_size=4 [01:04:27]MH_SAM_APDU [01:04:27]CAPDU: 80 13 01 00 [01:04:27]Write to MH i2c: E2 08 00 92 15 80 13 01 00 00 00 00 00 24 [01:04:27]Write i2c OK [01:04:27]MH_I2C_Read... [01:04:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:04:27]Read from MH i2c: E2 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 0E 00 [01:04:27]MH_I2C_Read... [01:04:27]Read from MH i2c: E2 0E 00 92 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 18 [01:04:27]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [01:04:27]wFMCommunicate OK [01:04:27]SAM_PROTO_GetShiftState done [01:04:27]FM_GetShiftState done [01:04:27]req_shift_opened done [01:04:27]requested_item shift.open_date is exist - process it [01:04:27]req_shift_open_date [01:04:27]req_shift_open_date done [01:04:27]produce_requested_data done [01:04:27]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32446,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694} [01:04:27]process_action_free close_receipt [01:04:27]json_value_free [01:04:27]json_value_free done [01:04:27]process_json_proto returns [01:04:27]Send response to host [01:04:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32446,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694}}} [01:04:27]free response buf [01:04:27]execute_script done [01:04:27]execute_script returns [01:04:27]free content buf [01:04:27]Sock 7.Close socket [01:04:27]Sock 7.Thread stoped [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:46]OFD Sender: No OFD packet to send [01:07:51]OFD Sender: No OFD packet to send [01:07:56]OFD Sender: No OFD packet to send [01:08:01]OFD Sender: No OFD packet to send [01:08:06]OFD Sender: No OFD packet to send [01:08:11]OFD Sender: No OFD packet to send [01:08:16]OFD Sender: No OFD packet to send [01:08:21]OFD Sender: No OFD packet to send [01:08:26]OFD Sender: No OFD packet to send [01:08:31]OFD Sender: No OFD packet to send [01:08:36]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:11]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:41]OFD Sender: No OFD packet to send [01:11:44]ConnectInit Can't connect to host [01:11:46]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:26]OFD Sender: No OFD packet to send [01:17:31]OFD Sender: No OFD packet to send [01:17:36]OFD Sender: No OFD packet to send [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]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:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:17]OFD Sender: No OFD packet to send [01:30:22]OFD Sender: No OFD packet to send [01:30:27]OFD Sender: No OFD packet to send [01:30:32]OFD Sender: No OFD packet to send [01:30:37]OFD Sender: No OFD packet to send [01:30:42]OFD Sender: No OFD packet to send [01:30:47]OFD Sender: No OFD packet to send [01:30:52]OFD Sender: No OFD packet to send [01:30:57]OFD Sender: No OFD packet to send [01:31:02]OFD Sender: No OFD packet to send [01:31:07]OFD Sender: No OFD packet to send [01:31:12]OFD Sender: No OFD packet to send [01:31:17]OFD Sender: No OFD packet to send [01:31:22]OFD Sender: No OFD packet to send [01:31:27]OFD Sender: No OFD packet to send [01:31:32]OFD Sender: No OFD packet to send [01:31:37]OFD Sender: No OFD packet to send [01:31:42]OFD Sender: No OFD packet to send [01:31:47]OFD Sender: No OFD packet to send [01:31:52]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:18]OFD Sender: No OFD packet to send [01:48:23]OFD Sender: No OFD packet to send [01:48:28]OFD Sender: No OFD packet to send [01:48:33]OFD Sender: No OFD packet to send [01:48:38]OFD Sender: No OFD packet to send [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:58]OFD Sender: No OFD packet to send [01:49:03]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:31]accept exits with 9 [02:46:31]New connection [02:46:31]New thread 3067411812 created [02:46:31]Thread 3067555172 joined [02:46:31]Waiting for new connection... [02:46:31] Sock 9.Parse request [02:46:31]Sock 9.Check first char [02:46:31]Sock 9.First char is OK [02:46:31]request: POST /json_proto HTTP/1.0 [02:46:31]Method: POST [02:46:31]URL: /json_proto [02:46:31]Method is POST - this is cgi request [02:46:31]url: /json_proto [02:46:31]query_string will be loaded in cgi processing [02:46:31]execute_cgi json_proto POST (null) [02:46:31]execute_cgi path=json_proto method=POST [02:46:31]POST find Content-Length [02:46:31]Host: 172.17.47.135:8080 [02:46:31]Content-Length: 646 [02:46:31]Content-Type: application/json [02:46:31] [02:46:31]POST finish read [02:46:31]Found Content-Length = 646 [02:46:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130686", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:46:31]execute_script... [02:46: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)130686", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:46:31]POST & json_proto [02:46:31]process_json_proto [02:46:31]json parsed OK: [02:46:31]protocol is kg_v1.0 [02:46:31]action value=close_receipt [02:46:31]process_action close_receipt [02:46:31]cmd_close_receipt [02:46:31]MH_GetDate [02:46:31]Write to MH i2c: F0 00 00 93 15 97 [02:46:31]Write i2c OK [02:46:31]MH_I2C_Read... [02:46:31]Read from MH i2c: F0 [02:46:31]MH_I2C_Read... [02:46:31]Read from MH i2c: F0 09 00 [02:46:31]MH_I2C_Read... [02:46:31]Read from MH i2c: F0 09 00 93 15 00 8B F4 B3 67 19 D8 DE 66 6E [02:46:31]GetLastDocTimeStamp 1739840667 [02:46:31]current date 1739846795 [02:46:31]FM_GetShiftState [02:46:31]SAM_PROTO_GetShiftState [02:46:31]wFMCommunicate request_size=4 [02:46:31]MH_SAM_APDU [02:46:31]CAPDU: 80 13 01 00 [02:46:31]Write to MH i2c: E2 08 00 94 15 80 13 01 00 00 00 00 00 26 [02:46:31]Write i2c OK [02:46:31]MH_I2C_Read... [02:46:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:46:31]Read from MH i2c: E2 [02:46:31]MH_I2C_Read... [02:46:31]Read from MH i2c: E2 0E 00 [02:46:31]MH_I2C_Read... [02:46:31]Read from MH i2c: E2 0E 00 94 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 1A [02:46:31]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [02:46:31]wFMCommunicate OK [02:46:31]SAM_PROTO_GetShiftState done [02:46:31]FM_GetShiftState done [02:46:31]opened in 1739837694 [02:46:31]opened+sec_in_day 1739924094 [02:46:31]quantity*price = 27800 [02:46:31]sum+1 = 27801 [02:46:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 3 18.02.2025 02:46 Смена: 383 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32447 ФПД: 274252940930511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T024635&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32447&fm=274252940930511&tin=02508201610067®Number=0000000000146237&sum=27800 0 [02:46:32]StoreToDocumentArchive [02:46:32]shift 383 fd 32447 [02:46:32]save to /storage/0383/doc_00032447 [02:46:32]save last doc name /storage/0383/doc_00032447 to /storage/kkm_last_doc_name [02:46:32]save OK [02:46:32]Clear old archive folders... [02:46:32]ProcessDocumentItem done err = 0, tmpTLVsize=282 [02:46:32]tlvbuf is 004DF4E0 [02:46:32]SAM_PROTO_ClearQueue [02:46:32]wFMCommunicate request_size=4 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 09 00 00 [02:46:32]Write to MH i2c: E2 08 00 A1 15 80 09 00 00 00 00 00 00 28 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 A1 15 00 90 00 2A [02:46:32]RAPDU: 90 00 [02:46:32]wFMCommunicate OK [02:46:32]SAM_PROTO_ClearQueue done [02:46:32]KKMCreateOFDPacket [02:46:32]OFDProtocolAddRootSTLVToBuf [02:46:32]FM_MakeSignedData [02:46:32]FM_MakeSignedData [02:46:32]SAM_PROTO_SignData [02:46:32]wFMCommunicate request_size=4 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 0D 01 02 [02:46:32]Write to MH i2c: E2 08 00 A2 15 80 0D 01 02 00 00 00 00 30 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 A2 15 00 90 00 2B [02:46:32]RAPDU: 90 00 [02:46:32]wFMCommunicate OK [02:46:32]wFMCommunicate request_size=255 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 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 8B F4 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 [02:46:32]Write to MH i2c: E2 02 01 A3 15 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 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 8B F4 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 00 00 98 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 A3 15 00 90 00 2C [02:46:32]RAPDU: 90 00 [02:46:32]wFMCommunicate OK [02:46:32]wFMCommunicate request_size=41 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BF 7E 00 00 35 04 06 00 F9 6E 7D 1F 6D CF [02:46:32]Write to MH i2c: E2 2C 00 A4 15 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BF 7E 00 00 35 04 06 00 F9 6E 7D 1F 6D CF 00 00 81 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]OFD Sender: No OFD packet to send [02:46:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 03 00 A4 15 00 90 00 2D [02:46:32]RAPDU: 90 00 [02:46:32]wFMCommunicate OK [02:46:32]wFMCommunicate request_size=4 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 0D 03 02 [02:46:32]Write to MH i2c: E2 08 00 A5 15 80 0D 03 02 00 00 00 00 35 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 0B 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 0B 00 A5 15 00 E3 16 21 5C 60 CE 9B 0E 90 00 83 [02:46:32]RAPDU: E3 16 21 5C 60 CE 9B 0E 90 00 [02:46:32]wFMCommunicate OK [02:46:32]SAM_PROTO_SignData done [02:46:32]FM_MakeSignedData done [02:46:32]CreateOFDProtocolMessage [02:46:32]wFMCommunicate request_size=4 [02:46:32]MH_SAM_APDU [02:46:32]CAPDU: 80 11 00 00 [02:46:32]Write to MH i2c: E2 08 00 A6 15 80 11 00 00 00 00 00 00 35 [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:46:32]Read from MH i2c: E2 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 17 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: E2 17 00 A6 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8B [02:46:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [02:46:32]wFMCommunicate OK [02:46:32]CreateOFDProtocolMessage done [02:46:32]OFDSenderStorePacket 32447 [02:46:32]StoreOFDPacket docnum=32447 [02:46:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 DB 15 26 01 91 D0 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 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 8B F4 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BF 7E 00 00 35 04 06 00 F9 6E 7D 1F 6D CF E3 16 21 5C 60 CE 9B 0E [02:46:32]CheckFolder [02:46:32]dirname=/storage/ofd_packets [02:46:32]CheckFolder done [02:46:32]ProducePacketName [02:46:32]name=ofd_packets/00032447 [02:46:32]NVStorageSaveData ofd_packets/00032447 [02:46:32]File name is /storage/ofd_packets/00032447 [02:46:32]Write 332 bytes [02:46:32]NVStorageSaveData done [02:46:32]OFDSenderStorePacket done [02:46:32]KKMCreateOFDPacket done [02:46:32]NVStorageSaveData kkm_last_timestamp [02:46:32]File name is /storage/kkm_last_timestamp [02:46:32]Write 4 bytes [02:46:32]NVStorageSaveData done [02:46:32]ExternCall_PrintAddStr [02:46:32]wPrintStart [02:46:32]Write to MH i2c: 01 00 00 A7 15 BC [02:46:32]Write i2c OK [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: 01 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: 01 07 00 [02:46:32]MH_I2C_Read... [02:46:32]Read from MH i2c: 01 07 00 A7 15 00 00 00 00 00 FF 0F D1 [02:46:32]RasterBufferAndPrint [02:46:32]line Счет N : (3)130686 [02:46:32]line ИНН: 02508201610067 [02:46:32]line Контрольно-Кассовый Чек [02:46:32]line ПРОДАЖА [02:46:32]line Товар: 2000036220012 [02:46:32]line Кофе Капучино XL(GABB TRADE) [02:46:32]line 2.000 * 139.00 [02:46:32]line = 278.00 [02:46:32]line НДС 12% НСП 1% [02:46:32]line > о реализуемом товаре [02:46:32]line ИТОГО: 278.00 [02:46:32]line НСП 1% : 2.46 [02:46:32]line НДС 12% : 29.52 [02:46:32]line Наличными: 278.00 [02:46:32]line Безнал.: 0.00 [02:46:32]line Место: АЗС № 96 "Партнер Нефть" [02:46:32]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [02:46:32]line СНО: Общий режим [02:46:32]line Чек 3 18.02.2025 02:46 [02:46:32]line Смена: 383 ФФД: 1.0 [02:46:32]line ЗНМ: 0300000059 [02:46:32]line РНМ: 0000000000146237 [02:46:32]line Версия ККМ: v1.0 [02:46:32]line ФМ: 0000000000959282 [02:46:32]line ФД: 32447 [02:46:32]line ФПД: 274252940930511 [02:46:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250218T024635&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32447&fm=274252940930511&tin=02508201610067®Number=0000000000146237&sum=27800 [02:46:33]line 0 [02:46:33]OFD Sender: Processing packet 32447 [packets to send 104, broken 103] [02:46:33]ProducePacketName [02:46:33]name=ofd_packets/00032447 [02:46:33]OFD Sender: To server: pG, [02:46:33]CommunicateWithHost lk.salyk.kg:30040 [02:46:33]ConnectInit lk.salyk.kg [02:46:33]written 0, free lines is 4095 [02:46:33]Connected sock=10 [02:46:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 DB 15 26 01 91 D0 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 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 8B F4 B3 67 0E 04 04 00 7F 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 BF 7E 00 00 35 04 06 00 F9 6E 7D 1F 6D CF E3 16 21 5C 60 CE 9B 0E [02:46:33]Write to MH i2c: 01 00 00 D0 15 E5 [02:46:33]Write i2c OK [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: 01 [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: 01 07 00 [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: 01 07 00 D0 15 00 00 00 00 00 0A 0D 03 [02:46:33]RasterBufferAndPrint [02:46:33]line [02:46:33]line [02:46:33]line [02:46:33]line [02:46:33]line [02:46:33]written 0, free lines is 3347 [02:46:33]MH_Cut [02:46:33]Write to MH i2c: D1 01 00 D7 15 01 BE [02:46:33]Write i2c OK [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: D1 [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: D1 01 00 [02:46:33]MH_I2C_Read... [02:46:33]Read from MH i2c: D1 01 00 D7 15 00 BD [02:46:33]Write to MH i2c: 01 00 00 D8 15 ED [02:46:33]Write i2c OK [02:46:33]MH_I2C_Read... [02:46:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 A3 7F 47 00 BE F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 35 39 32 38 32 10 04 04 00 BF 7E 00 00 F4 03 04 00 2D 9E B3 67 B6 04 01 00 00 1E 38 B1 25 5D 09 48 68 [02:46:33]CommunicateWithHost err = 0 [02:46:33]CheckOFDResponse [02:46:33]1017 (14) - 77093643461234 [02:46:33]1041 (16) - 0000000000959282 [02:46:33]1040 (4) - 32447 [02:46:33]1012 (4) - 17.02.2025 20:38 [02:46:33]1206 (1) - 0 [02:46:33]OFD Sender: Remove packet 32447 [02:46:33]ProducePacketName [02:46:33]name=ofd_packets/00032447 [02:46:33]NVStorageDeleteData [02:46:34]*** Cut start [02:46:34]*** Partial cut [02:46:34]*** CUTSNS_PIN = 1 [02:46:34]*** CUTSNS_PIN = 0 [02:46:34]OFD Sender: No OFD packet to send [02:46:34]*** Brake cut motor [02:46:34]Read from MH i2c: 01 [02:46:34]MH_I2C_Read... [02:46:34]*** Stop cut motor [02:46:34]*** Cut end [02:46:34]Read from MH i2c: 01 07 00 [02:46:34]MH_I2C_Read... [02:46:34]Read from MH i2c: 01 07 00 D8 15 00 00 00 00 00 FF 0F 02 [02:46:34]process_action close_receipt done [02:46:34]requested_data is exist [02:46:34]produce_requested_data [02:46:34]requested_item fm.sn is exist - process it [02:46:34]wFMCommunicate request_size=4 [02:46:34]MH_SAM_APDU [02:46:34]CAPDU: 80 11 00 00 [02:46:34]Write to MH i2c: E2 08 00 D9 15 80 11 00 00 00 00 00 00 68 [02:46:34]Write i2c OK [02:46:34]MH_I2C_Read... [02:46:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:46:35]Read from MH i2c: E2 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 17 00 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 17 00 D9 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BE [02:46:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [02:46:35]wFMCommunicate OK [02:46:35]requested_item fd.num is exist - process it [02:46:35]SAM_PROTO_GetFieldsCounters [02:46:35]wFMCommunicate request_size=4 [02:46:35]MH_SAM_APDU [02:46:35]CAPDU: 80 13 00 00 [02:46:35]Write to MH i2c: E2 08 00 DA 15 80 13 00 00 00 00 00 00 6B [02:46:35]Write i2c OK [02:46:35]MH_I2C_Read... [02:46:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:46:35]Read from MH i2c: E2 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 62 00 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 62 00 DA 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BF 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 53 [02:46:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 BF 7E 00 00 0E 04 04 00 7F 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:46:35]wFMCommunicate OK [02:46:35]SAM_PROTO_GetFieldsCounters done [02:46:35]requested_item shift.num is exist - process it [02:46:35]requested_item shift.opened is exist - process it [02:46:35]req_shift_opened [02:46:35]FM_GetShiftState [02:46:35]SAM_PROTO_GetShiftState [02:46:35]wFMCommunicate request_size=4 [02:46:35]MH_SAM_APDU [02:46:35]CAPDU: 80 13 01 00 [02:46:35]Write to MH i2c: E2 08 00 DB 15 80 13 01 00 00 00 00 00 6D [02:46:35]Write i2c OK [02:46:35]MH_I2C_Read... [02:46:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:46:35]Read from MH i2c: E2 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 0E 00 [02:46:35]MH_I2C_Read... [02:46:35]Read from MH i2c: E2 0E 00 DB 15 00 09 00 01 FE D0 B3 67 00 00 00 00 90 00 61 [02:46:35]RAPDU: 09 00 01 FE D0 B3 67 00 00 00 00 90 00 [02:46:35]wFMCommunicate OK [02:46:35]SAM_PROTO_GetShiftState done [02:46:35]FM_GetShiftState done [02:46:35]req_shift_opened done [02:46:35]requested_item shift.open_date is exist - process it [02:46:35]req_shift_open_date [02:46:35]req_shift_open_date done [02:46:35]produce_requested_data done [02:46:35]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32447,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694} [02:46:35]process_action_free close_receipt [02:46:35]json_value_free [02:46:35]json_value_free done [02:46:35]process_json_proto returns [02:46:35]Send response to host [02:46:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32447,"shift.num":383,"shift.opened":1,"shift.open_date":1739837694}}} [02:46:35]free response buf [02:46:35]execute_script done [02:46:35]execute_script returns [02:46:35]free content buf [02:46:35]Sock 9.Close socket [02:46:35]Sock 9.Thread stoped [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:50]OFD Sender: No OFD packet to send [02:55:55]OFD Sender: No OFD packet to send [02:56:00]OFD Sender: No OFD packet to send [02:56:05]OFD Sender: No OFD packet to send [02:56:10]OFD Sender: No OFD packet to send [02:56:15]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send [03:00:05]OFD Sender: No OFD packet to send [03:00:10]OFD Sender: No OFD packet to send [03:00:15]OFD Sender: No OFD packet to send [03:00:20]OFD Sender: No OFD packet to send [03:00:25]OFD Sender: No OFD packet to send [03:00:30]OFD Sender: No OFD packet to send [03:00:35]OFD Sender: No OFD packet to send [03:00:40]OFD Sender: No OFD packet to send [03:00:45]OFD Sender: No OFD packet to send [03:00:50]OFD Sender: No OFD packet to send [03:00:55]OFD Sender: No OFD packet to send [03:01:00]OFD Sender: No OFD packet to send [03:01:05]OFD Sender: No OFD packet to send [03:01:10]OFD Sender: No OFD packet to send [03:01:15]OFD Sender: No OFD packet to send [03:01:20]OFD Sender: No OFD packet to send [03:01:25]OFD Sender: No OFD packet to send [03:01:30]OFD Sender: No OFD packet to send [03:01:35]OFD Sender: No OFD packet to send [03:01:40]OFD Sender: No OFD packet to send [03:01:45]OFD Sender: No OFD packet to send [03:01:50]OFD Sender: No OFD packet to send [03:01:55]OFD Sender: No OFD packet to send [03:02:00]OFD Sender: No OFD packet to send [03:02:05]OFD Sender: No OFD packet to send [03:02:10]OFD Sender: No OFD packet to send [03:02:15]OFD Sender: No OFD packet to send [03:02:20]OFD Sender: No OFD packet to send [03:02:25]OFD Sender: No OFD packet to send [03:02:30]OFD Sender: No OFD packet to send [03:02:35]OFD Sender: No OFD packet to send [03:02:40]OFD Sender: No OFD packet to send [03:02:45]OFD Sender: No OFD packet to send [03:02:50]OFD Sender: No OFD packet to send [03:02:55]OFD Sender: No OFD packet to send [03:03:00]OFD Sender: No OFD packet to send [03:03:05]OFD Sender: No OFD packet to send [03:03:10]OFD Sender: No OFD packet to send [03:03:15]OFD Sender: No OFD packet to send [03:03:20]OFD Sender: No OFD packet to send [03:03:25]OFD Sender: No OFD packet to send [03:03:30]OFD Sender: No OFD packet to send [03:03:35]OFD Sender: No OFD packet to send [03:03:40]OFD Sender: No OFD packet to send [03:03:45]OFD Sender: No OFD packet to send [03:03:50]OFD Sender: No OFD packet to send [03:03:55]OFD Sender: No OFD packet to send [03:04:00]OFD Sender: No OFD packet to send [03:04:05]OFD Sender: No OFD packet to send [03:04:10]OFD Sender: No OFD packet to send [03:04:15]OFD Sender: No OFD packet to send [03:04:20]OFD Sender: No OFD packet to send [03:04:25]OFD Sender: No OFD packet to send [03:04:30]OFD Sender: No OFD packet to send [03:04:35]OFD Sender: No OFD packet to send [03:04:40]OFD Sender: No OFD packet to send [03:04:45]OFD Sender: No OFD packet to send [03:04:50]OFD Sender: No OFD packet to send [03:04:55]OFD Sender: No OFD packet to send [03:05:00]OFD Sender: No OFD packet to send [03:05:05]OFD Sender: No OFD packet to send [03:05:10]OFD Sender: No OFD packet to send [03:05:15]OFD Sender: No OFD packet to send [03:05:20]OFD Sender: No OFD packet to send [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send